/* ==========================================================================
   GSCC Premium design system  -  "Sovereign Civic Modern"
   Loaded by _Layout and _AuthLayout AFTER all legacy CSS (legacy files stay loaded).
   Everything is namespaced:
     .gs-*  site shell (header, footer)          - owned by _SiteHeader / _SiteFooter
     .gp-*  reusable page components             - used by page views (see docs/GSCC-PREMIUM-UI.md)
   All sizes are rem so the A- / A / A+ text-size control scales the UI.
   Fonts: Plus Jakarta Sans (headings) + Inter (body) when installed/self-hosted,
   otherwise the project's existing stack (Noto Sans) - no new external requests.
   ========================================================================== */

:root {
  /* brand */
  --gp-primary: #00412f;
  --gp-primary-2: #0e5a44;
  --gp-primary-tint: #e4f2ec;
  --gp-primary-fixed: #abf1d4;
  --gp-secondary: #904d00;
  --gp-accent: #fe932c;
  --gp-accent-hover: #f08414;
  --gp-accent-ink: #663500;
  --gp-accent-tint: #fff1e3;
  --gp-tertiary: #002d94;
  --gp-tertiary-tint: #e8edff;
  /* surfaces */
  --gp-surface: #faf8ff;
  --gp-surface-low: #f2f3ff;
  --gp-surface-mid: #eaedff;
  --gp-surface-high: #e2e7ff;
  --gp-card: #ffffff;
  /* text + lines */
  --gp-ink: #131b2e;
  --gp-ink-2: #3f4944;
  --gp-muted: #5b6660;
  --gp-outline: #6f7974;
  --gp-line: #dfe3ef;
  --gp-line-strong: #bfc9c2;
  /* semantic */
  --gp-success: #16845b;
  --gp-success-tint: #e6f4ee;
  --gp-warning: #8a5a00;
  --gp-warning-tint: #fdf1d6;
  --gp-danger: #ba1a1a;
  --gp-danger-tint: #ffdad6;
  --gp-info: #0040c9;
  --gp-info-tint: #e8edff;
  /* shape + depth */
  --gp-radius: 0.75rem;
  --gp-radius-sm: 0.5rem;
  --gp-radius-pill: 999px;
  --gp-shadow-sm: 0 1px 2px rgba(19, 27, 46, 0.06), 0 1px 3px rgba(19, 27, 46, 0.05);
  --gp-shadow: 0 4px 14px rgba(19, 27, 46, 0.07), 0 1px 3px rgba(19, 27, 46, 0.05);
  --gp-shadow-lg: 0 14px 34px rgba(19, 27, 46, 0.12), 0 3px 8px rgba(19, 27, 46, 0.06);
  /* 8pt spacing scale (rem) */
  --gp-s1: 0.25rem;
  --gp-s2: 0.5rem;
  --gp-s3: 0.75rem;
  --gp-s4: 1rem;
  --gp-s5: 1.25rem;
  --gp-s6: 1.5rem;
  --gp-s7: 2rem;
  --gp-s8: 2.5rem;
  --gp-gutter: 1rem;
  --gp-maxw: 76rem;
  /* type */
  --gp-font-body: "Inter", var(--gscc-font-sans, "Noto Sans"), "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gp-font-head: "Plus Jakarta Sans", "Inter", var(--gscc-font-sans, "Noto Sans"), "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gs-header-h: 9.5rem;
}

@media (min-width: 768px) {
  :root { --gp-gutter: 1.5rem; }
}

/* ---------- Base (only on pages using the shared shell) ---------- */
html { scroll-padding-top: var(--gs-header-h); }
body.gs-site {
  background: var(--gp-surface);
  color: var(--gp-ink);
  font-family: var(--gp-font-body);
  -webkit-font-smoothing: antialiased;
}
body.gs-site--auth { min-height: 100vh; display: flex; flex-direction: column; }
body.gs-site--auth > .gs-main { flex: 1 0 auto; }

.gs-container,
.gp-container {
  width: 100%;
  max-width: var(--gp-maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gp-gutter);
  padding-right: var(--gp-gutter);
}
.gs-main:focus { outline: none; }

