/* การทำงานของ DrawDream — สไตล์การ์ดสีบนหน้า about.php */

body.hiw-page {
    background: #f7ecde;
}

.hiw-hero {
    padding: 3rem 0 2rem;
    text-align: center;
}

.hiw-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.hiw-hero__lead {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.hiw-stage {
    background: #F7ECDE;
    padding: 3rem 0 4rem;
}

.hiw-stage__title {
    margin: 0 0 2rem;
    text-align: center;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.hiw-card {
    position: relative;
    border-radius: 14px;
    padding: 1.35rem 1.25rem 1.5rem;
    min-height: 300px;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hiw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.hiw-card__num {
    position: absolute;
    font-size: clamp(5.5rem, 11vw, 7.5rem);
    font-weight: 800;
    line-height: 0.85;
    color: rgba(255, 255, 255, 0.22);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hiw-card--num-top .hiw-card__num {
    top: -0.08em;
    right: 0.02em;
}

.hiw-card--num-bottom .hiw-card__num {
    bottom: -0.12em;
    right: 0.02em;
}

.hiw-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hiw-card__step {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
    margin-bottom: 0.35rem;
}

.hiw-card__heading {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 92%;
}

.hiw-card__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    opacity: 0.95;
    flex: 1;
}

.hiw-card__icon {
    margin-top: 1.1rem;
    align-self: flex-start;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
}

.hiw-card--blue {
    background: #3C5099;
}

.hiw-card--green {
    background: #597D57;
}

.hiw-card--amber {
    background: #4E9B9B;
}

.hiw-card--red {
    background: #CC583F;
}

.hiw-trust {
    padding: 3rem 0;
    background: #fff;
}

.hiw-trust__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hiw-trust__inner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

.hiw-cta {
    padding: 0 0 3.5rem;
    background: #fff;
    text-align: center;
}

.hiw-cta__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #3f4f9a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hiw-cta__btn:hover {
    background: #334080;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .hiw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hiw-card {
        min-height: 240px;
    }
}
