.visa-story-hero {
    position: relative;
    padding: 5.25rem 0 0;
}

.visa-story-hero .breadcrumb {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.visa-story-hero .breadcrumb a,
.visa-story-hero .breadcrumb span {
    color: inherit;
}

.visa-story-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
    align-items: stretch;
    min-height: 37.5rem;
    overflow: hidden;
    border: 1px solid rgba(13, 22, 52, 0.14);
    border-radius: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    box-shadow: 0 30px 80px rgba(8, 18, 45, 0.16);
}

.visa-story-hero__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(6, 17, 48, 0.98) 0%, rgba(12, 32, 84, 0.94) 100%);
    color: #fff;
}

.visa-story-hero__copy .eyebrow {
    width: max-content;
    color: #fff;
    background: rgba(185, 12, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
}

.visa-story-hero__copy h1 {
    margin: 0.95rem 0 1rem;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.visa-story-hero__copy h1 em {
    color: #ffc9d0;
    font-style: normal;
}

.visa-story-hero__copy p {
    max-width: 31rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.8;
}

.visa-story-hero__copy .button-row {
    margin-top: 1.75rem;
}

.visa-story-hero .hero-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.visa-story-hero__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.visa-story-hero__facts article {
    padding: 0;
    background: transparent;
    border: 0;
}

.visa-story-hero__facts span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.visa-story-hero__facts strong {
    display: block;
    margin-top: 0.35rem;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.45;
}

.visa-story-hero__visual {
    position: relative;
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(6, 17, 48, 0.14) 0%, rgba(6, 17, 48, 0.48) 100%),
        var(--hero-visa-image);
    background-position: center;
    background-size: cover;
}

.visa-story-hero__overlay-card {
    position: absolute;
    right: 1.75rem;
    bottom: 1.75rem;
    width: min(23rem, calc(100% - 3.5rem));
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    background: rgba(10, 16, 33, 0.84);
    backdrop-filter: blur(14px);
    color: #fff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.visa-story-hero__overlay-card span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.visa-story-hero__overlay-card strong {
    display: block;
    margin: 0.55rem 0 0.85rem;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.visa-story-hero__overlay-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.75;
}

.visa-story-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.visa-journey-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #e4e6ec;
}

.visa-journey-nav a {
    display: grid;
    grid-template-areas:
        "number title"
        "description description";
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-rows: minmax(2.75rem, auto) 1fr;
    column-gap: 0.8rem;
    row-gap: 1rem;
    align-items: start;
    min-height: 8.75rem;
    padding: 1rem;
    border: 1px solid #e3e7ef;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 31, 66, 0.04);
    color: #475066;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.visa-journey-nav a.is-locked {
    opacity: 0.82;
}

.visa-journey-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(16, 31, 66, 0.08);
}

.visa-journey-nav a:nth-child(1) {
    background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}

