/*
 * Water Softeners page styles
 * @author Fudo
 * @date   2026-05-05
 */

/* ── INTRO ── */
.ws-intro {
    padding: 72px 0;
    background: #fff;
}

.ws-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ws-intro__copy h2 {
    font-size: var(--text-2xl);
    color: var(--navy-800);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.ws-intro__copy p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 28px;
    font-size: var(--text-base);
}

.ws-intro__image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    height: 420px;
}

/* ── BENEFITS HEADING ── */
.ws-benefits-heading {
    background: var(--navy-800);
    padding: 48px 0;
    text-align: center;
}

.ws-benefits-heading h2 {
    color: #fff;
    font-size: var(--text-2xl);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.35;
}

/* ── BENEFITS LIST ── */
.ws-benefits-list {
    background: #f8fafc;
    padding: 48px 0;
    border-bottom: 1px solid #e5e7eb;
}

.ws-benefits-list__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ws-benefits-list__col {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ws-benefits-list__col li {
    padding-left: 24px;
    position: relative;
    color: #374151;
    font-size: var(--text-sm);
    line-height: 1.65;
}

.ws-benefits-list__col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy-700);
}

/* ── PRODUCT CARDS ── */
.ws-products {
    padding: 72px 0 56px;
    background: #fff;
}

.ws-products__header {
    text-align: center;
    margin-bottom: 48px;
}

.ws-products__header h2 {
    font-size: var(--text-2xl);
    color: var(--navy-800);
    font-weight: 700;
    margin-bottom: 8px;
}

.ws-products__header p {
    color: var(--gray-600);
    font-size: var(--text-base);
}

/* ── FEATURES ── */
.ws-features {
    background: var(--navy-900);
    padding: 80px 0;
}

.ws-features h2 {
    color: #fff;
    font-size: var(--text-2xl);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
}

.ws-features__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    overflow: hidden;
}

.ws-features__card {
    padding: 36px 32px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s;
}

.ws-features__card:hover {
    background: rgba(255,255,255,0.04);
}

.ws-features__card:nth-child(3n) {
    border-right: none;
}

.ws-features__card:nth-last-child(-n+3) {
    border-bottom: none;
}

.ws-features__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 16px;
}

.ws-features__card h3 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ws-features__card p {
    color: rgba(255,255,255,0.62);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── ABOUT STRIP ── */
.ws-about {
    background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 64px 0;
}

.ws-about__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: center;
}

.ws-about__left {
    border-right: 1px solid rgba(255,255,255,0.12);
    padding-right: 56px;
}

.ws-about__grid h2 {
    color: #fff;
    font-size: var(--text-2xl);
    line-height: 1.2;
    margin: 0;
}

.ws-about__grid > p {
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    font-size: var(--text-base);
    margin: 0;
}

/* ── SALE BANNER ── */
.ws-sale-banner {
    padding: 40px 24px;
    background: #fff;
}

.ws-sale-banner__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-radius: 16px;
    padding: 80px 40px;
    background-image: url('https://aquasourceboise.com/wp-content/uploads/elementor/thumbs/pexels-binyaminmellish-186077-scaled-e1728941208738-qvkcdaadyl47z1wubdsbwpha78f8u54rorho541mga.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.ws-sale-banner__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6,33,79,0.72);
    border-radius: 16px;
}

.ws-sale-banner__inner > * {
    position: relative;
    z-index: 1;
}

.ws-sale-banner__line {
    height: 3px;
    width: 128px;
    margin: 0 auto 20px;
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.7));
}

.ws-sale-banner__inner h2 {
    font-size: var(--text-2xl);
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
    font-weight: 600;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ws-sale-banner__inner p {
    color: rgba(255,255,255,0.82);
    font-size: var(--text-base);
    margin-bottom: 28px;
}

.ws-sale-banner__btn {
    display: inline-block;
    background: #fff;
    color: var(--navy-800);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ws-sale-banner__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {
    .ws-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ws-intro__image img {
        height: 260px;
    }
    .ws-benefits-list__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ws-features__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .ws-features__card:nth-child(3n) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }
    .ws-features__card:nth-child(2n) {
        border-right: none;
    }
    .ws-features__card:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .ws-features__card:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .ws-about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ws-about__left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding-right: 0;
        padding-bottom: 20px;
    }
    .ws-sale-banner__inner {
        padding: 56px 24px;
    }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
    .ws-intro {
        padding: 40px 0;
    }
    .ws-intro__copy h2 {
        font-size: var(--text-xl);
    }
    .ws-intro__image img {
        height: 200px;
    }
    .ws-benefits-heading h2 {
        font-size: var(--text-lg);
        padding: 0 8px;
    }
    .ws-benefits-heading {
        padding: 32px 0;
    }
    .ws-products {
        padding: 48px 0 32px;
    }
    .ws-products__header h2 {
        font-size: var(--text-xl);
    }
    .ws-features {
        padding: 48px 0;
    }
    .ws-features h2 {
        font-size: var(--text-xl);
        padding: 0 8px;
    }
    .ws-features__cards {
        grid-template-columns: 1fr;
    }
    .ws-features__card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .ws-features__card:last-child {
        border-bottom: none;
    }
    .ws-features__card:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .ws-about {
        padding: 40px 0;
    }
    .ws-about__grid h2 {
        font-size: var(--text-xl);
    }
    .ws-sale-banner {
        padding: 24px 16px;
    }
    .ws-sale-banner__inner {
        padding: 48px 20px;
        border-radius: 12px;
    }
    .ws-sale-banner__inner h2 {
        font-size: var(--text-xl);
    }
}
