/* Marketing site shell: header, nav, footer — loaded on all marketing pages */

[x-cloak] {
    display: none !important;
}

.rt-body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--rt-text);
    background: var(--rt-white);
}

.rt-site-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.rt-site-main {
    flex: 1 0 auto;
    width: 100%;
}

.rt-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rt-skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 200;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0.625rem 1rem;
    border-radius: var(--rt-radius-sm);
    background: var(--rt-blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 74, 130, 0.2);
}

.rt-site-flash {
    padding-top: 1rem;
}

.rt-site-flash__alert {
    border-radius: 12px;
}

.rt-body--portal .rt-site-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

/* —— Header —— */
.rt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: visible;
}

.rt-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(43, 69, 154, 0.15) 8%,
            #2b459a 22%,
            #4a6fd4 38%,
            #2b459a 50%,
            #3d5cc0 62%,
            #2b459a 78%,
            rgba(43, 69, 154, 0.15) 92%,
            transparent 100%
        );
    box-shadow:
        0 0 12px rgba(43, 69, 154, 0.55),
        0 0 28px rgba(43, 69, 154, 0.28),
        0 2px 8px rgba(43, 69, 154, 0.2);
}

.rt-header::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: min(42%, 28rem);
    height: 14px;
    z-index: 1;
    pointer-events: none;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(43, 69, 154, 0.45) 0%, rgba(43, 69, 154, 0.12) 45%, transparent 72%);
    filter: blur(2px);
}

.rt-header--menu-open {
    z-index: 150;
}

/* —— Top utility bar —— */
.rt-topbar {
    position: relative;
    color: #fff;
    background: #0b1220;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
}

.rt-topbar__slant {
    position: absolute;
    inset: 0;
    background: #1d6fd1;
    clip-path: polygon(0 0, 68% 0, 60% 100%, 0 100%);
    pointer-events: none;
}

.rt-topbar__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rt-topbar__left,
.rt-topbar__right {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    min-width: 0;
}

.rt-topbar__right {
    justify-content: flex-end;
    flex-shrink: 0;
}

.rt-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.96;
    transition: opacity 0.15s ease;
}

a.rt-topbar__item:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rt-topbar__item svg {
    flex-shrink: 0;
    opacity: 0.95;
}

.rt-topbar__divider {
    width: 1px;
    height: 0.9rem;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.rt-topbar__social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.rt-topbar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, transform 0.2s ease;
}

.rt-topbar__social-link:hover {
    color: var(--rt-orange);
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .rt-topbar__item--email,
    .rt-topbar__item--tagline span {
        display: none;
    }

    .rt-topbar__item--tagline svg {
        display: none;
    }

    .rt-topbar__slant {
        clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%);
    }
}

@media (max-width: 767px) {
    .rt-topbar {
        display: none;
    }
}

.rt-header-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.45rem 1.25rem;
    min-height: 3.75rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1.25rem;
    overflow: visible;
    background: #fff;
}

.rt-header-brand {
    flex-shrink: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    transform: translateY(-3px);
}

.rt-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.rt-brand-logo__img {
    display: block;
    height: auto;
    width: auto;
    object-fit: contain;
}

.rt-brand-logo--nav .rt-brand-logo__img {
    height: 3.15rem;
    max-width: 11.5rem;
}

.rt-brand-logo--footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.4rem;
    background: #fff;
    border-radius: 0.55rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.rt-brand-logo--footer .rt-brand-logo__img {
    height: 2.75rem;
    max-width: 9.5rem;
}

.rt-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--rt-blue-dark);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.rt-logo-icon {
    display: none;
}

.rt-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    overflow: visible;
}

@media (min-width: 1100px) {
    .rt-nav {
        display: flex;
    }
}

@media (min-width: 1100px) and (max-width: 1280px) {
    .rt-nav-link {
        padding: 0.55rem 0.55rem 0.7rem;
        font-size: 0.8125rem;
    }
}

.rt-logo--breathe .rt-brand-logo__img,
.rt-header-brand .rt-brand-logo__img {
    animation: rt-logo-breathe 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transform-origin: center left;
    will-change: transform, filter;
}

/* —— Nav search bar —— */
.rt-nav-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}

