/* Nalashaa Digital — Dynamics 365 Upgrade page revamp (scoped) */
html:has(.nd-upg) {
    scroll-behavior: smooth;
    overflow-x: clip;
}

html:has(.nd-upg) body {
    overflow-x: clip;
}

.nd-upg {
    --nd-blue: #2257d3;
    --nd-blue-dark: #263b8c;
    --nd-blue-cta: #2253c8;
    --nd-blue-outline: #2b5dca;
    --nd-black: #242424;
    --nd-grey: #6b7280;
    --nd-grey-3: #364153;
    --nd-grey-text: #45556c;
    --nd-border: #d6d6d6;
    --nd-card-border: #e6ecf8;
    --nd-card-border-strong: #afceff;
    --nd-emphasis: #9dc3ff;
    --nd-light-bg: #f6f9ff;
    --nd-gradient: linear-gradient(125deg, #2257d3 0%, #263b8c 100%);
    --nd-hero-grad: linear-gradient(134deg, rgba(34, 87, 211, 0.08) 0%, rgba(128, 163, 245, 0.12) 50%, #fff 100%);
    --nd-container: 1148px;
    --nd-font-heading: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    --nd-font-body: Inter, Arial, sans-serif;
    font-family: var(--nd-font-body);
    color: var(--nd-black);
    line-height: 1.5;
    overflow: visible;
    display: block;
    width: 100%;
}

.nd-upg *,
.nd-upg *::before,
.nd-upg *::after { box-sizing: border-box; }

.nd-upg img,
.nd-upg video,
.nd-upg svg { max-width: 100%; display: block; }

.nd-upg__container {
    width: min(100% - 32px, var(--nd-container));
    margin-inline: auto;
}

.nd-upg h1,
.nd-upg h2,
.nd-upg h3,
.nd-upg h4 { font-family: var(--nd-font-heading); font-weight: 700; margin: 0; }

.nd-upg__h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--nd-black);
}

.nd-upg__h1-gradient {
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__h2 {
    font-size: clamp(28px, 3.5vw, 34px);
    line-height: 1.29;
    letter-spacing: -0.09px;
    color: var(--nd-black);
}

.nd-upg__h2--center { text-align: center; }
.nd-upg__h2--left { text-align: left; }

.nd-upg__h2 span {
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__lead {
    font-size: 18px;
    line-height: 28px;
    color: var(--nd-grey-3);
    margin: 0;
}

.nd-upg__lead strong { font-weight: 600; }
.nd-upg__lead--tight { max-width: 36em; }
.nd-upg__lead--center {
    text-align: center;
    max-width: 856px;
    margin-inline: auto;
}

.nd-upg__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__eyebrow::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 2px;
    background: var(--nd-hero-grad);
    flex-shrink: 0;
}

.nd-upg__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 13px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nd-upg__btn--primary {
    background: var(--nd-gradient);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.nd-upg__btn--primary:hover,
.nd-upg__btn--primary:focus,
.nd-upg__btn--primary:active {
    color: #fff;
    text-decoration: none;
}

.nd-upg__btn--outline {
    background: transparent;
    color: var(--nd-blue-outline);
    border: 2px solid var(--nd-blue-outline);
}

.nd-upg__btn--outline:hover,
.nd-upg__btn--outline:focus {
    color: var(--nd-blue-outline);
    text-decoration: none;
}

.nd-upg__btn--white {
    background: #fff;
    color: var(--nd-blue-cta);
}

.nd-upg__btn--white:hover,
.nd-upg__btn--white:focus {
    color: var(--nd-blue-cta);
    text-decoration: none;
}

.nd-upg__btn--sm {
    min-height: 56px;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 26px;
    box-shadow: 0 6px 16px rgba(34, 87, 211, 0.26);
}

.nd-upg__btn:hover { transform: translateY(-2px); }
.nd-upg__btn:focus-visible { outline: 2px solid var(--nd-blue); outline-offset: 2px; }

.nd-upg__text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 28px;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__text-link img {
    width: 12px;
    height: 16px;
    flex-shrink: 0;
}

.nd-upg__text-link:hover { text-decoration: none; }

.nd-upg__reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.nd-upg__reveal.is-visible {
    opacity: 1;
    transform: none;
}

.nd-upg__band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 42px;
    padding: 45px 51px;
    background: var(--nd-light-bg);
    border: 1px solid var(--nd-card-border);
    border-radius: 16px;
}

.nd-upg__band h3 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.36px;
    max-width: 555px;
}

