/* Moravixtechai — Split-Screen Modern archetype
   Palette: deep navy ink, teal, warm amber on warm paper */

:root {
  --ink: #122530;
  --ink-soft: #33424c;
  --paper: #f4f1ea;
  --paper-2: #ece7db;
  --card: #ffffff;
  --teal: #1f6f66;
  --teal-dark: #164f49;
  --amber: #c88a33;
  --amber-soft: #e6c488;
  --line: #d9d2c4;
  --muted: #6b7278;
  --shadow: 0 18px 46px rgba(18, 37, 48, 0.12);
  --shadow-sm: 0 6px 18px rgba(18, 37, 48, 0.08);
  --radius: 16px;
  --sidebar-w: 268px;
  --maxw: 1160px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 .55em; }
h3 { font-size: 1.28rem; margin: 0 0 .45em; }

p { margin: 0 0 1.15em; }

a { color: var(--teal-dark); }

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

/* ---------- Layout shell ---------- */
.shell { display: flex; align-items: flex-start; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  position: sticky;
  top: 0;
  align-self: stretch;
  height: 100vh;
  background: var(--ink);
  color: #e9eef0;
  display: flex;
  flex-direction: column;
  padding: 34px 26px;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 8px;
}
.brand .mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #0e1b22;
}
.brand .brand-name { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.brand .brand-sub { display:block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-soft); font-family: "Segoe UI", sans-serif; }

.ad-flag {
  margin: 20px 0 26px;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #cdd6da;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--amber);
  padding: 9px 12px;
  border-radius: 8px;
  line-height: 1.4;
}

