/* =========================
   BASE
========================= */

.solutions-page {
    overflow-x: hidden;
}


/* =========================
   TYPOGRAPHY
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0f172a;

    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-heading p {
    font-size: 1.02rem;
    color: #64748b;

    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================
   HERO
========================= */

/*.solutions-hero .badge {
    display: inline-block;
    background: #e6fffb;
    color: #0f766e;

    padding: 6px 12px;
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 600;

    margin-bottom: 14px;
}*/

.solutions-hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    color: #0f172a;

    margin-bottom: 14px;
    letter-spacing: -2px;
}

/*.solutions-hero p {
    color: #64748b;
    margin-bottom: 22px;
}*/


/* =========================
   STORY SECTION (CORE)
========================= */

.solution-story {
    max-width: 860px;
    margin: 30px auto 0;
}

/* ITEM */
.story-item {
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;

    opacity: 0.6;
    transform: translateY(4px);

    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ACTIVE ITEM */
.story-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   QUESTION
========================= */

.story-question {
    width: 100%;
    text-align: left;

    background: none;
    border: none;
    cursor: pointer;

    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;

    padding: 6px 0;

    transition: color 0.2s ease;
}

.story-question:hover {
    color: #14b8a6;
}

/* =========================
   ANSWER (SMOOTH REVEAL)
========================= */

.story-answer {
    max-height: 0;
    overflow: hidden;

    opacity: 0;

    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;

    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.story-item.active .story-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

/* =========================
   FOCUS MODE (SUBTLE)
========================= */

.solution-story.focusing .story-item {
    opacity: 0.35;
}

.solution-story.focusing .story-item.active {
    opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .solutions-page section {
        padding: 55px 0;
    }

    .solutions-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .section-heading h2 {
        font-size: 1.8rem;
    }

    .solutions-hero h1 {
        font-size: 1.8rem;
    }
}