/* ============================================================
   Chain of Custody Page  —  css/chain-of-custody.css
   Design tokens match service-page.css
   Prefix: hss-
   ============================================================ */

/* ============================================================
   Hero Section  (reuses sp- hero classes from service-page.css)
   ============================================================ */
#hssHeroSection {
    background: #ffffff;
    padding: 70px 0 40px;
}

#hssHeroSection .sp-hero-wrapper {
    text-align: center;
}

#hssHeroSection .sp-headline h1 {
    font-size: 42px;
    font-weight: 700;
    color: #079393;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

#hssHeroSection .sp-hero-intro p {
    font-size: 17px;
    color: #636363;
    line-height: 1.75;
    max-width: 760px;
    margin: 0 auto 30px;
    letter-spacing: 0.3px;
}

/* ============================================================
   Trust Strip
   ============================================================ */
.hss-trust-strip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
    border: 1px solid #d8e6e6;
    border-radius: 6px;
    padding: 14px 28px;
    background: #f4fafa;
    margin: 0 auto;
}

.hss-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.3px;
}

.hss-trust-item .fa {
    color: #079393;
    font-size: 18px;
}

.hss-trust-sep {
    color: #079393;
    font-size: 18px;
    font-weight: 700;
    padding: 0 8px;
    line-height: 1;
}

/* ============================================================
   Steps Section
   ============================================================ */
#hssStepsSection {
    background: #ffffff;
    padding: 50px 0 60px;
}

.hss-section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #079393;
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.hss-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 0;
}

.hss-step {
    flex: 0 0 auto;
    width: 148px;
    text-align: center;
}

.hss-step-inner {
    background: #ffffff;
    border: 1px solid #e0ecec;
    border-radius: 8px;
    padding: 20px 12px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 130px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hss-step-inner:hover {
    box-shadow: 0 6px 20px rgba(7, 147, 147, 0.15);
    transform: translateY(-3px);
}

.hss-step-num {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    background: #079393;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}

.hss-step-icon {
    margin: 10px 0 12px;
}

.hss-step-icon .fa {
    font-size: 32px;
    color: #079393;
}

.hss-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.2px;
    text-align: center;
}

.hss-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-top: 50px; /* vertically center with step cards */
    color: #aaa;
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================================
   COC Download Section
   ============================================================ */
#hssCocSection {
    background: #f8f9fc;
    padding: 60px 0 70px;
}

.hss-section-subtext {
    font-size: 16px;
    color: #636363;
    text-align: center;
    line-height: 1.7;
    max-width: 680px;
    margin: -20px auto 35px;
    letter-spacing: 0.2px;
}

/* Download buttons */
.hss-coc-btns {
    margin-bottom: 40px;
}

.hss-coc-btns .col-sm-6 {
    margin-bottom: 14px;
}

.hss-dl-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #079393;
    color: #ffffff;
    border-radius: 5px;
    padding: 16px 22px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s ease;
}

.hss-dl-btn:hover,
.hss-dl-btn:focus {
    background: #05706f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.hss-dl-btn .fa {
    font-size: 26px;
    flex-shrink: 0;
}

.hss-dl-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.hss-dl-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
}

/* COC Guide Card */
.hss-coc-guide-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #e0ecec;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hss-coc-guide-card:hover {
    box-shadow: 0 8px 28px rgba(7, 147, 147, 0.13);
    transform: translateY(-3px);
}

.hss-coc-guide-img {
    flex: 0 0 420px;
    max-width: 420px;
}

.hss-coc-guide-img img {
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.hss-coc-guide-content {
    flex: 1;
}

.hss-coc-guide-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #079393;
    margin: 0 0 12px;
    line-height: 1.35;
}

.hss-coc-guide-content p {
    font-size: 16px;
    color: #636363;
    line-height: 1.7;
    margin: 0 0 22px;
}

.hss-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8952a;
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s ease;
}

.hss-guide-btn:hover,
.hss-guide-btn:focus {
    background: #c97c1e;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.hss-guide-btn .fa {
    font-size: 17px;
}

/* ============================================================
   Test Code Section
   ============================================================ */
#hssTestCodeSection {
    background: #ffffff;
    padding: 55px 0 50px;
}

.hss-code-panels-row {
    margin-top: 10px;
}

