/*
 * NHR Homepage UI v2 — H5 About + Final Conversion CTA
 * Scope: front-page.php only via nhr_homepage_assets().
 *
 * H1.2 decisions:
 * - Header remains the only global navigation surface.
 * - The duplicate post-Hero discovery dock has been removed.
 * - Homepage content now follows the same responsive container geometry used
 *   by Blog UI v2 (Tailwind .container + px-4/sm:px-6/lg:px-8).
 * - The trust strip is informational, not navigational.
 */

:root {
    --nhr-home-primary: #605DBA;
    --nhr-home-primary-light: #7b68ee;
    --nhr-home-teal: #4ECDC4;
    --nhr-home-teal-strong: #2ab5a5;
    --nhr-home-hero-bg: #0d0b21;
    --nhr-home-ink: #1e293b;
    --nhr-home-muted: #667085;
    --nhr-home-line: #e5e7ef;
    --nhr-home-surface: #f8f9fc;
}

/* Mirror Blog UI v2's Tailwind container geometry exactly while keeping the
   homepage component independent from the Blog stylesheet. */
.nhr-home-container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .nhr-home-container {
        max-width: 640px;
        padding-inline: 1.5rem;
    }
}

@media (min-width: 768px) {
    .nhr-home-container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .nhr-home-container {
        max-width: 1024px;
        padding-inline: 2rem;
    }
}

@media (min-width: 1280px) {
    .nhr-home-container { max-width: 1280px; }
}

@media (min-width: 1536px) {
    .nhr-home-container { max-width: 1536px; }
}

/* ============================================================
   H1.2 — Shared dark Hero language
============================================================ */
.nhr-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 16% 16%, rgba(96, 93, 186, .30), transparent 33%),
        radial-gradient(circle at 91% 72%, rgba(78, 205, 196, .18), transparent 30%),
        radial-gradient(circle at 72% 20%, rgba(123, 104, 238, .12), transparent 34%),
        var(--nhr-home-hero-bg);
}

.nhr-home-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .75;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 92% 86% at 50% 44%, #000 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 86% at 50% 44%, #000 25%, transparent 100%);
}

.nhr-home-hero__grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 87% 72%, rgba(42, 181, 165, .17) 0 1px, transparent 2px) 0 0 / 24px 24px,
        linear-gradient(118deg, transparent 55%, rgba(96, 93, 186, .10) 73%, rgba(78, 205, 196, .11) 100%);
    opacity: .65;
}

.nhr-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
    gap: clamp(2.25rem, 4vw, 4.5rem);
    align-items: center;
    padding-top: 9rem;
    padding-bottom: 5.5rem;
}

.nhr-home-hero__copy {
    min-width: 0;
}

.nhr-home-eyebrow {
    margin: 0 0 1.15rem;
    color: var(--nhr-home-teal);
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

html[dir="rtl"] .nhr-home-eyebrow,
.rtl .nhr-home-eyebrow {
    font-size: .9rem;
    line-height: 1.7;
    letter-spacing: 0;
    text-transform: none;
}

.nhr-home-hero h1 {
    max-width: 20ch;
    margin: 0 0 1.2rem;
    color: #fff;
    font-size: clamp(2.45rem, 3.15vw, 3.2rem);
    line-height: 1.1;
    font-weight: 870;
    letter-spacing: -.032em;
    text-wrap: balance;
}

html[dir="rtl"] .nhr-home-hero h1,
.rtl .nhr-home-hero h1 {
    max-width: 19ch;
    font-size: clamp(2.35rem, 3vw, 3.05rem);
    line-height: 1.42;
    letter-spacing: 0;
}

.nhr-home-hero__lead {
    max-width: 41rem;
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.8;
}

html[dir="rtl"] .nhr-home-hero__lead,
.rtl .nhr-home-hero__lead {
    line-height: 2;
}

.nhr-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 1.75rem;
}

.nhr-home-button {
    min-height: 3.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .72rem;
    padding: .82rem 1.35rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    font-size: .92rem;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background-color .2s ease, border-color .2s ease;
}

.nhr-home-button--primary {
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, var(--nhr-home-primary), var(--nhr-home-primary-light));
    box-shadow: 0 16px 42px -18px rgba(96, 93, 186, .80);
}

.nhr-home-button--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 20px 48px -18px rgba(96, 93, 186, .95);
}

.nhr-home-button--ghost {
    color: rgba(255, 255, 255, .92);
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .035);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.nhr-home-button--ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .075);
    transform: translateY(-2px);
}

.nhr-home-button:focus-visible {
    outline: 3px solid var(--nhr-home-teal);
    outline-offset: 3px;
}

/* The illustration stays secondary to the copy and is blended into the same
   dark surface rather than rendered as a separate card. */
