/*
 * Multi-Cloud Services page — site-style version.
 *
 * The page is built from the solution-page sections (section-hero,
 * pillar-intro, why-zaintech rows, the dark "approach" block) inside
 * .zt-pillar-scope, so most of its look comes from section-hero-v2.css and
 * pillars-v3.css. This file only adds the pieces those sections don't have:
 * the hero eyebrow/intro copy, key figures, benefit ticks, solution logos,
 * results figures, recognition cards, the offerings table and the form modal.
 *
 * Text never goes below 16px on this page.
 * (New file name rather than editing multi-cloud-services-v2.css: CloudFront
 * caches by path and ignores ?ver=.)
 */

.ztm-main *,
.ztm-main *::before,
.ztm-main *::after,
.ztm-modal *,
.ztm-modal *::before,
.ztm-modal *::after {
    box-sizing: border-box;
}

.ztm-main {
    --ztm-navy: #201547;
    --ztm-blue: #344C98;
    --ztm-sky: #6FC7EA;
    --ztm-lime: var(--color-lime, #C3D534);
    --ztm-text: #4A4A5A;
    --ztm-line: rgba(26, 26, 46, 0.1);
    --ztm-gradient: linear-gradient(275deg, #6FC7EA, #344C98);
    overflow-x: clip;
}

/* ── Eyebrows ─────────────────────────────────────────────────────────── */

.ztm-main .ztm-eyebrow {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ztm-blue);
}

.ztm-main .ztm-eyebrow--light {
    color: var(--ztm-lime);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

/* The shared hero pins its copy to the bottom with absolute positioning; this
   hero carries more copy, so it flows normally and the section grows. */
.ztm-main .ztm-hero {
    align-items: flex-end;
    min-height: 800px;
}

.ztm-main .ztm-hero .section-hero__content {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    padding-top: 170px;
    padding-bottom: calc(var(--padding-section) + 70px);
}

.ztm-main .ztm-hero--plain .section-hero__media {
    background:
        radial-gradient(circle at 78% 18%, rgba(111, 199, 234, 0.22) 0%, rgba(5, 5, 15, 0) 42%),
        radial-gradient(circle at 12% 85%, rgba(52, 76, 152, 0.55) 0%, rgba(5, 5, 15, 0) 48%),
        linear-gradient(150deg, #0d0d2a 0%, #151245 55%, #23305B 100%);
}

.ztm-main .ztm-hero--plain .section-hero__media-overlay {
    background: linear-gradient(180deg, rgba(35, 48, 91, 0) 40%, rgba(35, 48, 91, 0.6) 100%);
}

.ztm-main .ztm-hero__eyebrow {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ztm-sky);
}

.ztm-main .ztm-hero .section-hero__title {
    max-width: 760px;
}

.ztm-main .ztm-hero .section-hero__desc {
    max-width: 680px;
    margin-bottom: 14px;
}

.ztm-main .ztm-hero__copy {
    max-width: 680px;
    margin: 0 0 32px;
    font-size: calc(17px * var(--type-scale, 1));
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.ztm-main .ztm-hero .zt__btn {
    cursor: pointer;
}

/* ── Intro: key figures + trust line ──────────────────────────────────── */

.ztm-main .ztm-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-block: 1px solid var(--ztm-line);
}

.ztm-main .ztm-stats__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 24px;
}

.ztm-main .ztm-stats__item + .ztm-stats__item {
    border-inline-start: 1px solid var(--ztm-line);
}

.ztm-main .ztm-stats__value {
    width: fit-content;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.05;
    background: var(--ztm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ztm-main .ztm-stats__label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ztm-navy);
}

.ztm-main .ztm-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin: -24px 0 0;
    padding: 0;
    list-style: none;
}

.ztm-main .ztm-trust li {
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ztm-text);
}

.ztm-main .ztm-trust li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: -17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ztm-sky);
    transform: translateY(-50%);
}

.ztm-main .ztm-trust strong {
    color: var(--ztm-navy);
}

/* ── Benefits + monitoring ────────────────────────────────────────────── */

.ztm-main .ztm-benefits__title {
    max-width: 760px;
}

.ztm-main .ztm-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ztm-main .ztm-benefit {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(40, 31, 81, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ztm-main .ztm-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(40, 31, 81, 0.1);
}

.ztm-main .ztm-benefit__text {
    font-size: calc(18px * var(--type-scale, 1));
    font-weight: 700;
    line-height: 1.4;
    color: var(--ztm-navy);
}

.ztm-main .ztm-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ztm-lime);
    color: var(--ztm-navy);
}

