/* =============================================
   CPA & Accounting Firms – Scoped Styles
   Colors: Navy #0a223e | Blue #000d73 | Pink #ff00aa
   ============================================= */

/* ---------- CSS Variables ---------- */
.cpa-page {
  --navy: #0a223e;
  --blue: #000d73;
  --pink: #ff00aa;
  --light-bg: #f8f9fb;
  --white: #ffffff;
  --text-muted: #6c757d;
  --card-radius: 16px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Base animations ---------- */
@keyframes cpaFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cpaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cpaOrbit {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes cpaOrbitReverse {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to   { transform: rotate(-360deg) translateX(130px) rotate(360deg); }
}
@keyframes cpaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,170,.35); }
  50%       { box-shadow: 0 0 0 18px rgba(255,0,170,0); }
}

/* ---------- Hero ---------- */
.cpa-hero {
  margin-top: var(--site-header-offset, 106px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #043a75 100%);
  position: relative;
  overflow: hidden;
  padding: 1rem 0 4rem;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.cpa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,0,170,.18) 0%, transparent 45%),
    radial-gradient(circle at 5%  85%, rgba(255,255,255,.07) 0%, transparent 40%);
  pointer-events: none;
}
.cpa-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--light-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.cpa-hero .container { position: relative; z-index: 1; }

.cpa-hero-badge {
  display: inline-block;
  background: rgba(255,0,170,.15);
  border: 1px solid rgba(255,0,170,.4);
  color: #ff66cc;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: cpaFadeUp .6s ease both;
}
.cpa-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  animation: cpaFadeUp .7s .1s ease both;
}
.cpa-hero h1 span { color: var(--pink); }
.cpa-hero p.lead {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 500px;
  animation: cpaFadeUp .7s .2s ease both;
  line-height: 1.5;
}
.cpa-hero-actions {
  animation: cpaFadeUp .7s .3s ease both;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
}
.cpa-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .82rem !important;
  padding: .5rem 1.1rem !important;
}
.cpa-hero-actions .btn-cpa-outline {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cpa-hero-actions .btn-cpa-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* Hero feature points — always one row */
.cpa-hero-points {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 1.75rem;
  animation: cpaFadeUp .7s .4s ease both;
  width: 100%;
}
.cpa-hero-point {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  flex: 1 1 0;
}
.cpa-hero-point-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7eb6ff;
  font-size: .9rem;
}
.cpa-hero-point-text {
  font-size: .68rem;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
  font-weight: 600;
}
.cpa-hero-point-text strong {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}

/* Mobile icon strip (replaces orbit on phone) */
.cpa-mobile-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.5rem 0 .5rem;
  flex-wrap: wrap;
}
.cpa-m-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.cpa-m-icon-core {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--pink), #9b00d9);
  border: none;
  font-size: 1.6rem;
  box-shadow: 0 0 0 8px rgba(255,0,170,.15);
}

/* Hero visual – orbit rings */
.cpa-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  animation: cpaFadeIn .8s .2s ease both;
}
.cpa-orbit-wrap {
  position: relative;
  width: 320px;
  height: 320px;
}
.cpa-orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #9b00d9);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2rem;
  animation: cpaPulse 2.5s ease-in-out infinite;
  z-index: 2;
}
.cpa-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.2);
  transform-origin: center;
}
.cpa-orbit-ring-1 {
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
}
.cpa-orbit-ring-2 {
  width: 280px; height: 280px;
  margin: -140px 0 0 -140px;
}
.cpa-orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
  margin: -23px 0 0 -23px;
}
.cpa-orbit-node:hover { background: rgba(255,0,170,.25); }

/* orbit animation helpers */
.orbit-a { animation: cpaOrbit       18s linear infinite; animation-delay:    0s; }
.orbit-b { animation: cpaOrbit       18s linear infinite; animation-delay:  -6s; }
.orbit-c { animation: cpaOrbit       18s linear infinite; animation-delay: -12s; }
.orbit-d { animation: cpaOrbitReverse 24s linear infinite; animation-delay:    0s; }
.orbit-e { animation: cpaOrbitReverse 24s linear infinite; animation-delay:  -8s; }
.orbit-f { animation: cpaOrbitReverse 24s linear infinite; animation-delay: -16s; }