/* focus ring (keyboard) */
.gs-header :is(a, button):focus-visible,
.gs-footer :is(a, button):focus-visible,
.gp-btn:focus-visible,
.gp-input:focus-visible,
.gp-accordion summary:focus-visible,
.gp-card--interactive:focus-visible,
a.gp-card:focus-visible {
  outline: 3px solid var(--gp-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   BUTTONS  (.gp-btn is primary by default)
   ========================================================================== */
.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--gp-radius-sm);
  background: var(--gp-primary);
  color: #fff;
  font-family: var(--gp-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.gp-btn:hover { background: var(--gp-primary-2); color: #fff; text-decoration: none; box-shadow: var(--gp-shadow); }
.gp-btn:active { transform: translateY(1px); }
.gp-btn:disabled, .gp-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }
.gp-btn--primary { background: var(--gp-primary); color: #fff; }
.gp-btn--secondary { background: #fff; color: var(--gp-primary); border-color: var(--gp-primary); }
.gp-btn--secondary:hover { background: var(--gp-primary-tint); color: var(--gp-primary); }
.gp-btn--ghost { background: transparent; color: var(--gp-primary); border-color: var(--gp-line-strong); }
.gp-btn--ghost:hover { background: var(--gp-surface-low); color: var(--gp-primary); border-color: var(--gp-primary-2); box-shadow: none; }
.gp-btn--accent { background: var(--gp-accent); color: var(--gp-accent-ink); }
.gp-btn--accent:hover { background: var(--gp-accent-hover); color: var(--gp-accent-ink); }
.gp-btn--danger { background: var(--gp-danger); color: #fff; }
.gp-btn--danger:hover { background: #93000a; color: #fff; }
.gp-btn--sm { min-height: 2.25rem; padding: 0.375rem 0.875rem; font-size: 0.875rem; }
.gp-btn--lg { min-height: 3.25rem; padding: 0.75rem 1.75rem; font-size: 1rem; }
.gp-btn--block { display: flex; width: 100%; }
.gp-btn.is-current { box-shadow: inset 0 0 0 2px var(--gp-primary-2); }
/* Legacy pagination (_Pagination.cshtml) already uses .gp-btn inside .gp-pages: keep it untouched. */
.gp-pages .gp-btn { min-height: 0; gap: 0; box-shadow: none; transform: none; font-family: inherit; }

/* ==========================================================================
   SITE HEADER  (.gs-header)
   ========================================================================== */
.gs-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 0 var(--gp-line);
  font-family: var(--gp-font-body);
}
.gs-header.is-scrolled { box-shadow: 0 6px 20px rgba(19, 27, 46, 0.1); }

/* utility strip - thin, dark green, small */
.gs-topbar {
  background: var(--gp-primary);
  color: #e6f4ee;
  font-size: 0.75rem;
  line-height: 1.2;
  overflow: hidden;
  max-height: 3rem;

}
.gs-topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2rem;
}
.gs-topbar__left, .gs-topbar__right { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.gs-topbar__gov { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; letter-spacing: 0.02em; }
.gs-header .gs-topbar a { color: #e6f4ee; text-decoration: none; }
.gs-header .gs-topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gs-topbar__skip { opacity: 0.9; }
.gs-topbar__tel { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 700; white-space: nowrap; }
.gs-textsize { display: inline-flex; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--gp-radius-sm); overflow: hidden; }
.gs-textsize__btn {
  flex: 0 0 auto;
  min-width: 1.75rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.gs-textsize__btn:last-child { border-right: 0; }
.gs-textsize__btn:hover { background: rgba(255, 255, 255, 0.16); }

/* brand bar - white */
.gs-brandbar { background: #fff; }
.gs-brandbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.gs-header .gs-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; color: var(--gp-primary); text-decoration: none; }
.gs-brand__logo { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; object-fit: contain; }
.gs-brand__text { display: flex; flex-direction: column; min-width: 0; }
.gs-brand__title { font-family: var(--gp-font-head); font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; color: var(--gp-primary); }
.gs-brand__sub { margin-top: 0.125rem; font-size: 0.75rem; font-weight: 500; line-height: 1.3; color: var(--gp-muted); }
.gs-brandbar__actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }

/* mobile menu button */
.gs-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--gp-line-strong);
  border-radius: var(--gp-radius-sm);
  background: #fff;
  color: var(--gp-primary);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.gs-menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 0.25rem; }
.gs-menu-toggle__bars span { display: block; width: 1.125rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.18s ease, opacity 0.18s ease; }
.gs-header.is-menu-open .gs-menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gs-header.is-menu-open .gs-menu-toggle__bars span:nth-child(2) { opacity: 0; }
.gs-header.is-menu-open .gs-menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* nav row - light, active pill */
.gs-navbar { background: var(--gp-surface-low); border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); }
.gs-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0; padding: 0.375rem 0; list-style: none; }
.gs-nav__item { position: relative; margin: 0; padding: 0; list-style: none; }
.gs-header .gs-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--gp-radius-pill);
  background: transparent;
  color: var(--gp-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gs-header .gs-nav__link:hover { background: var(--gp-surface-high); color: var(--gp-primary); text-decoration: none; }
.gs-header .gs-nav__link.active,
.gs-header .gs-nav__item.is-active > .gs-nav__link { background: var(--gp-primary); color: #fff; }
.gs-header .gs-nav__item.show > .gs-nav__link:not(.active) { background: var(--gp-surface-high); color: var(--gp-primary); }
.gs-nav__caret { font-size: 0.6875rem; transition: transform 0.15s ease; }
.gs-nav__item.show > .gs-nav__link .gs-nav__caret,
.gs-nav__item.open > .gs-nav__link .gs-nav__caret { transform: rotate(180deg); }

/* dropdown panel (opened by gscc-nav.js adding .show / .open) */
.gs-header .gs-nav__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 1040;
  min-width: 16rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow-lg);
  transform: none;
}
.gs-header .gs-nav__item.show > .gs-nav__menu,
.gs-header .gs-nav__item.open > .gs-nav__menu,
.gs-header .gs-nav__menu.show { display: block; }
.gs-nav__menu li { margin: 0; padding: 0; list-style: none; }
.gs-header .gs-nav__menu a,
.gs-header .gs-nav__unavailable {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--gp-radius-sm);
  color: var(--gp-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.gs-header .gs-nav__menu a i { color: var(--gp-primary-2); font-size: 1rem; }
.gs-header .gs-nav__menu a:hover,
.gs-header .gs-nav__menu a:focus-visible { background: var(--gp-primary-tint); color: var(--gp-primary); }
.gs-header .gs-nav__menu a[aria-current="page"] { background: var(--gp-primary-tint); color: var(--gp-primary); font-weight: 700; }
.gs-header .gs-nav__unavailable { color: var(--gp-muted); cursor: not-allowed; opacity: 0.85; }
.gs-header .gs-nav__unavailable .gscc-nav-soon { margin-left: auto; font-size: 0.6875rem; color: var(--gp-warning); }
.gs-nav__mobile-cta { display: none; }

/* header: tablet / mobile (< 992px) */
@media (max-width: 991.98px) {
  :root { --gs-header-h: 6rem; }
  .gs-topbar__skip, .gs-topbar__tel-label { display: none; }
  .gs-brandbar__actions { display: none; }
  .gs-menu-toggle { display: inline-flex; }
  .gs-brand__logo { width: 2.75rem; height: 2.75rem; }
  .gs-brand__title { font-size: 1rem; }
  .gs-navbar { display: none; max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); overflow-y: auto; }
  .gs-header.is-menu-open .gs-navbar { display: block; }
  .gs-nav__list { flex-direction: column; align-items: stretch; gap: 0.125rem; padding: 0.5rem 0; }
  .gs-header .gs-nav__link { width: 100%; justify-content: space-between; border-radius: var(--gp-radius-sm); min-height: 2.75rem; }
  .gs-header .gs-nav__menu { position: static; min-width: 0; margin: 0.125rem 0 0.375rem 0.75rem; padding: 0.25rem; border: 0; border-left: 2px solid var(--gp-line-strong); border-radius: 0; box-shadow: none; background: transparent; }
  .gs-nav__mobile-cta { display: grid; gap: 0.5rem; padding: 0.5rem 0 1rem; border-top: 1px solid var(--gp-line); }
}
@media (max-width: 575.98px) {
  .gs-brand__sub { display: none; }
  .gs-menu-toggle__label { display: none; }
  .gs-topbar__in { min-height: 1.75rem; gap: 0.5rem; }
  .gs-topbar__gov { white-space: nowrap; font-size: 0.6875rem; letter-spacing: 0; }
  .gs-topbar__left, .gs-topbar__right { gap: 0.5rem; }
  .gs-topbar__tel { font-size: 0.6875rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gs-header .gs-nav__link { padding-left: 0.625rem; padding-right: 0.625rem; font-size: 0.8125rem; }
  .gs-brand__title { font-size: 1.0625rem; }
  .gs-brand__sub { font-size: 0.6875rem; }
}

/* ==========================================================================
   SITE FOOTER  (.gs-footer) - light tinted
   ========================================================================== */
.gs-footer {
  margin-top: 0;
  background: var(--gp-surface-low);
  color: var(--gp-ink-2);
  border-top: 1px solid var(--gp-line);
  font-family: var(--gp-font-body);
  font-size: 0.875rem;
  line-height: 1.55;
}
footer.gs-footer { flex-grow: 0; }
.gs-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) { .gs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gs-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.5rem; } }
.gs-footer h2 {
  margin: 0 0 1rem;
  font-family: var(--gp-font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gp-primary);
}
.gs-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.gs-footer a { color: var(--gp-ink-2); text-decoration: none; }
.gs-footer a:hover { color: var(--gp-primary); text-decoration: underline; text-underline-offset: 3px; }
.gs-footer__logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.gs-footer__logo img { width: 3.25rem; height: 3.25rem; object-fit: contain; flex: 0 0 auto; }
.gs-footer__logo strong { display: block; font-family: var(--gp-font-head); font-size: 1rem; font-weight: 800; line-height: 1.25; color: var(--gp-primary); }
.gs-footer__logo small { display: block; margin-top: 0.125rem; font-size: 0.75rem; color: var(--gp-muted); }
.gs-footer .gs-footer__logo:hover { text-decoration: none; }
.gs-footer__blurb { margin: 0 0 1rem; max-width: 26rem; }
.gs-footer__address { display: flex; gap: 0.5rem; margin: 0; align-items: flex-start; }
.gs-footer__address i { color: var(--gp-primary-2); margin-top: 0.2rem; }
.gs-footer__label { margin: 0; font-size: 0.75rem; color: var(--gp-muted); }
.gs-footer .gs-footer__tel { display: inline-block; margin: 0.125rem 0 0.375rem; font-family: var(--gp-font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.01em; color: var(--gp-primary); }
.gs-footer__note { margin: 0 0 0.75rem; font-size: 0.8125rem; color: var(--gp-muted); }
.gs-footer__mail li a { display: flex; gap: 0.5rem; align-items: flex-start; word-break: break-word; }
.gs-footer__mail i { color: var(--gp-primary-2); margin-top: 0.15rem; }

.gs-footer__extra {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid var(--gp-line);
  font-size: 0.8125rem;
}
.gs-footer__external, .gs-footer__schemes { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 1rem; margin: 0; }
.gs-footer__external-title { font-weight: 800; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gp-primary); }
.gs-footer__external a i { font-size: 0.6875rem; }
.gs-footer .gscc-nav-unavailable { color: var(--gp-muted); cursor: default; }

