/* ProSphere CIC — Dark Civic Design System */
/* Fonts loaded via Google Fonts in HTML head */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #1c1c1a;
  --bg-dark: #141412;
  --bg-mid: #181816;
  --card: #242420;
  --card-hover: #2c2c28;
  --amber: #C9A84C;
  --blue: #7B92B8;
  --offwhite: #F0EDE8;
  --muted: #9A9590;
  --body-muted: #B8B4AE;
  --radius: 2px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--offwhite);
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ── Amber rules ────────────────────────────────────────── */
.amber-rule {
  width: 100%;
  height: 1px;
  background-color: var(--amber);
  opacity: 0.6;
}
.amber-rule-thick {
  width: 60px;
  height: 3px;
  background-color: var(--amber);
}

/* ── Section label ──────────────────────────────────────── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--amber);
  color: var(--bg);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-amber:hover { background-color: transparent; color: var(--amber); }

.btn-outline-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: transparent;
  color: var(--amber);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline-amber:hover { background-color: var(--amber); color: var(--bg); }

/* ── Cards ──────────────────────────────────────────────── */
.ps-card {
  background-color: var(--card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.25s ease;
}
.ps-card:hover {
  background-color: var(--card-hover);
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Grids ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-2-img { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* ── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: rgba(28, 28, 26, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background-color: rgba(28, 28, 26, 0.97);
  border-bottom-color: rgba(201, 168, 76, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 44px; width: auto; cursor: pointer; }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background-color: var(--amber);
  transition: width 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--amber); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-phone {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1rem;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background-color: var(--amber);
  color: var(--bg);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  transition: all 0.2s ease;
}
.nav-cta:hover { background-color: transparent; color: var(--amber); }

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(28, 28, 26, 0.98);
  padding-top: 4rem;
  overflow-y: auto;
}
#mobile-menu.open { display: block; }
.mobile-nav-links { padding: 2rem 1.25rem; display: flex; flex-direction: column; gap: 0; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
  transition: color 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--amber); }
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--amber);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-heading {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--amber); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.30);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #1c1c1a 15%, rgba(28,28,26,0.5) 60%, rgba(28,28,26,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 48rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--body-muted);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.hero-sub2 {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--amber);
  opacity: 0.6;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats bar ──────────────────────────────────────────── */
.stats-bar {
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--amber);
  line-height: 1.1;
}
.stat-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ── Section spacing ────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
}
.section-header p {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-muted);
}

/* ── Page header ────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 8rem 0 4rem;
  background-color: var(--bg-dark);
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 50%);
}
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
}

/* ── Bullet list ────────────────────────────────────────── */
.bullet-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bullet-item { display: flex; align-items: center; gap: 0.75rem; }
.bullet-dot {
  width: 6px; height: 6px;
  background-color: var(--amber);
  flex-shrink: 0;
}
.bullet-dot-lg {
  width: 8px; height: 8px;
  background-color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.bullet-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--body-muted);
}

/* ── Quote card ─────────────────────────────────────────── */
.quote-card {
  padding: 2rem;
  border-left: 3px solid var(--amber);
}
.quote-card.blue { border-left-color: var(--blue); }
.quote-icon { color: var(--amber); opacity: 0.7; margin-bottom: 1rem; }
.quote-icon.blue { color: var(--blue); }
.quote-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.quote-divider { border-top: 1px solid rgba(201,168,76,0.2); padding-top: 1rem; }
.quote-divider.blue { border-top-color: rgba(123,146,184,0.2); }
.quote-name {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.quote-name.blue { color: var(--blue); }
.quote-role {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── Callout block ──────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--amber);
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.callout-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: 0.25rem;
}
.callout-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-muted);
}

/* ── Pricing cards ──────────────────────────────────────── */
.pricing-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.pricing-card:hover {
  background-color: var(--card-hover);
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}
.pricing-card.featured { border-color: var(--amber); }
.pricing-badge {
  position: absolute;
  top: 0; right: 0;
  background-color: var(--amber);
  color: var(--bg);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
}
.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pricing-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--offwhite);
  margin-bottom: 1.25rem;
}
.pricing-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}
.pricing-note {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
}

/* ── Contact form ───────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--offwhite);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--amber);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background-color: var(--bg); }

/* ── SDG grid ───────────────────────────────────────────── */
.sdg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .sdg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sdg-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── Accreditation badge ────────────────────────────────── */
.accred-badge {
  width: 140px; height: 140px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0 auto 1.25rem;
}
.accred-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ── Utility ────────────────────────────────────────────── */
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.text-body { color: var(--body-muted); }
.text-offwhite { color: var(--offwhite); }
.text-blue { color: var(--blue); }
.bg-dark { background-color: var(--bg-dark); }
.bg-mid { background-color: var(--bg-mid); }
.bg-main { background-color: var(--bg); }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.hidden { display: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 48px; height: 48px; }
.icon-box {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.partner-logo-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.partner-logo-box img { max-height: 72px; max-width: 90%; object-fit: contain; }