.rt-nav-search__icon {
    position: absolute;
    left: 0.7rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.rt-nav-search:focus-within .rt-nav-search__icon {
    color: var(--rt-blue, #2b459a);
}

.rt-nav-search__input {
    width: 11rem;
    padding: 0.5rem 2.35rem 0.5rem 2.1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f172a;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: 999px;
    outline: none;
    transition: width 0.25s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rt-nav-search__input::placeholder {
    color: #94a3b8;
}

.rt-nav-search__input:hover {
    background: #e8eef7;
}

.rt-nav-search__input:focus {
    width: 14rem;
    background: #fff;
    border-color: var(--rt-blue, #2b459a);
    box-shadow: 0 0 0 4px rgba(43, 69, 154, 0.1), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.rt-nav-search__input::-webkit-search-cancel-button {
    display: none;
}

.rt-nav-search__submit {
    position: absolute;
    right: 0.3rem;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--rt-orange, #f07128);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.rt-nav-search:focus-within .rt-nav-search__submit,
.rt-nav-search__input:not(:placeholder-shown) ~ .rt-nav-search__submit {
    opacity: 1;
    transform: scale(1);
}

.rt-nav-search__submit:hover {
    background: var(--rt-blue, #2b459a);
}

@media (min-width: 1100px) and (max-width: 1350px) {
    .rt-nav-search__input {
        width: 8.5rem;
    }

    .rt-nav-search__input:focus {
        width: 11rem;
    }
}

.rt-nav-search--mobile {
    margin: 0 0 0.85rem;
    width: 100%;
}

.rt-nav-search--mobile .rt-nav-search__input {
    width: 100%;
}

.rt-nav-search--mobile .rt-nav-search__input:focus {
    width: 100%;
}

@keyframes rt-logo-breathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(24, 102, 180, 0));
    }
    50% {
        transform: scale(1.035);
        filter: drop-shadow(0 4px 14px rgba(24, 102, 180, 0.18));
    }
}

.rt-nav-item {
    position: static;
}

.rt-nav-link {
    --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.78rem 0.72rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 999px;
    transition:
        color 0.35s var(--nav-ease),
        background 0.35s var(--nav-ease),
        transform 0.35s var(--nav-ease),
        box-shadow 0.35s var(--nav-ease);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    animation: rt-nav-link-enter 0.7s var(--nav-ease) both;
    animation-delay: calc(0.08s + (var(--nav-i, 0) * 0.055s));
}

.rt-nav-link__label {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.35s var(--nav-ease), letter-spacing 0.35s var(--nav-ease);
}

.rt-nav-link::before {
    content: '';
    position: absolute;
    inset: 0.18rem 0.1rem;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.14), rgba(24, 102, 180, 0.1));
    opacity: 0;
    transform: scale(0.86);
    transition:
        opacity 0.35s var(--nav-ease),
        transform 0.35s var(--nav-ease),
        box-shadow 0.35s var(--nav-ease);
    z-index: 0;
    pointer-events: none;
}

.rt-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rt-orange), #ffb065);
    transform: translateX(-50%);
    transition: width 0.4s var(--nav-ease), opacity 0.3s ease, box-shadow 0.35s ease;
    opacity: 0;
    box-shadow: 0 0 0 rgba(245, 130, 32, 0);
    z-index: 1;
    pointer-events: none;
}

.rt-nav-link__chevron {
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    opacity: 0.55;
}

.rt-nav-link--mega.is-active .rt-nav-link__chevron,
.rt-nav-item--mega.is-open .rt-nav-link__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.rt-nav-link:hover,
.rt-nav-link:focus-visible {
    color: var(--rt-blue-dark);
    transform: translateY(-2px);
    outline: none;
}

.rt-nav-link:hover::before,
.rt-nav-link:focus-visible::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(24, 102, 180, 0.1);
}

.rt-nav-link:hover::after,
.rt-nav-link:focus-visible::after {
    width: 1.15rem;
    opacity: 1;
}

.rt-nav-link:hover .rt-nav-link__label,
.rt-nav-link:focus-visible .rt-nav-link__label {
    transform: translateY(-0.5px);
    letter-spacing: 0.01em;
}

.rt-nav-link.is-active {
    color: var(--rt-blue-dark);
    animation:
        rt-nav-link-enter 0.7s var(--nav-ease) both,
        rt-nav-active-breathe 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay:
        calc(0.08s + (var(--nav-i, 0) * 0.055s)),
        calc(0.55s + (var(--nav-i, 0) * 0.08s));
}

.rt-nav-link.is-active::before {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.18), rgba(24, 102, 180, 0.12));
    box-shadow: 0 10px 24px rgba(24, 102, 180, 0.12);
}

.rt-nav-link.is-active::after {
    width: 1.4rem;
    opacity: 1;
    animation: rt-nav-underline-breathe 2.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

.rt-nav-item--mega.is-open .rt-nav-link--mega {
    color: var(--rt-blue-dark);
}

.rt-nav-item--mega.is-open .rt-nav-link--mega::before {
    opacity: 1;
    transform: scale(1);
}

@keyframes rt-nav-link-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rt-nav-active-breathe {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 rgba(24, 102, 180, 0);
    }
    50% {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 10px 22px rgba(24, 102, 180, 0.12);
    }
}

@keyframes rt-nav-underline-breathe {
    0%, 100% {
        width: 1.25rem;
        box-shadow: 0 0 0 rgba(245, 130, 32, 0);
        opacity: 0.92;
    }
    50% {
        width: 1.65rem;
        box-shadow: 0 0 12px rgba(245, 130, 32, 0.45);
        opacity: 1;
    }
}

/* —— Mega menus (Programs) —— */
.rt-nav-item--mega {
    position: relative;
}

.rt-mega {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 50%;
    z-index: 200;
    width: min(840px, calc(100vw - 2.5rem));
    margin-left: 0;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rt-border);
    border-radius: 12px;
    box-shadow:
        0 8px 16px rgba(15, 74, 130, 0.06),
        0 24px 48px rgba(15, 74, 130, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    pointer-events: auto;
}

.rt-mega--stack {
    width: min(420px, calc(100vw - 2.5rem));
}

