/* ==========================================================================
   Career Switch Coaching — Stylesheet
   ========================================================================== */

:root{
  --bg:#FAF8F4;
  --bg-alt:#F1F0EC;
  --navy:#273650;
  --navy-deep:#1B2740;
  --ink:#14171C;
  --muted:#5B6472;
  --line:#E4E1D8;
  --surface:#FFFFFF;
  --placeholder-bg:#F5F1E7;
  --placeholder-border:#C9BFA0;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Newsreader', serif;
  font-weight:500;
  margin:0;
  color:var(--ink);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 32px; }
:focus-visible{ outline:2px solid var(--navy); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

/* ---------- Header / nav ---------- */
header{
  position:sticky; top:0; z-index:30;
  background:rgba(250,248,244,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px;
}
.brand{
  font-family:'Newsreader', serif;
  font-size:1.25rem; font-weight:600;
  display:flex; align-items:center; gap:9px;
}
.brand-mark{
  width:20px; height:20px; border-radius:50%;
  background:var(--navy); flex-shrink:0;
}
.logo-img{
  height:38px; width:auto; display:block;
}
.nav-links{ display:flex; gap:28px; font-size:0.92rem; color:var(--muted); }
.nav-links a{ padding:6px 0; }
.nav-links a:hover{ color:var(--ink); }
.nav-links a.active{ color:var(--navy); font-weight:600; }
.nav-actions{ display:flex; align-items:center; gap:16px; }

.btn{
  display:inline-block; padding:12px 26px; border-radius:999px;
  font-size:0.92rem; font-weight:500; border:1.5px solid transparent;
  cursor:pointer; transition:background .15s ease, color .15s ease, border-color .15s ease;
  font-family:inherit;
}
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:var(--navy-deep); }
.btn-outline{ border-color:var(--navy); color:var(--navy); background:transparent; }
.btn-outline:hover{ background:var(--navy); color:#fff; }

.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:4px; }
.menu-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

/* ---------- Generic sections ---------- */
section{ padding:80px 0; }
section.alt{ background:var(--bg-alt); }
.eyebrow{ font-size:0.85rem; color:var(--navy); font-weight:600; margin-bottom:14px; }
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head h2{ font-size:2rem; margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:1.02rem; }

/* ---------- Placeholder blocks ---------- */
.photo-block{
  background:var(--placeholder-bg);
  border:1.5px dashed var(--placeholder-border);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:24px; color:var(--muted);
  font-size:0.85rem; font-style:italic; min-height:220px;
}
.ph{
  display:inline-block; background:var(--placeholder-bg);
  border:1px dashed var(--placeholder-border); border-radius:6px;
  padding:2px 9px; font-style:italic; color:var(--muted); font-size:0.88em;
}

/* ---------- Real photo fills (replace .photo-block placeholders) ---------- */
.photo-fill{
  background:none; border:none; padding:0; margin:0;
  display:block; overflow:hidden; border-radius:10px; min-height:0;
}
.photo-fill img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.card .photo-fill{ border-radius:0; }

/* ---------- Hero ---------- */
.hero{ padding:72px 0 88px; }
.hero-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.hero h1{ font-size:2.9rem; line-height:1.14; max-width:14ch; }
.hero p.lede{ margin-top:20px; font-size:1.1rem; color:var(--muted); max-width:42ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

/* ---------- Cards ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:12px; overflow:hidden; display:flex; flex-direction:column;
}
.card .photo-block{ min-height:150px; border-radius:0; border-left:none; border-right:none; border-top:none; }
.card-body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.status{
  display:inline-block; font-size:0.78rem; font-weight:600;
  padding:4px 12px; border-radius:999px; width:fit-content;
}
.status.enrolling{ background:#E4EDE7; color:#2E6B4A; }
.status.waitlist{ background:#F1E7D8; color:#8A5A1F; }
.card h3{ font-size:1.15rem; font-weight:500; }
.card p{ color:var(--muted); font-size:0.92rem; margin:0; flex:1; }
.card-link{ font-size:0.9rem; font-weight:600; color:var(--navy); margin-top:6px; }

/* ---------- Alternating feature rows ---------- */
.feature-row{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
  padding:48px 0; border-top:1px solid var(--line);
}
.feature-row:first-of-type{ border-top:none; }
.feature-row.reverse .fr-text{ order:2; }
.feature-row.reverse .fr-photo{ order:1; }
.fr-text h3{ font-size:1.5rem; margin-bottom:14px; }
.fr-text p{ color:var(--muted); }
.fr-text ul{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.fr-text li{ display:flex; gap:10px; align-items:flex-start; font-size:0.96rem; color:var(--ink); }

/* ---------- Numbered steps ---------- */
.steps-3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:36px; }
.step-item{ padding-top:18px; border-top:1px solid var(--ink); }
.step-item .num{ font-family:'Newsreader', serif; color:var(--navy); font-size:0.9rem; display:block; margin-bottom:12px; }
.step-item h3{ font-size:1.1rem; margin-bottom:8px; }
.step-item p{ color:var(--muted); font-size:0.92rem; margin:0; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--navy-deep); color:#fff; border-radius:14px;
  padding:58px 52px; display:flex; justify-content:space-between;
  align-items:center; gap:28px; flex-wrap:wrap;
}
.cta-banner h2{ color:#fff; font-size:1.8rem; max-width:20ch; }
.cta-banner .btn-primary{ background:#fff; color:var(--navy-deep); }
.cta-banner .btn-primary:hover{ background:#EFE9DC; }

/* ---------- Programme page ---------- */
.prog-hero{ padding:56px 0 0; }
.breadcrumb{ font-size:0.85rem; color:var(--muted); margin-bottom:18px; }
.breadcrumb a{ color:var(--navy); }
.prog-hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; padding-bottom:64px; }
.prog-hero h1{ font-size:2.5rem; line-height:1.16; }
.prog-hero p.lede{ margin-top:16px; color:var(--muted); font-size:1.05rem; }

.learn-options{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.option-card{
  background:var(--surface); border:2px solid var(--line); border-radius:14px;
  padding:32px; display:flex; flex-direction:column; gap:14px;
}
.option-card.featured{ border-color:var(--navy); }
.option-tag{ font-size:0.78rem; font-weight:600; color:var(--navy); }
.option-card h3{ font-size:1.3rem; }
.option-card p{ color:var(--muted); font-size:0.94rem; margin:0; }
.option-meta{ display:flex; flex-direction:column; gap:6px; font-size:0.88rem; color:var(--ink); margin:6px 0; }
.option-meta span strong{ font-weight:600; }

.details-table{ width:100%; border-collapse:collapse; font-size:0.94rem; }
.details-table tr{ border-top:1px solid var(--line); }
.details-table tr:first-child{ border-top:none; }
.details-table td{ padding:14px 0; vertical-align:top; }
.details-table td:first-child{ color:var(--muted); width:220px; }

.faq-item{ border-top:1px solid var(--line); padding:22px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-item h4{ font-family:'Inter', sans-serif; font-weight:600; font-size:1rem; margin-bottom:8px; }
.faq-item p{ color:var(--muted); font-size:0.94rem; margin:0; }

.included-list{ display:grid; grid-template-columns:repeat(2, 1fr); gap:14px 32px; }
.included-list li{ display:flex; gap:10px; align-items:flex-start; font-size:0.95rem; }

/* ---------- Light pages (about / how / contact / org) ---------- */
.light-page-hero{ padding:60px 0 20px; max-width:680px; }
.light-page-hero h1{ font-size:2.4rem; margin-bottom:16px; }
.light-page-hero p{ color:var(--muted); font-size:1.05rem; }

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.contact-form-mock{ display:flex; flex-direction:column; gap:16px; max-width:480px; }
.field-mock label{ display:block; font-size:0.85rem; color:var(--muted); margin-bottom:6px; }
.field-mock .input-mock{
  border:1px solid var(--line); border-radius:8px; padding:12px 14px;
  background:var(--surface); color:var(--muted); font-size:0.92rem;
}

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--line); padding:56px 0 36px; background:var(--bg-alt); }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.foot-brand p{ color:var(--muted); font-size:0.9rem; max-width:30ch; margin-top:12px; }
.foot-col h4{ font-size:0.82rem; color:var(--muted); font-weight:600; margin-bottom:14px; }
.foot-col ul{ display:flex; flex-direction:column; gap:9px; font-size:0.92rem; }
.foot-col a:hover{ color:var(--navy); }
.foot-bottom{
  display:flex; justify-content:space-between; color:var(--muted); font-size:0.8rem;
  border-top:1px solid var(--line); padding-top:22px; flex-wrap:wrap; gap:8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .nav-links{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; padding:8px 32px 18px;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 0; border-top:1px solid var(--line); }
  .nav-links a:first-child{ border-top:none; }
  .menu-toggle{ display:block; }

  .hero-grid, .prog-hero-grid, .feature-row, .contact-grid{ grid-template-columns:1fr; gap:32px; }
  .feature-row.reverse .fr-text, .feature-row.reverse .fr-photo{ order:0; }
  .hero h1{ font-size:2.1rem; max-width:none; }
  .grid-3, .steps-3, .learn-options, .included-list{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; }
  .cta-banner{ padding:40px 26px; }
  section{ padding:52px 0; }
}
