/*
 * ==========================================================================
 * #PAGE: Website Redesign — ZHM-X v5.0.1
 * ==========================================================================
 *
 * ONLY layout, positioning, and page-specific context.
 * All colors, fonts, sizes, shadows → _canonical-ui.css
 */

/* ═══════════════════════════════════════════════════════════════════════
   1. PAGE WRAPPER & UTILITIES
   ═══════════════════════════════════════════════════════════════════════ */

.sc-redesign-page-wrapper {
    background-color: var(--comp-surface-base);
}

.sc-redesign-page-wrapper .sc-container {
    max-width: 1200px;
    margin: var(--sys-spacing-lg) auto;
    padding: 0 var(--sys-spacing-lg);
}

/* ═══════════════════════════════════════════════════════════════════════
   2. HORIZONTAL CARDS — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sc-redesign-page-wrapper .sc-h-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sys-spacing-xl);
    margin: 0 auto;
}

.sc-redesign-page-wrapper .sc-h-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.sc-redesign-page-wrapper .sc-h-card .sc-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sc-redesign-page-wrapper .sc-h-card .sc-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: var(--sys-spacing-xl);
}

.sc-redesign-page-wrapper .sc-h-card .sc-content p {
    flex-grow: 1;
    margin-bottom: var(--sys-spacing-xl);
}

/* ═══════════════════════════════════════════════════════════════════════
   3. TESTIMONIALS — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.testimonials-section-strategic {
    max-width: 1400px;
    margin: var(--sys-spacing-3xl) 0;
    padding: var(--sys-spacing-2xl) 0;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. PROCESS — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.section#process {
    padding: 0;
    overflow: hidden;
}

.section#process .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sys-spacing-md);
}

.process__step {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sys-spacing-xl);
    position: relative;
    padding-top: var(--sys-spacing-lg);
}

.process__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process__item::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--sys-color-neutral-200);
    z-index: 1;
}

.process__item:last-child::after {
    display: none;
}

.process__content {
    height: 100%;
    width: 100%;
}

.process__content p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. STRATEGIC SERVICE CARDS — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sp-container {
    margin: calc(-1 * var(--sys-spacing-xl));
    padding: var(--sys-spacing-sm);
}

.sp-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--sys-spacing-md);
}

/* ═══════════════════════════════════════════════════════════════════════
   6. FOOTER CTA — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sc-nic-footer {
    padding: var(--sys-spacing-3xl) var(--sys-spacing-lg);
    text-align: center;
}

.sc-nic-cta-text {
    max-width: 600px;
    margin: 0 auto var(--sys-spacing-xl);
}

.sc-nic-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sys-spacing-md);
}

/* ═══════════════════════════════════════════════════════════════════════
   7. PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════ */

@media print {
    #sc-wwdp-invoice-template {
        display: block !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        overflow: visible !important;
        height: auto !important;
    }

    html,
    body {
        height: auto !important;
        overflow: visible !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   8. RESPONSIVE — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .sc-redesign-page-wrapper .sc-h-card {
        flex-direction: row;
    }

    .sc-redesign-page-wrapper .sc-h-card .sc-img {
        flex-shrink: 0;
        width: 300px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .process__step {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sys-spacing-2xl);
    }

    .process__item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .sp-grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .process__step {
        grid-template-columns: 1fr;
        gap: var(--sys-spacing-xl);
    }

    .process__item {
        flex-direction: row;
        align-items: flex-start;
        text-align: right;
    }

    .process__number {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        /*font-size: var(--size-body);*/
        margin-bottom: 0;
        margin-left: var(--sys-spacing-md);
        flex-shrink: 0;
    }

    .process__content {
        width: 100%;
        padding: var(--sys-spacing-lg);
    }
}

@media (max-width: 480px) {
    .sc-redesign-page-wrapper .sc-container {
        margin-top: 0;
    }

    .sp-grid-4 {
        grid-template-columns: 1fr;
    }
}