/* PROBLEM — light lavender bg, 5-line heading with 'broken' on its own line */

.problem {
    position: relative;
    padding: 180px 0 200px;
    overflow: hidden;
    /* Brand spec: #8090ff at 12% opacity */
    background: rgba(128, 144, 255, 0.12);
}

.problem-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: 80px;
    align-items: start;
}

/* Heading — large lighter Reckless Neue, 5 lines via .line spans */
.problem-heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.012em;
    color: var(--clr-navy);
    margin-bottom: 26px;
}
.problem-heading .line { display: block; white-space: nowrap; }
.problem-heading .line.is-bold { font-weight: 500; }

.problem-heading .dot {
    color: var(--clr-navy);
    font-weight: 500;
    margin-left: -0.05em;
}

.problem-heading .fx-broken {
    color: var(--clr-red);
    font-weight: 500;
    padding: 0 0.18em;
    display: inline-block;
}
.problem-heading .fx-broken::before {
    background-image: url("../assets/images/broke-img.png");
    background-size: 100% 100%;
    height: 145%;
    top: -22%;
    bottom: auto;
    left: -0.04em;
    width: calc(100% + 0.08em);
    z-index: -1;
}

.problem-sub {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.35;
    color: var(--clr-navy);
    letter-spacing: 0;
    max-width: 520px;
    margin-top: 12px;
}
.problem-sub strong {
    font-weight: 600;
    text-decoration: none;
}

.problem-right p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--clr-navy);
}
.problem-right p strong { font-weight: 700; }

/* Decorative brand shapes */
.decor {
    position: absolute;
    pointer-events: none;
}

/* Smaller blue half-circle, top-right (per design spec) */
.decor-blue-half {
    top: 15%;
    right: 0%;
    width: 35px;
    transform: rotate(0deg);
}

/* Purple down-triangle — natural orientation, points straight down */
.decor-purple-tri {
    bottom: 4%;
    right: 22%;
    width: 60px;
    transform: rotate(0deg);
}

/* Slightly larger orange dot, left of the subtitle */
.decor-orange-dot {
    display: block;
    position: absolute;
    left: 4%;
    top: 56%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--clr-red);
}

@media (max-width: 1024px) {
    .problem { padding: 80px 0 100px; }
    .problem-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
    .problem-heading { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
    .decor-blue-half { width: 38px; top: 14px; }
    .decor-purple-tri { width: 44px; bottom: 14px; right: 8%; }
    .decor-orange-dot { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
    .problem { padding: 56px 0 72px; }
    .problem-grid { gap: 22px; padding: 0 20px; }
    .problem-heading { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}