.rt-mega-enter {
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-mega-enter-from,
.rt-mega-leave-to {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}

.rt-mega-enter-to,
.rt-mega-leave-from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.rt-mega-leave {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

@media (min-width: 1024px) {
    .rt-nav-item--mega:hover .rt-mega-link,
    .rt-nav-item--mega:focus-within .rt-mega-link {
        animation: rt-mega-item-in 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
        animation-delay: calc(var(--mega-i, 0) * 35ms + 60ms);
    }
}

@media (max-width: 1023px) {
    .rt-mega {
        display: none !important;
    }
}

.rt-mega--compact {
    width: min(560px, calc(100vw - 2.5rem));
}

.rt-mega--align-start {
    left: 0;
    right: auto;
    transform: none;
    width: min(840px, calc(100vw - 2.5rem));
}

.rt-mega--align-start.rt-mega--stack {
    width: min(420px, calc(100vw - 2.5rem));
}

.rt-mega--align-start.rt-mega--compact {
    width: min(560px, calc(100vw - 2.5rem));
}

.rt-mega--align-start.rt-mega-enter-from,
.rt-mega--align-start.rt-mega-leave-to {
    transform: translateY(-8px);
}

.rt-mega--align-start.rt-mega-enter-to,
.rt-mega--align-start.rt-mega-leave-from {
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .rt-nav-item--mega {
        position: relative;
        z-index: 120;
    }

    .rt-header:has(.rt-nav-item--mega:hover),
    .rt-header:has(.rt-nav-item--mega:focus-within),
    .rt-header:has(.rt-nav-item--mega.is-open) {
        z-index: 220;
    }

    .rt-nav-item--mega .rt-mega {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(-8px);
        transition:
            opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.24s ease;
    }

    .rt-nav-item--mega .rt-mega--align-start {
        transform: translateY(-8px);
    }

    .rt-nav-item--mega:hover .rt-mega,
    .rt-nav-item--mega:focus-within .rt-mega,
    .rt-nav-item--mega.is-open .rt-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .rt-nav-item--mega:hover .rt-mega--align-start,
    .rt-nav-item--mega:focus-within .rt-mega--align-start,
    .rt-nav-item--mega.is-open .rt-mega--align-start {
        transform: translateY(0);
    }
}

.rt-mega::before {
    content: '';
    position: absolute;
    top: -0.85rem;
    left: 0;
    right: 0;
    height: 0.85rem;
}

.rt-mega-head {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--rt-border-light);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.rt-mega-head strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
    letter-spacing: -0.02em;
}

.rt-mega-head span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--rt-slate);
}

.rt-mega-body {
    padding: 1rem 1.25rem;
}

.rt-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}

.rt-mega-grid--one {
    grid-template-columns: 1fr;
}

.rt-mega-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
    .rt-mega-grid:not(.rt-mega-grid--one) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rt-mega-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--rt-text);
    transition: background 0.22s ease, transform 0.22s ease;
    min-width: 0;
}

.rt-mega-link:hover {
    background: var(--rt-blue-light);
    transform: translateY(-1px);
}

.rt-mega-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 3px 10px rgba(15, 74, 130, 0.12);
}

