/*
 * Real Clear Biogenix — quality-control.css
 * Scoped to .rcb-qc-page. Tokens mirror about.css / home.css exactly.
 */

/* =========================================================
   TOKENS
   ========================================================= */
.rcb-qc-page {
    --v3-dark:       #0a0a0a;
    --v3-navy:       #0a0f1e;
    --v3-navy-2:     #0d1528;
    --v3-light:      #f5f5f5;
    --v3-white:      #ffffff;
    --v3-text:       #111111;
    --v3-muted:      #6b7280;
    --v3-muted-lt:   #9ca3af;
    --v3-blue:       #1e82f0;
    --v3-blue-dk:    #1668cc;
    --v3-blue-lt:    #e6f0fd;
    --v3-border:     #e5e7eb;
    --v3-heading:    'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
    --v3-body:       'Inter', system-ui, sans-serif;
    --v3-max:        1200px;
    --v3-px:         40px;
    --v3-shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
    --v3-shadow-md:  0 4px 16px rgba(0,0,0,.1), 0 12px 40px rgba(0,0,0,.08);
}

.rcb-qc-page,
.rcb-qc-page #rcb-main {
    background: var(--v3-light);
    color: var(--v3-text);
    font-family: var(--v3-body);
}

/* =========================================================
   SHARED SECTION HEADER
   ========================================================= */
.rcb-qc-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.rcb-qc-label {
    display: block;
    font-family: var(--v3-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--v3-blue);
    margin-bottom: 14px;
}

.rcb-qc-label--onlight {
    color: var(--v3-blue);
}

.rcb-qc-section-heading {
    font-family: var(--v3-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: .95;
    color: #ffffff;
    margin: 0;
}

.rcb-qc-section-heading--onlight {
    color: var(--v3-text);
}

/* =========================================================
   1. HERO — dark lab background
   ========================================================= */
.rcb-qc-hero {
    background: linear-gradient(to right, rgba(10,10,10,0.88) 0%, rgba(10,15,30,0.75) 45%, rgba(10,15,30,0.35) 100%),
                url('/wp-content/uploads/2026/06/Gemini-Generated-Image-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 52px var(--v3-px) 72px;
}

.rcb-qc-hero__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
}

/* Breadcrumb */
.rcb-qc-breadcrumb {
    margin-bottom: 40px;
}

.rcb-qc-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.rcb-qc-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--v3-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.rcb-qc-breadcrumb li a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .15s;
}
.rcb-qc-breadcrumb li a:hover {
    color: rgba(255,255,255,.75);
}

.rcb-qc-breadcrumb li:not(:first-child)::before {
    content: '/';
    color: rgba(255,255,255,.2);
}

/* Badge */
.rcb-qc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--v3-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Heading */
.rcb-qc-hero__heading {
    font-family: var(--v3-heading);
    font-size: clamp(52px, 7vw, 88px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px;
    max-width: 700px;
}

/* Subtext */
.rcb-qc-hero__sub {
    font-family: var(--v3-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    max-width: 520px;
    margin: 0;
}

/* =========================================================
   2. MISSION STATEMENT — white, centered, pull quote
   ========================================================= */
.rcb-qc-mission {
    background: var(--v3-white);
    padding: 96px var(--v3-px);
}

.rcb-qc-mission__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.rcb-qc-mission__quote {
    font-family: var(--v3-heading);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: .95;
    color: var(--v3-navy);
    margin: 0 0 28px;
}

.rcb-qc-mission__rule {
    width: 60px;
    height: 3px;
    background: var(--v3-blue);
    margin: 0 auto 32px;
}

.rcb-qc-mission__body {
    font-family: var(--v3-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--v3-muted);
    margin: 0;
}

/* =========================================================
   3. TESTING PROCESS — light bg, 4-step horizontal
   ========================================================= */
.rcb-qc-process {
    background: var(--v3-light);
    padding: 80px var(--v3-px);
}

.rcb-qc-process__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
}

.rcb-qc-process__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.rcb-qc-process__step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}
.rcb-qc-process__step:first-child { padding-left: 0; }
.rcb-qc-process__step:last-child  { padding-right: 0; }

.rcb-qc-process__step-num {
    display: block;
    font-family: var(--v3-heading);
    font-size: clamp(64px, 8vw, 96px);
    font-weight: 400;
    line-height: 1;
    color: var(--v3-blue);
    letter-spacing: .02em;
    margin-bottom: 20px;
}

.rcb-qc-process__step-title {
    font-family: var(--v3-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--v3-text);
    margin: 0 0 12px;
}

.rcb-qc-process__step-desc {
    font-family: var(--v3-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--v3-muted);
    margin: 0;
}

.rcb-qc-process__connector {
    flex-shrink: 0;
    padding-top: 38px;
    color: rgba(30,130,240,.55);
    display: flex;
    align-items: center;
    align-self: flex-start;
}

/* =========================================================
   4. WHAT WE TEST FOR — dark navy, 4 icon cards
   ========================================================= */
.rcb-qc-tested {
    background: var(--v3-navy);
    padding: 80px var(--v3-px);
}

.rcb-qc-tested__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
}

.rcb-qc-tested__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rcb-qc-tested__card {
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,.07);
    border-top: 3px solid var(--v3-blue);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background .2s, transform .2s;
}
.rcb-qc-tested__card:hover {
    background: rgba(255,255,255,.06);
    transform: translateY(-2px);
}

.rcb-qc-tested__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,130,240,.12);
    border-radius: 8px;
    color: var(--v3-blue);
    flex-shrink: 0;
}
.rcb-qc-tested__icon svg {
    width: 38px;
    height: 38px;
}

