@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:wght@700;800;900&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --sage:        #5E8C79;
  --sage-dark:   #35614E;
  --sage-light:  #EBF2EE;
  --sage-mid:    #9DC5B4;
  --sage-border: #C6DDD4;
  --white:       #FFFFFF;
  --warm:        #F8F5F1;
  --gold:        #C9923A;
  --gold-light:  #FCF3E2;
  --coral:       #C97060;
  --coral-light: #FAEAE7;
  --teal:        #2E8B7A;
  --teal-light:  #D0EFEA;
  --navy:        #1E3A4C;
  --purple:      #6B4E9E;
  --purple-light:#EDE8F7;
  --ink:         #1A2E24;
  --ink-soft:    #4A6356;
  --ink-muted:   #7A9186;
  --border:      #D5E6DE;
  --radius:      10px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(26,46,36,.07);
  --shadow:      0 4px 18px rgba(26,46,36,.09);
  --shadow-lg:   0 8px 36px rgba(26,46,36,.13);
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; line-height: 1.15; }
h4,h5,h6 { font-family: 'Poppins', Arial, sans-serif; font-weight: 700; }
a { color: var(--sage-dark); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
ul { list-style: none; }

/* ── LAYOUT ─────────────────────────────────────────────────────────────────── */
.wrap      { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap--md  { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.wrap--sm  { max-width: 620px; margin: 0 auto; padding: 0 24px; }

/* ── TOPBAR ─────────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--sage-dark);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: .02em;
  font-weight: 500;
}

/* ── HEADER / NAV ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sage);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
  width: 44px; height: 44px;
  background: var(--sage);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--sage-dark);
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all .14s;
}
.site-nav a:hover { background: var(--sage-light); color: var(--sage-dark); }
.site-nav a.active { background: var(--sage); color: #fff; }
.site-nav .nav-cta {
  background: var(--gold);
  color: #fff !important;
  border-radius: 8px;
  margin-left: 4px;
}
.site-nav .nav-cta:hover { background: #b57e30; }

/* ── PAGE HERO ──────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-dark);
  padding: 64px 24px 52px;
  text-align: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(201,146,58,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 100%, rgba(46,139,122,.2) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem,4.5vw,2.8rem); color: #fff; margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto; font-size: 1.03rem; }
.hero-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

/* HOME HERO */
.home-hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--sage-dark);
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sage-dark) 0%, #2C5E4A 40%, #1E3028 100%);
}
/* Photo carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
/* Gradient overlay — deep on left (text), lighter on right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(20,40,30,.88) 0%,
    rgba(20,40,30,.72) 40%,
    rgba(20,40,30,.38) 68%,
    rgba(20,40,30,.18) 100%
  );
}
/* Slide indicator dots */
.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  transition: background .35s, transform .35s;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}
.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.home-hero h1 {
  font-size: clamp(2rem,5vw,3.2rem);
  color: #fff;
  max-width: 640px;
  margin-bottom: 18px;
  line-height: 1.1;
}
.home-hero h1 em { font-style: normal; color: var(--gold); }
.home-hero p { color: rgba(255,255,255,.8); max-width: 520px; font-size: 1.05rem; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', Arial, sans-serif; font-weight: 700; font-size: .9rem; padding: 13px 24px; border-radius: var(--radius); text-decoration: none; transition: all .15s; border: none; cursor: pointer; }
.btn-primary  { background: var(--sage); color: #fff; }
.btn-primary:hover  { background: var(--sage-dark); color: #fff; transform: translateY(-1px); }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover  { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-gold     { background: var(--gold); color: #fff; }
.btn-gold:hover     { background: #b57e30; color: #fff; }

/* ── SECTION HEADING ────────────────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.5rem,3vw,2rem); color: var(--sage-dark); margin-bottom: 10px; }
.section-head p  { color: var(--ink-muted); max-width: 560px; margin: 0 auto; font-size: .98rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sage);
  margin-bottom: 8px;
}

/* ── CARDS / UTILITIES ───────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.card:hover { box-shadow: var(--shadow); }

.pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: 999px;
}
.pill-sage   { background: var(--sage-light); color: var(--sage-dark); }
.pill-gold   { background: var(--gold-light); color: #7A5010; }
.pill-coral  { background: var(--coral-light); color: var(--coral); }
.pill-teal   { background: var(--teal-light); color: var(--teal); }
.pill-purple { background: var(--purple-light); color: var(--purple); }

/* ── HOME PAGE ───────────────────────────────────────────────────────────────── */
.home-intro { padding: 64px 24px; background: var(--warm); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 700px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.intro-text h2 { color: var(--sage-dark); font-size: clamp(1.6rem,3vw,2.1rem); margin-bottom: 16px; }
.intro-text p  { color: var(--ink-soft); margin-bottom: 14px; }

.home-tools  { padding: 64px 24px; }
.tools-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 820px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
}
.tool-card:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-card .tool-icon { font-size: 2rem; }
.tool-card h3 { font-size: 1.05rem; color: var(--sage-dark); margin: 0; }
.tool-card p  { font-size: .85rem; color: var(--ink-muted); margin: 0; }
.tool-card .pill { margin-top: auto; }

.home-stats   { background: var(--sage-dark); color: #fff; padding: 48px 24px; }
.stats-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-num { font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--gold); display: block; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ── NAVIGATOR ───────────────────────────────────────────────────────────────── */
.nav-hero-strip {
  background: var(--sage-light);
  border-bottom: 1px solid var(--sage-border);
  padding: 20px 24px;
  text-align: center;
}
.nav-hero-strip p { font-size: .9rem; color: var(--ink-soft); }

.navigator-wrap { padding: 48px 24px 64px; }

/* Step indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-dot-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink-muted);
  font-weight: 700;
  font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: all .2s;
}
.step-dot.active .step-dot-circle  { background: var(--sage); color: #fff; }
.step-dot.done .step-dot-circle    { background: var(--sage-dark); color: #fff; }
.step-dot-label { font-size: .68rem; font-weight: 600; color: var(--ink-muted); text-align: center; max-width: 80px; }
.step-dot.active .step-dot-label   { color: var(--sage-dark); }
.step-line { width: 48px; height: 2px; background: var(--border); margin: 0 4px; margin-bottom: 22px; flex-shrink: 0; }
.step-line.done { background: var(--sage); }

/* Role selector */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  max-width: 740px;
  margin: 0 auto 32px;
}
@media (max-width: 600px) { .role-grid { grid-template-columns: 1fr; } }
.role-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  font-family: 'Poppins', Arial, sans-serif;
  transition: all .16s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.role-card:hover  { border-color: var(--sage); background: var(--sage-light); }
.role-card.active { border-color: var(--sage-dark); background: var(--sage-light); }
.role-card .role-icon { font-size: 2rem; }
.role-card h3 { font-size: .95rem; color: var(--sage-dark); margin: 0; }
.role-card p  { font-size: .8rem; color: var(--ink-muted); margin: 0; }

/* Situation selector */
.situation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 580px) { .situation-grid { grid-template-columns: 1fr; } }
.sit-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
  cursor: pointer;
  background: var(--white);
  font-family: 'Poppins', Arial, sans-serif;
  text-align: left;
  display: flex; align-items: center; gap: 14px;
  transition: all .16s;
}
.sit-card:hover  { border-color: var(--sage); transform: translateX(2px); }
.sit-card.active { border-color: var(--sage-dark); background: var(--sage-light); }
.sit-icon { font-size: 1.5rem; flex-shrink: 0; }
.sit-text h4 { font-size: .9rem; color: var(--sage-dark); margin-bottom: 2px; }
.sit-text p  { font-size: .78rem; color: var(--ink-muted); margin: 0; }
.sit-stage-tag { font-size: .65rem; font-weight: 700; text-transform: uppercase; color: var(--sage); letter-spacing: .06em; }

/* Results panel */
.result-panel {
  background: var(--white);
  border: 2px solid var(--sage-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: panelIn .25s ease;
}
@keyframes panelIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.result-panel-header {
  background: var(--sage-dark);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.result-stage-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.result-panel-header h2 { font-size: 1.4rem; color: #fff; flex: 1; min-width: 200px; }
.close-result {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.close-result:hover { background: rgba(255,255,255,.25); }

.result-panel-body { padding: 28px 32px; }
@media (max-width: 600px) { .result-panel-body { padding: 20px 18px; } }

/* Alert bar */
.alert-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gold-light);
  border: 1.5px solid #E8C47A;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: .88rem;
}
.alert-bar.alert-teal { background: var(--teal-light); border-color: var(--sage-mid); }
.alert-bar.alert-coral { background: var(--coral-light); border-color: #E8A090; }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.alert-bar strong { color: var(--ink); display: block; margin-bottom: 2px; font-size: .9rem; }
.alert-bar p { color: var(--ink-soft); margin: 0; }

/* Tabs inside panel */
.panel-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; gap: 0; overflow-x: auto; }
.panel-tab {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  font-size: .82rem;
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all .15s;
}
.panel-tab:hover  { color: var(--sage-dark); }
.panel-tab.active { color: var(--sage-dark); border-bottom-color: var(--sage); }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* Content blocks */
.content-block { margin-bottom: 22px; }
.content-block:last-child { margin-bottom: 0; }
.block-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.bl-sage   { color: var(--sage-dark); }
.bl-gold   { color: #8A6010; }
.bl-coral  { color: var(--coral); }
.bl-teal   { color: var(--teal); }

.content-block p { color: var(--ink-soft); font-size: .92rem; }

.rights-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: .9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--sage-light);
}
.rights-list li:last-child { border-bottom: none; }
.rights-list li::before {
  content: '⚖';
  position: absolute;
  left: 0;
  font-size: .8rem;
}
.action-list { counter-reset: steps; }
.action-list li {
  counter-increment: steps;
  padding: 10px 0 10px 44px;
  position: relative;
  font-size: .9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--sage-light);
}
.action-list li:last-child { border-bottom: none; }
.action-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px; height: 26px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
}
.warn-list li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: .88rem;
  color: var(--ink);
}
.warn-list li::before { content: '⚠️'; position: absolute; left: 0; font-size: .8rem; top: 8px; }