.rt-mega-icon[data-accent="blue"] { background: linear-gradient(135deg, #1866b4, #0f4a82); }
.rt-mega-icon[data-accent="indigo"] { background: linear-gradient(135deg, #4f46e5, #3730a3); }
.rt-mega-icon[data-accent="violet"] { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.rt-mega-icon[data-accent="sky"] { background: linear-gradient(135deg, #0284c7, #0369a1); }
.rt-mega-icon[data-accent="emerald"] { background: linear-gradient(135deg, #059669, #047857); }
.rt-mega-icon[data-accent="amber"] { background: linear-gradient(135deg, #d97706, #b45309); }
.rt-mega-icon[data-accent="orange"] { background: linear-gradient(135deg, #f58220, #d97706); }
.rt-mega-icon[data-accent="rose"] { background: linear-gradient(135deg, #e11d48, #be123c); }
.rt-mega-icon[data-accent="slate"] { background: linear-gradient(135deg, #475569, #334155); }
.rt-mega-icon[data-accent="teal"] { background: linear-gradient(135deg, #0d9488, #0f766e); }

.rt-mega-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rt-mega-link__text strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    line-height: 1.35;
}

.rt-mega-link__text small {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--rt-slate);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-mega-foot {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--rt-border-light);
    background: rgba(248, 250, 252, 0.9);
}

.rt-mega-foot__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rt-mega-foot__link:hover {
    color: var(--rt-orange);
    gap: 0.55rem;
}

@keyframes rt-mega-item-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-header-brand .rt-brand-logo__img,
    .rt-logo--breathe .rt-brand-logo__img,
    .rt-mega-link,
    .rt-nav-link,
    .rt-nav-link.is-active,
    .rt-nav-link.is-active::after,
    .rt-mobile-nav-link,
    .rt-header-actions .rt-btn-primary,
    .rt-lang__trigger {
        animation: none !important;
    }

    .rt-nav-link,
    .rt-nav-link__label,
    .rt-nav-link::before,
    .rt-nav-link::after,
    .rt-mobile-nav-link,
    .rt-btn-ghost,
    .rt-btn-primary,
    .rt-lang__trigger,
    .rt-mega {
        transition: none !important;
    }

    .rt-nav-link:hover,
    .rt-nav-link.is-active,
    .rt-btn-primary:hover {
        transform: none !important;
    }
}

.rt-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 1099px) {
    .rt-header-inner {
        grid-template-columns: 1fr auto;
    }

    .rt-header-actions .rt-search-btn,
    .rt-header-actions .rt-lang,
    .rt-header-actions .rt-btn-ghost,
    .rt-header-actions .rt-btn-primary {
        display: none !important;
    }

    .rt-header--menu-open .rt-header-inner {
        min-height: 3.5rem;
    }
}

@media (min-width: 768px) {
    .rt-header-actions {
        gap: 0.75rem;
    }
}

.rt-lang {
    position: relative;
}

.rt-lang__trigger {
    display: none;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    color: #64748b;
    background: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition:
        color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.rt-lang__trigger:hover,
.rt-lang__trigger[aria-expanded='true'] {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
    border-color: rgba(24, 102, 180, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(24, 102, 180, 0.12);
}

.rt-lang__code {
    line-height: 1;
}

.rt-lang__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 220;
    width: min(18rem, calc(100vw - 2rem));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 74, 130, 0.14);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.rt-lang-enter {
    transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-lang-enter-from,
.rt-lang-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

.rt-lang-enter-to,
.rt-lang-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.rt-lang-leave {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.rt-lang__head {
    padding: 0.85rem 1rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rt-muted);
    border-bottom: 1px solid var(--rt-border-light);
    background: rgba(248, 250, 252, 0.95);
}

.rt-lang__list {
    max-height: 18rem;
    overflow-y: auto;
    padding: 0.35rem;
}

.rt-lang__form {
    margin: 0;
}

.rt-lang__option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
}

.rt-lang__option:hover,
.rt-lang__option.is-active {
    background: var(--rt-blue-light);
}

.rt-lang__native {
    min-width: 4.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
}

.rt-lang__name {
    flex: 1;
    font-size: 0.75rem;
    color: var(--rt-slate);
}

.rt-lang__check {
    flex-shrink: 0;
    color: var(--rt-orange);
}

.rt-mobile-lang {
    padding: 0.35rem 0 0.75rem;
    border-bottom: 1px solid var(--rt-border-light);
    margin-bottom: 0.35rem;
}

.rt-mobile-lang .rt-lang__trigger {
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.85rem;
}

.rt-mobile-lang .rt-lang__panel {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
}

.rt-lang__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0.65rem 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--rt-border);
    border-radius: 10px;
    background: #fff;
    color: var(--rt-muted);
}

.rt-lang__search {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--rt-text);
    outline: none;
}

.rt-lang__search::placeholder {
    color: var(--rt-muted);
}

@media (min-width: 1100px) {
    .rt-lang__trigger {
        display: inline-flex;
        color: var(--rt-blue-dark);
    }
}

[dir='rtl'] .rt-lang__panel {
    right: auto;
    left: 0;
}

[dir='rtl'] .rt-lang__option {
    text-align: right;
}

[dir='rtl'] .rt-mega-link,
[dir='rtl'] .rt-mobile-program-link {
    flex-direction: row-reverse;
}

[dir='rtl'] .rt-nav-link__chevron {
    transform: scaleX(-1);
}

[dir='rtl'] .rt-nav-item--mega.is-open .rt-nav-link__chevron {
    transform: scaleX(-1) rotate(180deg);
}

[dir='rtl'] .rt-mobile-nav-link:hover,
[dir='rtl'] .rt-mobile-nav-link:focus-visible {
    transform: translateX(-4px);
}

[dir='rtl'] .rt-mobile-nav-link.is-active {
    box-shadow: inset -3px 0 0 var(--rt-orange), 0 8px 18px rgba(24, 102, 180, 0.08);
}

.rt-search-btn {
    display: none;
    padding: 0.5rem;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--rt-radius-sm);
    transition: color 0.15s, background 0.15s;
}

.rt-search-btn:hover {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
}

@media (min-width: 768px) {
    .rt-search-btn {
        display: flex;
    }
}

.rt-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rt-blue-dark);
    text-decoration: none;
    padding: 0.55rem 1.15rem;
    border: 1.5px solid var(--rt-blue-dark);
    border-radius: var(--rt-radius-sm);
    background: transparent;
    transition:
        color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.rt-btn-ghost:hover {
    color: #fff;
    background: var(--rt-blue-dark);
    border-color: var(--rt-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 74, 130, 0.22);
}

.rt-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: var(--rt-orange);
    border: none;
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.28);
    animation: rt-nav-cta-breathe 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.2s);
}

.rt-btn-primary:hover {
    color: #fff;
    background: var(--rt-orange-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 26px rgba(245, 130, 32, 0.38);
    animation-play-state: paused;
}

@keyframes rt-nav-cta-breathe {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(245, 130, 32, 0.28);
        transform: translateY(0) scale(1);
    }
    50% {
        box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4);
        transform: translateY(-1px) scale(1.015);
    }
}

.rt-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.rt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rt-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rt-blue-dark);
    background: #fff;
    border: none;
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(15, 74, 130, 0.12);
}

.rt-btn-white:hover {
    color: var(--rt-blue-dark);
    transform: translateY(-1px);
}

.rt-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--rt-radius-sm);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.rt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* —— Home page button breathing —— */
@keyframes rt-home-breathe-primary {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 2px 8px rgba(245, 130, 32, 0.28),
            0 0 0 0 rgba(245, 130, 32, 0.24);
    }
    50% {
        transform: scale(1.028);
        box-shadow:
            0 6px 22px rgba(245, 130, 32, 0.44),
            0 0 0 10px rgba(245, 130, 32, 0);
    }
}

@keyframes rt-home-breathe-outline {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.18),
            inset 0 0 0 1px rgba(255, 255, 255, 0.72);
        border-color: rgba(255, 255, 255, 0.88);
    }
    50% {
        box-shadow:
            0 0 0 9px rgba(255, 255, 255, 0),
            inset 0 0 0 1px rgba(255, 255, 255, 1);
        border-color: rgba(255, 255, 255, 1);
    }
}

@keyframes rt-home-breathe-white {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 2px 12px rgba(15, 74, 130, 0.12),
            0 0 0 0 rgba(24, 102, 180, 0.16);
    }
    50% {
        transform: scale(1.024);
        box-shadow:
            0 8px 24px rgba(15, 74, 130, 0.18),
            0 0 0 8px rgba(24, 102, 180, 0);
    }
}