.rcb-qc-tested__card-title {
    font-family: var(--v3-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.rcb-qc-tested__card-desc {
    font-family: var(--v3-body);
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.45);
    margin: 0;
}

/* =========================================================
   5. THIRD PARTY INDEPENDENCE — dark bg, DNA bg-image + gradient
      Matches homepage .rcb-quality section exactly
   ========================================================= */
.rcb-qc-independence {
    background: var(--v3-navy);
    background-image: linear-gradient(to right, rgba(13,21,40,0) 0%, rgba(13,21,40,1) 60%),
                      url('/wp-content/uploads/2026/06/Imagen-comprimida-TinyPNG.jpg');
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    padding: 80px var(--v3-px);
}

.rcb-qc-independence__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.rcb-qc-independence__img-wrap {
    /* empty — image is the section background */
}

.rcb-qc-independence__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rcb-qc-independence__heading {
    font-family: var(--v3-heading);
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: .95;
    color: #ffffff;
    margin: 0;
}

.rcb-qc-independence__content p {
    font-family: var(--v3-body);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.55);
    margin: 0;
}

.rcb-qc-independence__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--v3-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--v3-blue);
    text-decoration: none;
    margin-top: 4px;
    transition: gap .15s, color .15s;
}
.rcb-qc-independence__link:hover {
    color: #5aabff;
    gap: 10px;
}

/* =========================================================
   6. HOW TO VERIFY YOUR COA — light bg, 3-step + CTA button
   ========================================================= */
.rcb-qc-verify {
    background: var(--v3-light);
    padding: 80px var(--v3-px);
}

.rcb-qc-verify__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
}

.rcb-qc-verify__steps {
    /* inherits rcb-qc-process__steps flex layout */
}

.rcb-qc-verify__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 52px;
}

.rcb-qc-verify__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--v3-blue);
    color: #ffffff;
    font-family: var(--v3-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 15px 32px;
    border-radius: 4px;
    border: 2px solid var(--v3-blue);
    text-decoration: none;
    transition: background .18s, border-color .18s, transform .15s;
}
.rcb-qc-verify__btn:hover {
    background: var(--v3-blue-dk);
    border-color: var(--v3-blue-dk);
    transform: translateY(-1px);
}

/* =========================================================
   7. CTA BANNER — dark navy, same as homepage
   ========================================================= */
.rcb-qc-cta {
    background: var(--v3-navy-2);
    padding: clamp(72px, 9vw, 112px) var(--v3-px);
    position: relative;
    overflow: hidden;
}

.rcb-qc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(26,111,196,.15) 0%, transparent 70%);
    pointer-events: none;
}

.rcb-qc-cta__inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rcb-qc-cta__label {
    display: block;
    font-family: var(--v3-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.rcb-qc-cta__heading {
    font-family: var(--v3-heading);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: .95;
    color: #ffffff;
    margin: 0;
}

.rcb-qc-cta__sub {
    font-family: var(--v3-body);
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,.5);
    margin: 0;
    max-width: 460px;
}

.rcb-qc-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--v3-blue);
    color: #ffffff;
    font-family: var(--v3-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 15px 32px;
    border-radius: 4px;
    border: 2px solid var(--v3-blue);
    text-decoration: none;
    margin-top: 4px;
    transition: background .18s, border-color .18s, transform .15s;
}
.rcb-qc-cta__btn:hover {
    background: var(--v3-blue-dk);
    border-color: var(--v3-blue-dk);
    transform: translateY(-1px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    /* 4 tested cards → 2×2 */
    .rcb-qc-tested__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rcb-qc-page {
        --v3-px: 20px;
    }

    /* Hero */
    .rcb-qc-hero {
        padding: 40px var(--v3-px) 56px;
    }
    .rcb-qc-hero__heading {
        font-size: clamp(44px, 10vw, 64px);
    }
    .rcb-qc-hero__sub {
        font-size: 14px;
    }

    /* Mission */
    .rcb-qc-mission {
        padding: 64px var(--v3-px);
    }

    /* Process — stack vertically */
    .rcb-qc-process {
        padding: 64px var(--v3-px);
    }
    .rcb-qc-process__steps {
        flex-direction: column;
        gap: 40px;
    }
    .rcb-qc-process__connector {
        display: none;
    }
    .rcb-qc-process__step {
        padding: 0;
        text-align: left;
    }
    .rcb-qc-process__step-num {
        font-size: clamp(56px, 14vw, 80px);
    }

    /* Tested cards */
    .rcb-qc-tested {
        padding: 64px var(--v3-px);
    }

    /* Independence — match homepage quality mobile: image on top, content below */
    .rcb-qc-independence {
        background-image: none;
        padding: 0;
    }
    .rcb-qc-independence__inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .rcb-qc-independence__img-wrap {
        min-height: 240px;
        background-image: url('/wp-content/uploads/2026/06/Imagen-comprimida-TinyPNG.jpg');
        background-size: cover;
        background-position: center;
    }
    .rcb-qc-independence__content {
        background: var(--v3-navy);
        padding: 48px var(--v3-px) 64px;
        gap: 16px;
    }

    /* Verify */
    .rcb-qc-verify {
        padding: 64px var(--v3-px);
    }

    /* CTA */
    .rcb-qc-cta {
        padding: 64px var(--v3-px);
    }
    .rcb-qc-cta__btn {
        min-height: 44px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .rcb-qc-page {
        --v3-px: 16px;
    }

    /* Tested: single column */
    .rcb-qc-tested__grid {
        grid-template-columns: 1fr;
    }

    /* Process step: center on smallest screens */
    .rcb-qc-process__step {
        text-align: center;
    }
}
