
/* =========================================
   INDOCOCO PASIFIC
   QUALITY & FOOD SAFETY
   Typography: Larger and more readable
========================================= */

:root {
    --qf-navy: #173042;
    --qf-brown: #8C502E;
    --qf-cream: #FBF9F5;
    --qf-text: #475461;
    --qf-muted: #687680;
    --qf-border: #E9E2D9;
    --qf-serif: 'Playfair Display', Georgia, serif;
    --qf-sans: 'Plus Jakarta Sans', Arial, sans-serif;
}

.qf-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.qf-eyebrow {
    display: inline-block;
    color: var(--qf-brown);
    font-family: var(--qf-sans);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.8;
}

/* HERO */

.qf-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 95px 0;
    overflow: hidden;
    background: var(--qf-cream);
}

.qf-hero-image {
    position: absolute;
    inset: 0 0 0 45%;
    z-index: -2;
    background: url('/uploads/our_lab.png') center / cover no-repeat;
}

.qf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        #FBF9F5 0%,
        rgba(251,249,245,.98) 34%,
        rgba(251,249,245,.86) 51%,
        rgba(251,249,245,.36) 77%,
        rgba(251,249,245,.10) 100%
    );
}

.qf-hero-content {
    max-width: 760px;
}

.qf-hero-content h1 {
    margin: 22px 0;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.17;
    letter-spacing: -.035em;
}

.qf-hero-content h1 em,
.qf-intro h2 em,
.qf-section-heading h2 em,
.qf-food-content h2 em,
.qf-documentation h2 em {
    color: var(--qf-brown);
    font-weight: 600;
}

.qf-hero-content > p {
    max-width: 640px;
    margin: 0;
    color: var(--qf-text);
    font-size: 16px;
    line-height: 1.9;
}

.qf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.qf-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 23px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-family: var(--qf-sans);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.qf-btn:hover {
    transform: translateY(-2px);
}

.qf-btn-primary {
    background: var(--qf-brown);
    border-color: var(--qf-brown);
    color: #fff;
}

.qf-btn-primary:hover {
    background: #754023;
    color: #fff;
}

.qf-btn-outline {
    border-color: rgba(23,48,66,.35);
    color: var(--qf-navy);
    background: rgba(255,255,255,.3);
}

.qf-btn-outline:hover {
    background: var(--qf-navy);
    color: #fff;
}

.qf-hero-footnote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
    color: var(--qf-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.qf-hero-footnote > span {
    width: 34px;
    height: 1px;
    flex-shrink: 0;
    background: var(--qf-brown);
}

.qf-hero-caption {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: var(--qf-navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* INTRODUCTION */

.qf-intro {
    padding: 110px 0;
    background: #fff;
}

.qf-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: start;
}

.qf-intro h2,
.qf-section-heading h2,
.qf-food-content h2,
.qf-documentation h2 {
    margin: 18px 0 0;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: clamp(36px, 3.5vw, 46px);
    line-height: 1.28;
    letter-spacing: -.02em;
}

.qf-intro-copy > p,
.qf-food-content > p,
.qf-doc-copy > p {
    margin: 0 0 20px;
    color: var(--qf-text);
    font-size: 16px;
    line-height: 1.95;
}

.qf-intro-note {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    padding: 25px;
    border-left: 3px solid var(--qf-brown);
    background: var(--qf-cream);
}

.qf-note-symbol {
    flex-shrink: 0;
    color: var(--qf-brown);
    font-size: 30px;
}

.qf-intro-note strong {
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: 21px;
}

.qf-intro-note p {
    margin: 9px 0 0;
    color: var(--qf-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* FOUR QUALITY PRINCIPLES */

.qf-principles {
    padding: 100px 0 110px;
    background: var(--qf-cream);
}

.qf-section-heading {
    max-width: 700px;
    margin-bottom: 48px;
}

.qf-section-heading > p {
    max-width: 600px;
    margin: 20px 0 0;
    color: var(--qf-muted);
    font-size: 16px;
    line-height: 1.9;
}

.qf-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--qf-border);
    border-bottom: 1px solid var(--qf-border);
}

.qf-principle-card {
    min-width: 0;
    min-height: 330px;
    padding: 30px 23px;
    border-right: 1px solid var(--qf-border);
    transition: background .25s ease;
}

.qf-principle-card:first-child {
    border-left: 1px solid var(--qf-border);
}

.qf-principle-card:hover {
    background: #fff;
}

.qf-card-number {
    color: #858F91;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
}

.qf-card-icon {
    width: 48px;
    height: 48px;
    margin: 28px 0 22px;
    color: var(--qf-brown);
}

.qf-card-icon svg {
    width: 100%;
    height: 100%;
}

.qf-principle-card h3 {
    margin: 0 0 14px;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: 21px;
    line-height: 1.4;
}

.qf-principle-card p {
    margin: 0;
    color: var(--qf-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* QUALITY CONTROL PROCESS */

.qf-process {
    padding: 115px 0;
    background: #fff;
}

.qf-heading-center {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
}

.qf-heading-center > p {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--qf-muted);
    font-size: 16px;
    line-height: 1.9;
}

.qf-timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.qf-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 35px;
    left: 29px;
    width: 1px;
    background: var(--qf-border);
}

.qf-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 30px;
    padding-bottom: 48px;
}

.qf-timeline-item:last-child {
    padding-bottom: 0;
}

.qf-timeline-number {
    position: relative;
    z-index: 1;
    display: flex;
    width: 59px;
    height: 59px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--qf-border);
    border-radius: 50%;
    background: #fff;
    color: var(--qf-brown);
    font-size: 14px;
    font-weight: 800;
}