/* ---------- Trusted Partner ---------- */
.cpa-partner {
  padding: 2rem 2rem;
  background: #f7f8fa;
}
.cpa-section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.cpa-partner-text {
  font-size: .9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: .9rem;
}
.cpa-partner-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: .5rem;
}
.cpa-partner-item {
  flex: 1 1 0;
  text-align: center;
  min-width: 0;
}
.cpa-partner-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto .65rem;
  border-radius: 50%;
  background: #e8f1fb;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}
.cpa-partner-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
}
@media (max-width: 991px) {
  .cpa-partner-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem .75rem;
  }
  .cpa-partner-item {
    flex: 0 0 30%;
    max-width: 30%;
  }
}
@media (max-width: 575px) {
  .cpa-partner { padding: 3rem 0; }
  .cpa-partner-item {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .cpa-partner-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* ---------- Services / Features ---------- */
.cpa-services {
  padding: 2rem 0;
  background: #f5f7fa;
}
.cpa-svc-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(10,34,62,.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cpa-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,34,62,.1);
}
.cpa-svc-head {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .65rem;
}
.cpa-svc-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #e8f1fb;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.cpa-svc-head h5 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  margin: .35rem 0 0;
  line-height: 1.3;
}
.cpa-svc-desc {
  font-size: .8rem;
  color: #5a6577;
  line-height: 1.55;
  margin: 0 0 .75rem;
}
.cpa-svc-desc-line {
  display: block;
}
.cpa-svc-desc-line + .cpa-svc-desc-line {
  margin-top: .65rem;
}
.cpa-svc-list-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.cpa-svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cpa-svc-list li {
  display: flex;
  align-items: flex-start;
  gap: .25rem;
  font-size: .78rem;
  color: #4a5568;
  padding: .22rem 0;
  line-height: 1.35;
}
.cpa-svc-list li i {
  color: #9aa5b5;
  font-size: .95rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.cpa-svc-card-wide {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
}
.cpa-svc-card-wide .cpa-svc-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  font-size: 1.45rem;
}
.cpa-svc-wide-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .35rem;
}
.cpa-svc-wide-body p {
  font-size: .88rem;
  color: #5a6577;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .cpa-svc-card-wide {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Our Process ---------- */
.cpa-process {
  padding: 1rem 0 2rem;
  background: var(--white);
}
.cpa-process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
.cpa-process-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 .4rem;
}
.cpa-process-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid #d8dde6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.75rem;
  background: #fff;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.cpa-process-step:hover .cpa-process-icon {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 6px 18px rgba(255,0,170,.12);
}
.cpa-process-step h5 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  line-height: 1.35;
}
.cpa-process-step h5 span {
  color: var(--pink);
}
.cpa-process-step p {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.cpa-process-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  color: #7a9cc9;
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .cpa-process-flow {
    flex-wrap: wrap;
    gap: 1.25rem 0;
  }
  .cpa-process-step {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .cpa-process-arrow {
    flex: 0 0 10%;
    max-width: 10%;
    padding-top: 1.5rem;
  }
}

@media (max-width: 575px) {
  .cpa-process { padding: 3rem 0 3.5rem; }
  .cpa-process-flow {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .cpa-process-step {
    flex: none;
    max-width: 280px;
    width: 100%;
    padding: .5rem 0;
  }
  .cpa-process-arrow {
    flex: none;
    max-width: none;
    padding: .15rem 0 .35rem;
    font-size: 1.35rem;
  }
  .cpa-process-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
}

/* ---------- Industries & Software ---------- */
.cpa-industry-soft {
  padding: 3rem 0;
  background: #fff;
}
.cpa-soft-panel {
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.75rem;
  height: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,34,62,.04);
}
.cpa-soft-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.35rem;
}
.cpa-industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem .5rem;
}
.cpa-industry-item {
  text-align: center;
}
.cpa-industry-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .45rem;
  border-radius: 50%;
  background: #e8f1fb;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform .2s, background .2s;
}
.cpa-industry-item:hover .cpa-industry-icon {
  transform: translateY(-3px);
  background: #dce9f8;
}
.cpa-industry-name {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: #444;
  line-height: 1.25;
}
.cpa-software-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem .65rem;
}
.cpa-software-item {
  text-align: center;
}
.cpa-software-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto .4rem;
  border-radius: 10px;
  background: #f5f7fa;
  border: 2px solid var(--sw-color, #ccc);
  color: var(--sw-color, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform .2s;
}
.cpa-software-item:hover .cpa-software-badge {
  transform: scale(1.06);
}
.cpa-software-name {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  color: #444;
  line-height: 1.25;
}
@media (max-width: 991px) {
  .cpa-industry-grid,
  .cpa-software-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 575px) {
  .cpa-industry-grid,
  .cpa-software-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem .4rem;
  }
  .cpa-industry-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .cpa-software-badge {
    width: 40px;
    height: 40px;
    font-size: .95rem;
  }
}

