/* Customer journey / protection stages section */

.ent-journey {
  background: #fff;
  color: #0a2540;
  font-family: sohne-var, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* Grey section shell — heading sits here, no outer box border */
.ent-journey__container {
  background: #f6f9fc;
}

/* ── Header: stacked mobile, 2-col desktop ── */
.ent-journey__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.ent-journey__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a2540;
  text-wrap: pretty;
}

.ent-journey__lead {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  color: #425466;
  text-wrap: pretty;
}

@media (min-width: 940px) {
  .ent-journey__header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}

/* ── White graphic panel (below heading, on grey bg) ── */
.ent-journey__graphic {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  overflow: hidden;
}

.ent-journey__graphic-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.ent-journey__graphic-bg::after {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 45% 48% at center, transparent 50%, #fff 100%);
  content: "";
  pointer-events: none;
}

.ent-journey__dots {
  display: none;
}

.ent-journey__frame {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(0.75rem, 2.5vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
}

.ent-journey__frame-body {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(0.875rem, 2vw, 1.25rem) clamp(0.875rem, 2vw, 1.25rem);
  border-radius: 10px;
  border: 1px solid #635bff;
  background: transparent;
}

.ent-journey__frame-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #fff;
  background-image: radial-gradient(circle, #c1cede 0.5px, transparent 0);
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 0;
}

.ent-journey__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  margin: 0;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  background: #f6f9fc;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.08);
  color: #635bff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
}

/* Purple gradient border frame */
.ent-journey__border {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ent-journey__border-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #635bff, #a5b4fc, #635bff);
}

@media (min-width: 769px) {
  .ent-journey__border-glow {
    animation: ent-journey-border-spin 4s linear infinite;
  }
}

@keyframes ent-journey-border-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (min-width: 769px) {
  .ent-journey__frame-body {
    border-color: transparent;
  }
}

@media (max-width: 768px) {
  .ent-journey__border {
    display: none;
  }
}

/* ── Cards: stack mobile/tablet, 3-col desktop ── */
.ent-journey__cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 769px) {
  .ent-journey__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
  }
}

.ent-journey__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  height: 100%;
  padding: 1rem;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 640px) {
  .ent-journey__card {
    padding: 1.125rem;
  }
}

@media (min-width: 940px) {
  .ent-journey__card {
    padding: 1.25rem;
  }
}

.ent-journey__card-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0a2540;
}

.ent-journey__card-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #425466;
}

.ent-journey__features {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-journey__feature {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.5rem 0.625rem;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.05);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #0a2540;
}

.ent-journey__feature-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.ent-journey__feature-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.ent-journey__feature-label {
  min-width: 0;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .ent-journey__border-glow {
    animation: none;
  }
}