.nd-upg__band p {
    margin: 8px 0 0;
    font-size: 17px;
    line-height: 27px;
    color: var(--nd-grey-3);
    font-weight: 400;
    font-family: var(--nd-font-body);
}

.nd-upg__band--split h3 { max-width: 660px; }

/* ------------------------------------------------------------------- Hero */
.nd-upg__hero {
    position: relative;
    background: var(--nd-hero-grad);
    overflow: hidden;
}

.nd-upg__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 24px;
    min-height: 620px;
    padding: 72px 0 40px;
}

.nd-upg__hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 664px;
    position: relative;
    z-index: 2;
}

.nd-upg__hero-copy .nd-upg__lead { max-width: 630px; }

.nd-upg__checks {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nd-upg__checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--nd-grey-3);
}

.nd-upg__checks img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nd-upg__hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    width: 100%;
}

.nd-upg__hero-actions .nd-upg__btn {
    flex: 0 1 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.nd-upg__hero-visual {
    position: relative;
    min-height: 420px;
}

.nd-upg__hero-photo {
    width: min(110%, 892px);
    height: auto;
    max-width: none;
    margin-left: auto;
    object-fit: contain;
}

.nd-upg__hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 16px 24px;
}

.nd-upg__hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.nd-upg__hero-stat-value {
    font-family: var(--nd-font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__hero-stat p {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--nd-black);
}

/* ------------------------------------------------------------------- Quotes */
.nd-upg__quotes { padding: 90px 0 72px; }

.nd-upg__quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
}

.nd-upg__quote-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 12px 21px 20px;
    background: rgba(255, 255, 255, 0.71);
    border: 1px solid #c9c9c9;
    border-radius: 16px;
    box-shadow: 1px 4px 27.1px -1px rgba(85, 85, 85, 0.1), 0 2px 24.8px -2px rgba(228, 228, 228, 0.1);
    min-height: 390px;
}

.nd-upg__quote-icon {
    width: 40px;
    height: 40px;
}

.nd-upg__quote-text {
    margin: 0;
    flex: 1;
    font-style: italic;
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-grey);
}

.nd-upg__quote-meta {
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nd-upg__quote-meta strong {
    font-size: 14px;
    font-weight: 500;
    color: var(--nd-black);
}

.nd-upg__quote-meta span {
    font-size: 12px;
    color: var(--nd-grey);
}

/* ------------------------------------------------------------------- Timeline */
.nd-upg__timeline { padding: 48px 0 80px; }

.nd-upg__timeline-head {
    display: grid;
    grid-template-columns: minmax(0, 548px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.nd-upg__timeline-intro {
    margin: 40px 0 28px;
    font-size: 18px;
    line-height: 28px;
    color: var(--nd-black);
    max-width: 780px;
}

.nd-upg__gantt {
    position: relative;
    --gantt-info: 430px;
    --gantt-gap: 16px;
    --gantt-today: 45%;
}

.nd-upg__gantt-years {
    display: grid;
    grid-template-columns: var(--gantt-info) minmax(280px, 1fr);
    align-items: center;
    gap: var(--gantt-gap);
    margin-bottom: 8px;
}

.nd-upg__gantt-years > span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.3px;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__gantt-year-list {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__gantt-body {
    position: relative;
    border-top: 1px solid var(--nd-border);
}

.nd-upg__gantt-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--gantt-info) + var(--gantt-gap));
    right: 0;
    pointer-events: none;
    z-index: 0;
}

.nd-upg__gantt-past {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--gantt-today);
    background: #f4f5f7;
}

.nd-upg__gantt-today {
    position: absolute;
    top: -28px;
    bottom: 0;
    left: calc(var(--gantt-info) + var(--gantt-gap) + (100% - var(--gantt-info) - var(--gantt-gap)) * 0.45);
    width: 2px;
    background: var(--nd-black);
    z-index: 3;
    pointer-events: none;
}