/* ---------- Why Choose Us ---------- */
.cpa-why {
  padding: 4rem 0;
  background: var(--light-bg);
}
.cpa-why-visual {
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
}
.cpa-why-visual-inner {
  text-align: center;
  padding: 2rem;
  color: #fff;
}
.cpa-why-visual-inner i {
  font-size: 4rem;
  display: block;
  margin-bottom: .75rem;
  opacity: .9;
}
.cpa-why-visual-inner h4 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.cpa-why-visual-inner p {
  font-size: .88rem;
  opacity: .85;
  margin: 0;
}
.cpa-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.cpa-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: .88rem;
  color: #444;
  line-height: 1.5;
}
.cpa-check-list li:last-child {
  border-bottom: none;
}
.cpa-check-list li strong {
  display: block;
  color: var(--navy);
  font-size: .9rem;
  margin-bottom: .15rem;
}
.cpa-check-list .chk-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255,0,170,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  font-size: .75rem;
  margin-top: 2px;
}

/* ---------- FAQ + CTA ---------- */
.cpa-faq {
  padding: 4rem 0;
  background: #fff;
}
.cpa-faq-item {
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  height: 100%;
  background: #fff;
  overflow: hidden;
}
.cpa-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  background: #fff;
  border: none;
  text-align: left;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  min-height: 56px;
}
.cpa-faq-q i {
  color: var(--navy);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.cpa-faq-q[aria-expanded="true"] i {
  transform: rotate(45deg);
}
.cpa-faq-a {
  padding: 0 1rem .9rem;
  font-size: .82rem;
  color: #555;
  line-height: 1.55;
}
.cpa-faq-cta {
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  color: #fff;
  position: sticky;
  top: 120px;
}
.cpa-faq-cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.cpa-faq-cta p {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.25rem;
}
.cpa-faq-btn-primary,
.cpa-faq-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.cpa-faq-btn-primary {
  background: #fff;
  color: var(--navy);
  margin-bottom: .65rem;
}
.cpa-faq-btn-primary:hover {
  opacity: .92;
  color: var(--navy);
}
.cpa-faq-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.cpa-faq-btn-secondary:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
@media (max-width: 991px) {
  .cpa-faq-cta {
    position: static;
    margin-top: .5rem;
  }
}

/* ---------- Testimonial Slider ---------- */
.cpa-testimonials {
  padding: 1rem 0 5rem;
  background: var(--white);
  overflow: hidden;
}
.cpa-testi-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}
.cpa-testi-track {
  display: flex;
  gap: 0;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.cpa-testi-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 .5rem;
}
.cpa-testi-card {
  background: var(--white);
  border: 1px solid #eef0f4;
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  min-height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--pink);
  overflow: hidden;
}
.cpa-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,34,62,.1);
}
.cpa-testi-quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 3rem;
  color: rgba(255,0,170,.1);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.cpa-stars {
  color: var(--pink);
  font-size: .9rem;
  margin-bottom: .85rem;
  letter-spacing: 2px;
}
.cpa-testi-text {
  font-size: .9rem;
  color: #444;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.cpa-testi-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
}
.cpa-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.cpa-testi-name { font-weight: 700; color: var(--navy); font-size: .9rem; }
.cpa-testi-role { font-size: .75rem; color: var(--text-muted); line-height: 1.35; }

