/* Our Process — interactive deployment journey */

.process-page .process-hero {
    padding-bottom: 2.5rem;
}

.process-promise {
    padding: 0 0 3rem;
}

.process-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-promise-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(222, 229, 236, 0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 32px rgba(77, 93, 110, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-promise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(77, 93, 110, 0.12);
}

.process-promise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(74, 124, 155, 0.12);
    color: #4D5D6E;
}

.process-promise-icon svg {
    width: 22px;
    height: 22px;
}

.process-promise-card strong {
    font-family: mollen-bold, sans-serif;
    color: #1a232d;
    font-size: 1rem;
}

.process-promise-card span:last-child {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #6b7a88;
}

.process-journey {
    padding: 2rem 0 4rem;
}

.process-journey-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.process-journey-header h2 {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #1a232d;
    margin-bottom: 0.5rem;
}

.process-journey-header > p {
    color: #6b7a88;
    margin-bottom: 1.5rem;
}

.process-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.process-progress-track {
    width: min(100%, 320px);
    height: 6px;
    background: rgba(222, 229, 236, 0.9);
    border-radius: 999px;
    overflow: hidden;
}

.process-progress-fill {
    display: block;
    height: 100%;
    width: 16.666%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4D5D6E 0%, #4a7c9b 100%);
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-progress-label {
    font-size: 0.78rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4D5D6E;
}

.process-explorer {
    max-width: 920px;
    margin: 0 auto;
}

.process-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.process-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.4rem;
    border: 1px solid rgba(222, 229, 236, 0.95);
    border-radius: var(--btn-radius, 4px);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.process-tab:hover {
    border-color: rgba(74, 124, 155, 0.45);
    transform: translateY(-2px);
}

.process-tab.is-active {
    border-color: #4a7c9b;
    box-shadow: 0 10px 28px rgba(74, 124, 155, 0.16);
    background: linear-gradient(180deg, #fff 0%, #f4f8fb 100%);
}

.process-tab-num {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: mollen-bold, sans-serif;
    font-size: 0.75rem;
    border-radius: 50%;
    background: rgba(77, 93, 110, 0.1);
    color: #4D5D6E;
    transition: background 0.2s ease, color 0.2s ease;
}

.process-tab.is-active .process-tab-num {
    background: #4D5D6E;
    color: #fff;
}

.process-tab-label {
    font-size: 0.68rem;
    line-height: 1.2;
    color: #6b7a88;
    text-align: center;
}

.process-tab.is-active .process-tab-label {
    font-family: mollen-bold, sans-serif;
    color: #1a232d;
}

.process-explorer .process-progress {
    margin-bottom: 1.5rem;
}

.process-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(222, 229, 236, 0.95);
    border-radius: 1.25rem;
    box-shadow: 0 16px 48px rgba(77, 93, 110, 0.1);
    min-height: 320px;
}

.process-visual-panel {
    position: relative;
    min-height: 220px;
    padding: 1.5rem;
    background: linear-gradient(145deg, #f7f9fc 0%, #eef2f6 100%);
    border: 1px solid rgba(222, 229, 236, 0.95);
    border-radius: 1.25rem;
    overflow: hidden;
}

.process-visual {
    display: none;
    animation: processVisualIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.process-visual.is-active {
    display: block;
}

.process-visual[hidden] {
    display: none !important;
}

.process-visual-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
}

@keyframes processVisualIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.process-anim-pulse {
    animation: processPulse 2.2s ease-in-out infinite;
}

.process-anim-float {
    animation: processFloat 3s ease-in-out infinite;
}

.process-anim-float--d1 {
    animation-delay: 0.35s;
}

.process-anim-float--d2 {
    animation-delay: 0.7s;
}

.process-anim-wave {
    animation: processWave 2.5s ease-in-out infinite;
}

.process-anim-orbit {
    animation: processOrbit 8s linear infinite;
    transform-origin: 140px 100px;
}

.process-anim-scan {
    animation: processScan 2s ease-in-out infinite;
}

.process-anim-deploy-bar {
    animation: processDeploy 2.8s ease-in-out infinite;
}

.process-anim-typing {
    stroke-dasharray: 80;
    animation: processTyping 2.5s ease-in-out infinite;
}

@keyframes processPulse {
    0%, 100% { transform: scale(1); opacity: 0.25; }
    50% { transform: scale(1.12); opacity: 0.5; }
}

@keyframes processFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes processWave {
    0%, 100% { d: path("M55 155 Q90 140 125 155 T195 155"); }
    50% { d: path("M55 158 Q90 148 125 158 T195 158"); }
}

@keyframes processOrbit {
    to { transform: rotate(360deg); }
}

@keyframes processScan {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(28px); opacity: 0.5; }
}

@keyframes processDeploy {
    0%, 100% { width: 20px; }
    50% { width: 130px; }
}

@keyframes processTyping {
    0% { stroke-dashoffset: 80; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 80; }
}

.process-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.process-panel {
    display: none;
    animation: processPanelIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.process-panel.is-active {
    display: block;
}

.process-panel[hidden] {
    display: none !important;
}

@keyframes processPanelIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.process-step-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-family: mollen-bold, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a7c9b;
}

.process-panel h3 {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    color: #1a232d;
    margin: 0 0 0.75rem;
}

.process-panel p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #4D5D6E;
    max-width: 28rem;
}

.process-step-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(222, 229, 236, 0.95);
}

.process-step-prev:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.process-cta {
    padding-top: 1rem;
}

.process-cta-panel {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(77, 93, 110, 0.08) 0%, rgba(74, 124, 155, 0.1) 100%);
    border: 1px solid rgba(222, 229, 236, 0.95);
    border-radius: 1.25rem;
}

.process-cta-panel h2 {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #1a232d;
    margin-bottom: 0.5rem;
}

.process-cta-panel > p {
    color: #6b7a88;
    margin-bottom: 1.5rem;
}

.process-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .process-promise-grid {
        grid-template-columns: 1fr;
    }

    .process-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-stage {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .process-visual-panel {
        min-height: 160px;
    }

    .process-detail {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .process-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-tab-label {
        font-size: 0.62rem;
    }

    .process-step-nav {
        flex-direction: column;
    }

    .process-step-nav .solid-btn,
    .process-step-nav .outline-btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-visual,
    .process-panel,
    .process-progress-fill,
    .process-anim-pulse,
    .process-anim-float,
    .process-anim-wave,
    .process-anim-orbit,
    .process-anim-scan,
    .process-anim-deploy-bar,
    .process-anim-typing {
        animation: none !important;
        transition: none !important;
    }
}
