/* ═══════════════════════════════════════════════
   BOFU PAGE — Shared base styles for all
   Bottom-of-Funnel product pages
   ═══════════════════════════════════════════════ */

/* ─── PAGE WRAPPER ─── */
.ss-pipe-page {
    background: var(--crisp-white);
    color: var(--text-dark);
}

/* ─── PRODUCT GRID ─── */
.ss-pipe-page .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ─── PRODUCT IMAGE WRAP ─── */
.ss-pipe-page .product-img-wrap {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.ss-pipe-page .product-img {
    transition: transform 0.4s ease;
}

.ss-pipe-page .product-card:hover .product-img {
    transform: scale(1.05);
}

.ss-pipe-page .product-specs {
    margin-bottom: 14px;
}

.ss-pipe-page .product-card {
    display: flex;
    flex-direction: column;
}

.ss-pipe-page .product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ss-pipe-page .product-card .cluster-link {
    margin-top: auto;
    padding-top: 12px;
}

/* ─── CONTENT TYPOGRAPHY ─── */
.ss-pipe-page section p {
  
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.85;
}

.ss-pipe-page section p strong {
    color: var(--text-dark);
}

.ss-pipe-page section p a {
    color: var(--steel-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 111, 165, 0.3);
    transition: border-color 0.2s, color 0.2s;
}

.ss-pipe-page section p a:hover {
    border-bottom-color: var(--accent-orange);
    color: var(--accent-orange);
}

.ss-pipe-page section ul,
.ss-pipe-page section ol {
    margin: 0 0 18px 20px;
    color: var(--text-mid);
}

.ss-pipe-page section li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── QUALITY QUOTE OVERRIDES ─── */
.ss-pipe-page .quality-quote p {
    color: rgba(255, 255, 255, 0.86);
}

.ss-pipe-page .quality-quote cite {
    color: rgba(255, 255, 255, 0.62);
}

.ss-pipe-page .quality-quote cite strong {
    color: var(--accent-orange);
}

/* ─── PRODUCTS SECTION (inherits dark background from app.css) ─── */

/* ─── SUB-HEADING ─── */
.ss-pipe-page .sub-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--steel-blue-dark);
    margin: 36px 0 12px;
    letter-spacing: 0.3px;
}

/* ─── SECTION FIGURES ─── */
.ss-pipe-page section figure {
    margin: 24px 0;
}

.ss-pipe-page section figure img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    display: block;
}

/* ─── HIGHLIGHT BLOCK ─── */
.ss-pipe-page .highlight-block {
    background: var(--ice-blue);
    border-left: 4px solid var(--steel-blue);
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 24px 0;
}

.ss-pipe-page .highlight-block h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.ss-pipe-page .highlight-block p {
    margin-bottom: 8px;
}

.ss-pipe-page .highlight-block ul {
    margin-bottom: 0;
}

.ss-pipe-page .highlight-block li {
    font-size: 0.92rem;
}

/* ─── CLUSTER LINK ─── */
.ss-pipe-page .cluster-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: none;
    margin-top: 8px;
    transition: gap 0.2s;
}

.ss-pipe-page .cluster-link:hover {
    gap: 10px;
    color: var(--accent-orange);
    border-bottom: none;
}

/* ─── GRADES / SPECS TABLE ─── */
.ss-pipe-page .grades-section {
    background: #fff;
}

.ss-pipe-page .specs-table-wrap {
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(74, 111, 165, 0.04);
}

.ss-pipe-page .grade-note {
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 12px;
}

.ss-pipe-page .grade-note a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
}

.ss-pipe-page .grade-note a:hover {
    text-decoration: underline;
}

/* ─── INLINE CTA ─── */
.ss-pipe-page .inline-cta {
    text-align: center;
    padding: 36px;
    margin: 32px 0;
    background: linear-gradient(135deg, var(--metal-dark), var(--steel-blue-dark));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.ss-pipe-page .inline-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 60px);
}

.ss-pipe-page .inline-cta h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.ss-pipe-page .inline-cta p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.ss-pipe-page .inline-cta .cta-actions {
    position: relative;
    z-index: 2;
}

.ss-pipe-page .inline-cta .btn-primary {
    position: relative;
    z-index: 2;
}

/* ─── INDUSTRIES LINK ─── */
.ss-pipe-page .industries {
    background: #fff;
}