.ztm-main .ztm-tick svg,
.ztm-main .ztm-check svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Monitoring: one wide card, heading and answer side by side. */
.ztm-main .ztm-feature {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 32px 40px;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(40, 31, 81, 0.06);
}

.ztm-main .ztm-feature::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 5px;
    background: linear-gradient(180deg, #6FC7EA, #344C98);
}

.ztm-main .ztm-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #E9EEFE;
    color: var(--ztm-blue);
}

.ztm-main .ztm-feature__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ztm-main .ztm-feature__title {
    margin: 0;
    font-size: clamp(1.5rem * var(--type-scale, 1), 2.2vw * var(--type-scale, 1), 2rem * var(--type-scale, 1));
    font-weight: 300;
    line-height: 1.2;
    background: var(--ztm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ztm-main .ztm-feature__text {
    margin: 0;
    font-size: calc(18px * var(--type-scale, 1));
    line-height: 1.7;
    color: var(--ztm-text);
}

/* ── Challenge ────────────────────────────────────────────────────────── */

.ztm-main .ztm-challenge h3.why-zaintech__label {
    margin: 0;
}

/* ── Solution (dark approach block) ───────────────────────────────────── */

.ztm-main .ztm-solution__head {
    max-width: 860px;
}

.ztm-main .ztm-solution__head .section-title-secound {
    margin-bottom: 20px;
}

.ztm-main .ztm-solution .why-zaintech__label {
    flex-basis: 200px;
    margin: 0;
}

.ztm-main .ztm-solution__title {
    margin: 0 0 8px;
    font-size: calc(20px * var(--type-scale, 1));
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.ztm-main .ztm-solution .why-zaintech__row-desc p {
    margin: 0;
}

.ztm-main .ztm-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 420px;
    margin-top: 22px;
}

.ztm-main .ztm-logos__item,
.ztm-main .ztm-logos__text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 12px;
    border-radius: 6px;
    background: #fff;
}

/* Fixed box + contain: logos of different shapes (incl. SVGs without an
   intrinsic size) all sit at the same visual size. */
.ztm-main .ztm-logos__item img {
    display: block;
    width: 100%;
    height: 30px;
    object-fit: contain;
}

.ztm-main .ztm-logos__text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #C74634;
}

/* ── Results + recognition ────────────────────────────────────────────── */

.ztm-main .ztm-results__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 20px;
}

.ztm-main .ztm-results__impact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    padding: clamp(28px, 3vw, 40px);
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 85% 10%, rgba(111, 199, 234, 0.35) 0%, rgba(5, 5, 15, 0) 50%),
        linear-gradient(150deg, #0d0d2a 0%, #151245 50%, #23305B 100%);
}

.ztm-main .ztm-results__number {
    display: block;
    width: fit-content;
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #6FC7EA, #C3D534);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ztm-main .ztm-results__number-label {
    margin: 14px 0 0;
    font-size: calc(18px * var(--type-scale, 1));
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.ztm-main .ztm-results__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ztm-main .ztm-result {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(40, 31, 81, 0.06);
}

.ztm-main .ztm-result__value {
    display: block;
    width: fit-content;
    font-size: clamp(2.2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    background: var(--ztm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ztm-main .ztm-result__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E9EEFE;
    color: var(--ztm-blue);
}

.ztm-main .ztm-result__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ztm-main .ztm-result__label {
    margin: 0;
    font-size: calc(18px * var(--type-scale, 1));
    font-weight: 600;
    line-height: 1.45;
    color: var(--ztm-navy);
}

.ztm-main .ztm-recognition {
    margin-top: var(--padding-section);
}

.ztm-main .ztm-recognition .label-why-zaintech__list {
    margin: 0;
}

.ztm-main .ztm-recognition__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.ztm-main .ztm-recognition__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 24px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(40, 31, 81, 0.06);
}

.ztm-main .ztm-recognition__card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ztm-text);
}

.ztm-main .ztm-recognition__card p strong {
    color: var(--ztm-navy);
}

.ztm-main .ztm-recognition__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.ztm-main .ztm-recognition__logo img {
    display: block;
    max-width: 150px;
    max-height: 42px;
    object-fit: contain;
}

.ztm-main .ztm-recognition__card--minor {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    padding-block: 20px;
    text-align: start;
}

.ztm-main .ztm-recognition__card--minor .ztm-recognition__logo {
    flex: 0 0 82px;
    min-height: 30px;
}

.ztm-main .ztm-recognition__card--minor .ztm-recognition__logo img {
    max-width: 82px;
    max-height: 28px;
}