.nhr-home-hero__visual {
    position: relative;
    min-width: 0;
    width: min(100%, 34rem);
    margin: 0;
    justify-self: end;
    opacity: .92;
}

html[dir="rtl"] .nhr-home-hero__visual,
.rtl .nhr-home-hero__visual {
    justify-self: start;
}

.nhr-home-hero__visual::before {
    content: "";
    position: absolute;
    inset: 15% 13% 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, .12), rgba(96, 93, 186, .13) 42%, transparent 72%);
    filter: blur(26px);
}

.nhr-home-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 51%, #000 54%, rgba(0, 0, 0, .90) 70%, transparent 95%);
    mask-image: radial-gradient(ellipse 72% 74% at 50% 51%, #000 54%, rgba(0, 0, 0, .90) 70%, transparent 95%);
    filter: saturate(.92) contrast(1.04);
}

/* ============================================================
   Immediate trust — informational strip, not navigation
============================================================ */
.nhr-home-trust {
    padding: 2.2rem 0 2.35rem;
    border-bottom: 1px solid #eef0f5;
    background: #fff;
}

.nhr-home-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.nhr-home-trust__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .6rem 1.45rem;
}

.nhr-home-trust__item:not(:last-child) {
    border-inline-end: 1px solid #e9ebf3;
}

.nhr-home-trust__icon {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--nhr-home-primary);
    background: #f1efff;
    font-size: 1rem;
}

.nhr-home-trust__item:nth-child(1) .nhr-home-trust__icon,
.nhr-home-trust__item:nth-child(3) .nhr-home-trust__icon {
    color: #087f79;
    background: #e9fbf8;
}

.nhr-home-trust__item > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.nhr-home-trust__item strong {
    color: #0f2a55;
    font-size: .84rem;
    font-weight: 820;
    line-height: 1.35;
}

.nhr-home-trust__item small {
    color: var(--nhr-home-muted);
    font-size: .72rem;
    line-height: 1.45;
}

@media (max-width: 1023px) {
    .nhr-home-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        padding-top: 8.25rem;
        padding-bottom: 4.6rem;
    }

    .nhr-home-hero__copy {
        max-width: 46rem;
    }

    .nhr-home-hero__visual,
    html[dir="rtl"] .nhr-home-hero__visual,
    .rtl .nhr-home-hero__visual {
        width: min(82vw, 25rem);
        justify-self: center;
        order: -1;
        opacity: .86;
        margin-bottom: -.45rem;
    }

    .nhr-home-hero h1,
    html[dir="rtl"] .nhr-home-hero h1,
    .rtl .nhr-home-hero h1 {
        max-width: 22ch;
    }

    .nhr-home-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .nhr-home-trust__item:nth-child(2) {
        border-inline-end: 0;
    }
}

@media (max-width: 639px) {
    .nhr-home-hero__inner {
        gap: 1.25rem;
        padding-top: 6.75rem;
        padding-bottom: 3.75rem;
    }

    .nhr-home-eyebrow {
        margin-bottom: .9rem;
    }

    .nhr-home-hero h1,
    html[dir="rtl"] .nhr-home-hero h1,
    .rtl .nhr-home-hero h1 {
        max-width: none;
        margin-bottom: 1rem;
        font-size: clamp(2rem, 9vw, 2.55rem);
    }

    .nhr-home-hero__lead {
        font-size: .98rem;
    }

    .nhr-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-top: 1.45rem;
    }

    .nhr-home-button {
        width: 100%;
        min-height: 3.35rem;
        padding: .8rem 1.2rem;
    }

    .nhr-home-hero__visual,
    html[dir="rtl"] .nhr-home-hero__visual,
    .rtl .nhr-home-hero__visual {
        width: min(92vw, 20rem);
        opacity: .78;
        margin-bottom: -.25rem;
    }

    .nhr-home-trust {
        padding: 2.25rem 0 2.15rem;
    }

    .nhr-home-trust__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nhr-home-trust__item {
        padding: .9rem .25rem;
        border-inline-end: 0 !important;
        border-bottom: 1px solid #edf0f6;
    }

    .nhr-home-trust__item:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhr-home-button { transition: none; }
}

/* ============================================================
   H2.1 — Core Focus Areas / Service-page inspired surfaces
============================================================ */
.nhr-home-focus {
    position: relative;
    overflow: hidden;
    padding: clamp(4.75rem, 6vw, 6.75rem) 0;
    background:
        radial-gradient(circle at 7% 10%, rgba(96, 93, 186, .07), transparent 26%),
        radial-gradient(circle at 92% 88%, rgba(78, 205, 196, .08), transparent 28%),
        #f8f9fc;
}

.nhr-home-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .88fr);
    gap: clamp(2rem, 5vw, 5.25rem);
    align-items: end;
    margin-bottom: 2.25rem;
}

