/* === css/styles.css === */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  --color-primary: #0D1F4E;
  --color-accent: #F5A623;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FC;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-border: #E0E0E0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --transition: all 0.2s ease;
  --nav-height: 72px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--color-text);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

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

/* =====================
   LAYOUT UTILITIES
   ===================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--color-text-muted); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: #e09515;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-dark {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-dark:hover {
  background-color: #0a1840;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,31,78,0.3);
}

/* =====================
   IMAGE PLACEHOLDER
   ===================== */
.img-placeholder {
  background: #E8EDF5;
  border: 2px dashed #B0BEC5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90A4AE;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
}

/* =====================
   CARD
   ===================== */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* =====================
   NAVIGATION
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-links > li {
  position: relative;
}

.nav-links a,
.nav-links button.nav-dropdown-toggle {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links button.nav-dropdown-toggle:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(13,31,78,0.06);
}

/* Services dropdown */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-toggle .chevron {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-item-dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  padding: 0.5rem 0;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: 0;
  transition: background 0.15s;
}

.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-hamburger:hover {
  background: var(--color-bg-alt);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   HERO — HOME
   ===================== */
.hero {
  background-color: var(--color-primary);
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-content .hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-image-wrap img {
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

/* =====================
   HERO — INNER PAGES
   ===================== */
.page-hero {
  background-color: var(--color-primary);
  padding: 72px 0 64px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-hero .page-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
}

.page-hero .hero-date {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* =====================
   VALUE PROPOSITION
   ===================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* =====================
   SERVICES OVERVIEW — HOME
   ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

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

.service-card .card-title { margin-bottom: 0.5rem; }

/* =====================
   ABOUT TEASER
   ===================== */
.about-teaser-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-teaser-inner .img-placeholder {
  width: 320px;
  height: 200px;
}

.about-teaser-text h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-teaser-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.read-more-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.read-more-link:hover {
  color: var(--color-accent);
}

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
  background-color: var(--color-accent);
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-text);
}

/* =====================
   SERVICES PAGE
   ===================== */
.service-category {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-category:last-child {
  border-bottom: none;
}

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

.service-category-header .cat-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-category-header h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
}

.service-category > .container > p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.service-item::before {
  content: '✓';
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.service-item span {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* Community Training Section */
.community-section {
  background-color: #FFF8EC;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.community-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.community-layout .img-placeholder {
  height: 240px;
}

/* =====================
   ABOUT PAGE
   ===================== */
.who-we-are-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.who-we-are-inner .img-placeholder {
  width: 100%;
  height: 280px;
}

.who-we-are-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.125rem;
}

.who-we-are-text p:first-of-type {
  color: var(--color-text);
  font-size: 1.0625rem;
}

/* Mission / Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.mv-card .mv-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.mv-card h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.mv-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--color-accent);
}

.value-card h3 {
  color: var(--color-primary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-accent);
  opacity: 0.4;
}

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

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

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  color: var(--color-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-details h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-address {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-address p {
  margin: 0;
  line-height: 2;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.contact-address strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8125rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s;
}

.contact-email:hover {
  color: var(--color-accent);
}

/* Form */
.contact-form-wrap h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  line-height: 1.5;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}

.form-control.is-invalid {
  border-color: #e53e3e;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(229,62,62,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.field-error {
  display: block;
  color: #e53e3e;
  font-size: 0.8125rem;
  margin-top: 0.3rem;
  display: none;
}

.field-error.visible {
  display: block;
}

#form-success {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #166534;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

#form-success.visible {
  display: block;
}

/* =====================
   LEGAL PAGES
   ===================== */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 64px 0 80px;
}

.toc-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
}

.toc-sidebar h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.toc-sidebar ol {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--color-border);
}

.toc-sidebar ol li {
  padding-left: 0;
}

.toc-sidebar a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.5;
}

.toc-sidebar a:hover {
  color: var(--color-primary);
}

.toc-sidebar a.toc-active {
  color: var(--color-primary);
  border-left-color: var(--color-accent);
  font-weight: 500;
}

.toc-mobile {
  display: none;
  margin-bottom: 2rem;
}

.toc-mobile summary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  list-style: none;
}

.toc-mobile summary::marker { display: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }

.toc-mobile summary::after {
  content: ' ▾';
  font-size: 0.75rem;
}

.toc-mobile[open] summary::after {
  content: ' ▴';
}

.toc-mobile ol {
  list-style: none;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.toc-mobile ol li {
  padding: 0.25rem 0;
}

.toc-mobile a {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: underline;
}

/* Legal Content */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0.375rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-accent);
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: 260px;
  line-height: 1.65;
  margin: 0;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0;
}

.footer-contact a {
  color: var(--color-accent);
  transition: opacity 0.15s;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* =====================
   RESPONSIVE — 768px
   ===================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section { padding: 56px 0; }

  /* Nav */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links a,
  .nav-links button.nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-radius: 4px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0.25rem 0.5rem;
    margin-top: 0.25rem;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 { font-size: 2.25rem; }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    justify-content: center;
  }

  .hero-image-wrap .img-placeholder {
    width: 100%;
    max-width: 360px;
  }

  /* Grids */
  .value-grid,
  .services-grid,
  .mission-vision-grid,
  .values-grid,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .about-teaser-inner {
    grid-template-columns: 1fr;
  }

  .about-teaser-inner .img-placeholder {
    width: 100%;
  }

  .who-we-are-inner {
    grid-template-columns: 1fr;
  }

  .who-we-are-inner .img-placeholder {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-text {
    font-size: 1.375rem;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Legal */
  .legal-layout {
    grid-template-columns: 1fr;
    padding: 40px 0 56px;
  }

  .toc-sidebar { display: none; }
  .toc-mobile { display: block; }
}

/* =====================
   RESPONSIVE — 480px
   ===================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .hero-content h1 { font-size: 1.875rem; }
  .page-hero h1 { font-size: 2rem; }

  .btn {
    padding: 0.65rem 1.375rem;
    font-size: 0.875rem;
  }

  .section { padding: 44px 0; }

  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}