.nd-upg__gantt-today span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background: var(--nd-black);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    padding: 4px 12px 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.nd-upg__gantt-row {
    display: grid;
    grid-template-columns: var(--gantt-info) minmax(280px, 1fr);
    align-items: center;
    gap: var(--gantt-gap);
    min-height: 58px;
    border-bottom: 1px solid var(--nd-border);
    position: relative;
    z-index: 1;
}

.nd-upg__gantt-row--tall { min-height: 86px; }

.nd-upg__gantt-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.nd-upg__gantt-family {
    display: inline-flex;
    margin-top: 2px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(107, 114, 128, 0.12);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--nd-black);
    flex-shrink: 0;
}

.nd-upg__gantt-info strong {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 23px;
    color: var(--nd-black);
}

.nd-upg__gantt-info p {
    margin: 0;
    font-size: 13.5px;
    line-height: 20px;
    color: var(--nd-grey);
}

.nd-upg__gantt-track {
    position: relative;
    height: 13px;
}

.nd-upg__gantt-bar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: var(--bar, 40%);
    height: 6px;
    border-radius: 3px;
}

.nd-upg__gantt-bar::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #9ca3af;
    box-shadow: 0 0 0 2px #fff;
}

.nd-upg__gantt-bar--ended { background: rgba(29, 29, 29, 0.22); }
.nd-upg__gantt-bar--ahead { background: rgba(34, 87, 211, 0.16); }
.nd-upg__gantt-bar--ahead::after { background: #2257d3; }
.nd-upg__gantt-bar--far::after { background: #80a3f5; }

.nd-upg__gantt-legend {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--nd-black);
}

.nd-upg__gantt-legend span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.nd-upg__gantt-legend img {
    width: 12px;
    height: 12px;
}

/* ------------------------------------------------------------------- We Support */
.nd-upg__support { padding: 44px 0 72px; }

.nd-upg__support .nd-upg__lead {
    margin: 16px 0 40px;
    color: var(--nd-grey);
    max-width: 1144px;
}

.nd-upg__support-layout {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.nd-upg__support-tabs {
    display: flex;
    flex-direction: column;
}

.nd-upg__support-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 76px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1.2px solid #e5e7eb;
    background: transparent;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--nd-grey);
    cursor: pointer;
}

.nd-upg__support-tab img {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: none;
}

.nd-upg__support-tab.is-active {
    background: rgba(125, 179, 255, 0.13);
    color: #3071d3;
    font-weight: 600;
}

.nd-upg__support-tab.is-active img {
    display: block;
    transform: rotate(-30deg);
}

.nd-upg__support-panel {
    background: rgba(238, 239, 240, 0.59);
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 40px;
}

.nd-upg__support-panel[hidden] { display: none; }

.nd-upg__support-panel h3 {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 12px;
}

.nd-upg__support-panel > p {
    margin: 0 0 28px;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--nd-grey-3);
}

.nd-upg__support-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nd-upg__support-panel li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-grey-3);
}

