:root {
  --fg-primary: #24195c;
  --fg-secondary: #312783;
  --fg-green: #009d3d;
  --fg-red: #e4022e;
  --fg-surface: #f6f5fa;
  --fg-ink: #2a2448;
  --fg-muted: #e6e3f0;
  --fg-white: #ffffff;
  --fg-radius: 0.75rem;
  --fg-shadow: 0 12px 40px rgba(36, 25, 92, 0.08);
}

.fg-brand-bar {
  display: flex;
  height: 3px;
  width: 100%;
}

.fg-brand-bar span:nth-child(1) {
  flex: 1;
  background: var(--fg-primary);
}

.fg-brand-bar span:nth-child(2) {
  width: 18%;
  background: var(--fg-green);
}

.fg-brand-bar span:nth-child(3) {
  width: 8%;
  background: var(--fg-red);
}

.fg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--fg-primary);
  color: var(--fg-white);
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(36, 25, 92, 0.22);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fg-btn:hover {
  background: var(--fg-secondary);
}

.fg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: transparent;
  color: var(--fg-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.fg-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: transparent;
  color: var(--fg-primary);
  border: 1px solid var(--fg-muted);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fg-btn-ghost:hover {
  border-color: var(--fg-primary);
  background: rgba(36, 25, 92, 0.04);
}

.fg-card {
  background: var(--fg-white);
  border: 1px solid var(--fg-muted);
  border-radius: 1rem;
  box-shadow: var(--fg-shadow);
}

.fg-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fg-card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 39, 131, 0.28);
  box-shadow: 0 18px 44px rgba(36, 25, 92, 0.12);
}

.fg-section {
  background: var(--fg-surface);
}

.fg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 28, 0.22) 0%,
    rgba(10, 8, 28, 0.78) 100%
  );
}

.fg-hero-overlay-strong {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 25, 92, 0.42) 0%,
    rgba(10, 8, 28, 0.84) 100%
  );
}

.fg-nav-link {
  position: relative;
  padding: 0.5rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--fg-ink);
  transition: color 0.2s ease;
}

.fg-nav-link::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0;
  height: 2px;
  background: var(--fg-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.fg-nav-link:hover,
.fg-nav-link.is-active {
  color: var(--fg-primary);
}

.fg-nav-link.is-active::after,
.fg-nav-link:hover::after {
  transform: scaleX(1);
}

.fg-nav-side {
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  color: var(--fg-ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fg-nav-side:hover,
.fg-nav-side.is-active {
  background: rgba(36, 25, 92, 0.06);
  color: var(--fg-primary);
  font-weight: 600;
}

.fg-field {
  width: 100%;
  border: 1px solid var(--fg-muted);
  border-radius: 0.6rem;
  background: var(--fg-white);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fg-field::placeholder {
  color: rgba(42, 36, 72, 0.55);
}

.fg-field:focus {
  border-color: var(--fg-primary);
  box-shadow: 0 0 0 3px rgba(36, 25, 92, 0.12);
}

.fg-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-green);
}

.fg-heading {
  color: var(--fg-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fg-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

.fg-accordion-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid var(--fg-muted);
  background: var(--fg-white);
  color: var(--fg-primary);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fg-accordion-btn:hover,
.fg-accordion-btn.is-open {
  background: var(--fg-primary);
  border-color: var(--fg-primary);
  color: var(--fg-white);
}

.fg-accordion-panel {
  margin-top: 0.4rem;
  border: 1px solid var(--fg-muted);
  border-radius: 0.75rem;
  background: var(--fg-white);
  padding: 1.15rem 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--fg-ink);
}

.fg-timeline {
  position: relative;
  border-left: 2px solid rgba(36, 25, 92, 0.22);
  padding-left: 2.25rem;
}

.fg-timeline-dot {
  position: absolute;
  top: 0.35rem;
  left: calc(-2.25rem - 1px - 0.425rem);
  height: 0.85rem;
  width: 0.85rem;
  border-radius: 999px;
  background: var(--fg-green);
  border: 3px solid var(--fg-white);
  box-shadow: 0 0 0 2px var(--fg-primary);
}

.fg-map {
  width: 100%;
  height: 351px;
  border: 0;
  border-radius: 1rem;
  box-shadow: var(--fg-shadow);
}

.fg-skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 70;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  background: var(--fg-primary);
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: #fff;
}

.fg-skip-link:focus {
  transform: translateY(0);
}

.fg-anchor {
  scroll-margin-top: 5.5rem;
}