@keyframes rt-home-breathe-arrow {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.14),
            inset 0 0 0 1px rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow:
            0 0 0 11px rgba(255, 255, 255, 0),
            0 6px 20px rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.16);
    }
}

@keyframes rt-home-breathe-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0);
        opacity: 0.72;
    }
    50% {
        box-shadow: 0 0 0 5px rgba(245, 130, 32, 0.18);
        opacity: 1;
    }
}

@keyframes rt-home-breathe-dot-active {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(245, 130, 32, 0.35),
            0 2px 8px rgba(245, 130, 32, 0.28);
    }
    50% {
        box-shadow:
            0 0 0 8px rgba(245, 130, 32, 0),
            0 4px 14px rgba(245, 130, 32, 0.42);
    }
}

.rt-home-page .rt-btn-primary {
    animation: rt-home-breathe-primary 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0s);
    will-change: transform, box-shadow;
}

.rt-home-page .rt-hero .rt-btn-outline {
    animation: rt-home-breathe-outline 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.45s);
}

.rt-home-page .rt-hero-btn--primary {
    animation: rt-home-breathe-primary 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0s);
    will-change: transform, box-shadow;
}

.rt-home-page .rt-hero-btn--ghost {
    animation: rt-home-breathe-outline 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.55s);
}

.rt-home-page .rt-cta-section .rt-btn-white {
    animation: rt-home-breathe-white 3.7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: var(--btn-breathe-delay, 0.35s);
}

.rt-home-page .rt-hero-arrow {
    animation: rt-home-breathe-arrow 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.rt-home-page .rt-hero-arrow--prev {
    animation-delay: 0.2s;
}

.rt-home-page .rt-hero-arrow--next {
    animation-delay: 0.65s;
}

.rt-home-page .rt-hero-dot {
    animation: rt-home-breathe-dot 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.rt-home-page .rt-hero-dot:nth-child(2) { animation-delay: 0.35s; }
.rt-home-page .rt-hero-dot:nth-child(3) { animation-delay: 0.7s; }
.rt-home-page .rt-hero-dot:nth-child(4) { animation-delay: 1.05s; }

.rt-home-page .rt-hero-dot.is-active {
    animation-name: rt-home-breathe-dot-active;
    animation-duration: 3.2s;
}

.rt-home-page .rt-hero-cta .rt-btn-primary:nth-child(1) { --btn-breathe-delay: 0s; }
.rt-home-page .rt-hero-cta .rt-btn-outline:nth-child(2) { --btn-breathe-delay: 0.55s; }
.rt-home-page .rt-hero-cta .rt-hero-btn--primary { --btn-breathe-delay: 0s; }
.rt-home-page .rt-hero-cta .rt-hero-btn--ghost { --btn-breathe-delay: 0.55s; }
.rt-home-page .rt-cta-panel__action .rt-btn-primary { --btn-breathe-delay: 0s; }
.rt-home-page .rt-cta-panel__action .rt-btn-white { --btn-breathe-delay: 0.5s; }
.rt-home-page .rt-header .rt-btn-primary { --btn-breathe-delay: 0.25s; }

.rt-home-page .rt-btn-primary:hover,
.rt-home-page .rt-btn-primary:focus-visible,
.rt-home-page .rt-btn-outline:hover,
.rt-home-page .rt-btn-outline:focus-visible,
.rt-home-page .rt-btn-white:hover,
.rt-home-page .rt-btn-white:focus-visible,
.rt-home-page .rt-hero-btn--primary:hover,
.rt-home-page .rt-hero-btn--primary:focus-visible,
.rt-home-page .rt-hero-btn--ghost:hover,
.rt-home-page .rt-hero-btn--ghost:focus-visible,
.rt-home-page .rt-hero-arrow:hover,
.rt-home-page .rt-hero-arrow:focus-visible {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .rt-home-page .rt-btn-primary,
    .rt-home-page .rt-hero .rt-btn-outline,
    .rt-home-page .rt-hero-btn--primary,
    .rt-home-page .rt-hero-btn--ghost,
    .rt-home-page .rt-cta-section .rt-btn-white,
    .rt-home-page .rt-hero-arrow,
    .rt-home-page .rt-hero-dot {
        animation: none;
    }
}

.rt-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    border-radius: var(--rt-radius-sm);
    transition: color 0.15s, background 0.15s;
}

.rt-mobile-toggle:hover {
    color: var(--rt-blue);
    background: var(--rt-blue-light);
}

@media (min-width: 1024px) {
    .rt-mobile-toggle {
        display: none;
    }
}

.rt-body--nav-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .rt-body--nav-open {
        overflow: auto;
    }
}