.nd-upg__support-panel li::before {
    content: "";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #2257d3;
    background-image: url("/images/pages/services/upgrade/icon-check-white.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* ------------------------------------------------------------------- Mid CTA */
.nd-upg__mid-cta { padding: 35px 0 64px; }

.nd-upg__mid-cta-inner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    align-items: center;
    gap: 24px;
    min-height: 446px;
    padding: 72px 55px;
    background: var(--nd-blue-cta);
    border-radius: 32px;
}

.nd-upg__mid-cta-glow {
    position: absolute;
    right: -40px;
    top: -110px;
    width: 600px;
    height: 600px;
    pointer-events: none;
    opacity: 0.85;
}

.nd-upg__mid-cta-copy {
    position: relative;
    z-index: 1;
    max-width: 430px;
}

.nd-upg__mid-cta-copy h2 {
    font-size: clamp(28px, 3.2vw, 36px);
    line-height: 46px;
    letter-spacing: -0.6px;
    color: #fff;
    margin-bottom: 16px;
}

.nd-upg__mid-cta-copy p {
    margin: 0 0 32px;
    font-size: 17px;
    font-weight: 500;
    line-height: 27px;
    color: #dce6fa;
}

.nd-upg__plan-cards {
    position: relative;
    z-index: 1;
    min-height: 310px;
}

.nd-upg__plan-arrow {
    position: absolute;
    left: 78px;
    top: 18px;
    width: 132px;
    height: 50px;
    z-index: 3;
    transform: rotate(-18deg);
    pointer-events: none;
}

.nd-upg__plan-card {
    position: absolute;
    border-radius: 18px;
    padding: 22px 20px;
}

.nd-upg__plan-card span {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.nd-upg__plan-card strong {
    display: block;
    margin: 12px 0 16px;
    font-family: var(--nd-font-heading);
}

.nd-upg__plan-card i {
    display: block;
    height: 7px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.nd-upg__plan-card--today {
    left: 0;
    top: 70px;
    width: 196px;
    height: 250px;
    transform: rotate(-5deg);
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.26);
}

.nd-upg__plan-card--today span { background: rgba(255, 255, 255, 0.16); opacity: 0.9; }
.nd-upg__plan-card--today strong { color: #fff; opacity: 0.8; font-size: 15px; }
.nd-upg__plan-card--today i { background: rgba(255, 255, 255, 0.18); }
.nd-upg__plan-card--today i:nth-of-type(1) { width: 110px; }
.nd-upg__plan-card--today i:nth-of-type(2) { width: 78px; }
.nd-upg__plan-card--today i:nth-of-type(3) { width: 122px; }
.nd-upg__plan-card--today i:nth-of-type(4) { width: 90px; }

.nd-upg__plan-card--next {
    right: 8px;
    top: 0;
    width: 232px;
    height: 292px;
    transform: rotate(3deg);
    background: #fff;
    box-shadow: 0 18px 44px rgba(10, 33, 97, 0.35);
    border-radius: 20px;
}

.nd-upg__plan-card--next span { background: var(--nd-blue-cta); }
.nd-upg__plan-card--next strong { color: #0f2a6b; font-size: 20px; letter-spacing: -0.3px; margin-bottom: 4px; }
.nd-upg__plan-card--next em {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: var(--nd-blue-cta);
    opacity: 0.65;
    margin-bottom: 18px;
}
.nd-upg__plan-card--next i { background: rgba(34, 83, 200, 0.16); height: 8px; }
.nd-upg__plan-card--next i:nth-of-type(1) { width: 104px; }
.nd-upg__plan-card--next i:nth-of-type(2) { width: 148px; }
.nd-upg__plan-card--next i:nth-of-type(3) { width: 96px; }
.nd-upg__plan-card--next i:nth-of-type(4) { width: 120px; background: rgba(34, 83, 200, 0.3); }
.nd-upg__plan-card--next b {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    height: 26px;
    width: 151px;
    border-radius: 13px;
    background: var(--nd-blue-cta);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--nd-font-body);
}

/* ------------------------------------------------------------------- Process */
.nd-upg__process {
    background: var(--nd-black);
    padding: 80px 0 120px;
}

.nd-upg__process-grid {
    display: grid;
    grid-template-columns: minmax(0, 410px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.nd-upg__process-intro {
    position: sticky;
    top: 110px;
    padding-bottom: 24px;
}

.nd-upg__process-intro .nd-upg__h2 {
    color: #fff;
    margin-bottom: 24px;
}

.nd-upg__process-intro .nd-upg__h2 span {
    background: none;
    color: var(--nd-emphasis);
    -webkit-text-fill-color: var(--nd-emphasis);
}

.nd-upg__process-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    color: #ebebeb;
}

.nd-upg__process-right {
    position: relative;
    padding-left: 48px;
}

.nd-upg__process-track {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
}

.nd-upg__process-progress {
    width: 100%;
    height: 22%;
    background: var(--nd-gradient);
    border-radius: 2px;
}

.nd-upg__process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.nd-upg__process-num {
    display: block;
    font-family: var(--nd-font-heading);
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
}

.nd-upg__process-step h3 {
    margin: 8px 0 16px;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: var(--nd-grey);
}

.nd-upg__process-step ul {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--nd-grey);
    font-size: 16px;
    line-height: 24px;
}

.nd-upg__process-step.is-active .nd-upg__process-num {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}

.nd-upg__process-step.is-active h3 { color: #fff; }
.nd-upg__process-step.is-active ul { color: #ebebeb; }

/* ------------------------------------------------------------------- Case studies */
.nd-upg__cases { padding: 80px 0; }

.nd-upg__case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.nd-upg__case-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    box-shadow: 1px 3px 7.5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 462px;
}

.nd-upg__case-card:hover { text-decoration: none; color: inherit; }

.nd-upg__case-card > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.nd-upg__case-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 20px 24px;
}

.nd-upg__case-body h3 {
    font-family: var(--nd-font-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.nd-upg__case-body p {
    margin: 0;
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-grey);
}

.nd-upg__case-body span {
    margin-top: auto;
    padding-top: 24px;
    font-size: 18px;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------------------------------------------- Why now */
.nd-upg__why {
    padding: 28px 0 80px;
    background: linear-gradient(#fff, #f5f8ff);
}

.nd-upg__why .nd-upg__lead { margin: 12px auto 40px; }

.nd-upg__why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 996px;
    margin: 0 auto;
}

.nd-upg__why-card {
    background: #fff;
    border: 1px solid var(--nd-card-border-strong);
    border-radius: 14px;
    overflow: hidden;
    min-height: 249px;
}

.nd-upg__why-card header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 69px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--nd-card-border-strong);
    background: var(--nd-hero-grad);
    box-shadow: 3px 4px 28.2px rgba(121, 121, 121, 0.13);
}

.nd-upg__why-card header img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nd-upg__why-card h3 {
    font-family: var(--nd-font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #0f172b;
}

.nd-upg__why-card > p {
    margin: 0;
    padding: 24px;
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-grey-text);
}

/* ------------------------------------------------------------------- Why choose */
.nd-upg__choose { padding: 80px 0; }

.nd-upg__choose-grid {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.nd-upg__logos {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    max-width: 340px;
}

.nd-upg__logos li {
    display: flex;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid var(--nd-border);
}

.nd-upg__logos img {
    max-height: 30px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    filter: grayscale(1);
}

.nd-upg__logo-text {
    font-family: "Sora", Inter, sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.05px;
    color: #000;
}

.nd-upg__choose-list {
    display: flex;
    flex-direction: column;
}

.nd-upg__choose-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #edeff3;
}

.nd-upg__choose-item:first-child { padding-top: 0; }

.nd-upg__choose-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ebf2fe 0%, #f7f9fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nd-upg__choose-icon img {
    width: 24px;
    height: 24px;
}

.nd-upg__choose-item h3 {
    font-family: var(--nd-font-body);
    font-size: 19px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-upg__choose-item p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: #4a5565;
}

/* ------------------------------------------------------------------- What else */
.nd-upg__else { padding: 88px 0; }

.nd-upg__section-head { margin-bottom: 48px; }
.nd-upg__section-head .nd-upg__lead { margin-top: 12px; }

.nd-upg__else-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.nd-upg__else-card {
    background: #fff;
    border: 1px solid var(--nd-card-border);
    border-radius: 14px;
    box-shadow: 3px 4px 28.2px rgba(121, 121, 121, 0.13);
    padding: 27px 23px 24px;
    min-height: 291px;
    display: flex;
    flex-direction: column;
}

.nd-upg__else-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--nd-hero-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.nd-upg__else-icon img {
    width: 22px;
    height: 22px;
}

.nd-upg__else-card h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 12px;
}

.nd-upg__else-card p {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: var(--nd-grey);
}

.nd-upg__else-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    color: var(--nd-blue);
    text-decoration: none;
}

