/* ========================================
  Section 2: Problem (CURRENT CONCERNS)
  - Center aligned head + stacked cards
======================================== */

.section-problem{
  position: relative;
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--bg-soft, #fbf7ff);
  /* background: color-mix(in srgb, var(--bg, #fff) 88%, #f3dde1 12%); */
  overflow: clip;
}

/* soft blush glow */
.section-problem::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index:0;
  opacity:.7;
  background:
    radial-gradient(80% 70% at 50% 8%, rgba(255, 214, 228, 0.55), transparent 68%),
    radial-gradient(90% 75% at 50% 100%, rgba(255, 214, 228, 0.35), transparent 72%);
}

/* very subtle grain */
.section-problem::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.08;
  mix-blend-mode:multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  background-repeat: repeat;
}

.section-problem__container{
  width: min(var(--maxw, 1120px), calc(100% - 2rem));
  margin-inline:auto;
  position: relative;
  z-index:1;
}

/* ------------------------------
  Head
------------------------------ */
.section-problem__head{
  max-width: 56rem;
  margin-inline:auto;
  text-align:center;
}

.section-problem__eyebrow{
  margin: 0 0 .8rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text, #2a2a2f) 55%, transparent);
}

.section-problem__title{
  margin: 0;
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2.15rem);
  letter-spacing: .04em;
  line-height: 1.35;
  color: var(--text, #2a2a2f);
}

.section-problem__lead{
  margin: .9rem 0 0;
  font-size: clamp(.95rem, .88rem + .35vw, 1.1rem);
  line-height: 1.9;
  color: color-mix(in srgb, var(--text, #2a2a2f) 70%, transparent);
  font-weight: 600;
}

/* ------------------------------
  Cards
------------------------------ */
.problem-cards{
  list-style:none;
  padding: 0;
  margin: clamp(26px, 4vw, 44px) auto 0;
  max-width: 56rem;
  display:grid;
  gap: clamp(12px, 1.6vw, 18px);
}

.problem-card{
  display:flex;
  align-items:flex-start;
  gap: clamp(12px, 1.8vw, 16px);

  padding: clamp(16px, 2.2vw, 22px) clamp(16px, 2.4vw, 26px);
  background: rgba(255,255,255,.72);
  border: 1px solid color-mix(in srgb, var(--line, rgba(42,42,47,.10)) 85%, transparent);
  border-radius: 14px;
  box-shadow:
    0 12px 28px rgba(42,42,47,.06),
    0 1px 0 rgba(255,255,255,.65) inset;
  backdrop-filter: blur(6px);
}

.problem-card__icon{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: #FFF1F2;
  border: 1px solid color-mix(in srgb, var(--line, rgba(42,42,47,.10)) 80%, transparent);
  color: color-mix(in srgb, #b35a73 85%, var(--text, #2a2a2f));
}

.problem-card__icon svg{
  width: 22px;
  height: 22px;
}

.problem-card__body{
  min-width: 0;
  text-align:left;
}

.problem-card__title{
  margin: 0;
  font-size: clamp(1rem, .95rem + .35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--text, #2a2a2f);
}

.problem-card__text{
  margin: .45rem 0 0;
  font-size: clamp(.9rem, .86rem + .25vw, 1.02rem);
  line-height: 1.85;
  color: var(--text-muted, #5d5f6a);
  font-weight: 500;
}

/* ------------------------------
  Note
------------------------------ */
.section-problem__note{
  margin: clamp(22px, 3.5vw, 36px) auto 0;
  max-width: 56rem;
  text-align:center;
  font-size: clamp(.95rem, .88rem + .35vw, 1.1rem);
  line-height: 2;
  color: color-mix(in srgb, var(--text, #2a2a2f) 70%, transparent);
  font-weight: 500;
}

.hl-underline{
  position: relative;
  display:inline-block;
  padding-inline: .18em;
  font-weight: 700;
  color: color-mix(in srgb, #b35a73 88%, var(--text, #2a2a2f));
}

.hl-underline::after{
  content:"";
  position:absolute;
  left: .06em;
  right: .06em;
  bottom: .05em;
  height: .42em;
  background: rgba(204, 118, 139, .22);
  border-radius: 999px;
  z-index: -1;
}

.problem__background{
background-color: #FBF7F7;

}

.problem__text__color{
color: #B18A8A;


}
/* ------------------------------
  Small screens tweak
------------------------------ */
@media (max-width: 480px){
  .problem-card{
    padding: 16px 16px;
  }
  .problem-card__icon{
    width: 40px;
    height: 40px;
  }
}