.hss-code-panel {
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hss-code-panel:hover {
    box-shadow: 0 6px 20px rgba(7, 147, 147, 0.12);
    transform: translateY(-3px);
}

.hss-code-panel--air {
    border: 2px solid #079393;
}

.hss-code-panel--surface {
    border: 2px solid #7a4010;
}

.hss-code-panel--bulk {
    border: 2px solid #8b1a1a;
}

.hss-code-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.hss-code-panel--air .hss-code-panel-header {
    background: #079393;
}

.hss-code-panel--surface .hss-code-panel-header {
    background: #7a4010;
}

.hss-code-panel--bulk .hss-code-panel-header {
    background: #8b1a1a;
}

.hss-code-panel-header .fa {
    font-size: 20px;
    opacity: 0.9;
}

.hss-code-panel-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hss-code-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.hss-code-row p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    padding-top: 3px;
    flex: 1;
    min-width: 0;
}

.hss-code-row--noted {
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 0;
}

.hss-code-row--noted p {
    flex: 1 1 0;
    min-width: 0;
}

.hss-code-badge {
    display: inline-block;
    flex-shrink: 0;
    min-width: 58px;
    text-align: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.hss-badge--air {
    background: #079393;
}

.hss-badge--surface {
    background: #7a4010;
}

.hss-badge--bulk {
    background: #8b1a1a;
}

.hss-tape-note {
    display: block;
    width: 100%;
    padding-left: calc(58px + 10px);
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    color: #079393;
    letter-spacing: 0.1px;
    margin-top: 2px;
    opacity: 0.85;
}

.hss-tape-note::before {
    content: "(";
}

.hss-tape-note::after {
    content: ")";
}

/* ============================================================
   Ship Samples Section
   ============================================================ */
#hssShipSection {
    background: #ffffff;
    padding: 10px 0 55px;
}

.hss-ship-box {
    text-align: center;
}

.hss-ship-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #079393;
    margin: 0 0 14px;
    line-height: 1.3;
}

.hss-ship-box p {
    font-size: 17px;
    color: #444;
    line-height: 1.75;
    margin: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Pre-Ship Checklist Section
   ============================================================ */
#hssChecklistSection {
    background: #ffffff;
    padding: 0 0 55px;
}

.hss-checklist-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f4f6f8;
    border: 1px solid #e2e8ed;
    border-radius: 10px;
    padding: 40px 50px;
    transition: box-shadow 0.3s ease;
}

.hss-checklist-card:hover {
    box-shadow: 0 6px 20px rgba(7, 147, 147, 0.10);
}

.hss-checklist-content {
    flex: 1;
}

.hss-checklist-heading {
    font-size: 26px;
    font-weight: 700;
    color: #079393;
    margin: 0 0 26px;
    line-height: 1.3;
}

.hss-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hss-checklist li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    color: #2a2a2a;
    font-weight: 500;
    line-height: 1.4;
}

.hss-check-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #079393;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hss-check-icon .fa {
    color: #ffffff;
    font-size: 16px;
}

.hss-checklist-graphic {
    flex: 0 0 140px;
    text-align: center;
}

.hss-checklist-graphic .fa {
    font-size: 120px;
    color: #079393;
    line-height: 1;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    #hssHeroSection {
        padding: 50px 0 30px;
    }
    #hssHeroSection .sp-headline h1 {
        font-size: 32px;
    }
    .hss-step {
        width: 130px;
    }
    .hss-coc-guide-img {
        flex: 0 0 240px;
        max-width: 240px;
    }
    .hss-code-panels-row .col-sm-6 {
        margin-bottom: 20px;
    }
    .hss-ship-box {
        padding: 28px 30px;
    }
    .hss-checklist-card {
        padding: 30px;
        gap: 24px;
    }
    .hss-checklist-graphic .fa {
        font-size: 90px;
    }
}