.nhr-home-section-kicker {
    margin: 0 0 .62rem;
    color: var(--nhr-home-primary);
    font-size: .73rem;
    line-height: 1.4;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html[dir="rtl"] .nhr-home-section-kicker,
.rtl .nhr-home-section-kicker {
    font-size: .84rem;
    letter-spacing: 0;
    text-transform: none;
}

.nhr-home-section-head h2 {
    margin: 0;
    color: #10284f;
    font-size: clamp(2rem, 2.65vw, 2.85rem);
    line-height: 1.16;
    font-weight: 860;
    letter-spacing: -.026em;
}

html[dir="rtl"] .nhr-home-section-head h2,
.rtl .nhr-home-section-head h2 {
    line-height: 1.45;
    letter-spacing: 0;
}

.nhr-home-section-head > p {
    max-width: 39rem;
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.75;
}

.nhr-home-focus__grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.nhr-home-focus-card {
    --focus-accent: #6a60d8;
    --focus-accent-2: #7b68ee;
    position: relative;
    min-width: 0;
    min-height: 20.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.6rem;
    border: 1px solid #e1e5ec;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 28px -24px rgba(15, 42, 85, .28);
    isolation: isolate;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* H2.2: intentionally no decorative corner tint or internal color wash.
   The card language now follows the Implementation deliverable cards. */
.nhr-home-focus-card::before,
.nhr-home-focus-card::after {
    content: none;
}

.nhr-home-focus-card--compliance {
    --focus-accent: #2ab5a5;
    --focus-accent-2: #159e92;
}

.nhr-home-focus-card--microsoft {
    --focus-accent: #2f65bd;
    --focus-accent-2: #4387e8;
}

.nhr-home-focus-card--security {
    --focus-accent: #605DBA;
    --focus-accent-2: #7b68ee;
}

.nhr-home-focus-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--focus-accent) 28%, #e1e5ec);
    box-shadow: 0 24px 60px -34px rgba(96, 93, 186, .30);
}

.nhr-home-focus-card__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 3.25rem;
    margin-bottom: 1.15rem;
}

.nhr-home-focus-card__index {
    position: absolute;
    inset-block-start: 1.25rem;
    inset-inline-end: 1.45rem;
    color: #f0f2f6;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.05em;
    transition: color .25s ease;
}

.nhr-home-focus-card:hover .nhr-home-focus-card__index {
    color: color-mix(in srgb, var(--focus-accent) 10%, white);
}

.nhr-home-focus-card__icon {
    width: 3.15rem;
    height: 3.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: .8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--focus-accent), var(--focus-accent-2));
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--focus-accent) 58%, transparent);
    font-size: 1.05rem;
    transition: transform .25s ease;
}

.nhr-home-focus-card:hover .nhr-home-focus-card__icon {
    transform: scale(1.06);
}

.nhr-home-focus-card__content {
    flex: 1 1 auto;
}

.nhr-home-focus-card__label {
    margin: 0 0 .42rem;
    color: color-mix(in srgb, var(--focus-accent) 84%, #667085);
    font-size: .7rem;
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html[dir="rtl"] .nhr-home-focus-card__label,
.rtl .nhr-home-focus-card__label {
    font-size: .78rem;
    letter-spacing: 0;
    text-transform: none;
}

.nhr-home-focus-card h3 {
    max-width: 22rem;
    margin: 0 0 .65rem;
    color: #101828;
    font-size: clamp(1.12rem, 1.35vw, 1.34rem);
    line-height: 1.32;
    font-weight: 850;
}

html[dir="rtl"] .nhr-home-focus-card h3,
.rtl .nhr-home-focus-card h3 {
    line-height: 1.55;
}

.nhr-home-focus-card__content > p:last-of-type {
    margin: 0;
    color: #667085;
    font-size: .91rem;
    line-height: 1.72;
}

.nhr-home-focus-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.nhr-home-focus-card__chips li {
    padding: .4rem .62rem;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    color: #596579;
    background: #fff;
    font-size: .69rem;
    line-height: 1.2;
    font-weight: 720;
}

.nhr-home-focus-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.05rem;
    border-top: 1px solid #edf0f5;
    color: #34307f;
    font-size: .82rem;
    line-height: 1.35;
    font-weight: 830;
    text-decoration: none;
}

.nhr-home-focus-card__arrow {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--focus-accent);
    background: color-mix(in srgb, var(--focus-accent) 9%, white);
    transition: transform .2s ease, background .2s ease;
}

.nhr-home-focus-card__action:hover .nhr-home-focus-card__arrow {
    transform: translateX(3px);
    background: color-mix(in srgb, var(--focus-accent) 15%, white);
}

html[dir="rtl"] .nhr-home-focus-card__action:hover .nhr-home-focus-card__arrow,
.rtl .nhr-home-focus-card__action:hover .nhr-home-focus-card__arrow {
    transform: translateX(-3px);
}

