/* ============================================================
   Dream-vine — Financial Management School, Bristol
   Archetype: SPLIT-SCREEN MODERN
   ============================================================ */

:root {
  --ink: #122a45;
  --ink-soft: #3b5168;
  --paper: #f5f7fa;
  --paper-2: #eef2f7;
  --card: #ffffff;
  --line: #dde4ee;
  --teal: #1f8f72;
  --teal-dark: #156350;
  --gold: #d99b36;
  --gold-soft: #f3e3c6;
  --navy-deep: #0e2138;
  --shadow: 0 18px 44px -24px rgba(18, 42, 69, 0.45);
  --radius: 16px;
  --maxw: 1180px;
  --ff-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--solid { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn--solid:hover { background: var(--teal-dark); }
.btn--gold { background: var(--gold); color: #3a2a06; }
.btn--gold:hover { background: #c7892a; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }

.inline-cta {
  font-weight: 600;
  color: var(--gold);
  border-bottom: 2px solid var(--gold-soft);
}
.inline-cta:hover { color: var(--teal-dark); text-decoration: none; border-color: var(--teal); }

/* ============================================================
   GLOBAL HEADER
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ad-flag {
  background: var(--navy-deep);
  color: #d7e3f0;
  font-size: .78rem;
  letter-spacing: .02em;
  text-align: center;
  padding: .45rem 16px;
}
.site-head__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem;
  border-radius: 12px;
}
.brand__name {
  font-family: var(--ff-head); font-weight: 600; font-size: 1.35rem; color: var(--ink);
}
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 10px;
  font-size: .98rem;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.main-nav a.is-active { color: var(--teal-dark); background: var(--gold-soft); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ============================================================
   SPLIT SECTIONS (archetype core)
   ============================================================ */
.split {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.split__media, .split__text {
  flex: 1 1 440px;
  min-width: 0;
}
.split__media {
  position: relative;
  min-height: 420px;
  background: var(--paper-2);
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 5vw, 4.5rem);
}
.split--reverse { flex-direction: row-reverse; }
.split--ink { background: var(--navy-deep); }
.split--ink .split__text { color: #d9e4f0; }
.split--ink h1, .split--ink h2, .split--ink h3 { color: #fff; }
.split--ink .eyebrow { color: var(--gold); }
.split--paper2 { background: var(--paper-2); }
.split--teal { background: var(--teal-dark); }
.split--teal .split__text { color: #e3f3ec; }
.split--teal h1, .split--teal h2, .split--teal h3 { color: #fff; }
.split--teal .eyebrow { color: var(--gold-soft); }

/* Hero variant */
.hero .split__text { padding-block: clamp(3rem, 7vw, 6rem); }
.hero__lead { font-size: 1.18rem; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.2rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero__meta div strong { display: block; font-family: var(--ff-head); font-size: 1.7rem; color: #fff; }
.hero__meta div span { font-size: .85rem; color: #aebfd0; }

/* ============================================================
   BANDS / GENERIC SECTIONS
   ============================================================ */
.band { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--navy-deep); color: #d9e4f0; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .eyebrow { color: var(--gold); }
.band--gold { background: linear-gradient(135deg, var(--gold-soft), #fbf4e6); }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Stats strip */
.stats {
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between;
}
.stats__item {
  flex: 1 1 180px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.stats__item strong { font-family: var(--ff-head); font-size: 2.3rem; display: block; color: #fff; }
.stats__item span { color: #aebfd0; font-size: .92rem; }

/* Feature list (asymmetric offset) */
.ladder { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.ladder__item {
  flex: 1 1 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.ladder__item:nth-child(2) { transform: translateY(1.4rem); }
.ladder__item:nth-child(3) { transform: translateY(.6rem); }
.ladder__num {
  font-family: var(--ff-head); font-size: 1.1rem; color: var(--gold);
  border: 2px solid var(--gold-soft); width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}

/* Quote / testimonial */
.quotes { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.quote {
  flex: 1 1 300px;
  background: var(--card);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--ink-soft); }
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.quote__who b { display: block; font-family: var(--ff-body); }
.quote__who span { font-size: .85rem; color: var(--ink-soft); }

/* ============================================================
   COURSES / PRICING
   ============================================================ */
.courses { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.course {
  flex: 1 1 320px;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course__media { position: relative; height: 190px; background: var(--paper-2); overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.course__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(14,33,56,.85); color: #fff; font-size: .72rem;
  padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em;
}
.course__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { margin-bottom: .4rem; }
.course__incl { list-style: none; padding: 0; margin: .8rem 0 1.2rem; }
.course__incl li { padding-left: 1.5rem; position: relative; margin-bottom: .4rem; font-size: .95rem; color: var(--ink-soft); }
.course__incl li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.course__meta { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.course__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.course__price { font-family: var(--ff-head); font-size: 1.7rem; color: var(--ink); }
.course__price small { font-family: var(--ff-body); font-size: .8rem; color: var(--ink-soft); font-weight: 400; }

/* ============================================================
   FORM
   ============================================================ */
.form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.field--error input, .field--error select { border-color: #c0392b; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .4rem; }
.form-err { color: #c0392b; font-size: .82rem; margin-top: .3rem; display: none; }
.field--error .form-err { display: block; }

/* ============================================================
   CONTENT (legal / prose)
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }

.lede { font-size: 1.22rem; color: var(--ink-soft); }

.page-head {
  background: var(--navy-deep);
  color: #d9e4f0;
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
}
.page-head h1 { color: #fff; }
.page-head p { max-width: 56ch; color: #aebfd0; margin: 0; }

.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); flex: 1 1 280px;
}
.info-card h3 { margin-bottom: .6rem; }
.info-grid { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.disc-box {
  background: var(--gold-soft);
  border: 1px solid #e7d3a8;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  color: #5a4718;
  font-size: .96rem;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 50;
  box-shadow: 0 16px 36px -12px rgba(18,42,69,.55);
}

/* ============================================================
   GLOBAL FOOTER  (prefix: dv-foot)
   ============================================================ */
.dv-foot { background: var(--navy-deep); color: #b9c8da; margin-top: 0; }
.dv-foot__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 3.4rem 24px 2rem;
  display: flex; flex-wrap: wrap; gap: 2rem;
}
.dv-foot__col { flex: 1 1 220px; }
.dv-foot__brand { flex: 1.6 1 280px; }
.dv-foot__logo { font-family: var(--ff-head); font-size: 1.5rem; color: #fff; display: block; margin-bottom: .8rem; }
.dv-foot__col h4 { color: #fff; font-family: var(--ff-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.dv-foot__col p { margin: 0 0 .7rem; font-size: .92rem; line-height: 1.6; }
.dv-foot__col a { display: block; color: #b9c8da; font-size: .92rem; padding: .22rem 0; }
.dv-foot__col a:hover { color: var(--gold); text-decoration: none; }
.dv-foot__model { font-size: .86rem; color: #93a7bd; border-top: 1px solid rgba(255,255,255,.1); padding-top: .9rem; margin-top: .4rem; }
.dv-foot__disc {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--maxw); margin: 0 auto; padding: 1.4rem 24px 2.4rem;
}
.dv-foot__disc p { font-size: .82rem; color: #8ba0b7; margin: 0 0 .5rem; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 20px 50px -18px rgba(18,42,69,.55);
  padding: 1.3rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1 1 260px; }
.cookie-bar__btns { display: flex; gap: .6rem; }
.cookie-bar__btns button {
  font-family: var(--ff-body); font-weight: 600; font-size: .9rem;
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; border: 2px solid var(--line);
}
.cookie-bar__btns .c-accept { background: var(--teal); color: #fff; border-color: var(--teal); }
.cookie-bar__btns .c-accept:hover { background: var(--teal-dark); }
.cookie-bar__btns .c-reject { background: #fff; color: var(--ink); }
.cookie-bar__btns .c-reject:hover { background: var(--paper-2); }

/* ============================================================
   UTIL / RESPONSIVE
   ============================================================ */
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mb-m { margin-bottom: 2rem; }
.lead-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.lead-row > div { flex: 1 1 320px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .6rem 24px 1rem; gap: .2rem;
  }
  .site-head__bar { position: relative; }
  .main-nav.is-open { display: flex; }
  .ladder__item { transform: none !important; }
  .split__media { min-height: 300px; }
}