.gs-footer__bar { background: var(--gp-surface-mid); border-top: 1px solid var(--gp-line); }
.gs-footer__bar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--gp-ink-2);
}
.gs-footer__bar p { margin: 0; }
.gs-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; }
.gs-footer__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gp-outline); display: inline-block; }
.gs-footer__bar a { color: var(--gp-primary); font-weight: 600; }

/* ==========================================================================
   Announcement ticker (_GsccAnnounce) - restyled, markup unchanged
   ========================================================================== */
body.gs-site .gscc-announce { min-height: 2.75rem; background: var(--gp-accent-tint); border-top: 0; border-bottom: 1px solid #f3d9b8; }
body.gs-site .gscc-announce-label { background: var(--gp-accent); color: var(--gp-accent-ink); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
body.gs-site .gscc-announce-move p { color: var(--gp-ink); font-size: 0.875rem; font-weight: 600; line-height: 2.75rem; }

/* ==========================================================================
   PAGE COMPONENTS (.gp-*)
   ========================================================================== */
.gp-page { font-family: var(--gp-font-body); color: var(--gp-ink); }
:where(.gp-page) :is(h1, h2, h3, h4) { font-family: var(--gp-font-head); color: var(--gp-ink); letter-spacing: -0.015em; }

/* ----- page banner (inner pages) - LIGHT, not heavy green ----- */
.gp-page-banner {
  background: linear-gradient(135deg, var(--gp-surface-low) 0%, #fff 60%, var(--gp-primary-tint) 130%);
  border-bottom: 1px solid var(--gp-line);
  padding: 1.5rem 0 1.75rem;
}
.gp-page-banner__inner { display: flex; flex-direction: column; gap: 0.5rem; }
.gp-page-banner__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gp-secondary); }
.gp-page-banner__title {
  margin: 0;
  font-family: var(--gp-font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gp-primary);
}
.gp-page-banner__lead { margin: 0; max-width: 46rem; color: var(--gp-ink-2); font-size: 1rem; line-height: 1.6; }
@media (min-width: 768px) {
  .gp-page-banner { padding: 1.25rem 0 1.5rem; }
  .gp-page-banner__title { font-size: 2.25rem; }
}

/* ----- breadcrumb ----- */
.gp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.125rem 0; margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--gp-muted); }
.gp-breadcrumb li { display: inline-flex; align-items: center; margin: 0; padding: 0; }
.gp-breadcrumb li + li::before { content: "/"; margin: 0 0.5rem; color: var(--gp-line-strong); }
.gp-breadcrumb a { color: var(--gp-primary-2); font-weight: 600; text-decoration: none; }
.gp-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-breadcrumb [aria-current="page"] { color: var(--gp-ink); font-weight: 700; }