/* ============================================================
   H2.2 — Implementation-style SACS-210 project flow
============================================================ */
.nhr-home-journey {
    position: relative;
    overflow: hidden;
    padding: clamp(4.9rem, 6vw, 6.8rem) 0;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 10% 0%, rgba(96, 93, 186, .24), transparent 31%),
        radial-gradient(circle at 93% 100%, rgba(78, 205, 196, .13), transparent 29%),
        linear-gradient(135deg, #0d0b21 0%, #10122f 52%, #0d1732 100%);
}

.nhr-home-journey::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image: radial-gradient(rgba(255,255,255,.38) .8px, transparent .8px);
    background-size: 30px 30px;
}

.nhr-home-journey .nhr-home-container {
    position: relative;
    z-index: 1;
}

.nhr-home-section-head--journey {
    margin-bottom: 2.05rem;
}

.nhr-home-journey .nhr-home-section-kicker {
    color: #4ECDC4;
}

.nhr-home-journey .nhr-home-section-head h2 {
    color: #fff;
}

.nhr-home-journey .nhr-home-section-head > p {
    color: #c7ccda;
}

.nhr-home-journey__rail {
    display: none;
}

.nhr-home-journey__rail-fill {
    display: none;
}

.nhr-home-journey__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.9rem, 1.4vw, 1.35rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* One continuous connector rail, matching the Implementation project flow. */
.nhr-home-journey__steps::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    inset-inline-start: 7%;
    inset-inline-end: 7%;
    height: 2px;
    z-index: 0;
    background: linear-gradient(90deg, rgba(96,93,186,.42), rgba(96,93,186,.78) 38%, rgba(78,205,196,.78) 100%);
    box-shadow: 0 0 22px rgba(78,205,196,.16);
}

.nhr-home-journey-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.nhr-home-journey-step__node {
    position: relative;
    z-index: 2;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.05rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #605DBA, #7b68ee);
    box-shadow: 0 0 0 7px rgba(96,93,186,.14), 0 12px 30px rgba(0,0,0,.22);
    font-size: .9rem;
    font-weight: 800;
}

.nhr-home-journey-step:last-child .nhr-home-journey-step__node {
    background: #2ab5a5;
    box-shadow: 0 0 0 7px rgba(42,181,165,.14), 0 12px 30px rgba(0,0,0,.22);
}

.nhr-home-journey-step__card {
    position: relative;
    flex: 1 1 auto;
    min-height: 15.8rem;
    padding: 1.55rem 1.25rem 1.35rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.15rem;
    background: rgba(255,255,255,.055);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.nhr-home-journey-step:hover .nhr-home-journey-step__card {
    transform: translateY(-4px);
    border-color: rgba(96,93,186,.45);
    background: rgba(255,255,255,.075);
}

.nhr-home-journey-step:last-child .nhr-home-journey-step__card {
    border-color: rgba(42,181,165,.30);
    background: linear-gradient(145deg, rgba(42,181,165,.10), rgba(255,255,255,.055));
}

.nhr-home-journey-step:last-child:hover .nhr-home-journey-step__card {
    border-color: rgba(42,181,165,.48);
}

.nhr-home-journey-step__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 1.6rem;
    margin-bottom: 1.05rem;
}

.nhr-home-journey-step__number {
    display: none;
}

.nhr-home-journey-step__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: .3rem .58rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: #cfd3e4;
    background: rgba(255,255,255,.055);
    font-size: .64rem;
    line-height: 1;
    font-weight: 750;
}

.nhr-home-journey-step__icon {
    width: 2.85rem;
    height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.05rem;
    border: 1px solid rgba(117,104,233,.30);
    border-radius: .8rem;
    color: #a99fff;
    background: rgba(117,104,233,.12);
    font-size: 1rem;
}

.nhr-home-journey-step:nth-child(even) .nhr-home-journey-step__icon {
    color: #67d9d1;
    border-color: rgba(78,205,196,.28);
    background: rgba(78,205,196,.09);
}

.nhr-home-journey-step:last-child .nhr-home-journey-step__icon {
    color: #7ae0d9;
    border-color: rgba(78,205,196,.34);
    background: rgba(78,205,196,.11);
}

.nhr-home-journey-step h3 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 820;
}

html[dir="rtl"] .nhr-home-journey-step h3,
.rtl .nhr-home-journey-step h3 {
    line-height: 1.65;
}

.nhr-home-journey-step p {
    margin: 0;
    color: #b9bfce;
    font-size: .82rem;
    line-height: 1.68;
}

.nhr-home-journey__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.1rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: .85rem;
    background: rgba(255,255,255,.045);
}

.nhr-home-journey__footer p {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    color: #bfc4d1;
    font-size: .79rem;
    line-height: 1.6;
}

.nhr-home-journey__footer strong {
    color: #fff;
}