.nd-upg__else-link img {
    width: 11px;
    height: 8px;
}

.nd-upg__else-link:hover { color: var(--nd-blue-dark); text-decoration: none; }

/* ------------------------------------------------------------------- FAQ */
.nd-upg__faq {
    padding: 72px 0 80px;
    background: #eef1f8;
    position: relative;
    overflow: hidden;
}

.nd-upg__faq-deco {
    position: absolute;
    top: -80px;
    left: 0;
    width: min(50vw, 396px);
    height: auto;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}

.nd-upg__faq-deco--mask {
    top: auto;
    bottom: -100px;
    left: auto;
    right: -80px;
    opacity: 0.4;
}

.nd-upg__faq-inner {
    position: relative;
    z-index: 1;
    max-width: 862px;
    margin: 0 auto;
}

.nd-upg__faq .nd-upg__h2 {
    font-family: var(--nd-font-body);
    font-size: 32px;
    line-height: 48px;
    color: #141d38;
    letter-spacing: 0;
}

.nd-upg__faq .nd-upg__h2 span { background: none; color: inherit; }

.nd-upg__faq-list {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-top: 32px;
}

.nd-upg__faq-item {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 12px rgba(149, 157, 165, 0.2);
    overflow: hidden;
}

.nd-upg__faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    min-height: 58px;
    background: #fff;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    cursor: pointer;
}