/* ----- sections ----- */
.gp-section { padding: 1.75rem 0; background: transparent; }
.gp-section--alt { background: var(--gp-surface-low); }
.gp-section--white { background: #fff; }
.gp-section--tight { padding: 1.25rem 0; }
@media (min-width: 768px) {
  .gp-section { padding: 2.25rem 0; }
  .gp-section--tight { padding: 1.5rem 0; }
}
.gp-section-head { max-width: 46rem; margin: 0 auto 1.25rem; text-align: center; }
.gp-section-head--left { margin-left: 0; text-align: left; }
.gp-eyebrow,
.gp-section-eyebrow { display: block; margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gp-secondary); }
.gp-section-title { margin: 0 0 0.75rem; font-family: var(--gp-font-head); font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--gp-ink); }
.gp-section-lead { margin: 0; color: var(--gp-ink-2); font-size: 1rem; line-height: 1.65; }
@media (min-width: 768px) { .gp-section-title { font-size: 2rem; } }

/* ----- hero ----- */
.gp-hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(254, 147, 44, 0.14), transparent 60%),
    radial-gradient(50rem 26rem at -10% 110%, rgba(14, 90, 68, 0.12), transparent 60%),
    var(--gp-surface);
  overflow: hidden;
}
.gp-hero__grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.gp-hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; padding: 0.375rem 0.875rem; border-radius: var(--gp-radius-pill); background: var(--gp-primary-tint); border: 1px solid #b6d9c8; color: var(--gp-primary); font-size: 0.75rem; font-weight: 700; }
.gp-hero__title { margin: 0 0 1rem; font-family: var(--gp-font-head); font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--gp-primary); }
.gp-hero__title em { font-style: normal; color: var(--gp-secondary); }
.gp-hero__lead { margin: 0 0 1.5rem; max-width: 38rem; font-size: 1rem; line-height: 1.65; color: var(--gp-ink-2); }
.gp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gp-hero__media { min-width: 0; }
.gp-hero__media img { display: block; max-width: 100%; height: auto; border-radius: var(--gp-radius); }
.gp-hero--brand { background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-2) 100%); }
.gp-hero--brand .gp-hero__title, .gp-hero--brand .gp-hero__lead { color: #fff; }
@media (min-width: 992px) {
  .gp-hero { padding: 2.5rem 0 2.75rem; }
  .gp-hero__grid--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
  .gp-hero__title { font-size: 3rem; line-height: 1.12; }
  .gp-hero__lead { font-size: 1.125rem; }
}

/* ----- grids ----- */
.gp-grid-2, .gp-grid-3, .gp-grid-4 { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .gp-grid-2, .gp-grid-3, .gp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .gp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gp-stack > * + * { margin-top: 1rem; }

/* ----- cards ----- */
.gp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  background: var(--gp-card);
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow-sm);
  color: var(--gp-ink-2);
}
.gp-card__title { margin: 0 0 0.5rem; font-family: var(--gp-font-head); font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--gp-ink); }
.gp-card__text { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--gp-ink-2); }
.gp-card__footer { margin-top: auto; padding-top: 1rem; }
.gp-card--flat { box-shadow: none; }
.gp-card--accent { border-top: 3px solid var(--gp-accent); }
.gp-card--tint { background: var(--gp-surface-low); }
.gp-card--interactive { text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
a.gp-card, .gp-card--interactive { color: var(--gp-ink-2); text-decoration: none; }
a.gp-card:hover, .gp-card--interactive:hover { transform: translateY(-2px); box-shadow: var(--gp-shadow-lg); border-color: var(--gp-primary-2); color: var(--gp-ink-2); text-decoration: none; }
.gp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: var(--gp-radius);
  background: var(--gp-primary-tint);
  color: var(--gp-primary);
  font-size: 1.375rem;
  flex: 0 0 auto;
}
.gp-card-icon--orange { background: var(--gp-accent-tint); color: var(--gp-secondary); }
.gp-card-icon--blue { background: var(--gp-tertiary-tint); color: var(--gp-tertiary); }

