@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #1a1a2e;
  --slate: #4a5568;
  --brand: #1e3a5f;
  --brand2: #2d5a8f;
  --gold: #b8964a;
  --gold-light: #e8d5a3;
  --off-white: #fafaf8;
  --warm-white: #f5f4f0;
  --nav-h: 72px;
}

/* ---- TEMPORARILY HIDE TESTIMONIALS ---- */
#testimonials {
  display: none;
}

.flex.flex-wrap.gap-3.mt-10 a:nth-last-child(-n+2) {
  display: none;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--off-white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
.serif {
  font-family: Calibri, sans-serif;
}

h2 {
  font-weight: 500;
}

h3 {
  font-family: "Inter", sans-serif;
}

section {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* ---- Nav ---- */
#siteNav {
  transition:
    background 300ms ease,
    box-shadow 300ms ease;
}
.nav--scrolled {
  background: rgba(250, 250, 248, 0.92) !important;
  box-shadow: 0 1px 0 rgba(26, 26, 46, 0.06);
}
.nav-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--slate);
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav-link:hover {
  color: var(--brand);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* ---- Mobile panel ---- */
.mobile-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.mobile-panel.open {
  max-height: 400px;
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay] {
  transition-delay: var(--delay, 0ms);
}
.reveal-left {
  transform: translateX(-20px);
}
.reveal-right {
  transform: translateX(20px);
}
.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translate(0, 0);
  opacity: 1;
}

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.07);
  border-radius: 20px;
  transition:
    box-shadow 300ms ease,
    transform 300ms ease,
    border-color 300ms ease;
}
.card:hover {
  box-shadow: 0 16px 48px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
  border-color: rgba(184, 150, 74, 0.2);
}

/* ---- Tag / badge ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(184, 150, 74, 0.08);
  border: 1px solid rgba(184, 150, 74, 0.2);
}

/* ---- Icon box ---- */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Hero gradient blob ---- */
@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.015);
  }
}
.blob {
  animation: floaty 9s ease-in-out infinite;
}
.blob2 {
  animation-duration: 12s;
  animation-delay: -3s;
}

/* ---- Accordion ---- */
[data-faq-panel] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Form inputs ---- */
.field {
  width: 100%;
  padding: 12px 16px;
  background: var(--off-white);
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 12px;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 74, 0.12);
}

/* ---- Pill chip ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.1);
  color: var(--brand);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.chip:hover {
  border-color: rgba(184, 150, 74, 0.3);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.06);
}

/* ---- Btn primary ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.18);
}
.btn-primary:hover {
  background: #152d4d;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.28);
  transform: translateY(-1px);
}

/* ---- Btn ghost ---- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: transparent;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(30, 58, 95, 0.18);
  transition:
    background 200ms ease,
    border-color 200ms ease;
}
.btn-ghost:hover {
  background: rgba(30, 58, 95, 0.04);
  border-color: rgba(30, 58, 95, 0.3);
}

/* ---- Timeline dot ---- */
.tl-dot {
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  transform: translateX(calc(-50% + 0.5px));
  z-index: 10;
}
@media (min-width: 768px) {
  .tl-dot {
    left: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .blob {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Markdown content for CMS ---- */

.markdown-content p {
  margin: 0 0 0.2rem 0;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content ul,
.markdown-content ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.markdown-content ul {
  list-style: disc;
}

.markdown-content ol {
  list-style: decimal;
}

.markdown-content li {
  margin: 0.25rem 0;
}

.markdown-content strong {
  font-weight: 700;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content a {
  text-decoration: underline;
}