/* Deadline calculator */
.deadline-calc {
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 22px;
}
.deadline-calc h4 { color: var(--sage-dark); margin-bottom: 14px; font-size: 1rem; }
.calc-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.calc-input-row label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.calc-input-row input[type="date"] {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .9rem;
  padding: 9px 14px;
  border: 1.5px solid var(--sage-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.calc-results { display: none; }
.calc-results.visible { display: block; }
.deadline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--sage-border);
  font-size: .88rem;
  gap: 12px;
  flex-wrap: wrap;
}
.deadline-row:last-child { border-bottom: none; }
.deadline-row .d-label  { color: var(--ink-soft); flex: 1; }
.deadline-row .d-date   { font-weight: 700; color: var(--sage-dark); white-space: nowrap; }
.deadline-row .d-overdue{ color: var(--coral); font-size: .75rem; }
.deadline-row .d-ok     { color: var(--sage); font-size: .75rem; }

/* Letter generator */
.letter-gen {
  background: var(--warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.letter-gen h4 { color: var(--sage-dark); margin-bottom: 16px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .88rem;
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--sage);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .form-grid-2 { grid-template-columns: 1fr; } }
.letter-output {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
  display: none;
  margin-top: 14px;
  max-height: 400px;
  overflow-y: auto;
}
.letter-output.visible { display: block; }

/* Checklist */
.checklist { }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sage-light);
  cursor: pointer;
}
.check-item:last-child { border-bottom: none; }
.check-box {
  width: 22px; height: 22px;
  border: 2px solid var(--sage-border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
  margin-top: 1px;
}
.check-item.checked .check-box {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.check-item.checked .check-box::after { content: '✓'; font-size: .8rem; font-weight: 700; }
.check-text { font-size: .88rem; color: var(--ink); line-height: 1.5; }
.check-item.checked .check-text { text-decoration: line-through; color: var(--ink-muted); }
.check-section-head { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); padding: 12px 0 6px; }
.checklist-progress { font-size: .82rem; color: var(--ink-muted); margin-bottom: 14px; }
.checklist-progress-bar { height: 6px; background: var(--sage-light); border-radius: 999px; margin-top: 4px; overflow: hidden; }
.checklist-progress-fill { height: 100%; background: var(--sage); border-radius: 999px; transition: width .3s; }

/* EHCP section guide */
.ehcp-sections { }
.ehcp-section-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.ehcp-section-btn {
  width: 100%;
  text-align: left;
  background: var(--warm);
  border: none;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--sage-dark);
  transition: background .15s;
}
.ehcp-section-btn:hover { background: var(--sage-light); }
.ehcp-section-btn .sec-letter {
  width: 30px; height: 30px;
  background: var(--sage);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.ehcp-section-body {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.ehcp-section-body.open { padding: 14px 18px; max-height: 600px; }
.ehcp-section-body p   { font-size: .88rem; color: var(--ink-soft); margin-bottom: 8px; }
.ehcp-section-body ul  { padding-left: 18px; font-size: .85rem; color: var(--ink-soft); }
.ehcp-section-body ul li { margin-bottom: 4px; }
.ehcp-chevron { margin-left: auto; font-size: .75rem; transition: transform .2s; }
.ehcp-section-btn[aria-expanded="true"] .ehcp-chevron { transform: rotate(180deg); }

/* Back button */
.back-btn {
  background: var(--sage-light);
  border: 1.5px solid var(--sage-border);
  border-radius: var(--radius);
  padding: 9px 16px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sage-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.back-btn:hover { background: var(--sage-border); }

/* ── DIRECTORY ───────────────────────────────────────────────────────────────── */
.directory-section { padding: 48px 24px 64px; }
.country-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab-btn {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s;
}
.tab-btn:hover  { border-color: var(--sage); color: var(--sage-dark); }
.tab-btn.active { background: var(--sage); border-color: var(--sage); color: #fff; }
.region-select-wrap { text-align: center; margin-bottom: 28px; }
.region-select-wrap label { font-weight: 600; margin-right: 10px; color: var(--ink-soft); font-size: .9rem; }
.region-select-wrap select {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--ink);
  min-width: 280px;
  cursor: pointer;
}
.region-select-wrap select:focus { border-color: var(--sage); outline: none; }
.services-output { min-height: 180px; }
.region-heading {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sage-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sage-light);
}
.service-list  { display: grid; gap: 14px; }
.service-card  {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.service-card:hover { border-color: var(--sage); }
.service-card-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.service-card h3   { font-size: 1rem; color: var(--sage-dark); margin: 0; }
.service-tags      { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.tag-sendiass { background: var(--sage-light); color: var(--sage-dark); }
.tag-forum    { background: var(--teal-light); color: var(--teal); }
.tag-advocate { background: var(--purple-light); color: var(--purple); }
.tag-charity  { background: var(--gold-light); color: #7A5010; }
.tag-tribunal { background: var(--coral-light); color: var(--coral); }
.tag-national { background: #E8F5EE; color: #2E7048; }
.service-card p   { font-size: .88rem; color: var(--ink-muted); margin: 0 0 8px; }
.service-card a   { font-size: .88rem; font-weight: 700; color: var(--sage-dark); text-decoration: none; }
.service-card a:hover { text-decoration: underline; }
.service-contact  { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.empty-state { text-align: center; padding: 40px; color: var(--ink-muted); background: var(--warm); border-radius: var(--radius); }

/* ── EVENTS ──────────────────────────────────────────────────────────────────── */
.events-section { padding: 48px 24px 64px; }
.events-filter  { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.filter-btn { font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 999px; border: 2px solid var(--border); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.filter-btn:hover  { border-color: var(--sage); color: var(--sage-dark); }
.filter-btn.active { background: var(--sage); border-color: var(--sage); color: #fff; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 20px; }
.event-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease,box-shadow .18s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-banner { height: 7px; }
.event-body { padding: 20px 22px; }
.event-date-badge { display: inline-flex; flex-direction: column; align-items: center; background: var(--sage-light); color: var(--sage-dark); border-radius: 10px; padding: 6px 14px; margin-bottom: 12px; }
.event-date-badge .eday { font-size: 1.4rem; font-weight: 900; font-family: 'Montserrat', Arial, sans-serif; line-height: 1; }
.event-date-badge .emon { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-card h3 { font-size: 1rem; color: var(--sage-dark); margin-bottom: 6px; }
.event-card p  { font-size: .86rem; color: var(--ink-muted); margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--ink-muted); }
.event-meta span { display: flex; align-items: center; gap: 6px; }
.event-region-tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; margin-top: 10px; }
.register-btn { display: inline-block; margin-top: 14px; background: var(--sage); color: #fff; text-decoration: none; font-weight: 700; font-size: .84rem; padding: 9px 18px; border-radius: var(--radius); transition: background .15s; }
.register-btn:hover { background: var(--sage-dark); color: #fff; }

/* ── REFERRALS ───────────────────────────────────────────────────────────────── */
.referrals-section { padding: 48px 24px 64px; }
.referral-types { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 18px; margin-bottom: 40px; }
/* ref-type-card base styles now in PHOTO COMPONENTS section below */

.referral-form {
  background: var(--warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 600px) { .referral-form { padding: 22px 18px; } }
.referral-form h3 { color: var(--sage-dark); margin-bottom: 6px; }
.referral-form .subtitle { color: var(--ink-muted); font-size: .9rem; margin-bottom: 24px; }
.referral-form .privacy-note-inline {
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* ── FEATURE WALL ────────────────────────────────────────────────────────────── */
.feature-wall { padding: 48px 24px 64px; background: var(--warm); }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.wall-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--sage);
  display: flex; flex-direction: column; gap: 14px;
}
.wall-card blockquote { font-size: .95rem; color: var(--ink); font-style: italic; line-height: 1.65; margin: 0; }
.wall-card blockquote::before { content: '\201C'; color: var(--sage); font-size: 2rem; font-family: 'Montserrat', Arial, sans-serif; line-height: .5; display: block; margin-bottom: 8px; }
.wall-card-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.wall-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.wall-name { font-weight: 700; font-size: .88rem; color: var(--sage-dark); }
.wall-meta { font-size: .78rem; color: var(--ink-muted); }

/* ── NATIONAL ORGS ───────────────────────────────────────────────────────────── */
.nat-orgs { padding: 48px 24px 64px; }
.orgs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; }
.org-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px 20px; transition: border-color .15s; }
.org-card:hover { border-color: var(--sage); }
.org-icon { font-size: 1.8rem; margin-bottom: 10px; }
.org-card h3 { font-size: 1rem; color: var(--sage-dark); margin-bottom: 6px; }
.org-card p  { font-size: .85rem; color: var(--ink-muted); margin-bottom: 10px; }
.org-card a  { font-size: .85rem; font-weight: 700; color: var(--sage); text-decoration: none; }

/* ── TIMELINE STRIP ──────────────────────────────────────────────────────────── */
.timelines { background: var(--sage-dark); color: #fff; padding: 48px 24px; }
.timelines .section-head h2 { color: #fff; }
.timelines .section-head p  { color: rgba(255,255,255,.72); }
.timeline-steps { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 18px; }
.timeline-step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 20px; text-align: center; }
.t-weeks { font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: 2rem; color: var(--gold); display: block; }
.t-label { font-size: .82rem; color: rgba(255,255,255,.8); margin-top: 4px; }
.t-note  { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 6px; font-style: italic; }

/* ── ABOUT ───────────────────────────────────────────────────────────────────── */
.about-section { padding: 48px 24px 64px; }
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; } }
.about-content h2 { color: var(--sage-dark); margin-bottom: 16px; font-size: 1.6rem; }
.about-content p  { color: var(--ink-soft); margin-bottom: 14px; font-size: .95rem; }
.about-box { background: var(--sage-light); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.about-box h3 { font-size: 1rem; color: var(--sage-dark); margin-bottom: 10px; }
.about-box p  { font-size: .87rem; color: var(--ink-soft); margin-bottom: 8px; }
.reviewed-badge { background: var(--teal-light); border-radius: var(--radius); padding: 12px 16px; font-size: .84rem; color: var(--teal); font-weight: 600; margin-top: 16px; }

/* ── SHOP / BLOG PLACEHOLDER ─────────────────────────────────────────────────── */
.coming-soon { padding: 80px 24px; text-align: center; }
.coming-soon .coming-icon { font-size: 3rem; margin-bottom: 20px; }
.coming-soon h2 { color: var(--sage-dark); margin-bottom: 12px; }
.coming-soon p  { color: var(--ink-muted); max-width: 480px; margin: 0 auto 24px; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 48px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.footer-tagline { font-size: .84rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .8rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .07em; }
.footer-col a  { display: block; color: rgba(255,255,255,.58); text-decoration: none; font-size: .84rem; margin-bottom: 8px; transition: color .14s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }
.legal-note   { color: var(--gold); font-weight: 600; max-width: 640px; }
.privacy-note { color: rgba(255,255,255,.4); }

/* ── MOBILE NAV HIDE ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* ── PHOTO COMPONENTS ────────────────────────────────────────────────────────── */

/* Photo strip — horizontal row of images (used on Feature Wall, Events, About) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform .35s;
}
.photo-strip img:hover { transform: scale(1.05); }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

/* Wall card photo */
.wall-card-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

/* Blog card image (replaces the 6px banner bar when a photo is available) */
.blog-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Referral type card image */
.ref-type-card {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.ref-type-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ref-type-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.ref-type-card-body {
  padding: 20px 20px 22px;
}
.ref-type-card h3 { color: var(--sage-dark); font-size: 1rem; margin-bottom: 8px; }
.ref-type-card p  { color: var(--ink-muted); font-size: .87rem; }
.ref-icon { font-size: 1.6rem; margin-bottom: 8px; }

/* About page photo */
.about-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.about-photo-wrap img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Directory page photo banner */
.dir-photo-banner {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
  display: block;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

/* Events photo banner */
.events-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
}
.events-photo-strip img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
@media (max-width: 580px) {
  .events-photo-strip { grid-template-columns: 1fr; }
  .events-photo-strip img { height: 180px; }
}