.nd-upg__faq-q > span { flex: 1; min-width: 0; }

.nd-upg__faq-chevron {
    width: 13px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nd-upg__faq-item.is-open .nd-upg__faq-chevron { transform: rotate(180deg); }

.nd-upg__faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nd-upg__faq-item.is-open .nd-upg__faq-a { max-height: 480px; }

.nd-upg__faq-a p,
.nd-upg__faq-a ul {
    margin: 0;
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 22px;
    color: #444;
}

/* ------------------------------------------------------------------- Responsive */
@media (min-width: 821px) {
    .nd-upg__gantt-years,
    .nd-upg__gantt-body { min-width: 980px; }
}

@media (max-width: 1100px) {
    .nd-upg__hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-bottom: 24px;
    }

    .nd-upg__hero-visual { min-height: 0; order: -1; }
    .nd-upg__hero-photo { width: 100%; margin: 0 auto; }

    .nd-upg__gantt { --gantt-info: 280px; }
    .nd-upg__gantt-years,
    .nd-upg__gantt-row { grid-template-columns: var(--gantt-info) 1fr; }

    .nd-upg__mid-cta-inner { grid-template-columns: 1fr; padding: 56px 32px; }
    .nd-upg__plan-cards { min-height: 280px; }
    .nd-upg__process-grid { grid-template-columns: 1fr; }
    .nd-upg__process-intro { position: static; }
    .nd-upg__choose-grid { grid-template-columns: 1fr; gap: 32px; }
    .nd-upg__else-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .nd-upg__hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
    }
    .nd-upg__hero-actions .nd-upg__btn {
        width: auto;
        flex: 1 1 auto;
        font-size: 13px;
        line-height: 20px;
        min-height: 44px;
        padding: 10px 12px;
        white-space: nowrap;
    }
    .nd-upg__hero-stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .nd-upg__quote-grid,
    .nd-upg__why-grid,
    .nd-upg__case-grid { grid-template-columns: 1fr; }
    .nd-upg__quote-card,
    .nd-upg__case-card { min-height: 0; }

    .nd-upg__band {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 20px;
    }

    .nd-upg__timeline-head { grid-template-columns: 1fr; }
    .nd-upg__gantt-years { display: none; }
    .nd-upg__gantt-overlay,
    .nd-upg__gantt-today { display: none; }

    .nd-upg__gantt-row,
    .nd-upg__gantt-row--tall {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 14px 0;
        gap: 10px;
    }

    .nd-upg__gantt-track { height: 10px; }

    .nd-upg__support-layout { grid-template-columns: 1fr; }
    .nd-upg__support-tabs { flex-direction: row; overflow-x: auto; }
    .nd-upg__support-tab {
        min-height: 52px;
        flex: 0 0 auto;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
    }
    .nd-upg__support-tab.is-active { border-bottom-color: #3071d3; }
    .nd-upg__support-tab img {
        width: 28px;
        height: 28px;
    }
    .nd-upg__support-panel { padding: 24px; }

    .nd-upg__plan-cards { display: none; }
    .nd-upg__mid-cta-inner { min-height: 0; }
    .nd-upg__else-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .nd-upg__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nd-upg__btn { transition: none; }
    .nd-upg__btn:hover { transform: none; }
}
