:root {
  --pti-blue: #1BA5D4;
  --pti-blue-dark: #0E5E8A;
  --pti-blue-light: #E8F6FC;
  --pti-charcoal: #2D2D2D;
  --pti-gray: #5A6570;
  --pti-cream: #FAF8F4;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pti-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
  color: var(--pti-charcoal);
}
h1 { font-weight: 700; line-height: 1.1; }
h2 { font-weight: 700; line-height: 1.15; }
.text-brand { color: var(--pti-blue); }
.bg-brand { background-color: var(--pti-blue); }
.bg-brand-dark { background-color: var(--pti-blue-dark); }
.bg-brand-light { background-color: var(--pti-blue-light); }
.bg-cream { background-color: var(--pti-cream); }
.border-brand { border-color: var(--pti-blue); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: var(--pti-blue); color: white;
  padding: 0.875rem 1.75rem; border-radius: 0.5rem;
  font-weight: 600; letter-spacing: 0.01em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(27, 165, 212, 0.25);
}
.btn-primary:hover { background-color: var(--pti-blue-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27, 165, 212, 0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: transparent; color: var(--pti-blue);
  padding: 0.875rem 1.75rem; border-radius: 0.5rem;
  font-weight: 600; border: 2px solid var(--pti-blue);
  transition: all 0.2s ease;
}
.btn-secondary:hover { background-color: var(--pti-blue); color: white; }

.hero-gradient {
  background: linear-gradient(135deg, rgba(14, 94, 138, 0.85) 0%, rgba(27, 165, 212, 0.75) 100%);
}
.section-divider {
  height: 4px;
  width: 60px;
  background: var(--pti-blue);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(14, 94, 138, 0.08);
  border: 1px solid rgba(14, 94, 138, 0.06);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 94, 138, 0.12);
}
.card-accent { border-top: 4px solid var(--pti-blue); }

.nav-link { color: var(--pti-charcoal); font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--pti-blue); }
.nav-link.active { color: var(--pti-blue); }

.stat-value { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--pti-blue); line-height: 1; }
.stat-label { color: var(--pti-gray); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.5rem; }

.testimonial {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(14, 94, 138, 0.06);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--pti-blue);
  line-height: 1;
}
.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(14, 94, 138, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.pricing-card.featured { border-color: var(--pti-blue); position: relative; transform: scale(1.03); }
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--pti-blue);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mobile-menu { display: none; }
@media (max-width: 768px) {
  .mobile-menu.open { display: block; }
}

/* ===== Auto-scrolling testimonial marquee =====
   Trick: use margin-right (not flex gap) so each card is a fixed "unit".
   Duplicate the cards exactly once. translateX(-50%) then lands on the
   start of the duplicate block pixel-perfect = seamless loop. */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-card {
  flex: 0 0 420px;
  margin-right: 1.5rem;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(14, 94, 138, 0.08);
  border: 1px solid rgba(14, 94, 138, 0.06);
  display: flex;
  flex-direction: column;
}
.marquee-card .quote {
  color: #4a5560;
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}
.marquee-card .person {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef1f4;
}
.marquee-card .person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pti-blue-light);
}
.marquee-card .person .name { font-weight: 600; color: var(--pti-charcoal); font-size: 0.9rem; }
.marquee-card .person .role { color: var(--pti-gray); font-size: 0.8rem; }
@media (max-width: 640px) {
  .marquee-card { flex: 0 0 290px; margin-right: 1rem; padding: 1.5rem; }
}

/* ===== Icon circles for service/benefit cards ===== */
.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pti-blue-light);
  color: var(--pti-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-chip svg { width: 26px; height: 26px; }

/* ===== Client logo strip ===== */
.client-logo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  padding: 2rem 0;
}
.client-logo-strip img {
  max-height: 90px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: all 0.3s ease;
}
.client-logo-strip img:hover { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 768px) {
  .client-logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .client-logo-strip img { max-height: 70px; max-width: 160px; }
}

/* ===== Association membership strip ===== */
.association-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}
.assoc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(14, 94, 138, 0.05);
  width: 100%;
  min-height: 130px;
  justify-content: center;
  transition: all 0.3s ease;
}
.assoc-item img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.9;
  transition: all 0.3s ease;
}
.assoc-item span {
  font-size: 0.72rem;
  color: var(--pti-gray);
  font-weight: 500;
  line-height: 1.3;
}
.assoc-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 94, 138, 0.12); }
.assoc-item:hover img { filter: none; opacity: 1; }
@media (max-width: 768px) {
  .association-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .assoc-item { min-height: 110px; padding: 0.75rem; }
  .assoc-item img { max-height: 44px; max-width: 130px; }
}

/* ===== Mobile polish ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem !important; line-height: 1.15 !important; }
  h2 { font-size: 1.875rem !important; }
  .stat-value { font-size: 2.5rem; }
  .pricing-card.featured { transform: none; }
  .card { padding: 1.5rem; }
  .testimonial { padding: 1.75rem; }
}

/* ===== FAQ accordion ===== */
.faq details {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--pti-charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--pti-blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p {
  margin-top: 0.875rem;
  color: #5a6570;
  line-height: 1.65;
}
