/*
 * Trinity CMS — Page extras stylesheet
 *
 * Shared styling for hero slider + case-studies + testimonials
 * sections used on industries.php and products.php (and reusable
 * by other pages that need the same pattern).
 *
 * All classes are prefixed with `px-` to avoid clashing with the
 * existing global styles in style.css.
 *
 * Uses the existing CSS variables from :root in style.css —
 * --primary-color, --accent-color, --secondary-color, --text-light,
 * --background-light. Brand changes propagate automatically.
 */

/* =====================================================================
   1. HERO SLIDER
   ===================================================================== */
/* The global "section { padding: 80px 0; }" rule in style.css would otherwise
   leave a white gap above and below the hero. Override to flush against nav. */
.px-hero {
    position: relative;
    padding: 0;
}

.px-hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.px-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
    color: #fff;
}
.px-hero-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.px-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}
.px-hero-slide .container { position: relative; z-index: 2; }
.px-hero-inner { max-width: 720px; }

.px-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.px-hero-slide h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 18px;
    color: #fff;
}
.px-hero-slide p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: 0.95;
    max-width: 600px;
}
.px-hero-cta { padding: 14px 28px; font-size: 1rem; }
.px-hero-cta i { margin-left: 8px; }

/* Slider arrows */
.px-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 5;
    transition: background 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(6px);
}
.px-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}
.px-arrow--prev { left: 24px; }
.px-arrow--next { right: 24px; }

/* Slider dots */
.px-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.px-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.px-dot.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

/* =====================================================================
   2. SECTION HEADING
   ===================================================================== */
.px-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.px-section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.px-section-heading h2 {
    font-size: 2.25rem;
    margin: 0 0 14px;
    color: var(--secondary-color);
}
.px-section-heading p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
.px-section-heading--light .px-section-eyebrow { color: var(--accent-color); }
.px-section-heading--light h2 { color: #fff; }
.px-section-heading--light p  { color: rgba(255, 255, 255, 0.8); }

/* =====================================================================
   3. INDUSTRIES / PRODUCTS GRID WRAPPER
   ===================================================================== */
.px-grid-section {
    padding: 90px 0;
    background: #fff;
}
.px-empty-note {
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
}

/* =====================================================================
   4. CASE STUDIES
   ===================================================================== */
.px-cases-section {
    padding: 90px 0;
    background: var(--background-light);
}
.px-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.px-case-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.px-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.px-case-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.px-case-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.px-case-client { display: flex; flex-direction: column; }
.px-case-client strong {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 2px;
}
.px-case-client span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.px-case-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0 0 12px;
}
.px-case-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
}
.px-case-metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.px-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}
.px-metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================================
   5. TESTIMONIALS
   ===================================================================== */
.px-testimonials {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a2a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.px-testimonials::before,
.px-testimonials::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.07;
    pointer-events: none;
}
.px-testimonials::before {
    background: var(--primary-color);
    top: -150px; left: -150px;
}
.px-testimonials::after {
    background: var(--accent-color);
    bottom: -150px; right: -150px;
}

.px-testimonial-carousel {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.px-testimonial-track {
    position: relative;
    min-height: 360px;
}
.px-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px 50px 40px;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    backdrop-filter: blur(8px);
}
.px-testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.px-quote-mark {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.35;
}
.px-rating {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.25);
}
.px-rating .is-filled { color: var(--accent-color); }
.px-quote {
    font-size: 1.15rem;
    line-height: 1.75;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    border: 0;
    padding: 0;
}
.px-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.px-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}
.px-author-meta strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}
.px-author-meta span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}
.px-testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
.px-testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}
.px-testimonial-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.px-testimonial-dots { display: flex; gap: 8px; }
.px-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.px-testimonial-dot.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

/* =====================================================================
   6. CTA BAND
   ===================================================================== */
.px-cta-band {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    text-align: center;
}
.px-cta-band h2 {
    font-size: 2rem;
    color: #fff;
    margin: 0 0 12px;
}
.px-cta-band p {
    font-size: 1.1rem;
    margin: 0 0 28px;
    opacity: 0.95;
}
.px-cta-band .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    padding: 14px 32px;
}
.px-cta-band .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}
.px-cta-band .btn-primary i { margin-left: 8px; }

/* =====================================================================
   7. PRODUCTS-SPECIFIC GRID
   ===================================================================== */
.px-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.px-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.px-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.px-product-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.px-product-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 0 0 10px;
}
.px-product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
}
.px-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.px-product-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}
.px-product-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.8rem;
}
.px-product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}
.px-product-link:hover { gap: 10px; }
.px-product-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 600;
}

/* =====================================================================
   8. ABOUT — split-layout intro (text + visual)
   ===================================================================== */
.px-about-intro {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}
.px-about-intro-text .px-section-eyebrow {
    text-align: left;
    margin-bottom: 14px;
}
.px-about-intro-text h2 {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin: 0 0 22px;
    line-height: 1.2;
}
.px-about-intro-text .px-lead {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.7;
    margin: 0 0 18px;
    font-weight: 500;
}
.px-about-intro-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 24px;
}
.px-about-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.px-about-cta-row .btn-primary i { margin-left: 8px; }

