/* =========================================================
   HALAL OUTPUT
   PART 1
   SECTION • BACKGROUND • HEADER
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.section-halal-output{

    position:relative;

    overflow:hidden;

    padding:
        clamp(110px,10vw,145px)
        0
        90px;

    background:

        linear-gradient(

            180deg,

            #ffffff 0%,

            #f8fbf8 100%

        );

}


/* =========================================================
   BACKGROUND
========================================================= */

.halal-blur{

    position:absolute;

    border-radius:50%;

    filter:blur(100px);

    pointer-events:none;

    z-index:0;

}

.halal-blur.blur-left{

    width:460px;

    height:460px;

    top:-180px;

    left:-180px;

    background:

        radial-gradient(

            circle,

            rgba(22,163,74,.12),

            transparent 72%

        );

}

.halal-blur.blur-right{

    width:420px;

    height:420px;

    right:-170px;

    bottom:-180px;

    background:

        radial-gradient(

            circle,

            rgba(250,204,21,.10),

            transparent 72%

        );

}


/* =========================================================
   CONTAINER
========================================================= */

.section-halal-output .container{

    position:relative;

    z-index:2;

}


/* =========================================================
   HEADER
========================================================= */

.halal-output-header{

    max-width:860px;

    margin:
        0 auto
        70px;

    text-align:center;

}


/* =========================================================
   LABEL
========================================================= */

.halal-output-label{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:
        10px
        18px;

    margin-bottom:24px;

    border-radius:999px;

    background:

        rgba(22,163,74,.08);

    border:

        1px solid rgba(22,163,74,.12);

    color:var(--primary);

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.halal-output-label i{

    font-size:.9rem;

}


/* =========================================================
   TITLE
========================================================= */

.halal-output-header h2{

    margin:0;

    font-size:

        clamp(2.6rem,5vw,4rem);

    line-height:1.1;

    font-weight:800;

    letter-spacing:-1.6px;

    color:var(--text-heading);

}

.halal-output-header h2 span{

    display:block;

    margin-top:6px;

    color:var(--primary);

}


/* =========================================================
   DESCRIPTION
========================================================= */

.halal-output-header p{

    max-width:760px;

    margin:
        24px auto
        0;

    color:var(--text-soft);

    font-size:1rem;

    line-height:1.9;

}

.halal-output-header strong{

    color:var(--primary);

}

/* =========================================================
   HALAL OUTPUT
   PART 2
   GRID • CARD • TAG
========================================================= */


/* =========================================================
   GRID
========================================================= */

.halal-output-grid{

    display:flex;

    flex-direction:column;

    gap:36px;

}


/* =========================================================
   CARD
========================================================= */

.halal-card{

    position:relative;

    display:grid;

    grid-template-columns:
        1fr
        430px;

    align-items:center;

    gap:42px;

    overflow:hidden;

    padding:40px;

    border-radius:30px;

    background:#ffffff;

    border:
        1px solid rgba(15,23,42,.08);

    box-shadow:
        0 18px 50px rgba(15,23,42,.08);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


/* =========================================================
   CARD OVERLAY
========================================================= */

.halal-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            180deg,

            rgba(255,255,255,.55),

            transparent 28%

        );

    pointer-events:none;

}


/* =========================================================
   HOVER
========================================================= */

.halal-card:hover{

    transform:
        translateY(-6px);

    border-color:

        rgba(22,163,74,.16);

    box-shadow:

        0 26px 60px rgba(15,23,42,.10);

}


/* =========================================================
   REVERSE
========================================================= */

.halal-card.reverse{

    grid-template-columns:
        430px
        1fr;

}

.halal-card.reverse .halal-image{

    order:1;

}

.halal-card.reverse .halal-content{

    order:2;

}


/* =========================================================
   CONTENT
========================================================= */

.halal-content{

    position:relative;

    z-index:2;

}


/* =========================================================
   TAG
========================================================= */

.halal-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:
        10px
        18px;

    margin-bottom:22px;

    border-radius:999px;

    background:

        rgba(22,163,74,.08);

    border:

        1px solid rgba(22,163,74,.12);

    color:var(--primary);

    font-size:.76rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.halal-tag i{

    font-size:.9rem;

}

/* =========================================================
   HALAL OUTPUT
   PART 3
   TITLE • DESCRIPTION • IMAGE
========================================================= */


/* =========================================================
   CARD TITLE
========================================================= */