.nhr-home-journey__footer-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #4ECDC4;
    background: rgba(78,205,196,.10);
}

.nhr-home-journey__footer a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    color: #fff;
    font-size: .8rem;
    font-weight: 820;
    text-decoration: none;
}

.nhr-home-journey__footer a i {
    color: #4ECDC4;
    transition: transform .2s ease;
}

.nhr-home-journey__footer a:hover i {
    transform: translateX(3px);
}

html[dir="rtl"] .nhr-home-journey__footer a:hover i,
.rtl .nhr-home-journey__footer a:hover i {
    transform: translateX(-3px);
}

@media (max-width: 1023px) {
    .nhr-home-section-head {
        grid-template-columns: 1fr;
        gap: .85rem;
        align-items: start;
    }

    .nhr-home-section-head > p {
        max-width: 44rem;
    }

    .nhr-home-focus__grid {
        grid-template-columns: 1fr;
    }

    .nhr-home-focus-card {
        min-height: 0;
    }

    .nhr-home-journey__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nhr-home-journey__steps::before {
        display: none;
    }

    .nhr-home-journey-step__card {
        min-height: 14rem;
    }

    .nhr-home-journey__footer {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .nhr-home-journey__footer a {
        justify-self: start;
    }
}

@media (max-width: 639px) {
    .nhr-home-focus,
    .nhr-home-journey {
        padding: 3.8rem 0;
    }

    .nhr-home-section-head {
        margin-bottom: 1.65rem;
    }

    .nhr-home-section-head h2 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    .nhr-home-focus-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .nhr-home-focus-card__chips {
        gap: .38rem;
    }

    .nhr-home-focus-card__chips li {
        font-size: .66rem;
    }

    .nhr-home-journey__steps {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .nhr-home-journey-step__node {
        width: 3.15rem;
        height: 3.15rem;
        margin-bottom: .85rem;
    }

    .nhr-home-journey-step__card {
        min-height: 0;
        padding: 1.2rem;
    }

    .nhr-home-journey__footer {
        padding: .95rem;
    }

    .nhr-home-journey__footer p {
        display: block;
    }

    .nhr-home-journey__footer-icon {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhr-home-focus-card,
    .nhr-home-focus-card__icon,
    .nhr-home-focus-card__index,
    .nhr-home-focus-card__arrow,
    .nhr-home-journey-step__card,
    .nhr-home-journey__footer a i {
        transition: none;
    }
}

/* ============================================================
   H3 — Selected Services / Implementation-style commercial cards
============================================================ */
.nhr-home-services {
    position: relative;
    overflow: hidden;
    padding: clamp(4.8rem, 6vw, 6.8rem) 0;
    background: #fff;
}

.nhr-home-section-head--services,
.nhr-home-section-head--tech {
    align-items: end;
}

.nhr-home-section-head__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
}

.nhr-home-section-head__side > p {
    max-width: 39rem;
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.75;
}

.nhr-home-section-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #4540a4;
    font-size: .82rem;
    line-height: 1.3;
    font-weight: 820;
    text-decoration: none;
}

.nhr-home-section-link i {
    color: var(--nhr-home-teal-strong);
    transition: transform .2s ease;
}

.nhr-home-section-link:hover i {
    transform: translateX(3px);
}

html[dir="rtl"] .nhr-home-section-link:hover i,
.rtl .nhr-home-section-link:hover i {
    transform: translateX(-3px);
}

.nhr-home-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.nhr-home-service-card {
    --service-accent: #605DBA;
    --service-accent-2: #7b68ee;
    position: relative;
    min-width: 0;
    min-height: 19.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.55rem;
    border: 1px solid #e1e5ec;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 28px -24px rgba(15, 42, 85, .24);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.nhr-home-service-card--microsoft {
    --service-accent: #2f65bd;
    --service-accent-2: #4387e8;
}

.nhr-home-service-card--cybersecurity {
    --service-accent: #605DBA;
    --service-accent-2: #7b68ee;
}

.nhr-home-service-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--service-accent) 28%, #e1e5ec);
    box-shadow: 0 24px 58px -34px rgba(96, 93, 186, .34);
}

.nhr-home-service-card__index {
    position: absolute;
    inset-block-start: 1.25rem;
    inset-inline-end: 1.4rem;
    color: #f0f2f6;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.05em;
    transition: color .25s ease;
}

.nhr-home-service-card:hover .nhr-home-service-card__index {
    color: color-mix(in srgb, var(--service-accent) 10%, white);
}

.nhr-home-service-card__top {
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
    padding-inline-end: 3.5rem;
}

.nhr-home-service-card__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    border-radius: .8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--service-accent), var(--service-accent-2));
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--service-accent) 58%, transparent);
    font-size: 1rem;
    transition: transform .25s ease;
}

.nhr-home-service-card:hover .nhr-home-service-card__icon {
    transform: scale(1.06);
}

