:root {
  --font-body: "Inter", sans-serif;
  --font-heading: "Playfair Display", serif;
  --color-primary: #1447e6;
  --color-dark: #030213;
  --color-text: #2f2f2f;
  --color-subheading: #101828;
  --color-muted: #4a5565;
  --color-heading: #101828;
  --color-border: #e5e7eb;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
}

.font-body {
  font-family: var(--font-body);
}

.font-heading {
  font-family: var(--font-heading);
}

/* ── Scrollbar for quote cards ── */
.testi-card-quote::-webkit-scrollbar {
  width: 4px;
}
.testi-card-quote::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 4px;
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
}
.mobile-nav.active {
  display: flex;
}

/* ── Hero title clamp ── */
.testi-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}
.testi-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}
.testi-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
}
.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ── Card hover ── */
.testi-card {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.testi-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* ── Button hover ── */
.btn-outline-dark {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.btn-outline-dark:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* ── Nav link hover ── */
.header-nav a,
.mobile-nav a,
.footer-nav a,
.footer-social a,
.footer-legal-links a {
  transition:
    opacity 0.2s,
    color 0.2s;
}
.header-nav a:hover {
  opacity: 0.6;
}
.mobile-nav a:hover {
  opacity: 0.6;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-social a:hover {
  color: #fff;
}
.footer-legal-links a:hover {
  color: #fff;
}

/* ── Form inputs ── */
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}
.form-submit:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Footer bottom layout ── */
.footer-bottom {
  background: rgba(0, 0, 0, 0.6);
  padding: 48px max(24px, calc((100% - 1100px) / 2));
}

/* ── Stats divider ── */
@media (min-width: 768px) {
  .testi-stat-item + .testi-stat-item {
    border-left: 1px solid #e5e7eb;
  }
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
}

.affil-avatar {
  background: linear-gradient(145deg, var(--color-dark), var(--color-primary));
}

.faq-answer {
  display: none;
}
.faq-answer.open {
  display: block;
}
.faq-chevron {
  transition: transform 0.3s ease;
}
.faq-chevron.rotated {
  transform: rotate(180deg);
}
.faq-card.active-blue {
  border-color: #3b82f6 !important;
}
.faq-card.active-green {
  border-color: #22c55e !important;
}
.faq-card.active-blue .faq-chevron {
  color: #3b82f6;
}
.faq-card.active-green .faq-chevron {
  color: #22c55e;
}
@media (max-width: 768px) {
  .mobile-tabs {
    display: flex;
  }
  .desktop-only {
    display: none;
  }
  .mobile-content {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-tabs {
    display: none;
  }
  .desktop-only {
    display: block;
  }
  .mobile-content {
    display: none;
  }
}

.journey-card-img {
  transition: transform 0.5s ease;
}
.journey-card:hover .journey-card-img {
  transform: scale(1.08);
}
