/* Asigurare RCA — homepage section (light theme) */
.ap-rca {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: #0d2847;
}

.ap-rca-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ap-rca-bg::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -240px;
  left: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 150, 217, 0.14) 0%, transparent 68%);
}

.ap-rca-bg::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  bottom: -200px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
}

.ap-rca-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ap-rca-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.ap-rca-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1b6fb8;
  background: rgba(50, 150, 217, 0.1);
  border: 1px solid rgba(50, 150, 217, 0.25);
}

.ap-rca-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d2847;
}

.ap-rca-title span {
  background: linear-gradient(90deg, #1b6fb8, #3296d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-rca-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(13, 40, 71, 0.72);
}

.ap-rca-features {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.ap-rca-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.ap-rca-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(50, 150, 217, 0.12);
  color: #1b6fb8;
  margin-bottom: 4px;
}

.ap-rca-feature-icon svg {
  display: block;
}

.ap-rca-feature h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0d2847;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.ap-rca-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(13, 40, 71, 0.7);
}

.ap-rca-steps-heading {
  text-align: center;
  margin: 0 0 32px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #0d2847;
  letter-spacing: -0.01em;
}

.ap-rca-steps-heading span {
  color: #1b6fb8;
}

.ap-rca-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.ap-rca-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 18px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(13, 40, 71, 0.08);
  box-shadow: 0 4px 12px rgba(13, 40, 71, 0.05);
}

.ap-rca-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b6fb8, #3296d9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(27, 111, 184, 0.28);
}

.ap-rca-step-frame {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(13, 40, 71, 0.06);
}

.ap-rca-step-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 40, 71, 0.08);
}

.ap-rca-step-caption {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(13, 40, 71, 0.82);
  text-align: center;
}

.ap-rca-step-caption strong {
  color: #0d2847;
  font-weight: 700;
}

.ap-rca-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.ap-rca-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #1b6fb8 0%, #3296d9 100%);
  box-shadow: 0 10px 24px rgba(27, 111, 184, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-rca-btn:hover,
.ap-rca-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 111, 184, 0.36);
  color: #fff;
  text-decoration: none;
}

.ap-rca-btn-outline {
  color: #1b6fb8;
  background: transparent;
  border: 2px solid rgba(27, 111, 184, 0.35);
  box-shadow: none;
}

.ap-rca-btn-outline:hover,
.ap-rca-btn-outline:focus-visible {
  background: rgba(27, 111, 184, 0.08);
  color: #1b6fb8;
  border-color: #1b6fb8;
  box-shadow: none;
}

@media (max-width: 960px) {
  .ap-rca {
    padding: 64px 0 72px;
  }

  .ap-rca-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 44px;
  }

  .ap-rca-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin-bottom: 40px;
  }
}

@media (max-width: 520px) {
  .ap-rca-features {
    grid-template-columns: 1fr;
  }

  .ap-rca-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ap-rca-step-frame {
    max-width: 200px;
  }

  .ap-rca-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ap-rca-btn {
    justify-content: center;
  }
}