.nhr-home-service-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .35rem .62rem;
    border: 1px solid color-mix(in srgb, var(--service-accent) 18%, #e4e7ec);
    border-radius: 999px;
    color: color-mix(in srgb, var(--service-accent) 84%, #667085);
    background: color-mix(in srgb, var(--service-accent) 4%, white);
    font-size: .67rem;
    line-height: 1;
    font-weight: 790;
}

.nhr-home-service-card__title {
    margin: 0 0 .62rem;
    color: #101828;
    font-size: 1.08rem;
    line-height: 1.42;
    font-weight: 850;
}

html[dir="rtl"] .nhr-home-service-card__title,
.rtl .nhr-home-service-card__title {
    line-height: 1.65;
}

.nhr-home-service-card__title a {
    color: inherit;
    text-decoration: none;
}

.nhr-home-service-card__title a:hover {
    color: #4540a4;
}

.nhr-home-service-card__excerpt {
    margin: 0;
    color: #667085;
    font-size: .84rem;
    line-height: 1.72;
}

.nhr-home-service-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.05rem;
    border-top: 1px solid #edf0f5;
}

.nhr-home-service-card__price {
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    color: #101828;
    font-size: .8rem;
    line-height: 1.25;
    font-weight: 820;
}

.nhr-home-service-card__price--empty {
    visibility: hidden;
}

.nhr-home-service-card__price .nhr-service-price,
.nhr-home-service-card__price .nhr-service-price-prefix,
.nhr-home-service-card__price .nhr-service-price-amount {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.nhr-home-service-card__price .nhr-riyal-symbol {
    width: .84rem;
    height: .95rem;
    margin-inline: .12rem;
    object-fit: contain;
}

.nhr-home-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    flex: 0 0 auto;
    color: #4540a4;
    font-size: .76rem;
    line-height: 1.3;
    font-weight: 820;
    text-decoration: none;
}

.nhr-home-service-card__link i {
    color: var(--service-accent);
    transition: transform .2s ease;
}

.nhr-home-service-card__link:hover i {
    transform: translateX(3px);
}

html[dir="rtl"] .nhr-home-service-card__link:hover i,
.rtl .nhr-home-service-card__link:hover i {
    transform: translateX(-3px);
}

/* ============================================================
   H3 — Technology Solutions
============================================================ */
.nhr-home-tech {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 5.5vw, 6.2rem) 0;
    border-top: 1px solid #eef0f5;
    border-bottom: 1px solid #eef0f5;
    background:
        radial-gradient(circle at 8% 16%, rgba(96,93,186,.055), transparent 24%),
        radial-gradient(circle at 92% 84%, rgba(78,205,196,.065), transparent 25%),
        #f8f9fc;
}

.nhr-home-tech__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.nhr-home-tech-card {
    position: relative;
    min-width: 0;
    min-height: 11.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    border: 1px solid #e1e5ec;
    border-radius: 1.25rem;
    color: #101828;
    background: #fff;
    box-shadow: 0 10px 28px -24px rgba(15,42,85,.22);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.nhr-home-tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96,93,186,.24);
    box-shadow: 0 22px 48px -32px rgba(96,93,186,.32);
}

.nhr-home-tech-card__logo {
    width: 100%;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: .85rem;
}

.nhr-home-tech-card__logo img {
    display: block;
    width: auto;
    max-width: 8.75rem;
    max-height: 3.1rem;
    object-fit: contain;
}

.nhr-home-tech-card__content {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    padding-inline-end: 1.5rem;
}

.nhr-home-tech-card__content strong {
    color: #10284f;
    font-size: .92rem;
    line-height: 1.3;
    font-weight: 850;
}

.nhr-home-tech-card__content small {
    color: #667085;
    font-size: .75rem;
    line-height: 1.58;
}

.nhr-home-tech-card > i {
    position: absolute;
    inset-inline-end: 1rem;
    inset-block-end: 1rem;
    color: #8b87d8;
    font-size: .72rem;
    transition: transform .2s ease;
}

.nhr-home-tech-card:hover > i {
    transform: translateX(3px);
}

html[dir="rtl"] .nhr-home-tech-card:hover > i,
.rtl .nhr-home-tech-card:hover > i {
    transform: translateX(-3px);
}