.visa-journey-nav a:nth-child(2) {
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.visa-journey-nav a:nth-child(3) {
    background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.visa-journey-nav a:nth-child(4) {
    background: linear-gradient(180deg, #fcf9ff 0%, #ffffff 100%);
}

.visa-journey-nav span {
    grid-area: number;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #edf0f5;
    color: #233150;
    font-size: 0.72rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.visa-journey-nav strong {
    grid-area: title;
    align-self: center;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 2rem;
    margin: 0;
    color: #0f1f42;
    font-size: 0.9rem;
    line-height: 1.3;
    max-width: none;
    text-wrap: balance;
}

.visa-journey-nav small {
    grid-area: description;
    align-self: end;
    display: block;
    width: 100%;
    color: #687285;
    font-size: 0.75rem;
    line-height: 1.45;
}

.visa-journey-nav a.is-active {
    border-color: #00113a;
    background: linear-gradient(135deg, #00113a 0%, #132a67 100%);
    box-shadow: 0 22px 42px rgba(0, 17, 58, 0.18);
}

.visa-journey-nav a.is-active span {
    background: #ffffff;
    color: #00113a;
    transform: scale(1.04);
}

.visa-journey-nav a.is-active strong,
.visa-journey-nav a.is-active small {
    color: #ffffff;
}

.visa-story-overview .visa-story-article,
.visa-screening-form,
.visa-assessment-board,
.visa-pricing-layout .result-card,
.visa-contact-grid .result-card,
.visa-contact-form {
    border: 1px solid #dde2ea;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21, 33, 67, 0.06);
}

.visa-story-overview .visa-story-article {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.visa-story-article__head {
    max-width: 48rem;
    margin: 0 auto 2rem;
    text-align: left;
}

.story-kicker {
    display: inline-flex;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #c31a2b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.visa-story-article__head h2 {
    margin: 0.85rem 0 0.8rem;
    color: #112148;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.visa-story-article__head p {
    margin: 0;
    color: #6a7280;
    font-size: 0.95rem;
    line-height: 1.8;
}

.visa-story-article__content {
    max-width: 55rem;
    margin: 0 auto;
    color: #404756;
}

.visa-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 21rem);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}

.visa-overview-layout .visa-story-article {
    min-width: 0;
}

.visa-overview-layout .visa-story-article__head,
.visa-overview-layout .visa-story-article__content {
    max-width: none;
    margin-inline: 0;
}

.visa-overview-sidebar {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 1.25rem;
}

.visa-overview-services,
.visa-overview-ad {
    border: 1px solid #dfe4ec;
    border-radius: 1.5rem;
    background: #fff;
}

.visa-overview-services {
    padding: 1.5rem;
}

.visa-overview-services h3 {
    margin: 0.75rem 0 0.65rem;
    color: #112148;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.visa-overview-services > p {
    margin: 0;
    color: #6a7280;
    font-size: 0.78rem;
    line-height: 1.7;
}

.visa-overview-services nav {
    display: grid;
    margin-top: 1.15rem;
    border-top: 1px solid #e8ebf0;
}

.visa-overview-services nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e8ebf0;
    color: #273655;
}

.visa-overview-services nav a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.visa-overview-services nav span,
.visa-overview-services nav b,
.visa-overview-services nav small {
    display: block;
}

.visa-overview-services nav b {
    font-size: 0.84rem;
    line-height: 1.35;
}

.visa-overview-services nav small {
    margin-top: 0.35rem;
    color: #7a8290;
    font-size: 0.68rem;
    line-height: 1.5;
}

.visa-overview-services nav i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f0f3f8;
    color: #112148;
    font-style: normal;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.visa-overview-services nav a:hover i {
    background: #112148;
    color: #fff;
    transform: translateX(2px);
}

.visa-overview-ad {
    display: flex;
    min-height: 14rem;
    margin: 0;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(145deg, rgba(17, 33, 72, 0.04), rgba(195, 26, 43, 0.08)),
        #f7f8fb;
}

.visa-overview-ad::before {
    position: absolute;
    top: -4rem;
    right: -3rem;
    width: 10rem;
    height: 10rem;
    border: 1.5rem solid rgba(17, 33, 72, 0.05);
    border-radius: 50%;
    content: "";
}

.visa-overview-ad small,
.visa-overview-ad strong,
.visa-overview-ad p {
    position: relative;
    z-index: 1;
}

.visa-overview-ad small {
    color: #9b2332;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.visa-overview-ad strong {
    margin-top: 0.65rem;
    color: #112148;
    font-size: 1rem;
    line-height: 1.4;
}

.visa-overview-ad p {
    margin: 0.55rem 0 0;
    color: #707887;
    font-size: 0.7rem;
    line-height: 1.65;
}

.detail-tabs-shell {
    margin-top: 1rem;
    margin-bottom: 0;
}

.detail-tabs-shell.detail-tabs-wrap {
    overflow: visible;
    padding-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.detail-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: stretch;
    overflow: hidden;
    margin: 0;
    padding: 0.5rem;
    position: relative;
    border: 1px solid #e1e5ee;
    border-radius: 1.5rem;
    background: rgba(241, 244, 250, 0.86);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(16, 31, 66, 0.07);
}

.detail-tabs__indicator {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    height: calc(100% - 1rem);
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #00113a 0%, #243f88 100%);
    box-shadow: 0 12px 24px rgba(0, 17, 58, 0.18);
    transition:
        left 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.detail-tabs__indicator::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
}

.detail-tabs button {
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.8rem 0.75rem;
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    color: #576174;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.2;
    text-align: center;
}

.detail-tabs button:hover {
    color: #233150;
    transform: translateY(-1px);
}

.detail-tabs button:not(.active):hover {
    background: rgba(255, 255, 255, 0.28);
    color: #233150;
}

.detail-tabs button.active {
    color: #fff;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.detail-tab-panels {
    position: relative;
    padding-top: 0.25rem;
}

.detail-tab-panel {
    scroll-margin-top: 8rem;
    animation: detailPanelIn 0.28s ease;
}

.detail-tab-panel.section {
    padding-top: 4rem;
}

.detail-tab-panel .visa-story-article__head {
    margin-bottom: 1.35rem;
}

@keyframes detailPanelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visa-story-article__content h2,
.visa-story-article__content h3,
.visa-story-article__content h4 {
    color: #112148;
}

.visa-story-article__content p,
.visa-story-article__content li {
    color: #4f5766;
}

.visa-story-article__content blockquote {
    border-left: 4px solid #c31a2b;
    background: #f4f7fb;
    color: #37404f;
}

.visa-story-screening {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, transparent 0%, #f3f5f9 0%, #f3f5f9 100%);
}

.visa-screening-layout {
    display: grid;
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.visa-story-sidehead {
    position: sticky;
    top: 6rem;
    display: block;
    gap: 0;
}

.visa-story-sidehead h2,
.visa-story-documents .heading h2,
.visa-story-pricing .heading h2,
.visa-story-connect .heading h2,
.visa-story-related .heading h2 {
    margin-top: 0.75rem;
    color: #102048;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.visa-story-sidehead h2 em,
.visa-story-documents .heading h2 em,
.visa-story-pricing .heading h2 em,
.visa-story-connect .heading h2 em,
.visa-story-related .heading h2 em {
    color: #102048;
    font-style: normal;
}

.visa-story-sidehead p,
.visa-story-documents .heading p,
.visa-story-pricing .heading p,
.visa-story-connect .heading p,
.visa-story-related .heading p {
    color: #6c7484;
    font-size: 0.92rem;
    line-height: 1.8;
}

.visa-screening-form {
    padding: 1.75rem;
}

.visa-screening-wizard__progress {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    overflow-x: auto;
}

.visa-screening-wizard__progress button {
    position: relative;
    flex: 1 0 0;
    min-width: 13rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 0;
    border-bottom: 2px solid #dde2ea;
    border-radius: 0;
    background: transparent;
    color: #6a7280;
    font-weight: 700;
    text-align: left;
}

.visa-screening-wizard__progress button:not(.is-active):hover {
    color: #233150;
    border-color: #ccd5e3;
}

.visa-screening-wizard__progress button span {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #edf0f5;
    color: #31405f;
    font-size: 0.75rem;
}

.visa-screening-wizard__progress button.is-active {
    border-color: #b90c1e;
    color: #0f1f42;
    box-shadow: none;
}

.visa-screening-wizard__progress button.is-complete {
    border-color: #89b39e;
    color: #1f5c3c;
}

.visa-screening-wizard__progress button.is-active span {
    background: #00113a;
    color: #fff;
}

.visa-screening-wizard__progress button.is-complete span {
    background: #1f5c3c;
    color: #fff;
}

.visa-screening-wizard__panel {
    display: grid;
    gap: 1.1rem;
}

.visa-screening-wizard__panel[hidden] {
    display: none !important;
}

.visa-screening-form__grid,
.visa-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.visa-screening-form__grid .full,
.visa-contact-form__grid .full {
    grid-column: 1 / -1;
}

.visa-screening-form label,
.visa-contact-form label,
.filters label {
    display: grid;
    gap: 0.5rem;
    color: #112148;
    font-size: 0.88rem;
    font-weight: 700;
}

.visa-screening-form input,
.visa-screening-form select,
.visa-screening-form textarea,
.visa-contact-form input,
.visa-contact-form select,
.visa-contact-form textarea,
.filters select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #d9dfe8;
    border-radius: 0.95rem;
    background: #fff;
    color: #24314d;
    font-size: 0.92rem;
}

.visa-screening-form textarea,
.visa-contact-form textarea {
    resize: vertical;
}

.visa-screening-form input:focus,
.visa-screening-form select:focus,
.visa-screening-form textarea:focus,
.visa-contact-form input:focus,
.visa-contact-form select:focus,
.visa-contact-form textarea:focus,
.filters select:focus {
    outline: 0;
    border-color: #435b9f;
    box-shadow: 0 0 0 3px rgba(67, 91, 159, 0.12);
}

.visa-screening-insight {
    justify-content: center;
    padding: 1.1rem 1.2rem;
    border: 1px solid #e4e8f0;
    border-radius: 1rem;
    background: #f7f9fc;
    color: #485263;
}

.visa-screening-insight--warm {
    border-color: #f0d9de;
    background: #fff5f7;
    color: #6b4350;
}

.visa-screening-insight strong {
    color: #0f1f42;
}

.visa-screening-wizard__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 0.4rem;
}

.visa-screening-wizard__hint {
    max-width: 36rem;
    color: #6d7483;
    font-size: 0.88rem;
    line-height: 1.7;
}

.visa-assessment-processing {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(3, 12, 34, 0.72);
    backdrop-filter: blur(10px);
}

.visa-assessment-processing[hidden],
.visa-assessment-processing [hidden] {
    display: none !important;
}

.visa-assessment-processing__card {
    width: min(100%, 34rem);
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.75rem;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 8, 30, 0.34);
    color: #112148;
    text-align: center;
}

.visa-assessment-processing__spinner {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1.25rem;
    border: 4px solid #e5eaf3;
    border-top-color: #cc0d2b;
    border-radius: 50%;
    animation: assessmentSpinner 0.8s linear infinite;
}

.visa-assessment-processing__card > span {
    color: #c31a2b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.visa-assessment-processing__card h3 {
    margin: 0.75rem 0 0.65rem;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    line-height: 1.35;
}

.visa-assessment-processing__card p {
    max-width: 27rem;
    margin: 0 auto;
    color: #687285;
    font-size: 0.88rem;
    line-height: 1.7;
}

.visa-assessment-processing__track {
    height: 0.4rem;
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0f5;
}

.visa-assessment-processing__track i {
    display: block;
    width: 18%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cc0d2b 0%, #243f88 100%);
    animation: assessmentProgress 1.8s ease-in-out forwards;
}

.visa-assessment-processing__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.visa-assessment-processing__steps b {
    color: #9aa2b0;
    font-size: 0.68rem;
    line-height: 1.4;
}

.visa-assessment-processing__steps b.is-active {
    color: #112148;
}

.visa-assessment-processing__card > .btn {
    margin: 1.25rem auto 0;
}

.visa-assessment-processing.is-error .visa-assessment-processing__spinner {
    border-color: #f1c7ce;
    border-top-color: #cc0d2b;
    animation: none;
}

.visa-assessment-processing.is-error .visa-assessment-processing__track i {
    width: 100%;
    background: #cc0d2b;
    animation: none;
}

.visa-assessment-board {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #0a183a 0%, #15274f 100%);
    color: #fff;
    scroll-margin-top: 7rem;
}

.visa-assessment-board__summary {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
}

.visa-assessment-board__score {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.visa-assessment-board__score strong {
    display: block;
    font-size: 2.8rem;
    line-height: 1;
}

.visa-assessment-board__score span,
.visa-assessment-board__summary p {
    color: rgba(255, 255, 255, 0.76);
}

.visa-assessment-board__summary h3 {
    margin: 0.4rem 0 0.55rem;
    font-size: 1.9rem;
    line-height: 1.1;
}

.visa-assessment-board__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.visa-assessment-board .result-card {
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
}

.visa-assessment-board .result-card h3 {
    color: #0f1f42;
}

.visa-assessment-board .result-card p,
.visa-assessment-board .result-card li {
    color: #5a6170;
}

.visa-assessment-board__alt {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #fff5d8;
    color: #7b5500;
}

.visa-assessment-board .result-actions {
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.visa-assessment-board .result-actions .btn {
    min-height: 3rem;
}

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

@keyframes assessmentProgress {
    0% {
        width: 18%;
    }

    55% {
        width: 68%;
    }

    100% {
        width: 92%;
    }
}

.visa-story-documents,
.visa-story-pricing,
.visa-story-related {
    padding-top: 4.25rem;
}

.visa-story-documents .heading,
.visa-story-pricing .heading,
.visa-story-related .heading {
    max-width: none;
}

.detail-profile-switcher {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.detail-profile-switcher button {
    padding: 0.75rem 1rem;
    border: 1px solid #dde2ea;
    border-radius: 999px;
    background: #fff;
    color: #4c5668;
    font-size: 0.78rem;
    font-weight: 700;
}

.detail-profile-switcher button.active {
    background: #00113a;
    border-color: #00113a;
    color: #fff;
}

.detail-document-row-stream {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem 0;
    border-top: 1px solid #e8ebf1;
    border-bottom: 0;
}

.detail-document-row-stream:last-child {
    border-bottom: 1px solid #e8ebf1;
}

.detail-document-row-empty {
    padding: 1.5rem;
    border: 1px dashed #d8dee8;
    border-radius: 1.25rem;
    background: #fff;
}

.detail-document-lock-card {
    padding: 1.5rem;
    border-style: dashed;
    border-color: #d7dde8;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.detail-document-lock-card h3 {
    margin-top: 0;
    color: #102048;
}

.detail-document-index {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: #f2f4f8;
    color: #233150;
    font-size: 0.78rem;
    font-weight: 800;
}

.detail-document-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.detail-document-head strong {
    color: #102048;
    font-size: 1rem;
}

.detail-document-main p {
    margin: 0.45rem 0 0;
    color: #677081;
    font-size: 0.9rem;
    line-height: 1.7;
}

.detail-document-state {
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-document-state.required {
    background: #fff1f3;
    color: #b90c1e;
}

.detail-document-state.optional {
    background: #eef7f2;
    color: #2a7b53;
}

.detail-document-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.detail-document-tags span {
    padding: 0.38rem 0.7rem;
    border: 1px solid #dbe1ea;
    border-radius: 999px;
    background: #f8fafc;
    color: #556074;
    font-size: 0.68rem;
    font-weight: 700;
}

.detail-document-aside-inline {
    justify-items: end;
    align-self: center;
}

.requirement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.detail-preview-panel {
    border-left: 1px solid #dde2ea;
}

.visa-pricing-layout,
.visa-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.visa-pricing-layout .result-card,
.visa-contact-grid .result-card,
.visa-contact-form {
    padding: 1.5rem;
}

.visa-pricing-layout .result-card h3,
.visa-contact-grid .result-card h3,
.visa-contact-form h3 {
    margin-top: 0;
    color: #112148;
}

.detail-embedded-filter {
    display: grid;
    gap: 0.9rem;
}

.detail-price-sheet {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e0e5ee;
    border-radius: 1.2rem;
    background: #f9fbfd;
}

.price-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.price-head span {
    display: block;
    color: #6c7484;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-head strong {
    display: block;
    margin-top: 0.45rem;
    color: #b90c1e;
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

#detailSaleBadge {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #fff1f3;
    color: #b90c1e;
    font-size: 0.68rem;
    font-weight: 800;
}

#detailPriceLines {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #627086;
    font-size: 0.88rem;
}

.price-line b {
    color: #102048;
}

.warning {
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #f0d8a4;
    border-radius: 0.95rem;
    background: #fff9eb;
    color: #8f6c1c;
    font-size: 0.8rem;
    line-height: 1.65;
}

.center-card-stream {
    padding: 1rem 0;
    border-top: 1px solid #e8ebf1;
}

.center-card-stream:first-child {
    padding-top: 0;
    border-top: 0;
}

.center-card-stream:last-child {
    padding-bottom: 0;
}

.center-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.center-card-top strong {
    color: #102048;
}

.center-card-top span,
.center-card-stream p {
    color: #6c7484;
    font-size: 0.88rem;
    line-height: 1.7;
}

.center-card-top b {
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #4c5668;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.jurisdiction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.jurisdiction-tags span {
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    background: #f5f7fb;
    color: #556074;
    font-size: 0.7rem;
    font-weight: 700;
}

.visa-story-connect {
    padding-top: 4.25rem;
}

.form-success-card {
    margin-bottom: 1.25rem;
}

.visa-contact-grid .result-card,
.visa-contact-form {
    background: #fff;
}

.visa-channel-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.form-helper {
    color: rgba(17, 33, 72, 0.78);
    font-size: 0.92rem;
    line-height: 1.8;
}

.visa-ai-lane-card {
    margin-top: 1.2rem;
    padding: 1rem 1.05rem;
    border: 1px solid #e4e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.story-checklist {
    display: grid;
    gap: 0.75rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    color: #5c6779;
}

.story-checklist li {
    position: relative;
    padding-left: 1.3rem;
    line-height: 1.7;
}

.story-checklist li::before {
    content: "";
    position: absolute;
    left: 0.05rem;
    top: 0.58rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #b90c1e;
}

.visa-contact-options {
    margin: 1.25rem 0;
}

.visa-contact-options strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #112148;
}

.visa-contact-options__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.visa-radio-card {
    position: relative;
    display: block;
}

.visa-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.visa-radio-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid #dbe1ea;
    border-radius: 1rem;
    background: #fff;
    color: #4d5668;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.visa-radio-card input:checked + span {
    border-color: #00113a;
    background: #f2f5fb;
    color: #00113a;
    box-shadow: inset 0 0 0 1px #00113a;
}

.visa-contact-success__ai,
.visa-contact-success__portal {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
}

.visa-contact-success__ai {
    background: #f5f7fb;
    color: #39445b;
}

.visa-contact-success__portal {
    background: #eef7f2;
    color: #24553b;
}

.visa-story-related .visa-grid-rich {
    gap: 1.3rem;
}

.visa-story-related .visa-card-rich {
    min-height: 100%;
    border-radius: 1.6rem;
    border-color: #dfe4ec;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21, 33, 67, 0.06);
}

.visa-story-related .visa-card-media {
    min-height: 12.5rem;
    border-radius: 1.6rem 1.6rem 0 0;
}

.visa-story-related .visa-card-backdrop {
    background: linear-gradient(180deg, rgba(6, 17, 48, 0.08) 0%, rgba(6, 17, 48, 0.48) 100%);
}

.visa-story-related .visa-card-glass {
    gap: 0.7rem;
    border-top-color: #e6eaf1;
    border-radius: 0 0 1.6rem 1.6rem;
    background: #fff;
}

.visa-story-related .visa-card-rich h3 {
    color: #102048;
}

.visa-story-related .visa-card-rich p,
.visa-story-related .visa-card-rich .visa-meta span,
.visa-story-related .visa-card-rich .visa-list-extra span {
    color: #687285;
}

.visa-story-related .visa-card-rich .visa-list-extra {
    background: #f7f9fc;
    border-color: #e4e8f0;
}

.visa-story-related .visa-card-rich .visa-code {
    color: #fff;
}

@media (max-width: 1100px) {
    .visa-story-hero__grid,
    .visa-screening-layout,
    .visa-pricing-layout,
    .visa-contact-grid,
    .visa-assessment-board__summary,
    .visa-assessment-board__grid,
    .visa-journey-nav,
    .heading.split {
        grid-template-columns: 1fr;
    }

    .visa-story-sidehead {
        position: static;
    }

    .visa-overview-layout {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 18rem);
        gap: 2rem;
    }

    .visa-journey-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visa-story-hero__visual {
        min-height: 18rem;
    }
}

@media (max-width: 760px) {
    .visa-story-hero {
        padding-top: 3.75rem;
    }

    .visa-story-hero .breadcrumb {
        display: none;
    }

    .visa-story-hero__grid {
        min-height: 0;
        border-radius: 1.25rem;
        box-shadow: 0 16px 40px rgba(8, 18, 45, 0.12);
    }

    .visa-story-hero__copy,
    .visa-screening-form,
    .visa-pricing-layout .result-card,
    .visa-contact-grid .result-card,
    .visa-contact-form,
    .visa-assessment-board {
        padding: 1.25rem;
    }

    .visa-story-hero__copy {
        justify-content: flex-start;
        padding-top: 1.5rem;
    }

    .visa-story-hero__copy .eyebrow {
        padding: 0.45rem 0.7rem;
        font-size: 0.58rem;
    }

    .visa-story-hero__copy h1 {
        margin: 0.8rem 0;
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.02;
    }

    .visa-story-hero__copy p {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .visa-story-hero__copy .button-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 1.15rem;
    }

    .visa-story-hero__copy .button-row .btn {
        width: 100%;
        min-height: 2.9rem;
        padding: 0.75rem 1rem;
    }

    .visa-story-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 1.25rem;
        padding-top: 0.5rem;
    }

    .visa-story-hero__facts article {
        padding: 0.7rem 0;
    }

    .visa-story-hero__facts article:nth-child(odd) {
        padding-right: 0.75rem;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }

    .visa-story-hero__facts article:nth-child(even) {
        padding-left: 0.75rem;
    }

    .visa-story-hero__facts span {
        font-size: 0.58rem;
    }

    .visa-story-hero__facts strong {
        font-size: 0.78rem;
    }

    .visa-story-hero__visual {
        min-height: 13rem;
    }

    .visa-story-hero__overlay-card {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
        padding: 1rem;
        border-radius: 1rem;
    }

    .visa-story-hero__overlay-card span {
        font-size: 0.56rem;
    }

    .visa-story-hero__overlay-card strong {
        margin: 0.35rem 0 0.5rem;
        font-size: 1.65rem;
    }

    .visa-story-hero__overlay-card p {
        font-size: 0.7rem;
        line-height: 1.55;
    }

    .visa-story-hero__actions {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .visa-story-hero__actions .btn {
        min-height: 2.5rem;
        padding: 0.65rem 0.8rem;
        font-size: 0.7rem;
    }

    .visa-screening-form__grid,
    .visa-contact-form__grid,
    .visa-contact-options__grid {
        grid-template-columns: 1fr;
    }

    .visa-overview-layout {
        grid-template-columns: 1fr;
    }

    .visa-overview-sidebar {
        position: static;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .visa-overview-services,
    .visa-overview-ad {
        border-radius: 1.15rem;
    }

    .visa-overview-services {
        padding: 1.2rem;
    }

    .visa-overview-ad {
        min-height: 10.5rem;
        padding: 1.2rem;
    }

    .visa-journey-nav {
        display: flex;
        gap: 0.65rem;
        width: auto;
        margin: 0.65rem -1rem 0;
        padding: 0.65rem 1rem 0.85rem;
        overflow-x: auto;
        overflow-y: hidden;
        border-bottom: 0;
        scroll-padding-inline: 1rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .visa-journey-nav::-webkit-scrollbar {
        display: none;
    }

    .visa-journey-nav a {
        flex: 0 0 11.5rem;
        grid-template-areas: "number title";
        grid-template-columns: 1.8rem minmax(0, 1fr);
        grid-template-rows: 1fr;
        gap: 0.65rem;
        align-items: center;
        min-height: 4.5rem;
        padding: 0.8rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .visa-journey-nav span {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.65rem;
    }

    .visa-journey-nav strong {
        min-height: 0;
        font-size: 0.76rem;
    }

    .visa-journey-nav small {
        display: none;
    }

    .detail-tabs-shell {
        position: sticky;
        top: 3.75rem;
        z-index: 35;
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.4rem 1rem;
        background: rgba(250, 249, 246, 0.96);
        backdrop-filter: blur(12px);
    }

    .detail-tabs {
        display: flex;
        gap: 0.3rem;
        overflow-x: auto;
        padding: 0.35rem;
        border-radius: 1rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .detail-tabs__indicator {
        display: none;
    }

    .detail-tabs button {
        flex: 0 0 9.5rem;
        min-height: 2.75rem;
        padding: 0.7rem 0.8rem;
        font-size: 0.72rem;
        scroll-snap-align: start;
    }

    .detail-tabs button.active {
        background: linear-gradient(135deg, #00113a 0%, #243f88 100%);
        box-shadow: 0 10px 20px rgba(0, 17, 58, 0.16);
    }

    .detail-tab-panels {
        padding-top: 0;
    }

    .detail-tab-panel.section {
        padding: 2rem 0 3rem;
    }

    .detail-tab-panel .visa-story-article__head {
        margin-bottom: 1rem;
    }

    .visa-story-article__head h2 {
        margin-top: 0.6rem;
        font-size: clamp(1.8rem, 8.5vw, 2.25rem);
        line-height: 1.08;
    }

    .visa-story-article__head p {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .visa-story-article__content {
        font-size: 0.94rem;
        line-height: 1.78;
    }

    .visa-story-article__content h2,
    .visa-story-article__content h3 {
        margin-top: 1.5rem;
        scroll-margin-top: 8.5rem;
    }

    .visa-story-article__content p,
    .visa-story-article__content ul,
    .visa-story-article__content ol {
        margin-bottom: 1rem;
    }

    .visa-story-article__content ul,
    .visa-story-article__content ol {
        padding-left: 1.25rem;
    }

    .visa-screening-wizard__actions,
    .price-head,
    .detail-document-head {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-document-row-stream {
        grid-template-columns: 1fr;
    }

    .detail-document-aside-inline {
        justify-items: start;
    }
}

@media (max-width: 540px) {
    .visa-journey-nav {
        display: flex;
    }

    .visa-journey-nav a {
        min-height: 4.5rem;
    }
}

/* A dedicated reading surface for the imported Visa C overview content. */
.visa-overview-layout .visa-story-article__content {
    --overview-ink: #17254a;
    --overview-muted: #5c6473;
    --overview-red: #c31a2b;
    --overview-line: #eadfd3;
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.5rem);
    border: 1px solid #e7ddd1;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 100% 0, rgba(195, 26, 43, 0.08), transparent 18rem),
        linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
    box-shadow: 0 1rem 2.5rem rgba(40, 29, 20, 0.06);
}

.detail-tab-panels,
.detail-tab-panel {
    min-width: 0;
}

.visa-overview-layout .visa-story-article,
.visa-overview-layout .visa-story-article__content {
    min-width: 0;
    width: auto;
    max-width: 100%;
}

.visa-overview-layout .visa-story-article__content::before {
    position: absolute;
    inset: 0.75rem;
    z-index: 0;
    border: 1px solid rgba(234, 223, 211, 0.7);
    border-radius: 1rem;
    pointer-events: none;
    content: '';
}

.visa-overview-layout .visa-story-article__content > * {
    position: relative;
    z-index: 1;
}

.visa-overview-layout .visa-story-article__content > p:first-child {
    margin: 0 0 1.75rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--overview-red);
    border-radius: 0 0.8rem 0.8rem 0;
    background: rgba(255, 255, 255, 0.78);
    color: var(--overview-ink);
    font-size: 1.08rem;
    line-height: 1.75;
}

.visa-overview-layout .visa-story-article__content h2 {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 2.25rem 0 0.9rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--overview-line);
    color: var(--overview-ink);
    font-family: var(--font-sans, sans-serif);
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    font-weight: 750;
    line-height: 1.35;
}

.visa-overview-layout .visa-story-article__content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.visa-overview-layout .visa-story-article__content h2::before {
    flex: 0 0 auto;
    width: 0.45rem;
    height: 1.55rem;
    margin-top: 0.1rem;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--overview-red), #e56c5f);
    content: '';
}

.visa-overview-layout .visa-story-article__content h3 {
    margin: 1.5rem 0 0.6rem;
    padding: 0.65rem 0.85rem;
    border-left: 2px solid #e7b28d;
    border-radius: 0 0.6rem 0.6rem 0;
    background: rgba(255, 247, 239, 0.82);
    color: var(--overview-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.visa-overview-layout .visa-story-article__content p,
.visa-overview-layout .visa-story-article__content li {
    color: var(--overview-muted);
    font-size: 0.98rem;
    line-height: 1.82;
}

.visa-overview-layout .visa-story-article__content p {
    margin: 0 0 0.9rem;
}

.visa-overview-layout .visa-story-article__content h2 + p {
    color: #3f4858;
}

.visa-overview-layout .visa-story-article__content ul,
.visa-overview-layout .visa-story-article__content ol {
    margin: 0.7rem 0 1.25rem;
    padding: 0.8rem 1rem 0.8rem 2rem;
    border: 1px solid #eee2d6;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.65);
}

.visa-overview-layout .visa-story-article__content li::marker {
    color: var(--overview-red);
    font-weight: 700;
}

.visa-overview-layout .visa-story-article__content blockquote {
    margin: 1.35rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid #f0d0c8;
    border-left: 4px solid var(--overview-red);
    border-radius: 0.8rem;
    background: #fff3f0;
    color: #4a3c3a;
}

@media (max-width: 640px) {
    .visa-overview-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .visa-overview-layout .visa-story-article__content {
        padding: 1.15rem;
        border-radius: 1.1rem;
    }

    .visa-overview-layout .visa-story-article__content::before {
        inset: 0.5rem;
        border-radius: 0.75rem;
    }

    .visa-overview-layout .visa-story-article__content p,
    .visa-overview-layout .visa-story-article__content li {
        font-size: 0.93rem;
        line-height: 1.75;
    }
}
