/* Process Management page-specific offering styles */

.offering-hero--process {
    grid-template-columns: minmax(360px, 1.02fr) minmax(460px, 0.98fr);
    gap: 0;
    min-height: 820px;
    align-items: center;
    margin-top: -90px;
    padding: 8px max(28px, calc((100vw - 1560px) / 2 + 28px)) 40px;
    background: #efefec;
    overflow: hidden;
}

.offering-hero-left--process {
    position: relative;
    z-index: 2;
    padding: 0 54px 0 max(52px, calc((100vw - 1320px) / 2));
    align-items: center;
}

.offering-hero-content--process {
    max-width: 680px;
}

.offering-hero-title--process {
    margin: 0 0 26px;
    max-width: 8.2ch;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 400;
    color: #202020;
    text-align: left;
}

.offering-hero-subtitle--process {
    max-width: 34ch;
    margin: 0 0 36px;
    font-size: clamp(15px, 1.05vw, 20px);
    line-height: 1.42;
    color: #252525;
    text-align: left;
    white-space: normal;
}

.offering-hero-cta--process {
    gap: 16px;
    padding: 17px 28px;
    border-radius: 999px;
    background: #009fbe;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    box-shadow: none;
}

.offering-hero-cta--process span {
    font-size: 24px;
    line-height: 1;
}

.offering-hero-cta--process:hover {
    background: #00839d;
    color: #ffffff;
}

.offering-hero-right--process {
    position: relative;
    background: transparent;
    padding: 0;
    align-items: flex-end;
    justify-content: flex-end;
}

.offering-hero-right--process::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -120px;
    width: 260px;
    background: linear-gradient(to right, #efefec 0%, rgba(239, 239, 236, 0.95) 24%, rgba(239, 239, 236, 0.62) 56%, rgba(239, 239, 236, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.offering-hero-right--process::after {
    display: none;
}

.offering-hero-process-media {
    position: relative;
    width: min(100%, 820px);
    min-height: 560px;
    margin-left: auto;
    overflow: hidden;
    border-top-left-radius: 280px;
}

.offering-hero-process-media::before {
    content: "";
    position: absolute;
    inset: 58px -118px 78px -136px;
    background: #d6f4fb;
    border-top-left-radius: 390px;
    border-bottom-left-radius: 390px;
    z-index: 0;
}

.offering-hero-process-media--video-slot {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.offering-hero-process-video-slot {
    position: relative;
    width: 100%;
    min-height: 560px;
    z-index: 1;
    border-top-left-radius: 280px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(135deg, #1d2227 0%, #222a33 45%, #10151b 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.offering-hero-process-video-slot::before {
    content: "";
    position: absolute;
    inset: 28px 28px 28px 90px;
    border-top-left-radius: 228px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.offering-hero-process-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 280px;
}

.offering-process-stack-section {
    position: relative;
    overflow: hidden;
    padding-top: 88px;
    padding-bottom: 88px;
}

.offering-process-stack-section::before,
.offering-process-stack-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 169, 199, 0.2) 0%, rgba(0, 169, 199, 0) 72%);
    pointer-events: none;
}

.offering-process-stack-section::before {
    width: 320px;
    height: 320px;
    right: -120px;
    top: 200px;
}

.offering-process-stack-section::after {
    width: 280px;
    height: 280px;
    right: 40px;
    bottom: 40px;
}

.offering-process-stack-intro,
.offering-process-stack-card {
    position: relative;
    z-index: 1;
}

.offering-process-stack-intro {
    max-width: 1200px;
    margin: 0 auto 36px;
    margin-left: clamp(40px, 5vw, 80px);
    text-align: left;
}

.offering-process-stack-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: #232323;
    max-width: none;
    white-space: nowrap;
}

.offering-process-stack-subtitle {
    margin: 0;
    max-width: 860px;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.45;
    color: #595959;
}

.offering-process-stack-card {
    max-width: 1200px;
    margin: 0 auto 0 0;
    margin-left: clamp(40px, 5vw, 80px);
    padding: 26px 50px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(27, 31, 35, 0.08);
    box-shadow: 0 20px 48px rgba(17, 24, 39, 0.05);
    backdrop-filter: blur(2px);
}

