/* =========================================================
   3@1 Business Centre — franchise recruitment site
   Hand-coded, no framework. Brand tokens from current identity.
   ========================================================= */

:root {
  /* Brand palette (from current 3@1 identity) */
  --red:        #D5232F;
  --red-dark:   #A61122;
  --navy:       #003179;
  --navy-deep:  #00245b;
  --yellow:     #FFC510;
  --orange:     #FF9523;
  --ink:        #1c2331;
  --grey:       #5a6472;
  --grey-light: #8a94a3;
  --line:       #e6e9ef;
  --tint:       #f5f7fb;
  --white:      #ffffff;

  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Open Sans", sans-serif;

  --maxw: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(0, 49, 121, .35);
  --shadow-sm: 0 6px 18px -10px rgba(0, 49, 121, .3);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
em { font-style: normal; color: var(--orange); font-size: .8em; font-weight: 600; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; font-family: var(--font-body);
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-size: .98rem; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-weight: 800;
  font-size: .8rem; color: var(--red); margin: 0 0 .6rem;
}
.eyebrow--light { color: var(--yellow); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section__head--light { color: #fff; }
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem); text-transform: uppercase;
  letter-spacing: .01em;
}
.section__intro { color: var(--grey); font-size: 1.1rem; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section__title { color: #fff; }
.section--cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }

.hl-yellow { color: var(--yellow); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar__msg { margin: 0; font-weight: 600; }
.topbar__links { display: flex; gap: .6rem; align-items: center; }
.topbar__links a { color: #fff; font-weight: 700; }
.topbar__links a:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 2px 14px -8px rgba(0,0,0,.25);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand__logo { height: 52px; width: auto; }
.nav { display: flex; align-items: center; }
.nav__menu { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.nav__menu a { font-weight: 700; color: var(--ink); font-size: .98rem; }
.nav__menu a:hover { color: var(--red); }
.nav__cta { color: #fff !important; padding: .6rem 1.2rem; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: .4rem;
}
.nav__toggle span:not(.sr-only) { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,197,16,.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: clamp(3rem, 6vw, 5.5rem) 0; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .3em; letter-spacing: .005em;
}
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2.2rem; }
.hero__stats { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--yellow); line-height: 1; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.8); }
.hero__visual { display: flex; justify-content: center; }
.hero__emblem { filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); max-width: 460px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--yellow); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; flex-wrap: wrap; }
.trust__label { margin: 0; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.trust__logos { list-style: none; display: flex; gap: .6rem; margin: 0; padding: 0; flex-wrap: wrap; }
.trust__chip {
  background: var(--navy); color: #fff; padding: .45rem 1rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem;
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.4rem; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 2rem; margin-bottom: .6rem; }
.card__title { font-size: 1.2rem; color: var(--navy); }
.card p { color: var(--grey); margin: 0; font-size: .96rem; }

/* ---------- Streams ---------- */
.streams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stream {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem;
  border-top: 6px solid var(--red); box-shadow: var(--shadow-sm);
}
.stream h3 { color: var(--navy); font-size: 1.25rem; }
.stream p { color: var(--grey); margin: 0; font-size: .95rem; }
.stream__tag {
  display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .9rem; color: #fff;
}
.stream__tag--red { background: var(--red); }
.stream__tag--navy { background: var(--navy); }
.stream__tag--yellow { background: var(--yellow); color: var(--navy); }

/* ---------- Split (right-stuff / form) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__copy .section__title { text-align: left; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 600; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 1.4rem; height: 1.4rem; background: var(--red); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.invest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); border-top: 8px solid var(--yellow);
}
.invest-card__title { font-family: var(--font-display); text-transform: uppercase; color: var(--navy); font-size: 1.5rem; }
.invest-card__list { margin: 0 0 1rem; display: grid; gap: .2rem; }
.invest-card__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.invest-card__list dt { color: var(--grey); margin: 0; }
.invest-card__list dd { margin: 0; font-weight: 800; color: var(--navy); }
.invest-card__note { font-size: .82rem; color: var(--grey-light); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 1.8rem 1.4rem; position: relative;
}
.step__num {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem; margin-bottom: .9rem;
}
.step h3 { color: #fff; font-size: 1.2rem; }
.step p { color: rgba(255,255,255,.82); margin: 0; font-size: .94rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  margin: 0; background: var(--tint); border-radius: var(--radius); padding: 1.8rem;
  border-left: 5px solid var(--red);
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.quote figcaption { color: var(--grey); font-weight: 700; font-size: .9rem; }

/* ---------- Video ---------- */
.video { position: relative; display: block; max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video__cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%;
  font-size: 2rem; padding-left: .3rem; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s ease;
}
.video:hover .video__play { transform: scale(1.08); }

/* ---------- Form ---------- */
.split--form { align-items: start; }
.enquiry { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,49,121,.12); }
.enquiry__fineprint { font-size: .78rem; color: var(--grey-light); margin: .8rem 0 0; text-align: center; }
.cta__reassure { font-weight: 700; color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.site-footer__logo { height: 56px; background: #fff; padding: .5rem .7rem; border-radius: 10px; margin-bottom: 1rem; width: auto; }
.site-footer__brand p { font-size: .92rem; max-width: 34ch; }
.site-footer__col h4 { color: #fff; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer__col a { color: rgba(255,255,255,.8); font-size: .94rem; }
.site-footer__col a:hover { color: var(--yellow); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-size: .82rem; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.site-footer__bar-inner p { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .cards--4, .streams, .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__emblem { max-width: 340px; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split__copy .section__title, .section--cta .section__head { text-align: center; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 0; box-shadow: 0 14px 24px -12px rgba(0,0,0,.3);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li { padding: 0 5%; }
  .nav__menu a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin: .6rem 0; }
  .cards--4, .streams, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: center; }
}

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