.qf-timeline-content {
    padding: 7px 0 30px;
    border-bottom: 1px solid var(--qf-border);
}

.qf-timeline-item:last-child .qf-timeline-content {
    border-bottom: 0;
}

.qf-timeline-content > span {
    color: var(--qf-brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.qf-timeline-content h3 {
    margin: 12px 0;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: 28px;
    line-height: 1.4;
}

.qf-timeline-content > p {
    max-width: 780px;
    margin: 0;
    color: var(--qf-text);
    font-size: 16px;
    line-height: 1.9;
}

.qf-timeline-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--qf-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* FOOD SAFETY */

.qf-food-safety {
    padding: 110px 0;
    background: var(--qf-cream);
}

.qf-food-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
    align-items: center;
}

.qf-food-visual {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: var(--qf-navy);
}

.qf-food-visual-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(12,32,43,.88),
            rgba(12,32,43,.05)
        ),
        url('/uploads/Gemini_Generated_Image_p0pcqnp0pcqnp0pc.jpg')
        center / cover no-repeat;
}

.qf-food-visual-label {
    position: absolute;
    right: 28px;
    bottom: 35px;
    left: 30px;
    color: #fff;
}

.qf-food-visual-label > span {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.qf-food-visual-label strong {
    font-family: var(--qf-serif);
    font-size: 38px;
    line-height: 1.35;
}

.qf-food-content h2 {
    margin-bottom: 23px;
}

.qf-food-content > p {
    margin-bottom: 34px;
}

.qf-safety-list {
    display: flex;
    flex-direction: column;
}

.qf-safety-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 17px;
    padding: 22px 0;
    border-top: 1px solid var(--qf-border);
}

.qf-safety-item > span {
    padding-top: 4px;
    color: var(--qf-brown);
    font-size: 13px;
    font-weight: 800;
}

.qf-safety-item h3 {
    margin: 0 0 8px;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: 21px;
    line-height: 1.4;
}

.qf-safety-item p {
    margin: 0;
    color: var(--qf-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* DOCUMENTATION */

.qf-documentation {
    padding: 110px 0;
    background: #fff;
}

.qf-doc-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 85px;
    align-items: start;
}

.qf-doc-copy > p {
    margin-bottom: 30px;
}

.qf-doc-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 25px 0;
    border-top: 1px solid var(--qf-border);
}

.qf-doc-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--qf-cream);
    color: var(--qf-brown);
    font-size: 13px;
    font-weight: 800;
}

.qf-doc-card h3 {
    margin: 0 0 9px;
    color: var(--qf-navy);
    font-family: var(--qf-serif);
    font-size: 21px;
    line-height: 1.4;
}