.offering-process-stack-item {
    padding: 54px 0 50px;
    max-width: 900px;
    text-align: left;
}

.offering-process-stack-item + .offering-process-stack-item {
    border-top: 1px solid rgba(27, 31, 35, 0.12);
}

.offering-process-stack-item-title {
    margin: 0 0 18px;
    font-size: clamp(20px, 1.8vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #252525;
}

.offering-process-stack-item-text {
    margin: 0 0 14px;
    font-size: clamp(13px, 0.95vw, 16px);
    line-height: 1.5;
    color: #5f5f5f;
}

.offering-process-stack-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px 28px;
    border: 1.5px solid #009fbe;
    border-radius: 999px;
    color: #009fbe;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.offering-process-stack-cta span {
    font-size: 24px;
    line-height: 1;
}

.offering-process-stack-cta:hover {
    background: #009fbe;
    color: #ffffff;
    transform: translateY(-1px);
}

.offering-process-testimonial-section {
    padding-top: 104px;
    padding-bottom: 104px;
    background: #efefec;
}

.offering-process-testimonial-wrap {
    position: relative;
    max-width: 1360px;
    min-height: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.offering-process-testimonial-mark {
    position: absolute;
    font-size: clamp(220px, 22vw, 380px);
    line-height: 0.72;
    color: rgba(0, 0, 0, 0.055);
    font-family: inherit;
    pointer-events: none;
    user-select: none;
}

.offering-process-testimonial-mark--left {
    left: 80px;
    top: 8px;
}

.offering-process-testimonial-mark--right {
    right: 92px;
    bottom: -34px;
}

.offering-process-testimonial-quote {
    position: relative;
    z-index: 1;
    max-width: 1520px;
    margin: 0;
    padding: 0 110px;
    font-size: clamp(36px, 3.35vw, 58px);
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 400;
    color: #1f1f1f;
}

.offering-process-testimonial-source {
    position: relative;
    z-index: 1;
    margin: 56px 0 0;
    font-size: clamp(17px, 1.45vw, 30px);
    line-height: 1.35;
    color: #5e5e5a;
}

/* Dark mode fixes (text contrast) */
html[data-theme="dark"] .offering-hero--process {
    background: #071e24;
}

html[data-theme="dark"] .offering-hero-title--process {
    color: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark"] .offering-hero-subtitle--process {
    color: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .offering-hero-right--process::before {
    background: linear-gradient(to right, #071e24 0%, rgba(7, 30, 36, 0.95) 24%, rgba(7, 30, 36, 0.62) 56%, rgba(7, 30, 36, 0) 100%);
}

html[data-theme="dark"] .offering-hero-process-media::before {
    background: rgba(0, 169, 199, 0.12);
}

html[data-theme="dark"] .offering-process-stack-title {
    color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .offering-process-stack-subtitle {
    color: rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .offering-process-stack-card {
    background: rgba(13, 40, 48, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .offering-process-stack-item + .offering-process-stack-item {
    border-top-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .offering-process-stack-item-title {
    color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] .offering-process-stack-item-text {
    color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .offering-process-testimonial-section {
    background: #071e24;
}

html[data-theme="dark"] .offering-process-testimonial-mark {
    color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .offering-process-testimonial-quote {
    color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .offering-process-testimonial-source {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
    .offering-process-stack-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .offering-hero--process {
        min-height: auto;
        gap: 28px;
        margin-top: -60px;
        padding: 8px 20px 48px;
    }

    .offering-hero-left--process {
        padding: 8px 12px 0;
    }

    .offering-hero-title--process {
        max-width: 100%;
        font-size: clamp(34px, 5.6vw, 50px);
        margin-bottom: 18px;
    }

    .offering-hero-subtitle--process {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 16px;
        white-space: normal;
    }

    .offering-hero-right--process {
        min-height: auto;
    }

    .offering-hero-right--process::before {
        left: -70px;
        width: 180px;
    }

    .offering-hero-process-media {
        min-height: 420px;
        border-top-left-radius: 180px;
    }

    .offering-hero-process-video-slot {
        min-height: 420px;
    }

    .offering-hero-process-media::before {
        inset: 42px -70px 40px -60px;
        border-top-left-radius: 240px;
        border-bottom-left-radius: 240px;
    }

    .offering-hero-process-video-slot,
    .offering-hero-process-video {
        border-top-left-radius: 180px;
    }

    .offering-hero-process-video-slot::before {
        inset: 24px 24px 24px 60px;
        border-top-left-radius: 150px;
    }

    .offering-process-testimonial-section {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .offering-process-testimonial-wrap {
        min-height: 320px;
    }

    .offering-process-testimonial-mark--left {
        left: 20px;
        top: 18px;
    }

    .offering-process-testimonial-mark--right {
        right: 24px;
        bottom: -18px;
    }

    .offering-process-testimonial-quote {
        padding: 0 58px;
    }

    .offering-process-stack-card {
        padding: 18px 30px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .offering-process-stack-intro {
        margin-left: 20px;
        margin-right: 20px;
    }

    .offering-process-stack-title {
        font-size: clamp(22px, 3.2vw, 30px);
    }

    .offering-process-stack-subtitle {
        font-size: 15px;
    }

    .offering-process-stack-item-title {
        font-size: 24px;
    }

    .offering-process-stack-item-text {
        font-size: 14px;
    }

    .offering-process-stack-item {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .offering-hero--process {
        margin-top: -36px;
        padding: 6px 0 36px;
        gap: 16px;
    }

    .offering-hero-left--process {
        padding: 24px 20px 0;
    }

    .offering-hero-title--process {
        font-size: clamp(30px, 9vw, 40px);
        letter-spacing: -0.04em;
    }

    .offering-hero-subtitle--process {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 20px;
        white-space: normal;
    }

    .offering-hero-cta--process {
        width: auto;
        justify-content: center;
        padding: 14px 22px;
        font-size: 15px;
    }

    .offering-hero-right--process::before {
        left: -28px;
        width: 96px;
    }

    .offering-hero-process-media {
        min-height: 300px;
        width: 100%;
        border-top-left-radius: 110px;
    }

    .offering-hero-process-video-slot {
        min-height: 300px;
    }

    .offering-hero-process-media::before {
        inset: 28px -28px 24px -22px;
        border-top-left-radius: 150px;
        border-bottom-left-radius: 150px;
    }

    .offering-hero-process-video-slot,
    .offering-hero-process-video {
        border-top-left-radius: 110px;
    }

    .offering-hero-process-video-slot::before {
        inset: 18px 18px 18px 32px;
        border-top-left-radius: 92px;
    }

    .offering-process-stack-title {
        max-width: none;
        font-size: 24px;
    }

    .offering-process-testimonial-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .offering-process-testimonial-wrap {
        min-height: auto;
    }

    .offering-process-testimonial-mark {
        font-size: 180px;
    }

    .offering-process-testimonial-mark--left {
        left: -8px;
        top: -8px;
    }

    .offering-process-testimonial-mark--right {
        right: -4px;
        bottom: -40px;
    }

    .offering-process-testimonial-quote {
        padding: 0 18px;
        font-size: clamp(28px, 7.6vw, 38px);
        line-height: 1.2;
    }

    .offering-process-testimonial-source {
        margin-top: 34px;
        font-size: 18px;
    }

    .offering-process-stack-subtitle {
        font-size: 14px;
    }

    .offering-process-stack-card {
        padding: 10px 22px;
        margin-left: 14px;
        margin-right: 14px;
    }

    .offering-process-stack-intro {
        margin-left: 14px;
        margin-right: 14px;
    }

    .offering-process-stack-item {
        padding: 30px 0;
    }

    .offering-process-stack-item-title {
        font-size: 21px;
    }

    .offering-process-stack-item-text {
        font-size: 13px;
    }

    .offering-process-stack-cta {
        padding: 14px 24px;
        font-size: 15px;
    }
}
