/* =============================================================
   QUALITY.CSS — Pronat Industries
   Styles for the Quality page template (page-quality.php)
   Depends on tokens defined in front-page.css (loaded first).
   ============================================================= */

/* ── Hero override ─────────────────────────────────────────── */
.fp-hero--quality {
    background-color: var(--fp-navy);
    background-position: center;
    background-size: cover;
    text-align: center;
}

.fp-hero--quality .fp-hero__title {
    text-align: center;
    max-width: 1100px;
}
.fp-hero--quality::before{
	background: unset
}

/* ── 2. CONTENT BLOCKS ─────────────────────────────────────── */
.fp-quality-blocks {
    background: #F7F7F7;
 
}
.fp-highlights > .container:first-of-type{
    
}
.fp-highlights > div:first-child .container:first-of-type {
    padding-block: clamp(60px, 8vw, 110px);
}
 
.fp-quality-block {
    padding-block: clamp(32px, 4vw, 60px);
}
.fp-highlights > div:first-child{
    padding-top: 0;
}
.fp-quality-block__heading {
    font-family: var(--fp-font-heading);
    font-size: var(--fp-heading-size);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--fp-text);
    line-height: 1.15;
    margin-bottom: 24px;
}

.fp-quality-block__body {
    font-family: var(--fp-font-body);
    font-size: var(--fp-body-size);
    color: var(--fp-text);
    line-height: 1.65;
    text-align: justify;
}

.fp-quality-block__body p:last-child {
    margin-bottom: 0;
}

.fp-quality-block__img-wrap {
    border-radius: var(--fp-radius-card);
    overflow: hidden;
    line-height: 0;
}

.fp-quality-block__img-wrap img {
    width: 100%;
    height: clamp(280px, 25vw, 463px);
    object-fit: cover;
    display: block;
}
.fp-quality-block:not(.fp-quality-block--alt) .row .col-lg-6:first-of-type,
.fp-quality-block.fp-quality-block--alt .row .col-lg-6:last-of-type
{
	padding-right: 45px;
    padding-left: 24px;
}
.fp-quality-block:not(.fp-quality-block--alt) .row .col-lg-6:last-of-type,
.fp-quality-block.fp-quality-block--alt .row .col-lg-6:first-of-type{
 
	padding-left: 45px;
    padding-right: 24px;
}
 

/* ── 3. CERTIFICATIONS ─────────────────────────────────────── */
.fp-quality-certs {
    background: var(--fp-navy);
    padding-block: clamp(60px, 8vw, 110px);
    color: var(--fp-white);
}

.fp-quality-certs__title {
    font-family: var(--fp-font-heading);
    font-size: var(--fp-heading-size);
    font-weight: 400;
    color: var(--fp-white);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 50px;
}

.fp-quality-certs__row {
    margin-top: 16px;
}
.fp-quality-certs__row .col-12 {
    padding: 0 20px 0 20px;
}
 
.fp-quality-cert-card {
    background: var(--fp-white);
    border-radius: var(--fp-radius-card);
    padding: 50px 24px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-quality-cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.fp-quality-cert-card__logo {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.fp-quality-cert-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fp-quality-cert-card__label {
    font-family: var(--fp-font-heading);
    font-size: clamp(20px, 1.5vw, 26px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--fp-text);
    line-height: 1.2;
    margin: 0 0 24px;
    flex: 1 0 auto;
}

.fp-quality-cert-card__btn {
display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    width: 100%;
    padding: 24px 25px;
    border-radius: 12px;
    border: 1px solid var(--fp-navy);
    background: var(--fp-navy);
    color: var(--fp-white);
    font-family: var(--fp-font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.fp-quality-cert-card__btn:hover,
.fp-quality-cert-card__btn:focus-visible {
    background: #2952AE;
}

.fp-quality-cert-card__btn-icon {
    display: inline-flex;
}


/* ── 4. FRAMEWORK ──────────────────────────────────────────── */
.fp-quality-fw {
    background: var(--fp-white);
    padding-block: clamp(60px, 8vw, 110px);
}
@media only screen and (min-width: 1440px){
    .fp-quality-fw .container-big{
        padding: 0;
    }
    .fp-quality-certs .container-big{
        padding: 0;
    }
}


.fp-quality-fw__title {
    font-family: var(--fp-font-heading);
    font-size: var(--fp-heading-size);
    font-weight: 400;
    color: var(--fp-text);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 50px;
}

.fp-quality-fw__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 70px;
    margin: 20px 0 0;
}

/* Neutralise Bootstrap col widths/padding inside the CSS grid */
.fp-quality-fw__grid > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

.fp-quality-fw__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.fp-quality-fw__icon {
    flex-shrink: 0;
    max-height: 50px;
    max-width: 50px;
}

.fp-quality-fw__label {
    color: #000; 
    font-size: 26px;
    font-style: normal;
    font-weight: 600; 
    line-height: 1.3;
    margin-bottom: 0;
    margin-left: 5px;
}

.fp-quality-fw__desc {
    color: var(--Text-color, #3F3F3F); 
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8; 
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .fp-quality-blocks{
        padding: 0 15px;
    }
    .fp-quality-block--alt .row{
        flex-direction: column-reverse;
    }
    .fp-quality-cert-card__btn{
        justify-content: center;
    }
    .fp-quality-block {
        padding-block: 24px;
    }

    .fp-quality-block:not(.fp-quality-block--alt) .row {
        flex-direction: column-reverse;
    }

    .fp-quality-block__body {
        text-align: left;
    }

    .fp-quality-certs__title,
    .fp-quality-fw__title {
        margin-bottom: 32px;
    }

    .fp-quality-cert-card__logo {
        height: 120px;
        margin-bottom: 50px;
    }
    .fp-quality-block:not(.fp-quality-block--alt) .row .col-lg-6:first-of-type,
    .fp-quality-block.fp-quality-block--alt .row .col-lg-6:last-of-type
    {
        padding-right: 15px;
        padding-left: 15px;
    }
    .fp-quality-block:not(.fp-quality-block--alt) .row .col-lg-6:last-of-type,
    .fp-quality-block.fp-quality-block--alt .row .col-lg-6:first-of-type{
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 991.98px) {
    .fp-quality-fw__grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
        row-gap: 50px;
    }
}

@media (max-width: 575.98px) {
    .fp-quality-cert-card {
        padding: 24px 18px 18px;
    }
    .fp-quality-fw__desc{
            font-size: 18px;
    }
    .fp-quality-fw__label{
            font-size: 24px;
    }
    .fp-quality-fw__icon {
        flex-shrink: 0;
        max-height: 40px;
        max-width: 40px;
    }
    .fp-quality-cert-card__btn{
        max-width: 320px;
        padding: 20px 24px;
    }
    .fp-quality-fw__grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
}
