/**
 * ============================================================================
 * Kasi Mattress
 * ----------------------------------------------------------------------------
 * File: /public_html/kasimattress.co.za/assets/css/pages/pvc-mattress.css
 * Purpose: PVC Waterproof Mattress page styling
 * Version: 1.0.0
 * ============================================================================
 */


/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    --pvc-navy: #0f4c81;
    --pvc-navy-dark: #082f50;
    --pvc-navy-deep: #061f35;
    --pvc-gold: #f4a300;
    --pvc-white: #ffffff;
    --pvc-background: #f6f8fb;
    --pvc-text: #333333;
    --pvc-muted: #697786;
    --pvc-border: #e4eaf0;
    --pvc-shadow: 0 15px 40px rgba(8, 47, 80, 0.09);
    --pvc-radius: 20px;
}


/* ==========================================================================
   BASE
   ========================================================================== */

.km-pvc-page {
    overflow: hidden;
    background: var(--pvc-background);
    color: var(--pvc-text);
    font-family: "Inter", sans-serif;
}

.km-pvc-page *,
.km-pvc-page *::before,
.km-pvc-page *::after {
    box-sizing: border-box;
}

.pvc-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.pvc-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pvc-navy);
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pvc-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.pvc-section-heading h2 {
    margin: 0 0 15px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.pvc-section-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--pvc-muted);
    font-size: 1rem;
    line-height: 1.8;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.pvc-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.pvc-button:hover {
    transform: translateY(-2px);
}

.pvc-button--gold {
    background: var(--pvc-gold);
    color: #17212b;
}

.pvc-button--gold:hover {
    background: #ffc04a;
}

.pvc-button--outline {
    border-color: rgba(255, 255, 255, 0.65);
    background: transparent;
    color: var(--pvc-white);
}

.pvc-button--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pvc-gold);
}

.pvc-button--navy {
    width: 100%;
    background: var(--pvc-navy);
    color: var(--pvc-gold);
}

.pvc-button--navy:hover {
    background: var(--pvc-navy-dark);
    color: var(--pvc-white);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.pvc-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(244, 163, 0, 0.12),
            transparent 27%
        ),
        linear-gradient(
            120deg,
            var(--pvc-navy-deep),
            var(--pvc-navy) 65%,
            #17629a
        );
}

.pvc-hero::before {
    position: absolute;
    top: -240px;
    right: -120px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.pvc-hero::after {
    position: absolute;
    bottom: -260px;
    left: -180px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(244, 163, 0, 0.2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.pvc-hero > .pvc-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 55px;
}

.pvc-hero__content {
    max-width: 610px;
}

.pvc-eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--pvc-gold);
    font-family: "Poppins", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.pvc-hero h1 {
    margin: 0 0 20px;
    color: var(--pvc-white);
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
}

.pvc-hero__content > p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.04rem;
    line-height: 1.85;
}

.pvc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.pvc-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 30px;
}

.pvc-hero__highlights span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
}

.pvc-hero__highlights i {
    margin-right: 5px;
    color: var(--pvc-gold);
    font-style: normal;
    font-weight: 800;
}

.pvc-hero__visual {
    min-width: 0;
}

.pvc-hero__image-frame {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border: 5px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    background:
        linear-gradient(145deg, #174e79, #061f35);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.25);
}

.pvc-hero__image-frame img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.pvc-hero__image-label {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(6, 31, 53, 0.88);
    color: var(--pvc-white);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.pvc-label-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--pvc-gold);
}


/* ==========================================================================
   INTRODUCTION
   ========================================================================== */

.pvc-intro {
    padding: 90px 0;
    background: var(--pvc-white);
}

.pvc-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.pvc-intro__image {
    overflow: hidden;
    min-height: 350px;
    border-radius: var(--pvc-radius);
    background: #092f50;
    box-shadow: var(--pvc-shadow);
}

.pvc-intro__image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.pvc-intro__content h3 {
    margin: 0 0 18px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.3;
}

.pvc-intro__content p {
    margin: 0 0 17px;
    color: var(--pvc-muted);
    font-size: 0.96rem;
    line-height: 1.85;
}