.rt-mobile-menu {
    border-top: 1px solid var(--rt-border);
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--rt-white);
    box-shadow: inset 0 1px 0 rgba(15, 74, 130, 0.04);
    max-height: calc(100dvh - 4.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.rt-mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.rt-mobile-nav-item {
    position: relative;
}

.rt-mobile-nav-link {
    --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0.85rem;
    margin: 0.12rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    border-radius: 12px;
    border-bottom: 1px solid transparent;
    transition:
        color 0.35s var(--nav-ease),
        background 0.35s var(--nav-ease),
        transform 0.35s var(--nav-ease),
        box-shadow 0.35s var(--nav-ease),
        padding 0.35s var(--nav-ease);
    animation: rt-nav-link-enter 0.65s var(--nav-ease) both;
    animation-delay: calc(0.05s + (var(--nav-i, 0) * 0.045s));
}

.rt-mobile-nav-link:hover,
.rt-mobile-nav-link:focus-visible {
    color: var(--rt-blue-dark);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.12), rgba(24, 102, 180, 0.08));
    transform: translateX(4px);
    outline: none;
}

.rt-mobile-nav-link.is-active {
    color: var(--rt-blue-dark);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.18), rgba(24, 102, 180, 0.1));
    border-radius: 12px;
    box-shadow: inset 3px 0 0 var(--rt-orange), 0 8px 18px rgba(24, 102, 180, 0.08);
    animation:
        rt-nav-link-enter 0.65s var(--nav-ease) both,
        rt-nav-active-breathe 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay:
        calc(0.05s + (var(--nav-i, 0) * 0.045s)),
        0.5s;
}

.rt-mobile-topbar-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rt-border-light);
    font-size: 0.8125rem;
    color: var(--rt-slate);
}

.rt-mobile-topbar-meta a {
    color: var(--rt-blue-dark);
    text-decoration: none;
    font-weight: 600;
}

.rt-mobile-nav-link__chevron {
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.rt-mobile-nav-item.is-open .rt-mobile-nav-link__chevron,
.rt-mobile-nav-link.is-active .rt-mobile-nav-link__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.rt-mobile-submenu {
    padding: 0.35rem 0 0.65rem 0.85rem;
    margin: 0 0 0.25rem 0.35rem;
    border-left: 2px solid var(--rt-border-light);
    border-bottom: 1px solid var(--rt-border-light);
}

.rt-mobile-submenu__head {
    padding: 0.35rem 0.85rem 0.65rem 0;
}

.rt-mobile-submenu__head strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--rt-blue-dark);
}

.rt-mobile-submenu__head span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.6875rem;
    color: var(--rt-slate);
}

.rt-mobile-submenu-enter {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.rt-mobile-submenu-enter-from,
.rt-mobile-submenu-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

.rt-mobile-submenu-enter-to,
.rt-mobile-submenu-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.rt-mobile-submenu-leave {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.rt-mobile-menu__footer {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--rt-border-light);
}

.rt-mobile-menu__programs {
    display: grid;
    gap: 0.25rem;
    padding-left: 0;
}

.rt-mobile-program-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: none !important;
}

.rt-mobile-program-link:hover {
    background: var(--rt-blue-light);
    color: var(--rt-blue-dark) !important;
}

.rt-mobile-program-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rt-mobile-program-link__text strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    line-height: 1.35;
}

.rt-mobile-program-link__text small {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--rt-slate);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-mobile-submenu__all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.35rem 0.5rem 0;
    padding: 0.5rem 0 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--rt-blue) !important;
    text-decoration: none;
    border-bottom: none !important;
    transition: color 0.2s ease, gap 0.2s ease;
}

.rt-mobile-submenu__all:hover {
    color: var(--rt-orange) !important;
    gap: 0.55rem;
}