/* slider controls */
.cpa-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}
.cpa-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 0;
}
.cpa-slider-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.cpa-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.cpa-slider-dot.active {
  background: var(--pink);
  width: 22px;
  border-radius: 4px;
}

/* Desktop: 3 cards */
@media (min-width: 992px) {
  .cpa-testi-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}
/* Tablet: 2 cards */
@media (min-width: 576px) and (max-width: 991px) {
  .cpa-testi-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* Mobile: 1 card */
@media (max-width: 575px) {
  .cpa-testimonials { padding: 3rem 0 3.5rem; }
  .cpa-testi-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 .25rem;
  }
  .cpa-testi-card {
    padding: 1.35rem 1.15rem;
    min-height: 220px;
  }
  .cpa-testi-text { font-size: .85rem; }
}

/* ---------- Scroll-reveal utility ---------- */
.cpa-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.cpa-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cpa-reveal-delay-1 { transition-delay: .1s; }
.cpa-reveal-delay-2 { transition-delay: .2s; }
.cpa-reveal-delay-3 { transition-delay: .3s; }
.cpa-reveal-delay-4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cpa-hero {
    padding: 2.5rem 0 2.5rem;
    min-height: auto;
    align-items: flex-start;
  }
  .cpa-hero::after { display: none; }
  .cpa-hero h1 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }
  .cpa-hero p.lead {
    font-size: .95rem;
  }
  .cpa-hero-visual {
    margin-top: 1.5rem;
    min-height: 280px;
  }
  .cpa-orbit-wrap {
    width: 260px;
    height: 260px;
  }
  .cpa-orbit-ring-1 {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
  }
  .cpa-orbit-ring-2 {
    width: 230px;
    height: 230px;
    margin: -115px 0 0 -115px;
  }
  /* Stop spinning — place icons at fixed angles so they never overlap */
  .orbit-a, .orbit-b, .orbit-c,
  .orbit-d, .orbit-e, .orbit-f {
    animation: none !important;
  }
  .orbit-a { transform: rotate(0deg)   translateX(95px)  rotate(0deg); }
  .orbit-b { transform: rotate(120deg) translateX(95px)  rotate(-120deg); }
  .orbit-c { transform: rotate(240deg) translateX(95px)  rotate(-240deg); }
  .orbit-d { transform: rotate(60deg)  translateX(115px) rotate(-60deg); }
  .orbit-e { transform: rotate(180deg) translateX(115px) rotate(-180deg); }
  .orbit-f { transform: rotate(300deg) translateX(115px) rotate(-300deg); }
}

@media (max-width: 767px) {
  .cpa-hero {
    margin-top: var(--site-header-offset, 106px);
    padding: 2rem 0 2.25rem;
  }
  .cpa-hero-badge {
    font-size: .65rem;
    padding: .3rem .8rem;
  }
  .cpa-hero-actions {
    flex-wrap: nowrap;
    gap: .4rem;
  }
  .cpa-hero-actions .btn,
  .cpa-hero-actions .btn-cpa-outline {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    font-size: .68rem !important;
    padding: .45rem .5rem !important;
    white-space: nowrap;
  }
  .cpa-hero-points {
    flex-wrap: nowrap;
    gap: .35rem;
    margin-top: 1.35rem;
  }
  .cpa-hero-point {
    flex-direction: column;
    text-align: center;
    gap: .3rem;
  }
  .cpa-hero-point-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: .8rem;
    margin: 0 auto;
  }
  .cpa-hero-point-text {
    font-size: .58rem;
  }
  .cpa-hero-point-text strong {
    font-size: .62rem;
  }
}

@media (max-width: 575px) {
  .cpa-mobile-icons { gap: .55rem; }
  .cpa-m-icon { width: 42px; height: 42px; font-size: 1.05rem; }
  .cpa-m-icon-core { width: 56px; height: 56px; font-size: 1.4rem; }
}