.ztm-main .ztm-recognition__wordmark {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #C74634;
}

.ztm-main .ztm-results__action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ztm-main .zt__btn {
    cursor: pointer;
}

/* ── Offerings table ──────────────────────────────────────────────────── */

.ztm-main .ztm-offerings {
    padding-bottom: calc(var(--padding-section) + 25px);
}

.ztm-main .ztm-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ztm-line);
    border-radius: 8px;
}

.ztm-main .ztm-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.ztm-main .ztm-table thead th {
    padding: 20px 24px;
    background: var(--ztm-navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.ztm-main .ztm-table thead th:first-child {
    text-align: start;
}

.ztm-main .ztm-table thead th:not(:first-child),
.ztm-main .ztm-table td {
    width: 170px;
}

.ztm-main .ztm-table tbody th,
.ztm-main .ztm-table td {
    padding: 18px 24px;
    border-top: 1px solid var(--ztm-line);
}

.ztm-main .ztm-table tbody th {
    font-size: calc(18px * var(--type-scale, 1));
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    color: var(--ztm-text);
}

.ztm-main .ztm-table td {
    text-align: center;
}

.ztm-main .ztm-table tbody tr:nth-child(even) {
    background: #F6F8FE;
}

.ztm-main .ztm-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #E9EEFE;
    color: var(--ztm-blue);
    vertical-align: middle;
}

.ztm-main .ztm-offerings__action {
    display: flex;
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.ztm-main .ztm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ztm-main .ztm-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ztm-main .ztm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Form modal ───────────────────────────────────────────────────────── */

.ztm-modal {
    width: min(760px, calc(100% - 32px));
    height: min(760px, calc(100% - 48px));
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.ztm-modal::backdrop {
    background: rgba(13, 13, 42, 0.82);
    backdrop-filter: blur(5px);
}

.ztm-modal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding-block: 0;
    padding-inline: 26px 20px;
    color: #fff;
    background: #201547;
}

.ztm-modal__bar p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.ztm-modal__bar button {
    appearance: none;
    width: 38px;
    height: 38px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: calc(27px * var(--type-scale, 1));
    line-height: 1;
    cursor: pointer;
}

.ztm-modal__loading {
    position: absolute;
    inset: 62px 0 0;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #616b7c;
}

.ztm-modal iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: calc(100% - 62px);
    background: #fff;
    border: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .ztm-main .ztm-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ztm-main .ztm-recognition__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .ztm-main .ztm-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ztm-main .ztm-stats__item:nth-child(3) {
        border-inline-start: 0;
    }

    .ztm-main .ztm-stats__item:nth-child(n + 3) {
        border-top: 1px solid var(--ztm-line);
    }

    .ztm-main .ztm-solution .why-zaintech__label {
        flex-basis: auto;
    }

    .ztm-main .ztm-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ztm-main .ztm-feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ztm-main .ztm-results__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztm-main .ztm-results__impact {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .ztm-main .ztm-hero {
        height: auto;
        min-height: 100svh;
    }

    .ztm-main .ztm-hero .section-hero__content {
        padding-top: 140px;
        padding-bottom: calc(var(--padding-section) + 50px);
    }

    .ztm-main .ztm-recognition__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Stacked, so the separator dots would hang off the start edge. */
    .ztm-main .ztm-trust {
        flex-direction: column;
        gap: 8px;
    }

    .ztm-main .ztm-trust li + li::before {
        display: none;
    }

    .ztm-main .ztm-stats__item {
        padding: 22px 16px;
    }

    .ztm-main .ztm-table {
        min-width: 0;
    }

    .ztm-main .ztm-table thead th,
    .ztm-main .ztm-table tbody th,
    .ztm-main .ztm-table td {
        padding: 14px 12px;
    }

    .ztm-main .ztm-table thead th {
        letter-spacing: 0;
    }

    .ztm-main .ztm-table thead th:not(:first-child),
    .ztm-main .ztm-table td {
        width: 92px;
    }
}

@media (max-width: 560px) {
    .ztm-main .ztm-benefits__grid,
    .ztm-main .ztm-results__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztm-main .ztm-logos {
        max-width: none;
    }

    .ztm-main .ztm-benefit {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 18px 20px;
    }

    .ztm-main .ztm-tick {
        flex: 0 0 40px;
    }
}

@media (max-width: 480px) {
    .ztm-main .ztm-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztm-main .ztm-stats__item + .ztm-stats__item {
        border-inline-start: 0;
        border-top: 1px solid var(--ztm-line);
    }
}