.pvc-small-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pvc-gold-dark, #b97800);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pvc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--pvc-navy);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.pvc-text-link:hover {
    color: #b97800;
}


/* ==========================================================================
   BENEFITS
   ========================================================================== */

.pvc-benefits {
    padding: 90px 0;
    background: var(--pvc-background);
}

.pvc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pvc-benefit-card {
    padding: 28px 23px;
    border: 1px solid var(--pvc-border);
    border-radius: 15px;
    background: var(--pvc-white);
    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.pvc-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pvc-shadow);
}

.pvc-benefit-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(15, 76, 129, 0.09);
    color: var(--pvc-navy);
    font-size: 1.5rem;
}

.pvc-benefit-card h3 {
    margin: 0 0 12px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.02rem;
    line-height: 1.4;
}

.pvc-benefit-card p {
    margin: 0;
    color: var(--pvc-muted);
    font-size: 0.87rem;
    line-height: 1.75;
}


/* ==========================================================================
   PRODUCT RANGE
   ========================================================================== */

.pvc-range {
    padding: 90px 0;
    background: var(--pvc-white);
}

.pvc-range__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.pvc-product-card {
    overflow: hidden;
    border: 1px solid var(--pvc-border);
    border-radius: var(--pvc-radius);
    background: var(--pvc-white);
    box-shadow: var(--pvc-shadow);
}

.pvc-product-card__image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #082f50;
}

.pvc-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvc-product-card__number {
    position: absolute;
    top: 15px;
    left: 15px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--pvc-gold);
    color: #17212b;
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
}

.pvc-product-card__content {
    padding: 27px;
}