@media (max-width: 767px) {
    #hssHeroSection .sp-headline h1 {
        font-size: 26px;
    }
    /* Trust strip — stack vertically on mobile, hide separators */
    .hss-trust-strip {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 14px 20px;
        gap: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }
    .hss-trust-sep {
        display: none;
    }
    /* Steps — 3-col grid with equal-height cards */
    .hss-steps-row {
        gap: 10px;
        justify-content: center;
        align-items: stretch;
    }
    .hss-step {
        width: calc(33.33% - 8px);
        min-width: 90px;
        display: flex;
    }
    .hss-step-inner {
        width: 100%;
        min-height: unset;
    }
    .hss-step-arrow {
        display: none;
    }
    .hss-coc-guide-card {
        flex-direction: column;
        text-align: center;
    }
    .hss-coc-guide-img {
        max-width: 100%;
        flex: none;
    }
    .hss-guide-btn {
        margin: 0 auto;
    }
    .hss-section-heading {
        font-size: 19px;
    }
    .hss-code-panels-row .col-xs-12 {
        margin-bottom: 16px;
    }
    .hss-ship-box {
        padding: 24px 18px;
    }
    .hss-ship-box h2 {
        font-size: 20px;
    }
    .hss-ship-box p {
        font-size: 16px;
    }
    .hss-checklist-card {
        flex-direction: column;
        padding: 26px 20px;
        gap: 24px;
        text-align: center;
    }
    .hss-checklist li {
        justify-content: flex-start;
        text-align: left;
    }
    .hss-checklist-graphic {
        flex: none;
    }
    .hss-checklist-graphic .fa {
        font-size: 72px;
    }
    .hss-checklist-heading {
        font-size: 21px;
    }
    .hss-checklist li {
        font-size: 16px;
    }
}


/* ============================================================
   Why Inspectors Use Moldlab Section
   ============================================================ */
#hssWhySection {
    background: #ffffff;
    padding: 55px 0 30px;
}

.hss-why-card {
    background: #faf8f5;
    border: 1px solid #e4ddd4;
    border-radius: 10px;
    padding: 40px 40px 36px;
}

.hss-why-heading {
    font-size: 26px;
    font-weight: 700;
    color: #079393;
    text-align: center;
    margin: 0 0 32px;
    line-height: 1.3;
}

.hss-why-features {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
}

.hss-why-item {
    flex: 1 1 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 20px;
    min-width: 140px;
}

.hss-why-item:first-child {
    padding-left: 0;
}

.hss-why-item:last-child {
    padding-right: 0;
}

.hss-why-icon {
    flex-shrink: 0;
    font-size: 34px;
    line-height: 1;
    margin-top: 2px;
}

.hss-why-icon--brown {
    color: #7a4010;
}

.hss-why-icon--teal {
    color: #079393;
}

.hss-why-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #079393;
    margin-bottom: 4px;
    line-height: 1.3;
}

.hss-why-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

.hss-why-divider {
    width: 1px;
    background: #d8d0c8;
    align-self: stretch;
    flex-shrink: 0;
}

/* ============================================================
   CTA Cards Section
   ============================================================ */
#hssCtaSection {
    background: #ffffff;
    padding: 30px 0 70px;
}

.hss-cta-row {
    display: flex;
    flex-wrap: wrap;
}

.hss-cta-row > div {
    margin-bottom: 20px;
}

.hss-cta-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #faf8f5;
    border: 1px solid #e4ddd4;
    border-radius: 10px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hss-cta-card:hover {
    box-shadow: 0 8px 24px rgba(7, 147, 147, 0.13);
    transform: translateY(-4px);
}

.hss-cta-icon {
    flex-shrink: 0;
    font-size: 44px;
    line-height: 1;
    margin-top: 2px;
}

.hss-cta-icon--brown {
    color: #7a4010;
}

.hss-cta-icon--teal {
    color: #079393;
}

.hss-cta-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #079393;
    margin: 0 0 8px;
    line-height: 1.3;
}

.hss-cta-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px;
}

.hss-cta-link {
    font-size: 15px;
    font-weight: 600;
    color: #079393;
    text-decoration: none;
    display: block;
}

.hss-cta-link:hover,
.hss-cta-link:focus {
    color: #056868;
    text-decoration: underline;
}

.hss-cta-link--phone {
    font-size: 18px;
    font-weight: 700;
    color: #079393;
}

@media (max-width: 991px) {
    .hss-why-features {
        flex-wrap: wrap;
        gap: 20px 0;
    }
    .hss-why-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 10px 16px;
    }
    .hss-why-divider {
        display: none;
    }
    .hss-why-card {
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .hss-why-item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px 0;
    }
    .hss-why-heading {
        font-size: 21px;
    }
    .hss-cta-card {
        padding: 22px 18px;
    }
}