.px-about-intro-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.px-about-badge {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(207, 75, 58, 0.25);
}
.px-about-badge-num {
    display: block;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.px-about-badge-num sup {
    font-size: 2rem;
    vertical-align: super;
    margin-left: 4px;
}
.px-about-badge-label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
    opacity: 0.95;
}
.px-about-rating {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.px-about-rating-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 6px;
}
.px-about-rating-num span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}
.px-about-rating .px-rating {
    margin: 8px 0 6px;
    color: rgba(0,0,0,0.15);
}
.px-about-rating-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

/* =====================================================================
   9. ABOUT — three pillars
   ===================================================================== */
.px-pillars-section {
    padding: 90px 0;
    background: var(--background-soft);
}
.px-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.px-pillar-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px 34px 34px;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.px-pillar-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.px-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.px-pillar-card:hover::after { transform: scaleX(1); }
.px-pillar-num {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.08;
    line-height: 1;
}
.px-pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 22px;
}
.px-pillar-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 0 0 12px;
}
.px-pillar-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================================
   10. ABOUT — values / mission / vision cards
   ===================================================================== */
.px-vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.px-vmv-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 36px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.px-vmv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.px-vmv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}
.px-vmv-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 0 0 12px;
}
.px-vmv-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================================
   11. ABOUT — stats counter band
   ===================================================================== */
.px-stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a2a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.px-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.08;
    pointer-events: none;
}
.px-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}
.px-stat-item {
    text-align: center;
    position: relative;
}
.px-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.px-stat-value {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}
.px-stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
}

/* =====================================================================
   12. ABOUT — leadership profile cards
   ===================================================================== */
.px-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.px-leader-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.px-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.px-leader-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.px-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.px-leader-initials {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.px-leader-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.px-leader-body h3 {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin: 0 0 4px;
}
.px-leader-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}
.px-leader-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}
.px-leader-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.px-leader-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.px-leader-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

/* =====================================================================
   13. RESPONSIVE
   ===================================================================== */
@media (max-width: 992px) {
    .px-hero-slider { height: 460px; }
    .px-hero-slide h1 { font-size: 2.2rem; }

    .px-about-intro { grid-template-columns: 1fr; gap: 40px; }
    .px-about-intro-visual { flex-direction: row; }
    .px-about-badge { padding: 30px 20px; }
    .px-about-badge-num { font-size: 3.5rem; }

    .px-pillars-grid { grid-template-columns: 1fr; gap: 20px; }
    .px-vmv-grid { grid-template-columns: 1fr; gap: 20px; }

    .px-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .px-stat-item:nth-child(2)::after { display: none; }
    .px-stat-value { font-size: 2.6rem; }
}
@media (max-width: 768px) {
    .px-hero-slider { height: 480px; }
    .px-hero-slide h1 { font-size: 1.75rem; }
    .px-hero-slide p { font-size: 1rem; }
    .px-arrow { width: 40px; height: 40px; }
    .px-arrow--prev { left: 12px; }
    .px-arrow--next { right: 12px; }

    .px-grid-section,
    .px-cases-section,
    .px-pillars-section,
    .px-testimonials { padding: 60px 0; }
    .px-section-heading h2 { font-size: 1.65rem; }
    .px-about-intro-text h2 { font-size: 1.65rem; }

    .px-testimonial-card { padding: 36px 26px 30px; }
    .px-quote { font-size: 1rem; }
    .px-quote-mark { font-size: 2rem; top: 20px; right: 24px; }
    .px-testimonial-track { min-height: 420px; }

    .px-cta-band h2 { font-size: 1.5rem; }
    .px-case-card { padding: 24px; }

    .px-about-intro-visual { flex-direction: column; }
    .px-stats-section { padding: 50px 0; }
    .px-stat-item::after { display: none !important; }
}
@media (max-width: 480px) {
    .px-cases-grid,
    .px-products-grid,
    .px-leaders-grid { grid-template-columns: 1fr; }
    .px-stats-grid { gap: 30px 16px; }
    .px-stat-value { font-size: 2.2rem; }
    .px-pillar-num { font-size: 3rem; }
}

/* =====================================================================
   9. CLIENT LOGO SCROLLER (Marquee) — Used on homepage
   ===================================================================== */
.px-clients-strip {
    padding: 60px 0 70px;
    background: var(--background-light);
    overflow: hidden;
    /* Override global section { padding: 80px 0 } subtly (we want tight spacing) */
}
.px-clients-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 30px;
}
.px-clients-marquee {
    width: 100%;
    overflow: hidden;
    /* Fade edges so logos scroll in/out softly instead of hard-cutting */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.px-clients-track {
    display: flex;
    gap: 60px;
    width: max-content;
    /* Track contains 2 copies of the logo set; animate -50% to loop seamlessly */
    animation: px-marquee 40s linear infinite;
}
.px-clients-marquee:hover .px-clients-track { animation-play-state: paused; }
@keyframes px-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.px-client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 180px;
    justify-content: center;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.px-client-logo:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.px-client-logo i { font-size: 1.5rem; color: var(--primary-color); }
.px-client-logo img { max-height: 40px; max-width: 140px; object-fit: contain; }

@media (max-width: 768px) {
    .px-clients-strip { padding: 40px 0 50px; }
    .px-clients-track { gap: 30px; animation-duration: 25s; }
    .px-client-logo { min-width: 140px; padding: 10px 16px; font-size: 0.85rem; }
}

/* =====================================================================
   10. HOMEPAGE HERO TIGHTENING
   The global "section { padding: 80px 0 }" rule applies even though
   index.php has only the hero at top. .px-hero already overrides this
   to padding:0 — no further work needed here, just re-asserting.
   ===================================================================== */