.halal-content h3{

    margin:
        0
        0
        18px;

    font-size:

        clamp(1.7rem,2.5vw,2.2rem);

    line-height:1.2;

    font-weight:800;

    letter-spacing:-.03em;

    color:var(--text-heading);

}


/* =========================================================
   DESCRIPTION
========================================================= */

.halal-content p{

    margin:0;

    color:var(--text-soft);

    font-size:1rem;

    line-height:1.9;

}

.halal-content strong{

    color:var(--primary);

    font-weight:700;

}


/* =========================================================
   IMAGE AREA
========================================================= */

.halal-image{

    position:relative;

    z-index:2;

}


/* =========================================================
   IMAGE
========================================================= */

.halal-image img{

    display:block;

    width:100%;

    height:auto;

    border-radius:24px;

    border:

        1px solid rgba(15,23,42,.08);

    background:#ffffff;

    box-shadow:

        0 18px 42px rgba(15,23,42,.12);

    transition:

        transform .3s ease,

        box-shadow .3s ease;

}


/* =========================================================
   IMAGE HOVER
========================================================= */

.halal-card:hover .halal-image img{

    transform:scale(1.02);

    box-shadow:

        0 28px 58px rgba(15,23,42,.16);

}


/* =========================================================
   IMAGE CAPTION
========================================================= */

.halal-image small{

    display:block;

    margin-top:16px;

    text-align:center;

    color:var(--text-soft);

    font-size:.82rem;

    line-height:1.7;

}


/* =========================================================
   HALAL OUTPUT
   PART 4
   RESPONSIVE • ACCESSIBILITY • PRINT
========================================================= */


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width:1200px){

    .halal-card{

        grid-template-columns:
            1fr
            380px;

        gap:34px;

        padding:34px;

    }

    .halal-card.reverse{

        grid-template-columns:
            380px
            1fr;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:992px){

    .section-halal-output{

        padding:
            100px
            0
            75px;

    }

    .halal-output-header{

        margin-bottom:55px;

    }

    .halal-output-header h2{

        font-size:
            clamp(2.2rem,5vw,3.2rem);

    }

    .halal-card,

    .halal-card.reverse{

        grid-template-columns:1fr;

        gap:28px;

        padding:30px;

    }

    .halal-card.reverse .halal-image,

    .halal-card.reverse .halal-content{

        order:unset;

    }

    .halal-content{

        text-align:center;

    }

    .halal-image{

        max-width:600px;

        margin:0 auto;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .section-halal-output{

        padding:
            90px
            0
            60px;

    }

    .halal-output-header{

        margin-bottom:42px;

    }

    .halal-output-header h2{

        font-size:2rem;

        line-height:1.2;

    }

    .halal-output-header h2 span{

        display:inline;

    }

    .halal-output-header p{

        font-size:.95rem;

        line-height:1.8;

    }

    .halal-output-label{

        padding:
            8px
            16px;

        font-size:.72rem;

    }

    .halal-output-grid{

        gap:24px;

    }

    .halal-card{

        gap:22px;

        padding:22px;

        border-radius:24px;

    }

    .halal-tag{

        padding:
            8px
            16px;

        margin-bottom:18px;

        font-size:.7rem;

    }

    .halal-content h3{

        font-size:1.6rem;

    }

    .halal-content p{

        font-size:.92rem;

        line-height:1.8;

    }

    .halal-image img{

        border-radius:18px;

    }

    .halal-image small{

        font-size:.78rem;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .section-halal-output{

        padding:
            80px
            0
            50px;

    }

    .halal-output-header h2{

        font-size:1.7rem;

    }

    .halal-output-label{

        font-size:.68rem;

    }

    .halal-card{

        padding:18px;

        border-radius:20px;

    }

    .halal-content h3{

        font-size:1.35rem;

    }

    .halal-content p{

        font-size:.88rem;

    }

    .halal-image img{

        border-radius:16px;

    }

    .halal-image small{

        font-size:.74rem;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion:reduce){

    .halal-card,

    .halal-image img{

        transition:none !important;

    }

}


/* =========================================================
   PRINT
========================================================= */

@media print{

    .halal-blur{

        display:none;

    }

    .halal-card{

        border:1px solid #dcdcdc;

        box-shadow:none;

        break-inside:avoid;

    }

    .halal-image img{

        box-shadow:none;

    }

}