@media (max-width: 1023px) {
    .nhr-home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nhr-home-tech__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .nhr-home-services,
    .nhr-home-tech {
        padding: 3.8rem 0;
    }

    .nhr-home-section-head__side {
        gap: .65rem;
    }

    .nhr-home-services__grid,
    .nhr-home-tech__grid {
        grid-template-columns: 1fr;
    }

    .nhr-home-service-card {
        min-height: 0;
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .nhr-home-service-card__footer {
        align-items: center;
    }

    .nhr-home-tech-card {
        min-height: 0;
        border-radius: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhr-home-section-link i,
    .nhr-home-service-card,
    .nhr-home-service-card__index,
    .nhr-home-service-card__icon,
    .nhr-home-service-card__link i,
    .nhr-home-tech-card,
    .nhr-home-tech-card > i {
        transition: none;
    }
}


/* ============================================================
   H4 — Resource Center Preview + Latest Insights
   Reuses the production Resource Center v2 and Blog UI v2 card
   components. Only section rhythm/layout is owned by Homepage UI.
============================================================ */
.nhr-home-preview {
    position: relative;
    overflow: hidden;
    padding: clamp(4.75rem, 6vw, 6.5rem) 0;
}

.nhr-home-resources {
    --resource-primary: #605DBA;
    --resource-primary-strong: #514ea9;
    --resource-primary-soft: #f3f1ff;
    --resource-teal: #4ECDC4;
    --resource-navy: #0f172a;
    --resource-text: #1e293b;
    --resource-muted: #64748b;
    --resource-line: #e6e8f1;
    --resource-surface: #f8f9fc;
    background:
        radial-gradient(circle at 7% 12%, rgba(96, 93, 186, .055), transparent 24%),
        radial-gradient(circle at 94% 88%, rgba(78, 205, 196, .06), transparent 26%),
        linear-gradient(180deg, #fbfbfe 0%, #f8f9fc 100%);
}

html[dir="rtl"] .nhr-home-resources,
.rtl .nhr-home-resources {
    background:
        radial-gradient(circle at 93% 12%, rgba(96, 93, 186, .055), transparent 24%),
        radial-gradient(circle at 6% 88%, rgba(78, 205, 196, .06), transparent 26%),
        linear-gradient(180deg, #fbfbfe 0%, #f8f9fc 100%);
}

.nhr-home-insights {
    background: #fff;
}

.nhr-home-section-head--preview {
    margin-bottom: 2rem;
}

.nhr-home-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

/* The shared cards keep their archive visual language while filling the
   homepage grid consistently. */
.nhr-home-preview-grid > .nhr-resource-card,
.nhr-home-preview-grid > .nhr-post-card {
    height: 100%;
}

.nhr-home-preview-grid .nhr-resource-card__title,
.nhr-home-preview-grid .nhr-post-card__title {
    text-wrap: pretty;
}

@media (max-width: 1023px) {
    .nhr-home-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .nhr-home-preview {
        padding: 3.8rem 0;
    }

    .nhr-home-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================================
   H5 — About NHR + Final Conversion CTA
   Replaces legacy Vision 2030 / response-time marketing blocks with
   practical company positioning and a compact conversion surface.
============================================================ */
.nhr-home-about {
    position: relative;
    overflow: hidden;
    padding: clamp(4.75rem, 6vw, 6.4rem) 0;
    border-top: 1px solid #eef0f5;
    background:
        radial-gradient(circle at 8% 15%, rgba(96,93,186,.05), transparent 25%),
        radial-gradient(circle at 92% 84%, rgba(78,205,196,.06), transparent 26%),
        #f8f9fc;
}

html[dir="rtl"] .nhr-home-about,
.rtl .nhr-home-about {
    background:
        radial-gradient(circle at 92% 15%, rgba(96,93,186,.05), transparent 25%),
        radial-gradient(circle at 8% 84%, rgba(78,205,196,.06), transparent 26%),
        #f8f9fc;
}

.nhr-home-about__shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.nhr-home-about__copy h2 {
    max-width: 18ch;
    margin: 0 0 1.15rem;
    color: #10284f;
    font-size: clamp(2rem, 2.55vw, 2.75rem);
    line-height: 1.18;
    font-weight: 860;
    letter-spacing: -.026em;
    text-wrap: balance;
}

html[dir="rtl"] .nhr-home-about__copy h2,
.rtl .nhr-home-about__copy h2 {
    max-width: 19ch;
    line-height: 1.48;
    letter-spacing: 0;
}

.nhr-home-about__copy > p:not(.nhr-home-section-kicker) {
    max-width: 43rem;
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.82;
}

html[dir="rtl"] .nhr-home-about__copy > p:not(.nhr-home-section-kicker),
.rtl .nhr-home-about__copy > p:not(.nhr-home-section-kicker) {
    line-height: 2;
}

.nhr-home-about__link {
    margin-top: 1.45rem;
}

.nhr-home-about__principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.nhr-home-about-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.15rem;
    border: 1px solid #e1e5ec;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px -25px rgba(15,42,85,.25);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.nhr-home-about-item:hover {
    transform: translateY(-3px);
    border-color: rgba(96,93,186,.23);
    box-shadow: 0 20px 42px -31px rgba(96,93,186,.36);
}

.nhr-home-about-item__icon {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96,93,186,.14);
    border-radius: .85rem;
    color: #5f5ac3;
    background: #f4f2ff;
    font-size: .92rem;
}

.nhr-home-about-item:nth-child(2) .nhr-home-about-item__icon,
.nhr-home-about-item:nth-child(4) .nhr-home-about-item__icon {
    color: #138f86;
    border-color: rgba(78,205,196,.22);
    background: #ecfbf9;
}

.nhr-home-about-item > div {
    min-width: 0;
}

.nhr-home-about-item strong {
    display: block;
    margin: .02rem 0 .25rem;
    color: #10284f;
    font-size: .87rem;
    line-height: 1.35;
    font-weight: 840;
}

.nhr-home-about-item small {
    display: block;
    color: #667085;
    font-size: .75rem;
    line-height: 1.58;
}

.nhr-home-final-cta {
    position: relative;
    padding: 0 0 clamp(4.5rem, 5.5vw, 6rem);
    background: #f8f9fc;
}

.nhr-home-final-cta__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    grid-template-areas:
        "content actions"
        "topics topics";
    gap: 1.6rem 2.25rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 1.55rem;
    color: #fff;
    background:
        radial-gradient(circle at 11% 12%, rgba(96,93,186,.38), transparent 33%),
        radial-gradient(circle at 92% 86%, rgba(78,205,196,.17), transparent 30%),
        #0d0b21;
    box-shadow: 0 28px 70px -38px rgba(13,11,33,.55);
}

html[dir="rtl"] .nhr-home-final-cta__panel,
.rtl .nhr-home-final-cta__panel {
    background:
        radial-gradient(circle at 89% 12%, rgba(96,93,186,.38), transparent 33%),
        radial-gradient(circle at 8% 86%, rgba(78,205,196,.17), transparent 30%),
        #0d0b21;
}

.nhr-home-final-cta__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .45;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 92% 120% at 50% 50%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 120% at 50% 50%, #000 20%, transparent 100%);
}

.nhr-home-final-cta__content {
    grid-area: content;
    min-width: 0;
}

.nhr-home-final-cta__kicker {
    margin: 0 0 .65rem;
    color: var(--nhr-home-teal);
    font-size: .72rem;
    line-height: 1.4;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html[dir="rtl"] .nhr-home-final-cta__kicker,
.rtl .nhr-home-final-cta__kicker {
    font-size: .84rem;
    letter-spacing: 0;
    text-transform: none;
}

.nhr-home-final-cta h2 {
    max-width: 25ch;
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(1.85rem, 2.4vw, 2.65rem);
    line-height: 1.18;
    font-weight: 870;
    letter-spacing: -.028em;
    text-wrap: balance;
}

html[dir="rtl"] .nhr-home-final-cta h2,
.rtl .nhr-home-final-cta h2 {
    max-width: 27ch;
    line-height: 1.5;
    letter-spacing: 0;
}

.nhr-home-final-cta__content > p:last-child {
    max-width: 50rem;
    margin: 0;
    color: rgba(255,255,255,.63);
    font-size: .96rem;
    line-height: 1.75;
}

html[dir="rtl"] .nhr-home-final-cta__content > p:last-child,
.rtl .nhr-home-final-cta__content > p:last-child {
    line-height: 1.95;
}

.nhr-home-final-cta__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem;
}

html[dir="rtl"] .nhr-home-final-cta__actions,
.rtl .nhr-home-final-cta__actions {
    justify-content: flex-start;
}

.nhr-home-final-cta__topics {
    grid-area: topics;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.10);
}