.qf-doc-card p {
    margin: 0;
    color: var(--qf-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* CALL TO ACTION */

.qf-cta {
    padding: 95px 0;
    background: var(--qf-navy);
    color: #fff;
    text-align: center;
}

.qf-cta-inner {
    max-width: 850px;
}

.qf-cta .qf-eyebrow {
    color: #D7B59B;
}

.qf-cta h2 {
    margin: 23px 0;
    font-family: var(--qf-serif);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.35;
}

.qf-cta p {
    max-width: 650px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.85);
    font-size: 16px;
    line-height: 1.9;
}

.qf-btn-light {
    background: #fff;
    color: var(--qf-navy);
}

.qf-btn-light:hover {
    background: #EDE5DA;
    color: var(--qf-navy);
}

/* TABLET */

@media (max-width: 1000px) {
    .qf-hero {
        min-height: 580px;
    }

    .qf-hero-image {
        left: 20%;
    }

    .qf-hero::before {
        background: linear-gradient(
            90deg,
            rgba(251,249,245,.98),
            rgba(251,249,245,.90) 52%,
            rgba(251,249,245,.45)
        );
    }

    .qf-intro-grid,
    .qf-doc-grid {
        gap: 45px;
    }

    .qf-principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qf-principle-card:nth-child(3) {
        border-left: 1px solid var(--qf-border);
    }

    .qf-principle-card:nth-child(n+3) {
        border-top: 1px solid var(--qf-border);
    }

    .qf-food-grid {
        gap: 40px;
    }

    .qf-food-visual {
        min-height: 500px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .qf-container {
        width: calc(100% - 36px);
    }

    .qf-eyebrow {
        font-size: 11px;
    }

    .qf-hero {
        min-height: 610px;
        padding: 75px 0;
    }

    .qf-hero-image {
        inset: 0;
    }

    .qf-hero::before {
        background: rgba(251,249,245,.89);
    }

    .qf-hero-content h1 {
        font-size: clamp(37px, 9vw, 46px);
    }

    .qf-hero-content > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .qf-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .qf-btn {
        min-height: 52px;
        justify-content: space-between;
        font-size: 12px;
    }

    .qf-hero-footnote {
        align-items: flex-start;
        font-size: 9px;
        line-height: 1.8;
    }

    .qf-hero-caption {
        font-size: 9px;
    }

    .qf-intro,
    .qf-principles,
    .qf-process,
    .qf-food-safety,
    .qf-documentation {
        padding: 75px 0;
    }

    .qf-intro-grid,
    .qf-doc-grid,
    .qf-food-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .qf-intro h2,
    .qf-section-heading h2,
    .qf-food-content h2,
    .qf-documentation h2 {
        font-size: 34px;
    }

    .qf-intro-copy > p,
    .qf-food-content > p,
    .qf-doc-copy > p {
        font-size: 15px;
    }

    .qf-intro-note {
        padding: 20px;
    }

    .qf-intro-note strong {
        font-size: 19px;
    }

    .qf-intro-note p {
        font-size: 14px;
    }

    .qf-principle-grid {
        grid-template-columns: 1fr;
    }

    .qf-principle-card,
    .qf-principle-card:first-child,
    .qf-principle-card:nth-child(3) {
        min-height: auto;
        padding: 26px 22px;
        border: 0;
        border-bottom: 1px solid var(--qf-border);
    }

    .qf-principle-card:last-child {
        border-bottom: 0;
    }

    .qf-card-icon {
        margin: 20px 0 15px;
    }

    .qf-principle-card h3 {
        font-size: 21px;
    }

    .qf-principle-card p {
        font-size: 15px;
    }

    .qf-heading-center {
        margin-bottom: 45px;
    }

    .qf-heading-center > p {
        font-size: 15px;
    }

    .qf-timeline::before {
        left: 21px;
    }

    .qf-timeline-item {
        grid-template-columns: 43px 1fr;
        gap: 16px;
        padding-bottom: 32px;
    }

    .qf-timeline-number {
        width: 43px;
        height: 43px;
        font-size: 12px;
    }

    .qf-timeline-content {
        padding-top: 3px;
        padding-bottom: 25px;
    }

    .qf-timeline-content > span {
        font-size: 10px;
        line-height: 1.8;
    }

    .qf-timeline-content h3 {
        font-size: 23px;
    }

    .qf-timeline-content > p {
        font-size: 15px;
    }

    .qf-timeline-content ul {
        flex-direction: column;
        gap: 7px;
        font-size: 14px;
    }

    .qf-food-visual {
        min-height: 380px;
    }

    .qf-food-visual-label strong {
        font-size: 32px;
    }

    .qf-safety-item h3 {
        font-size: 19px;
    }

    .qf-safety-item p {
        font-size: 14px;
    }

    .qf-doc-card h3 {
        font-size: 19px;
    }

    .qf-doc-card p {
        font-size: 14px;
    }

    .qf-cta {
        padding: 75px 0;
    }

    .qf-cta h2 {
        font-size: 32px;
    }

    .qf-cta p {
        font-size: 15px;
    }
}