/* ----- badge / chip ----- */
.gp-badge, .gp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--gp-radius-pill);
  background: var(--gp-surface-mid);
  color: var(--gp-ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.gp-badge--success { background: var(--gp-success-tint); color: var(--gp-success); }
.gp-badge--warning { background: var(--gp-warning-tint); color: var(--gp-warning); }
.gp-badge--danger { background: var(--gp-danger-tint); color: var(--gp-danger); }
.gp-badge--info { background: var(--gp-info-tint); color: var(--gp-info); }
.gp-badge--brand { background: var(--gp-primary-tint); color: var(--gp-primary); }
.gp-chip { padding: 0.375rem 0.875rem; background: #fff; border: 1px solid var(--gp-line-strong); font-size: 0.8125rem; font-weight: 600; }

/* ----- stat ----- */
.gp-stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .gp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gp-stat { padding: 1.25rem; background: #fff; border: 1px solid var(--gp-line); border-radius: var(--gp-radius); box-shadow: var(--gp-shadow-sm); }
.gp-stat__value { display: block; font-family: var(--gp-font-head); font-size: 1.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--gp-primary); }
.gp-stat__label { display: block; margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: var(--gp-ink-2); }
.gp-stat__note { display: block; margin-top: 0.125rem; font-size: 0.75rem; color: var(--gp-muted); }

/* ----- forms ----- */
.gp-form-card { background: #fff; border: 1px solid var(--gp-line); border-radius: 1rem; box-shadow: var(--gp-shadow); overflow: hidden; }
.gp-form-card__head { padding: 1.5rem 1.5rem 0; }
.gp-form-card__title { margin: 0 0 0.375rem; font-family: var(--gp-font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--gp-primary); }
.gp-form-card__lead { margin: 0; font-size: 0.9375rem; color: var(--gp-ink-2); }
.gp-form-card__body { padding: 1.5rem; }
.gp-form-card__foot { padding: 1rem 1.5rem; background: var(--gp-surface-low); border-top: 1px solid var(--gp-line); font-size: 0.875rem; }
.gp-form-grid { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gp-form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gp-field { display: block; margin: 0 0 1.25rem; min-width: 0; }
.gp-label { display: block; margin: 0 0 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--gp-ink); }
.gp-label .gp-req, .gp-req { color: var(--gp-danger); margin-left: 0.125rem; }
.gp-input {
  display: block;
  width: 100%;
  min-height: 2.875rem;
  padding: 0.625rem 0.875rem;
  background: #fff;
  border: 1px solid var(--gp-line-strong);
  border-radius: var(--gp-radius-sm);
  color: var(--gp-ink);
  font-family: var(--gp-font-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.gp-input { min-height: 6rem; resize: vertical; }
select.gp-input { padding-right: 2rem; }
.gp-input::placeholder { color: var(--gp-outline); opacity: 1; }
.gp-input:hover { border-color: var(--gp-outline); }
.gp-input:focus { outline: none; border-color: var(--gp-primary-2); box-shadow: 0 0 0 3px rgba(14, 90, 68, 0.22); }
.gp-input:disabled, .gp-input[readonly] { background: var(--gp-surface-low); color: var(--gp-muted); }
.gp-input.is-invalid, .gp-input.input-validation-error { border-color: var(--gp-danger); }
.gp-input.is-invalid:focus, .gp-input.input-validation-error:focus { box-shadow: 0 0 0 3px rgba(186, 26, 26, 0.2); }
.gp-help { margin: 0.375rem 0 0; font-size: 0.75rem; line-height: 1.45; color: var(--gp-muted); }
.gp-error,
.field-validation-error.gp-error { display: block; margin: 0.375rem 0 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--gp-danger); }

/* ----- table ----- */
.gp-table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--gp-line); border-radius: var(--gp-radius); box-shadow: var(--gp-shadow-sm); }
.gp-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 0.875rem; color: var(--gp-ink-2); }
.gp-table th { padding: 0.75rem 1rem; background: var(--gp-surface-low); border-bottom: 1px solid var(--gp-line); text-align: left; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gp-primary); white-space: nowrap; }
.gp-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gp-line); vertical-align: top; }
.gp-table tbody tr:last-child td { border-bottom: 0; }
.gp-table tbody tr:hover td { background: var(--gp-surface); }
.gp-table--num td.num, .gp-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ----- accordion (native <details>) ----- */
.gp-accordion { display: grid; gap: 0.75rem; }
.gp-accordion details { background: #fff; border: 1px solid var(--gp-line); border-radius: var(--gp-radius); box-shadow: var(--gp-shadow-sm); }
.gp-accordion details[open] { border-color: var(--gp-primary-2); }
.gp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--gp-font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gp-ink);
  cursor: pointer;
  list-style: none;
}
.gp-accordion summary::-webkit-details-marker { display: none; }
.gp-accordion summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-weight: 400; font-size: 0.875rem; color: var(--gp-primary-2); transition: transform 0.15s ease; flex: 0 0 auto; }
.gp-accordion details[open] > summary::after { transform: rotate(180deg); }
.gp-accordion__body { padding: 0 1.25rem 1.25rem; font-size: 0.9375rem; line-height: 1.65; color: var(--gp-ink-2); }