.nhr-home-final-cta__topics span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .72rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.045);
    font-size: .7rem;
    line-height: 1.3;
    font-weight: 760;
}

.nhr-home-final-cta__topics i {
    color: var(--nhr-home-teal);
}

@media (max-width: 1023px) {
    .nhr-home-about__shell {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nhr-home-about__copy h2 {
        max-width: 24ch;
    }

    .nhr-home-final-cta__panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "actions"
            "topics";
        align-items: start;
    }

    .nhr-home-final-cta__actions,
    html[dir="rtl"] .nhr-home-final-cta__actions,
    .rtl .nhr-home-final-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 639px) {
    .nhr-home-about {
        padding: 3.8rem 0;
    }

    .nhr-home-about__principles {
        grid-template-columns: 1fr;
    }

    .nhr-home-about-item {
        border-radius: 1rem;
    }

    .nhr-home-final-cta {
        padding-bottom: 3.8rem;
    }

    .nhr-home-final-cta__panel {
        gap: 1.35rem;
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .nhr-home-final-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .nhr-home-final-cta__actions .nhr-home-button {
        width: 100%;
    }

    .nhr-home-final-cta__topics {
        align-items: stretch;
        flex-direction: column;
    }

    .nhr-home-final-cta__topics span {
        width: 100%;
        border-radius: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhr-home-about-item {
        transition: none;
    }
}