.pvc-product-card__label {
    color: var(--pvc-navy);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pvc-product-card h3 {
    margin: 10px 0 12px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
}

.pvc-product-card__content > p {
    min-height: 48px;
    margin: 0 0 22px;
    color: var(--pvc-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.pvc-product-dimensions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 22px;
    padding: 15px;
    border-radius: 10px;
    background: var(--pvc-background);
}

.pvc-product-dimensions span {
    color: var(--pvc-muted);
    font-size: 0.78rem;
}

.pvc-product-dimensions strong {
    color: var(--pvc-navy);
    font-size: 0.95rem;
}

.pvc-range__note {
    max-width: 900px;
    margin: 28px auto 0;
    color: var(--pvc-muted);
    font-size: 0.84rem;
    line-height: 1.7;
    text-align: center;
}


/* ==========================================================================
   SIZE GUIDE
   ========================================================================== */

.pvc-size-guide {
    padding: 90px 0;
    background: #edf3f8;
}

.pvc-size-guide__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.pvc-size-guide__content h2 {
    margin: 0 0 18px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.pvc-size-guide__content p {
    color: var(--pvc-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.pvc-size-guide__visual {
    padding: 25px;
    border-radius: var(--pvc-radius);
    background: var(--pvc-white);
    box-shadow: var(--pvc-shadow);
}

.pvc-dimension-card__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pvc-dimension-card__top span,
.pvc-dimension-width {
    color: var(--pvc-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.pvc-dimension-card__top strong {
    color: var(--pvc-navy);
    font-size: 1.1rem;
}

.pvc-mattress-diagram {
    position: relative;
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 35px;
    border: 1px dashed #b8c8d6;
    border-radius: 14px;
    background: #f4f7fa;
}

.pvc-mattress-diagram__surface {
    display: grid;
    width: 80%;
    height: 145px;
    place-items: center;
    transform: perspective(450px) rotateX(12deg);
    border: 5px solid #1e6196;
    border-radius: 15px;
    background:
        linear-gradient(145deg, #174e79, #062744);
    box-shadow: 0 16px 20px rgba(6, 31, 53, 0.2);
    color: var(--pvc-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pvc-dimension-width {
    margin-top: 15px;
}

.pvc-dimension-card > p {
    margin: 20px 0 0;
    color: var(--pvc-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}


/* ==========================================================================
   CARE GUIDE
   ========================================================================== */

.pvc-care {
    padding: 90px 0;
    background: var(--pvc-white);
}

/* Two-column layout: Image + Text */

.pvc-care > .pvc-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

/* Image */

.pvc-care__image {
    overflow: hidden;
    width: 100%;
    min-height: 340px;
    border-radius: var(--pvc-radius);
    background: #082f50;
    box-shadow: var(--pvc-shadow);
}

.pvc-care__image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

/* Text */

.pvc-care__content {
    width: 100%;
    min-width: 0;
}

.pvc-care__content h2 {
    margin: 0 0 15px;
    color: var(--pvc-navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.25;
}

.pvc-care__content p,
.pvc-care__content li {
    color: var(--pvc-muted);
    font-size: 0.91rem;
    line-height: 1.8;
}

/* Gold Bullet Points */

.pvc-care__content ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.pvc-care__content li {
    position: relative;
    padding-left: 24px;
}

.pvc-care__content li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pvc-gold, #f4a300);
}

/* ==========================================================================
   CARE GUIDE RESPONSIVE
   ========================================================================== */

@media (max-width: 760px) {

    .pvc-care {
        padding: 65px 0;
    }

    /* Stack only on smaller screens */

    .pvc-care > .pvc-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pvc-care__image img {
        height: 300px;
    }

}

/* ==========================================================================
   CARE GUIDE RESPONSIVE
   ========================================================================== */

@media (max-width: 760px) {

    .pvc-care {
        padding: 65px 0;
    }

    .pvc-care > .pvc-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pvc-care__image img {
        height: 300px;
    }

}



/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.pvc-cta {
    position: relative;
    overflow: hidden;
    padding: 75px 0;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(244, 163, 0, 0.13),
            transparent 25%
        ),
        linear-gradient(120deg, #061f35, #0f4c81);
    text-align: center;
}

.pvc-cta__content {
    max-width: 760px;
    margin-inline: auto;
}

.pvc-cta .pvc-section-label {
    color: var(--pvc-gold);
}

.pvc-cta h2 {
    margin: 0 0 16px;
    color: var(--pvc-white);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    line-height: 1.2;
}

.pvc-cta p {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.8;
}

.pvc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 28px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1000px) {

    .pvc-hero > .pvc-container {
        grid-template-columns: 1fr 0.9fr;
        gap: 30px;
    }

    .pvc-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pvc-intro__grid,
    .pvc-size-guide__layout,
    .pvc-care {
        gap: 35px;
    }

}

@media (max-width: 760px) {

    .pvc-container {
        width: min(100% - 30px, 560px);
    }

    .pvc-hero {
        padding: 48px 0;
    }

    .pvc-hero > .pvc-container,
    .pvc-intro__grid,
    .pvc-size-guide__layout,
    .pvc-care {
        grid-template-columns: 1fr;
    }

    .pvc-hero__content {
        max-width: none;
    }

    .pvc-hero__image-frame {
        min-height: 260px;
    }

    .pvc-hero__image-frame img {
        height: 300px;
    }

    .pvc-intro,
    .pvc-benefits,
    .pvc-range,
    .pvc-size-guide {
        padding: 65px 0;
    }

    .pvc-section-heading {
        margin-bottom: 32px;
    }

    .pvc-intro__grid {
        gap: 30px;
    }

    .pvc-intro__image img {
        height: 300px;
    }

    .pvc-range__grid {
        grid-template-columns: 1fr;
    }

    .pvc-care {
        padding: 65px 20px;
    }

    .pvc-care__image img {
        height: 300px;
    }

}

@media (max-width: 480px) {

    .pvc-hero h1 {
        font-size: 2.2rem;
    }

    .pvc-hero__actions,
    .pvc-cta__actions {
        flex-direction: column;
    }

    .pvc-hero__actions .pvc-button,
    .pvc-cta__actions .pvc-button {
        width: 100%;
    }

    .pvc-hero__highlights {
        display: grid;
        gap: 10px;
    }

    .pvc-benefits__grid {
        grid-template-columns: 1fr;
    }

    .pvc-product-card__image {
        height: 220px;
    }

    .pvc-product-card__content {
        padding: 22px;
    }

    .pvc-product-dimensions {
        align-items: flex-start;
        flex-direction: column;
    }

}