/* ----- alert ----- */
.gp-alert { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.875rem 1rem; border: 1px solid #c7d2fe; border-left-width: 4px; border-radius: var(--gp-radius-sm); background: var(--gp-info-tint); color: #0a1f66; font-size: 0.875rem; line-height: 1.5; }
.gp-alert > i { margin-top: 0.1rem; font-size: 1.0625rem; }
.gp-alert p { margin: 0; }
.gp-alert--success { background: var(--gp-success-tint); border-color: #a7dcc4; color: #0c4a33; }
.gp-alert--warning { background: var(--gp-warning-tint); border-color: #f0d28a; color: #5c3b00; }
.gp-alert--danger { background: var(--gp-danger-tint); border-color: #f5aca5; color: #7a0a0a; }

/* ----- numbered steps ----- */
.gp-steps { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: gp-step; }
.gp-step { position: relative; padding: 1.5rem; background: #fff; border: 1px solid var(--gp-line); border-radius: var(--gp-radius); box-shadow: var(--gp-shadow-sm); counter-increment: gp-step; }
.gp-step::before { content: counter(gp-step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; margin-bottom: 0.75rem; padding: 0 0.5rem; border-radius: var(--gp-radius-sm); background: var(--gp-primary-tint); color: var(--gp-primary); font-family: var(--gp-font-head); font-weight: 800; }
@media (min-width: 992px) { .gp-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ----- text helpers ----- */
.gp-muted { color: var(--gp-muted); }
.gp-center { text-align: center; }
.gp-link { color: var(--gp-primary-2); font-weight: 600; text-decoration: none; }
.gp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-prose { max-width: 48rem; font-size: 1rem; line-height: 1.75; color: var(--gp-ink-2); }
.gp-prose h2, .gp-prose h3 { margin: 2rem 0 0.75rem; }
.gp-prose ul, .gp-prose ol { padding-left: 1.25rem; }

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .gs-header *, .gs-footer *, .gp-btn, .gp-card, .gp-input, .gp-accordion * {
    transition: none !important;
    animation: none !important;
  }
  .gp-card--interactive:hover, a.gp-card:hover { transform: none; }
}

/* Select2 placeholder: legacy plugin grey fails contrast on white (QA fix). */
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--gp-muted); }

/* Sticky header: legacy theme made html/body scroll containers, which breaks position:sticky */
html, body.gs-site { overflow-x: clip !important; overflow-y: visible !important; }
html { height: auto; }
body.gs-site { height: auto; min-height: 100vh; }