.ss-pipe-page .ind-card a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.ss-pipe-page .ind-card a:hover {
    gap: 8px;
}

/* ─── WHY SOURCE ─── */
.ss-pipe-page .why-source {
    background: linear-gradient(180deg, var(--ice-blue) 0%, #fff 100%);
}

/* ─── SECTION BANNER ─── */
.ss-pipe-page .section-banner {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* ─── ORDERING ─── */
.ss-pipe-page .ordering {
    background: linear-gradient(180deg, #fff, var(--ice-blue));
}

.ss-pipe-page .steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--steel-blue), var(--accent-orange));
    opacity: 0.2;
    z-index: 0;
}

.ss-pipe-page .step {
    position: relative;
    z-index: 1;
}

.ss-pipe-page .step-num {
    box-shadow: 0 4px 16px rgba(74, 111, 165, 0.2);
    transition: all 0.25s;
}

.ss-pipe-page .step:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(74, 111, 165, 0.3);
}

/* ─── CTA CHECKS ─── */
.ss-pipe-page .cta-checks {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.ss-pipe-page .cta-checks span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ss-pipe-page .cta-checks .check-icon {
    width: 22px;
    height: 22px;
    background: rgba(232, 114, 42, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── RELATED PRODUCTS ─── */
.ss-pipe-page .related-products {
    background: var(--metal-dark);
    color: #fff;
}

.ss-pipe-page .related-products .section-label {
    color: var(--silver);
}

.ss-pipe-page .related-products .section-title {
    color: #fff;
}

.ss-pipe-page .related-products .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.ss-pipe-page .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.ss-pipe-page .related-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px 22px;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.ss-pipe-page .related-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-orange);
    opacity: 0;
    transition: opacity 0.25s;
}

.ss-pipe-page .related-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 111, 165, 0.4);
    transform: translateY(-3px);
}

.ss-pipe-page .related-card:hover::before {
    opacity: 1;
}

.ss-pipe-page .related-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: 0.5px;
}

.ss-pipe-page .related-card p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ss-pipe-page .related-card .link-arrow {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.ss-pipe-page .related-card:hover .link-arrow {
    gap: 10px;
}

/* ─── WHATSAPP FLOAT ─── */
.ss-pipe-page .whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.25s;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.ss-pipe-page .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

/* ─── SCROLL REVEAL ─── */
.ss-pipe-page .reveal {
    opacity: 1;
    transform: translateY(0);
}

.ss-pipe-page .reveal.reveal-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ss-pipe-page .reveal.reveal-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.ss-pipe-page .reveal-d1 { transition-delay: 0.1s; }
.ss-pipe-page .reveal-d2 { transition-delay: 0.2s; }
.ss-pipe-page .reveal-d3 { transition-delay: 0.3s; }
.ss-pipe-page .reveal-d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .ss-pipe-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ss-pipe-page .trust-bar .inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        align-items: stretch;
    }

    .ss-pipe-page .trust-item {
        min-width: 0;
        background: #fff;
        border: 1px solid var(--border-light);
        border-radius: 10px;
        padding: 10px;
    }

    .ss-pipe-page .trust-value {
        font-size: 0.98rem;
        line-height: 1.25;
        word-break: break-word;
    }

    .ss-pipe-page .trust-label {
        line-height: 1.25;
    }

    .ss-pipe-page .product-grid {
        grid-template-columns: 1fr;
    }

    .ss-pipe-page .inline-cta {
        padding: 28px 20px;
    }

    .ss-pipe-page .highlight-block {
        padding: 18px 20px;
    }

    .ss-pipe-page .cta-checks {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .ss-pipe-page .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ss-pipe-page .steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .ss-pipe-page .steps::before {
        display: none;
    }

    .ss-pipe-page .section-banner {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .ss-pipe-page .trust-bar {
        padding: 20px 16px;
    }

    .ss-pipe-page .trust-bar .inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ss-pipe-page .trust-icon {
        width: 40px;
        height: 40px;
    }

    .ss-pipe-page .trust-value {
        font-size: 0.94rem;
    }

    .ss-pipe-page .related-grid {
        grid-template-columns: 1fr;
    }

    .ss-pipe-page .steps {
        grid-template-columns: 1fr;
    }

    .ss-pipe-page .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .ss-pipe-page .section-banner {
        height: 160px;
    }
}