.rt-mobile-program-link__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.rt-mobile-program-link__icon[data-accent="blue"] { background: linear-gradient(135deg, #1866b4, #0f4a82); }
.rt-mobile-program-link__icon[data-accent="indigo"] { background: linear-gradient(135deg, #4f46e5, #3730a3); }
.rt-mobile-program-link__icon[data-accent="violet"] { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.rt-mobile-program-link__icon[data-accent="sky"] { background: linear-gradient(135deg, #0284c7, #0369a1); }
.rt-mobile-program-link__icon[data-accent="emerald"] { background: linear-gradient(135deg, #059669, #047857); }
.rt-mobile-program-link__icon[data-accent="amber"] { background: linear-gradient(135deg, #d97706, #b45309); }
.rt-mobile-program-link__icon[data-accent="orange"] { background: linear-gradient(135deg, #f58220, #d97706); }
.rt-mobile-program-link__icon[data-accent="rose"] { background: linear-gradient(135deg, #e11d48, #be123c); }
.rt-mobile-program-link__icon[data-accent="slate"] { background: linear-gradient(135deg, #475569, #334155); }
.rt-mobile-program-link__icon[data-accent="teal"] { background: linear-gradient(135deg, #0d9488, #0f766e); }

.rt-mobile-menu__cta {
    margin-top: 0;
    display: grid;
    gap: 0.5rem;
}

.rt-mobile-menu .rt-btn-primary {
    width: 100%;
    justify-content: center;
}

.rt-mobile-menu__cta .rt-btn-ghost {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1rem;
}

/* Footer */
.rt-footer {
    background: var(--rt-blue-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--rt-orange, #f58220);
}

.rt-footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rt-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rt-footer-grid {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.rt-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rt-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rt-footer li {
    margin-bottom: 0.5rem;
}

.rt-footer a {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.rt-footer a:hover {
    color: var(--rt-orange);
}

.rt-footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 22rem;
}

.rt-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rt-footer-quicklinks {
    list-style: none;
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-footer-connect {
    margin-top: 1.25rem;
}

.rt-footer-connect__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.rt-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.rt-footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--rt-orange);
}

.rt-footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.rt-footer-contact a:hover {
    color: #fff;
}

.rt-footer-rc {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
}

.rt-footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: 1.75rem 0 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-footer-newsletter__copy h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.rt-footer-newsletter__copy p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 34rem;
}

.rt-footer-newsletter__form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 320px;
    max-width: 460px;
}

.rt-footer-newsletter__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 3rem;
    padding: 0 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rt-footer-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.rt-footer-newsletter__input:focus {
    outline: none;
    border-color: var(--rt-orange);
    background: rgba(255, 255, 255, 0.1);
}

.rt-footer-newsletter__btn {
    flex-shrink: 0;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    border: none;
    border-radius: 9999px;
    background: var(--rt-orange);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.rt-footer-newsletter__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.rt-footer-newsletter__flash {
    margin: 0.65rem 0 0;
    grid-column: 1 / -1;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f766e;
}

.rt-footer-newsletter__flash--error {
    color: #b91c1c;
}

.rt-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
}

.rt-footer-connect .rt-social {
    margin-top: 0;
}

.rt-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--rt-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s, color 0.15s;
}

.rt-social a:hover {
    background: var(--rt-orange);
    color: #fff;
}

.rt-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .rt-footer-newsletter {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .rt-footer-newsletter__form {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 420px) {
    .rt-footer-newsletter__form {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-footer-newsletter__input {
        flex: 0 0 auto;
        width: 100%;
    }

    .rt-footer-newsletter__btn {
        width: 100%;
    }
}

.rt-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    font-size: 0.8125rem;
}

.rt-footer-bottom__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.25rem;
    color: rgba(255, 255, 255, 0.72);
}

.rt-footer-bottom__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.rt-social--compact {
    gap: 0.5rem;
}

.rt-social--compact a {
    width: 2rem;
    height: 2rem;
}

.rt-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .rt-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .rt-footer-bottom__end {
        width: 100%;
        justify-content: space-between;
    }
}

/* Shared layout container */
.rt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}


/* CTA — DigiBox join-cta style */
.rt-join-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background-image: var(--rt-join-cta-img);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.rt-join-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 37, 69, 0.58) 0%,
        rgba(15, 74, 130, 0.42) 48%,
        rgba(10, 53, 96, 0.62) 100%
    );
}

.rt-join-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
}

.rt-join-cta__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffd19a;
}

.rt-join-cta h2 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.rt-join-cta__inner > p {
    margin: 0 auto 1.75rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.65;
}

.rt-join-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.rt-join-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.25rem;
    border-radius: 0.65rem;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.rt-join-cta__btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: #fff;
}

.rt-join-cta__btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rt-orange), var(--rt-orange-dark));
    box-shadow: 0 10px 24px rgba(245, 130, 32, 0.35);
    animation: rt-join-cta-breathe 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    will-change: transform, box-shadow;
}

.rt-join-cta__btn--primary:hover {
    background: linear-gradient(135deg, #ff9a3d, var(--rt-orange));
    border-color: transparent;
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.02);
}

.rt-join-cta__btn:nth-child(2) {
    animation: rt-join-cta-ghost-breathe 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: 0.35s;
}

.rt-join-cta__btn:nth-child(3) {
    animation: rt-join-cta-ghost-breathe 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: 0.7s;
}


@keyframes rt-join-cta-breathe {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 24px rgba(245, 130, 32, 0.35), 0 0 0 0 rgba(245, 130, 32, 0.24);
    }
    50% {
        transform: scale(1.028);
        box-shadow: 0 14px 32px rgba(245, 130, 32, 0.48), 0 0 0 10px rgba(245, 130, 32, 0);
    }
}

@keyframes rt-join-cta-ghost-breathe {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
        border-color: rgba(255, 255, 255, 0.75);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(255, 255, 255, 0), inset 0 0 0 1px #fff;
        border-color: #fff;
    }
}

/* CTA scroll-reveal (activated by JS adding .rt-join-cta--observe) */
.rt-join-cta--observe .rt-join-cta__eyebrow,
.rt-join-cta--observe h2,
.rt-join-cta--observe .rt-join-cta__inner > p,
.rt-join-cta--observe .rt-join-cta__actions {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-join-cta--observe.is-visible .rt-join-cta__eyebrow,
.rt-join-cta--observe.is-visible h2,
.rt-join-cta--observe.is-visible .rt-join-cta__inner > p,
.rt-join-cta--observe.is-visible .rt-join-cta__actions {
    opacity: 1;
    transform: translateY(0);
}

.rt-join-cta--observe.is-visible h2 { transition-delay: 0.12s; }
.rt-join-cta--observe.is-visible .rt-join-cta__inner > p { transition-delay: 0.24s; }
.rt-join-cta--observe.is-visible .rt-join-cta__actions { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .rt-join-cta--observe .rt-join-cta__eyebrow,
    .rt-join-cta--observe h2,
    .rt-join-cta--observe .rt-join-cta__inner > p,
    .rt-join-cta--observe .rt-join-cta__actions {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-join-cta__btn--primary,
    .rt-join-cta__btn:nth-child(2),
    .rt-join-cta__btn:nth-child(3) {
        animation: none;
    }
}


/* Shared section + FAQ (marketing pages without home.css) */

/* —— Sections —— */
.rt-section {
    padding: 3.5rem 0;
}

@media (min-width: 768px) {
    .rt-section {
        padding: 5rem 0;
    }
}

.rt-section--muted {
    background: var(--rt-bg);
}

.rt-section--dark {
    background: linear-gradient(135deg, var(--rt-blue-dark) 0%, var(--rt-blue-mid) 100%);
    color: #fff;
}


.rt-section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.rt-section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rt-blue-dark);
}

.rt-section-head p {
    margin-top: 0.75rem;
    color: var(--rt-slate);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.rt-section-head--light h2,
.rt-section-head--light p {
    color: #fff;
}

.rt-section-head--light p {
    color: rgba(255, 255, 255, 0.75);
}

.rt-section-head--premium {
    max-width: 44rem;
    margin-bottom: 3.5rem;
}

.rt-section-head--premium .rt-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rt-blue);
    background: var(--rt-blue-light);
    border: 1px solid rgba(24, 102, 180, 0.12);
    border-radius: 9999px;
}

.rt-section-head--premium .rt-section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rt-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.2);
}

.rt-section-head--premium h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--rt-blue-dark);
    background: none;
    -webkit-text-fill-color: unset;
}

