/* ── CLASP — Combined Stylesheet ─────────────────────────────────────────── */

/* Variables */
:root {
  --green-dark:    #085041;
  --green-mid:     #0F6E56;
  --green-bright:  #1D9E75;
  --green-light:   #9FE1CB;
  --green-pale:    #E1F5EE;
  --text-primary:  #1A1A18;
  --text-secondary:#5F5E5A;
  --text-muted:    #888780;
  --border:        #D3D1C7;
  --border-light:  #EBEBEA;
  --bg-page:       #FAFAF8;
  --bg-surface:    #FFFFFF;
  --bg-subtle:     #F4F4F1;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
a { text-decoration: none; color: inherit; }

/* Base */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

body.assessment-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility: used by assessment page container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 90px;
  background: rgba(250,250,248,0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.logo {
  width: auto; height: 70px; display: block;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; letter-spacing: -0.3px;
  color: var(--text-primary);
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo span {
  color: var(--green-bright);
  display: inline-flex;
  align-items: center;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  padding: 9px 22px;
  background: var(--green-mid);
  color: #fff;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.nav-cta:hover { background: var(--green-dark); }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 13px 30px;
  background: var(--green-mid);
  color: #fff;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-dark); }

/* Generic .btn for quiz navigation */
.btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary.btn {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
}
.btn-outline {
  background: #fff;
  color: var(--text-secondary);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── SHARED LAYOUT ────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border-light); }

.section {
  padding: 5rem 2.5rem;
  max-width: 980px; margin: 0 auto;
}
.alt-wrap {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.eyebrow {
  font-size: 11px; font-weight: 500;
  color: var(--green-bright);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sec-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 0.85rem;
}
.sec-body {
  font-size: 15px; font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
}

/* ── SHARED: RESULT BOX ───────────────────────────────────────────────────── */
.result-label {
  font-size: 11px; font-weight: 500;
  color: var(--green-mid);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.result-text {
  font-size: 14px; font-weight: 300;
  color: var(--green-dark);
  line-height: 1.75; margin-bottom: 1.1rem;
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-bright);
}
.hero-body {
  font-size: 18px; font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ── AUDIENCE ─────────────────────────────────────────────────────────────── */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin-top: 2.5rem;
}
.aud-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.aud-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 4px 20px rgba(15,110,86,0.07);
}
.aud-role {
  font-size: 11px; font-weight: 500;
  color: var(--green-bright);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.aud-h {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight: 400; line-height: 1.3;
  margin-bottom: 0.65rem;
}
.aud-b {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary); line-height: 1.65;
}
.aud-q {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 13px; font-style: italic;
  color: var(--text-muted);
}

/* ── SELF-ASSESSMENT (homepage widget) ───────────────────────────────────── */
.assess-intro {
  text-align: center;
  max-width: 580px; margin: 0 auto;
}
.assess-wrap {
  max-width: 680px; margin: 2.5rem auto 0;
}
.assess-options {
  display: flex; flex-direction: column; gap: 10px;
}
.assess-opt {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: default;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.assess-opt.selected {
  border-color: var(--green-bright);
  background: var(--green-pale);
}
.assess-num {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.assess-opt.selected .assess-num {
  background: var(--green-bright);
  color: #fff;
  border-color: var(--green-bright);
}
.assess-text { flex: 1; }
.assess-title {
  font-size: 14px; font-weight: 500; margin-bottom: 3px;
}
.assess-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary); line-height: 1.55;
}
.assess-opt.selected .assess-desc { color: var(--green-mid); }

/* Progress bar (homepage) */
.progress-wrap { margin-top: 1.75rem; display: none; }
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
  margin-bottom: 7px;
}
.progress-track {
  height: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--green-bright);
  border-radius: 6px;
  transition: width 0.45s ease;
  width: 0%;
}

/* Result (homepage) */
.assess-result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--green-pale);
  border: 1px solid var(--green-bright);
  border-radius: var(--radius-lg);
  display: none;
}
.assess-result.visible { display: block; }
.result-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  padding: 10px 20px;
  background: var(--green-mid); color: #fff;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.result-btn:hover { background: var(--green-dark); }

/* ── SERVICES ─────────────────────────────────────────────────────────────── */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 2.5rem;
}
.help-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.help-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.help-icon svg {
  width: 16px; height: 16px;
  stroke: var(--green-mid); fill: none;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.help-h {
  font-size: 15px; font-weight: 500;
  margin-bottom: 0.5rem;
}
.help-b {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary); line-height: 1.65;
  flex: 1;
}
.help-tag {
  display: inline-block; margin-top: 1.1rem;
  font-size: 11px; font-weight: 500;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border-radius: 20px;
  color: var(--text-muted);
  align-self: flex-start;
}

/* ── CONTACT (homepage) ───────────────────────────────────────────────────── */
.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 5rem 2.5rem;
}
.contact-wrap {
  max-width: 560px; margin: 0 auto;
  text-align: center;
}
.contact-form {
  text-align: left;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}
.form-row { margin-bottom: 14px; }
label {
  display: block;
  font-size: 12px; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 300;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  appearance: none;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-bright);
}
.form-submit {
  width: 100%; margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 13px;
  background: var(--green-mid); color: #fff;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--green-dark); }
.form-note {
  margin-top: 10px; text-align: center;
  font-size: 12px; font-weight: 300;
  color: var(--text-muted);
}
.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13px; font-weight: 400;
  line-height: 1.5;
}
.contact-details {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem; margin-top: 2rem;
  justify-content: center;
}
.cd-item { font-size: 14px; }
.cd-label {
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 3px;
}
.cd-item a {
  color: var(--text-primary);
  font-weight: 400;
}
.cd-item a:hover { color: var(--green-mid); }

/* ── ASSESSMENT PAGE ──────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 5px 16px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.assessment-main {
  padding: 6rem 2.5rem 4rem;
  flex: 1 0 auto;
}
.assessment-container {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.quiz-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}
.quiz-header p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
  min-height: 400px;
}

/* Progress bar (assessment) */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 6px;
  margin-bottom: 32px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--green-bright);
  width: 0%;
  transition: width 0.4s var(--ease);
}

.question-counter {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.question-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 8px;
}
.question-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.option-btn {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.option-btn:hover {
  border-color: var(--green-bright);
  background: var(--green-pale);
}
.option-btn.selected {
  border-color: var(--green-bright);
  background: var(--green-pale);
  box-shadow: 0 0 0 1px var(--green-bright);
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.quiz-navigation .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.hidden { display: none !important; }
.text-center { text-align: center; }

.result-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}
.result-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--green-pale);
  border: 1px solid var(--green-bright);
  border-radius: var(--radius-lg);
  text-align: left;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 1.75rem 2.5rem;
  border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.assessment-page .footer {
  height: 90px;
  padding: 0 2.5rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px; color: var(--text-primary);
}
.footer-logo span { color: var(--green-bright); }
.footer-reg {
  font-size: 12px; font-weight: 300;
  color: var(--text-muted); margin-top: 3px;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--text-primary); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding: 0 1.25rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .contact-section { padding: 3.5rem 1.25rem; }
  .footer { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; }
  .assessment-main { padding: 4.5rem 1.25rem 3.5rem; }
  .quiz-card { padding: 2.25rem 1.5rem; }
  .result-actions { flex-direction: column; }
}