.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a {
  color: #cfd8dc;
  text-decoration: none;
  font-family: "Segoe UI", sans-serif;
  font-size: .98rem;
  padding: 11px 14px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 11px;
  transition: background .2s, color .2s, transform .2s;
}
.sidebar nav a::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); opacity: .5; transition: opacity .2s, transform .2s;
}
.sidebar nav a:hover, .sidebar nav a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.sidebar nav a:hover::before { opacity: 1; transform: scale(1.3); }
.sidebar nav a.active { background: rgba(31,111,102,.3); color: #fff; }
.sidebar nav a.active::before { background: var(--amber); opacity: 1; }

.side-cta {
  margin-top: auto;
  padding-top: 26px;
}
.side-cta .btn { width: 100%; }
.side-cta small { display: block; margin-top: 14px; font-size: .72rem; color: #8ea0a8; font-family: "Segoe UI", sans-serif; }

.main { flex: 1 1 auto; min-width: 0; }

/* ---------- Mobile topbar ---------- */
.topbar {
  display: none;
  position: sticky; top: 0; z-index: 45;
  background: var(--ink); color: #fff;
  align-items: center; justify-content: space-between;
  padding: 12px 18px;
}
.topbar .brand { margin: 0; }
.topbar .brand .brand-name { font-size: 1.1rem; }
.hamburger {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 10px;
  width: 44px; height: 42px; font-size: 1.3rem; cursor: pointer;
}
.mobile-flag {
  display: none;
  background: var(--amber);
  color: #231606;
  text-align: center;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Segoe UI", sans-serif; font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .18s, box-shadow .18s, background .2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(31,111,102,.3); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31,111,102,.4); }
.btn-amber { background: var(--amber); color: #231606; box-shadow: 0 10px 24px rgba(200,138,51,.3); }
.btn-amber:hover { background: #b1792a; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.inline-link {
  font-family: "Segoe UI", sans-serif; font-weight: 600; color: var(--teal-dark);
  text-decoration: none; border-bottom: 2px solid var(--amber-soft); padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.inline-link:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- Generic section ---------- */
.section { padding: 76px clamp(24px, 5vw, 72px); }
.section-wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: "Segoe UI", sans-serif; font-weight: 700; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- Split sections ---------- */
.split {
  display: flex; flex-wrap: wrap; align-items: stretch;
  min-height: 72vh;
}
.split > .half {
  flex: 1 1 440px; min-width: 300px;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 92px) clamp(26px, 5vw, 76px);
}
.split .half-media { padding: 0; position: relative; background: var(--paper-2); overflow: hidden; }
.split .half-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.half-ink { background: var(--ink); color: #e8eef0; }
.half-ink h1, .half-ink h2, .half-ink h3 { color: #fff; }
.half-ink .lead { color: #c3cdd2; }
.half-ink .eyebrow { color: var(--amber-soft); }
.half-teal { background: var(--teal-dark); color: #eafaf6; }
.half-teal h1, .half-teal h2 { color: #fff; }
.half-teal .lead { color: #cdeae4; }
.half-teal .eyebrow { color: var(--amber-soft); }
.half-paper2 { background: var(--paper-2); }

.media-tag {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(18,37,48,.82); color: #fff;
  font-family: "Segoe UI", sans-serif; font-size: .78rem; letter-spacing: .02em;
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}
.media-stat {
  position: absolute; top: 20px; right: 20px;
  background: #fff; color: var(--ink);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
  font-family: "Segoe UI", sans-serif;
}
.media-stat b { display: block; font-size: 1.7rem; color: var(--teal); font-family: Georgia, serif; }
.media-stat span { font-size: .74rem; color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; padding: 0; }
.chips li {
  font-family: "Segoe UI", sans-serif; font-size: .84rem;
  background: rgba(31,111,102,.1); color: var(--teal-dark);
  border: 1px solid rgba(31,111,102,.2);
  padding: 7px 14px; border-radius: 999px;
}
.half-ink .chips li, .half-teal .chips li { background: rgba(255,255,255,.08); color: #e8eef0; border-color: rgba(255,255,255,.18); }

/* ---------- Metrics band ---------- */
.band {
  background: var(--ink); color: #e9eef0;
  padding: 54px clamp(24px, 5vw, 72px);
}
.band .metrics { display: flex; flex-wrap: wrap; gap: 22px; max-width: var(--maxw); margin: 0 auto; }
.metric {
  flex: 1 1 200px; min-width: 180px;
  padding: 22px 24px; border-left: 3px solid var(--amber);
}
.metric b { font-family: Georgia, serif; font-size: 2.4rem; display: block; color: #fff; }
.metric span { font-family: "Segoe UI", sans-serif; font-size: .9rem; color: #adbcc2; }

/* ---------- Services / cards ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 26px; }
.svc-card {
  flex: 1 1 320px; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .22s, box-shadow .22s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-card .thumb { height: 180px; background: var(--paper-2); overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: 8px; }
.svc-body p { font-size: .97rem; color: var(--ink-soft); }
.price-tag {
  margin: 6px 0 18px; font-family: "Segoe UI", sans-serif; display: flex; align-items: baseline; gap: 8px;
}
.price-tag .amount { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; color: var(--teal-dark); }
.price-tag .per { font-size: .82rem; color: var(--muted); }
.svc-feat { list-style: none; padding: 0; margin: 0 0 22px; font-family: "Segoe UI", sans-serif; font-size: .92rem; }
.svc-feat li { padding: 5px 0 5px 24px; position: relative; color: var(--ink-soft); }
.svc-feat li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.svc-body .btn { margin-top: auto; }

/* staggered / asymmetric offsets for anti-template rhythm */
.card-row.stagger .svc-card:nth-child(2) { margin-top: 32px; }
.card-row.stagger .svc-card:nth-child(4) { margin-top: 32px; }

/* ---------- Feature list split ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 18px; }
.steps .num {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--amber); color: #231606; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem;
}
.steps h4 { margin: 4px 0 4px; font-family: "Segoe UI", sans-serif; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.half-ink .steps p, .half-teal .steps p { color: #c3cdd2; }

/* ---------- Testimonials ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote {
  flex: 1 1 300px; background: var(--card); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.quote p { font-family: Georgia, serif; font-size: 1.08rem; font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 16px; }
.quote .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.quote .who b { font-family: "Segoe UI", sans-serif; font-size: .96rem; display: block; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ---------- Insight / quote block ---------- */
.feature-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 420px; background: var(--paper-2); box-shadow: var(--shadow);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.feature-media .overlay {
  position: absolute; inset: auto 24px 24px 24px;
  background: rgba(18,37,48,.86); color: #fff; padding: 22px 24px; border-radius: 14px;
  backdrop-filter: blur(3px);
}
.feature-media .overlay h3 { color: #fff; margin-bottom: 6px; }
.feature-media .overlay p { margin: 0; font-size: .95rem; color: #cdd7db; }

/* ---------- Form ---------- */
.form-section { background: var(--paper-2); }
.form-wrap {
  display: flex; flex-wrap: wrap; gap: 40px; max-width: var(--maxw); margin: 0 auto; align-items: stretch;
}
.form-intro { flex: 1 1 320px; }
.form-card {
  flex: 1 1 400px; background: var(--card); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: "Segoe UI", sans-serif; font-weight: 600;
  font-size: .9rem; margin-bottom: 7px; color: var(--ink);
}
.field .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 11px; font-size: 1rem; font-family: "Segoe UI", sans-serif;
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,111,102,.14); background: #fff;
}
.field textarea { resize: vertical; min-height: 96px; }
.field.check { display: flex; align-items: flex-start; gap: 10px; }
.field.check input { width: auto; margin-top: 5px; }
.field.check label { font-weight: 400; font-size: .84rem; color: var(--muted); margin: 0; }
.form-error {
  display: none; background: #fbe9e4; color: #9a3414; border: 1px solid #e9b7a6;
  padding: 11px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px;
  font-family: "Segoe UI", sans-serif;
}
.form-error.show { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; font-family: "Segoe UI", sans-serif; }

/* ---------- Pricing step note ---------- */
.step-pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: "Segoe UI", sans-serif;
  font-size: .8rem; font-weight: 600; color: var(--teal-dark);
  background: rgba(31,111,102,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding: 34px clamp(24px, 5vw, 72px);
}
.disclaimer .section-wrap { display: flex; gap: 18px; align-items: flex-start; }
.disclaimer .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.disclaimer p { font-size: .9rem; color: var(--ink-soft); margin: 0; font-family: "Segoe UI", sans-serif; }
.disclaimer b { color: var(--ink); }

/* ---------- Contact info ---------- */
.info-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.info-card {
  flex: 1 1 240px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.info-card .ico { font-size: 1.5rem; margin-bottom: 10px; }
.info-card h3 { font-family: "Segoe UI", sans-serif; font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.info-card .email-plain { font-family: "Segoe UI", sans-serif; font-weight: 600; color: var(--teal-dark); user-select: all; }

/* ---------- Legal / article pages ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.3em; }
.article ul { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 36px;
}
.toc h4 { font-family: "Segoe UI", sans-serif; margin: 0 0 10px; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.toc a { font-family: "Segoe UI", sans-serif; font-size: .92rem; }

.page-head {
  background: var(--ink); color: #fff;
  padding: clamp(50px, 8vw, 96px) clamp(24px, 5vw, 72px) clamp(44px, 6vw, 72px);
}
.page-head .section-wrap { max-width: var(--maxw); }
.page-head h1 { color: #fff; }
.page-head .lead { color: #c3cdd2; }
.page-head .crumb { font-family: "Segoe UI", sans-serif; font-size: .82rem; color: #8ea0a8; margin-bottom: 18px; }
.page-head .crumb a { color: var(--amber-soft); text-decoration: none; }

/* ---------- Thanks ---------- */
.thanks-hero {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px; background: var(--paper);
}
.thanks-card {
  max-width: 620px; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 48px 44px; box-shadow: var(--shadow);
}
.thanks-card .tick {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.thanks-card .picked {
  display: inline-block; margin: 6px 0 20px; background: rgba(200,138,51,.14);
  color: var(--amber); border: 1px solid var(--amber-soft);
  font-family: "Segoe UI", sans-serif; font-weight: 600; padding: 9px 18px; border-radius: 999px;
}
.thanks-card .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer.site {
  background: #0e1b22; color: #aebcc2;
  padding: 56px clamp(24px, 5vw, 72px) 30px;
  font-family: "Segoe UI", sans-serif;
}
footer.site .cols { display: flex; flex-wrap: wrap; gap: 40px; max-width: var(--maxw); margin: 0 auto; }
footer.site .col { flex: 1 1 200px; }
footer.site .col.about { flex: 2 1 320px; }
footer.site h4 { color: #fff; font-family: "Segoe UI", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
footer.site a { color: #aebcc2; text-decoration: none; display: block; padding: 5px 0; transition: color .2s; }
footer.site a:hover { color: var(--amber-soft); }
footer.site p { font-size: .92rem; line-height: 1.6; }
footer.site .email-plain { color: #cdd8dc; user-select: all; }
footer.site .foot-bottom {
  max-width: var(--maxw); margin: 36px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; font-size: .82rem; color: #7f9097;
}
footer.site .foot-flag { color: var(--amber-soft); }
.foot-refs { font-size: .8rem; color: #7f9097; margin-top: 12px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 22px; width: min(960px, calc(100% - 36px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 20px 24px; z-index: 90;
  display: none; align-items: center; gap: 22px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .9rem; color: var(--ink-soft); font-family: "Segoe UI", sans-serif; }
.cookie-banner p a { color: var(--teal-dark); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 20px; font-size: .9rem; }

/* ---------- Scrim for mobile nav ---------- */
.scrim { display: none; position: fixed; inset: 0; background: rgba(10,18,23,.5); z-index: 38; }
.scrim.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .topbar { display: flex; }
  .mobile-flag { display: block; }
  .shell { display: block; }
  .sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; width: 280px; flex-basis: 280px;
    transform: translateX(-100%); transition: transform .28s ease;
  }
  .sidebar.open { transform: translateX(0); }
  .split { min-height: auto; }
  .split > .half-media { order: -1; }
  .split .half-media img { min-height: 260px; }
  .card-row.stagger .svc-card:nth-child(2),
  .card-row.stagger .svc-card:nth-child(4) { margin-top: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 22px; }
  .form-card { padding: 24px; }
  .thanks-card { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities (replace inline styles) ---------- */
.u-mt-lg { margin-top: 34px; }
.u-mb-lg { margin-bottom: 38px; }
.u-mb-md { margin-bottom: 34px; }
.u-full { width: 100%; }
.u-small { font-size: .92rem; }
.u-xsmall { font-size: .84rem; margin-top: 8px; }
.u-bg-paper2 { background: var(--paper-2); }
.u-center-tight { margin: 0 auto 6px; }