.rt-section-head--premium p {
    font-size: 1.125rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

/* —— Campus FAQ section —— */
.rt-faq-section {
    background: linear-gradient(180deg, #fff 0%, var(--rt-bg) 100%);
    scroll-margin-top: 6rem;
}

.rt-faq-reveal {
    opacity: 0;
    transform: translateY(1.15rem);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--faq-delay, 0ms);
}

.rt-faq-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rt-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

.rt-faq-item {
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius);
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 74, 130, 0.04);
    overflow: hidden;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-faq-item:hover {
    border-color: rgba(24, 102, 180, 0.28);
    box-shadow: 0 10px 28px rgba(15, 74, 130, 0.1);
    transform: translateY(-2px);
}

.rt-faq-item[open] {
    border-color: rgba(24, 102, 180, 0.3);
    box-shadow: 0 12px 32px rgba(15, 74, 130, 0.12);
    transform: translateY(0);
}

.rt-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--rt-blue-dark);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.rt-faq-item__question::-webkit-details-marker {
    display: none;
}

.rt-faq-item__question:hover {
    background: linear-gradient(90deg, rgba(24, 102, 180, 0.05), transparent 72%);
    color: var(--rt-blue);
}

.rt-faq-item__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(24, 102, 180, 0.08);
    color: var(--rt-orange);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-faq-item__question:hover .rt-faq-item__icon {
    background: rgba(24, 102, 180, 0.14);
    transform: scale(1.06);
}

.rt-faq-item__chevron {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-faq-item[open] .rt-faq-item__icon {
    background: rgba(234, 88, 12, 0.12);
    color: var(--rt-orange);
}

.rt-faq-item[open] .rt-faq-item__chevron {
    transform: rotate(180deg);
}

.rt-faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-faq-item[open] .rt-faq-item__answer {
    grid-template-rows: 1fr;
}

.rt-faq-item__answer-inner {
    overflow: hidden;
    padding: 0 1.2rem;
    opacity: 0;
    transform: translateY(-0.35rem);
    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.4s ease;
}

.rt-faq-item[open] .rt-faq-item__answer-inner {
    padding: 0 1.2rem 1.15rem;
    opacity: 1;
    transform: translateY(0);
}

.rt-faq-item__answer p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--rt-slate);
}

@media (prefers-reduced-motion: reduce) {
    .rt-faq-reveal,
    .rt-faq-item,
    .rt-faq-item__question,
    .rt-faq-item__icon,
    .rt-faq-item__chevron,
    .rt-faq-item__answer,
    .rt-faq-item__answer-inner {
        transition: none !important;
        transform: none !important;
    }

    .rt-faq-reveal {
        opacity: 1;
    }
}
