
.sv-compliance-intro,
.sv-partners-intro {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.sv-compliance-intro h2,
.sv-partners-intro h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #1f2a44;
}

.sv-compliance-intro p,
.sv-partners-intro p {
  margin: 0 auto;
  color: #62708a;
}


/* ================================================================
   SECTION 1 — Financial Protection & Compliance
   ================================================================ */
.sv-compliance-section {
  padding: 6rem 0;
  background: #ffffff;
}

/* Grid */
.sv-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

/* Card base */
.sv-compliance-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.sv-compliance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(31, 42, 68, 0.12);
}

/* Featured / middle card */
.sv-compliance-card--featured {
  background: linear-gradient(160deg, #2E5EAA 0%, #1e3f7a 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 56px rgba(46, 94, 170, 0.28);
}

.sv-compliance-card--featured:hover {
  box-shadow: 0 32px 64px rgba(46, 94, 170, 0.36);
}

/* Top accent bar */
.sv-compliance-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #2E5EAA;
}

.sv-compliance-card--featured::before {
  background: #fc9246;
}

/* Logo wrapper — fixed-height box so all logos align uniformly */
.sv-compliance-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;           /* fixed height keeps all 3 cards aligned */
  margin-bottom: 1.8rem;
}

.sv-compliance-logo {
  height: 120px;       /* logos scale within the fixed box */
  width: 210px;
  object-fit: contain;
  display: block;
}

/* Fallback text badge when image fails */
.sv-compliance-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(46, 94, 170, 0.1);
  color: #2E5EAA;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sv-compliance-card--featured .sv-compliance-logo-fallback {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Body text */
.sv-compliance-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sv-compliance-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2a44;
}

.sv-compliance-card--featured .sv-compliance-body h3 {
  color: #fff;
}

.sv-compliance-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2E5EAA;
}

.sv-compliance-card--featured .sv-compliance-label {
  color: rgba(255, 255, 255, 0.7);
}

.sv-compliance-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #62708a;
}

.sv-compliance-card--featured .sv-compliance-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* Small badge pill at bottom */
.sv-compliance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(46, 94, 170, 0.08);
  color: #2E5EAA;
}

.sv-compliance-card--featured .sv-compliance-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}


/* ================================================================
   SECTION 2 — Strategic Partnerships
   ================================================================ */
.sv-partners-section {
  padding: 6rem 0;
  background: #f5f8ff;
}

/* Grid */
.sv-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

/* Card */
.sv-partner-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(31, 42, 68, 0.12);
}

/* Top row: logo + status pill */
.sv-partner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Logo wrapper — fixed height for uniform alignment */
.sv-partner-logo-wrap {
  display: flex;
  align-items: center;
  height: 52px;
}

.sv-partner-logo {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Fallback when logo image is missing */
.sv-partner-logo-fallback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
}

.sv-partner-logo-fallback svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.sv-partner-logo-fallback span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2a44;
}

/* "In Process" status pill */
.sv-partner-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff3e8;
  color: #c96a1a;
  border: 1px solid rgba(201, 106, 26, 0.18);
}

.sv-partner-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fc9246;
  animation: sv-pulse 1.6s ease-in-out infinite;
}

@keyframes sv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Body */
.sv-partner-body {
  flex: 1;
}

.sv-partner-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2a44;
}

.sv-partner-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.62;
  color: #62708a;
}

/* Progress bar */
.sv-partner-progress-wrap {
  margin-top: 1.4rem;
}

.sv-partner-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(46, 94, 170, 0.1);
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.sv-partner-progress-bar {
  height: 100%;
  width: var(--sv-progress, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #2E5EAA, #fc9246);
  animation: sv-bar-grow 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

@keyframes sv-bar-grow {
  from { width: 0; }
  to   { width: var(--sv-progress, 50%); }
}

.sv-partner-progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2E5EAA;
  letter-spacing: 0.04em;
}


/* ================================================================
   RESPONSIVE — both sections
   ================================================================ */
@media (max-width: 1100px) {
  .sv-compliance-grid,
  .sv-partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .sv-compliance-grid,
  .sv-partners-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* On mobile the featured card stays visually distinct but doesn't need extra height */
  .sv-compliance-card--featured {
    order: -1; /* Bring ATOL to top on mobile for prominence */
  }
}

@media (max-width: 640px) {
  .sv-compliance-section,
  .sv-partners-section {
    padding: 4.5rem 0;
  }

  .sv-compliance-intro,
  .sv-partners-intro {
    margin-bottom: 2rem;
  }

  .sv-compliance-card,
  .sv-partner-card {
    padding: 1.5rem 1.25rem;
  }

  .sv-compliance-logo-wrap {
    height: 68px;
  }

  .sv-compliance-logo {
    max-height: 60px;
  }
}
