/* ============================================
   SOCIAL WORK ASSESSMENT — Design System
   Personal, warm, professional — sole practitioner
   ============================================ */

:root {
  /* Warm, professional palette */
  --primary: #5b4a8a;
  --primary-light: #7b6baa;
  --primary-dark: #3d2e6b;
  --secondary: #2a9d8f;
  --secondary-light: #40b4a6;
  --accent: #e07a5f;
  --accent-light: #f4a98a;

  /* Warm neutrals */
  --dark: #2d2d3a;
  --dark-light: #3e3e50;
  --gray-700: #4a4a5a;
  --gray-500: #6b6b7b;
  --gray-400: #8e8e9e;
  --gray-200: #e0dfe6;
  --light: #f7f6f9;
  --warm-bg: #faf9fb;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-width: 960px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — softer */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tinted {
  background: var(--warm-bg);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.centered {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--light);
  color: var(--primary);
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.82rem !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.open { right: 0; }

  .nav-links {
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav-links a { font-size: 1.05rem; }
}

/* --- Hero Section --- */
.hero {
  padding: 9rem 0 5rem;
  background: var(--warm-bg);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-credentials {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.hero-credential {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--gray-400);
}

.hero-credential .icon {
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-credentials { gap: 1rem; }
}

/* --- Stats Bar --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.75rem; }
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Highlight cards --- */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.highlight-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.highlight-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.highlight-card h4 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-light);
}

.testimonial-card .attribution {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Media mentions --- */
.media-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.media-logo {
  width: 120px;
  height: 30px;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}

.media-logo:hover {
  opacity: 0.75;
  filter: grayscale(0%);
}

/* --- Family message --- */
.family-message {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.family-message p {
  margin-bottom: 1rem;
}

/* --- Guide index --- */
.guide-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guide-index-card {
  display: block;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.guide-index-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.guide-index-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--dark);
}

.guide-index-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- Guide articles --- */
.guide-article {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.guide-article h2 {
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.guide-article h3 {
  color: var(--dark);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.guide-article p {
  margin-bottom: 1rem;
}

/* --- CTA banner --- */
.cta-banner {
  background: var(--primary);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--on-dark {
  background: var(--white);
  color: var(--primary);
}

.btn--on-dark:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* --- Page header (inner pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--warm-bg);
  border-bottom: 1px solid var(--gray-200);
}

.page-header .breadcrumb {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.page-header .breadcrumb a { color: var(--gray-400); }
.page-header .breadcrumb a:hover { color: var(--primary); }
.page-header .breadcrumb .separator { color: var(--gray-400); }
.page-header .breadcrumb .current { color: var(--primary); font-weight: 500; }

.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; }

/* --- Career Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.25rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.15rem;
}

.timeline-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }

.timeline-org {
  font-size: 0.88rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 0.35rem;
}

.timeline-item p:not(.timeline-org) {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* --- Competency cards --- */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.competency-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.competency-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.competency-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(42, 157, 143, 0.08);
  color: var(--secondary);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.competency-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.competency-card p { font-size: 0.85rem; color: var(--gray-500); }

/* --- Qualification items --- */
.qual-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.qual-item {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.qual-item .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.qual-item h4 { font-size: 0.9rem; margin-bottom: 0.1rem; }
.qual-item p { font-size: 0.82rem; color: var(--gray-500); }

/* --- Services page: detail blocks --- */
.service-detail {
  padding: 2.5rem 0;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--gray-200);
}

.service-detail-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-detail-content p {
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.service-detail-features {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.service-detail-features li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.service-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.service-info-card {
  padding: 1.75rem;
  background: var(--warm-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.service-info-card h4 { margin-bottom: 0.75rem; font-size: 0.95rem; }

.service-info-card ul { list-style: none; padding: 0; }

.service-info-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
  color: var(--gray-700);
}

.service-info-card li:last-child { border-bottom: none; }

/* --- Process steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

.process-step h4 { margin-bottom: 0.35rem; font-size: 0.95rem; }
.process-step p { font-size: 0.85rem; color: var(--gray-500); }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* --- Assessment checklist --- */
.assessment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
}

.assessment-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.assessment-item .check {
  color: var(--secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.contact-info-item .icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-info-item p,
.contact-info-item a { font-size: 0.9rem; color: var(--gray-500); }
.contact-info-item a:hover { color: var(--primary); }

.contact-form {
  padding: 2rem;
  background: var(--warm-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-form h3 { margin-bottom: 0.35rem; }
.contact-form > p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(91, 74, 138, 0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.credentials-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--warm-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.credentials-box h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.credentials-box p { font-size: 0.85rem; color: var(--gray-500); }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .logo-mark {
  background: rgba(255,255,255,0.12);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  color: var(--secondary-light);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* --- Footer social --- */
.footer-social {
  display: inline-flex;
  align-items: center;
  color: var(--gray-400);
  margin-top: 0.75rem;
  transition: color var(--transition);
}

.footer-social:hover {
  color: var(--white);
}

/* --- Animations (subtle) --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.85rem;
}

.skip-link:focus { top: 1rem; }

/* --- Profile Photo --- */
.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.profile-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .profile-photo {
    width: 200px;
    height: 200px;
  }

  .profile-photo-wrapper {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 1rem;
  }
}

/* --- Hero with photo layout --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-grid .hero-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    order: -1;
  }
}

/* --- FAQ items --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- Guide category sections (hub page) --- */
.guide-category {
  margin-bottom: 3rem;
}

.guide-category:last-child {
  margin-bottom: 0;
}

.guide-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.guide-category-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.guide-category-header h2 {
  font-size: 1.35rem;
  margin: 0;
}

.guide-category-count {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-left: auto;
}

/* Guide hub cards (larger, more detailed) */
.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.guide-hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.guide-hub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
  transform: translateY(-2px);
  color: inherit;
}

.guide-hub-card .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.guide-hub-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.guide-hub-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
  flex-grow: 1;
}

.guide-hub-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.guide-hub-card:hover .read-more {
  color: var(--primary-light);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
