:root {
    --navy: #071b32;
    --navy-2: #0d2a45;
    --ink: #122033;
    --muted: #687386;
    --line: #e5eaf0;
    --surface: #ffffff;
    --soft: #f6f8fb;
    --emerald: #15976f;
    --emerald-2: #0f7f61;
    --gold: #e2ad48;
    --sky: #dcecf8;
    --radius: 8px;
    --shadow: 0 18px 42px rgba(7, 27, 50, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Cairo", "Inter", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: "Inter", "Cairo", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.topbar {
    background: #06182c;
    color: #dce7f3;
    font-size: 13px;
}

.topbar__inner,
.topbar__contacts,
.navbar,
.nav-actions,
.hero__actions,
.section__head,
.footer__inner,
.footer__contacts {
    display: flex;
    align-items: center;
}

.topbar__inner {
    min-height: 38px;
    justify-content: space-between;
    gap: 18px;
}

.topbar__contacts,
.footer__contacts {
    gap: 18px;
    flex-wrap: wrap;
    min-width: 0;
}

.site-header {
    position: absolute;
    inset-inline: 0;
    top: 0;
    z-index: 10;
}

.navbar {
    min-height: 76px;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    font-weight: 900;
    letter-spacing: 0;
}

.brand__mark {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 0;
    background: url("/images/brand/study-sphere-mark-transparent.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    overflow: hidden;
}

.brand strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: #c9d5e3;
    font-size: 11px;
    text-transform: uppercase;
}

.navlinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    flex: 1;
}

.navlinks a {
    color: #dbe6ef;
    padding-block: 28px 20px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.navlinks a.is-active,
.navlinks a:hover {
    color: #fff;
    border-color: var(--gold);
}

.nav-actions {
    gap: 12px;
}

.lang {
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 13px;
}

.ltr-number {
    direction: ltr;
    unicode-bidi: plaintext;
    display: inline-block;
}

input[name="phone"],
input[type="tel"] {
    direction: ltr;
    text-align: left;
}

.mobile-nav-toggle,
.mobile-nav-button,
.mobile-nav-backdrop,
.mobile-nav-close {
    display: none;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 22px;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--small {
    min-height: 42px;
    padding: 9px 18px;
}

.btn--primary {
    background: var(--emerald);
    color: #fff;
}

.btn--primary:hover {
    background: var(--emerald-2);
}

.btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
}

.hero {
    position: relative;
    min-height: 640px;
    padding-top: 118px;
    color: #fff;
    overflow: visible;
}

.hero__image,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__image {
    background-image: url("/images/website/hero-students-campus.png");
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(5, 18, 32, .96) 0%, rgba(7, 27, 50, .84) 35%, rgba(7, 27, 50, .18) 72%),
        linear-gradient(0deg, rgba(5, 18, 32, .28), rgba(5, 18, 32, .28));
}

.hero__content {
    position: relative;
    z-index: 1;
    min-height: 410px;
    display: flex;
    align-items: center;
}

html[dir="rtl"] .hero__content {
    justify-content: flex-end;
}

.hero__copy {
    width: min(590px, 100%);
    padding-block: 46px 100px;
}

.eyebrow,
.section-kicker {
    color: var(--gold);
    font-weight: 800;
    margin: 0 0 14px;
}

.hero h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero p {
    max-width: 560px;
    margin: 24px 0;
    color: #e5edf5;
    font-size: 18px;
}

.hero__actions {
    gap: 14px;
    flex-wrap: wrap;
}

.search-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 130px;
    gap: 14px;
    margin-top: -56px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: #09213b;
    box-shadow: var(--shadow);
}

.search-panel label,
.contact-form label {
    display: grid;
    gap: 7px;
}

.search-panel span,
.contact-form span {
    font-size: 13px;
    font-weight: 800;
    color: #d7e2ee;
}

.search-panel select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7e0ea;
    border-radius: var(--radius);
    padding: 10px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.section {
    padding: 72px 0;
}

.section__head {
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section__head h2,
.why-copy h2,
.split h2,
.contact-copy h2,
.section h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    color: var(--navy);
}

.section__head p,
.why-copy p,
.contact-copy p {
    margin: 8px 0 0;
    color: var(--muted);
}

.link-pill {
    border: 1px solid #e2ba6a;
    color: #a57219;
    border-radius: var(--radius);
    padding: 10px 16px;
    font-weight: 800;
    white-space: nowrap;
}

.university-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.university-card {
    position: relative;
    overflow: hidden;
    min-height: 136px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 22px 14px 18px;
    border: 1px solid rgba(11, 34, 57, .08);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.82)),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(16,185,129,.10));
    box-shadow: 0 18px 38px rgba(15, 38, 57, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.university-card::after,
.fee-card::after {
    content: "";
    position: absolute;
    inset-inline-start: -34px;
    top: -46px;
    width: 122px;
    height: 122px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--card-accent, #10b981) 16%, transparent);
}

.university-card:hover,
.fee-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--card-accent, #10b981) 38%, #fff);
    box-shadow: 0 24px 48px rgba(15, 38, 57, .13);
}

.home-card-badge {
    position: absolute;
    inset-inline-start: 18px;
    top: 18px;
    color: rgba(11, 34, 57, .08);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.home-card-icon {
    position: absolute;
    inset-inline-end: 16px;
    top: 16px;
    z-index: 1;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-accent, #10b981), color-mix(in srgb, var(--card-accent, #10b981) 68%, #06182c));
    box-shadow: 0 14px 24px color-mix(in srgb, var(--card-accent, #10b981) 24%, transparent);
}

.home-card-icon svg {
    width: 24px;
    height: 24px;
}

.uni-logo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 104px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    font-weight: 900;
    background: var(--soft);
    overflow: hidden;
}

.uni-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: #fff;
}

.university-card strong {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.35;
}

.university-card small {
    position: relative;
    z-index: 1;
    color: var(--muted);
}

.university-card:nth-child(1) { --card-accent: #0ea5e9; }
.university-card:nth-child(2) { --card-accent: #10b981; }
.university-card:nth-child(3) { --card-accent: #f59e0b; }
.university-card:nth-child(4) { --card-accent: #8b5cf6; }
.university-card:nth-child(5) { --card-accent: #ef4444; }
.university-card:nth-child(6) { --card-accent: #14b8a6; }

.fees-section {
    background: linear-gradient(180deg, #fff, #f7fafc);
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fee-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 220px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(11, 34, 57, .08);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.82)),
        linear-gradient(135deg, rgba(245,158,11,.12), rgba(16,185,129,.10));
    box-shadow: 0 18px 38px rgba(15, 38, 57, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fee-card > span,
.offer-card > span {
    position: relative;
    z-index: 1;
    color: var(--emerald);
    font-size: 13px;
    font-weight: 900;
}

.fee-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.35;
}

.fee-card__amounts {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.fee-card__amounts strong {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--navy);
    background: #f3f7fa;
    font-size: 18px;
}

.fee-card__amounts small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.fee-card a {
    position: relative;
    z-index: 1;
    width: fit-content;
    color: #a57219;
    font-weight: 900;
}

.fee-card__icon {
    inset-inline-end: 18px;
    top: 18px;
}

.fee-card:nth-child(1) { --card-accent: #0ea5e9; }
.fee-card:nth-child(2) { --card-accent: #10b981; }
.fee-card:nth-child(3) { --card-accent: #f59e0b; }
.fee-card:nth-child(4) { --card-accent: #8b5cf6; }

.fee-card--empty {
    grid-column: 1 / -1;
    min-height: 140px;
}

.offers-band {
    padding: 76px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 27, 50, .97), rgba(12, 63, 75, .92)),
        url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.offers-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 34px;
    align-items: start;
}

.offers-copy h2 {
    margin: 8px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.offers-copy p {
    margin: 0 0 24px;
    color: #dbe7f3;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.offer-card {
    min-height: 235px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    background: rgba(255,255,255,.09);
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.offer-card h3 {
    margin: 12px 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

.offer-card p {
    margin: 0;
    color: #d5e0eb;
    line-height: 1.75;
}

.offers-page-hero {
    padding: 82px 0 68px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 27, 50, .97), rgba(19, 116, 90, .78)),
        url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.offers-page-hero__inner {
    display: grid;
    min-height: 320px;
    align-items: center;
}

.offers-page-hero h1 {
    max-width: 760px;
    margin: 10px 0 14px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
}

.offers-page-hero p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e1ecf5;
    font-size: 18px;
    line-height: 1.9;
}

.public-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.public-offer-card {
    --card-accent: #0ea5e9;
    --card-soft: rgba(14, 165, 233, .13);
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 270px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(15, 38, 57, .08);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 0%, var(--card-soft) 0 82px, transparent 83px),
        linear-gradient(145deg, #fff 0%, #f8fcfd 100%);
    box-shadow: 0 14px 34px rgba(15, 38, 57, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

html[dir="rtl"] .public-offer-card {
    background:
        radial-gradient(circle at 82% 0%, var(--card-soft) 0 82px, transparent 83px),
        linear-gradient(145deg, #fff 0%, #f8fcfd 100%);
}

.public-offer-card__top {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.public-offer-card__video {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: -8px -8px 4px;
    border: 1px solid rgba(15, 38, 57, .12);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(6, 23, 42, .92), rgba(12, 49, 79, .86)),
        radial-gradient(circle at 20% 15%, rgba(245, 166, 35, .2), transparent 35%);
    box-shadow: 0 16px 34px rgba(7, 22, 38, .14);
}

.public-offer-card__video iframe,
.public-offer-card__video video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.public-offer-card__top span {
    color: var(--emerald);
    font-size: 13px;
    font-weight: 900;
}

.public-offer-card__top small {
    color: var(--muted);
    font-weight: 800;
}

.offer-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #7a4a03 !important;
    background: #fff4cf;
    font-size: 12px !important;
    font-weight: 900;
}

.offer-video-badge::before {
    content: "";
    width: 0;
    height: 0;
    border-block: 5px solid transparent;
    border-inline-start: 8px solid currentColor;
}

.public-offer-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.28;
}

.public-offer-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.public-offer-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.offer-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    padding-block: 40px 72px;
}

.offer-detail,
.offer-detail-side {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.offer-detail {
    padding: 28px;
    color: #30435a;
    font-size: 17px;
    line-height: 2;
}

.offer-detail-side {
    height: fit-content;
    padding: 22px;
}

.offer-detail-side h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 22px;
}

.offer-detail-side dl {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
}

.offer-detail-side div {
    padding: 12px;
    border-radius: 8px;
    background: #f6f8fb;
}

.offer-detail-side dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.offer-detail-side dd {
    margin: 3px 0 0;
    color: var(--navy);
    font-weight: 900;
}

.offer-detail-layout .about-cta {
    grid-column: 1 / -1;
}

.offer-video-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, .62fr) minmax(320px, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 0%, rgba(14, 165, 233, .14) 0 120px, transparent 121px),
        linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
    box-shadow: var(--shadow-soft);
}

html[dir="rtl"] .offer-video-panel {
    background:
        radial-gradient(circle at 82% 0%, rgba(14, 165, 233, .14) 0 120px, transparent 121px),
        linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
}

.offer-video-panel__copy h2 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.3;
}

.offer-video-panel__copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.offer-video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(15, 38, 57, .12);
    border-radius: 12px;
    background: #06172a;
    box-shadow: 0 18px 40px rgba(7, 22, 38, .16);
}

.offer-video-frame iframe,
.offer-video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.why-band {
    padding: 76px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #0c314f);
}

.why-grid {
    display: grid;
    grid-template-columns: .86fr 1.45fr;
    gap: 46px;
    align-items: start;
}

.why-copy h2,
.why-copy p {
    color: #fff;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.benefits article {
    min-height: 166px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
}

.benefits h3 {
    margin: 12px 0 6px;
}

.benefits p {
    margin: 0;
    color: #cdd9e5;
}

.icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    border: 2px solid #69c7a7;
    border-radius: 50%;
    position: relative;
}

.icon::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid currentColor;
    color: #69c7a7;
    border-radius: 4px;
}

.icon--shield::after {
    border-radius: 50% 50% 45% 45%;
}

.split,
.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.process-row span {
    color: var(--emerald);
    font-weight: 900;
}

.contact-section {
    padding: 80px 0;
    background: var(--soft);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.contact-form span {
    color: var(--ink);
}

.contact-page-hero {
    padding: 82px 0 62px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 27, 50, .98), rgba(21, 151, 111, .72)),
        url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.contact-page-hero h1 {
    max-width: 720px;
    margin: 10px 0 14px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
}

.contact-page-hero p {
    max-width: 700px;
    margin: 0;
    color: #e1ecf5;
    font-size: 18px;
    line-height: 1.9;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 22px;
    padding-block: 42px 76px;
}

.contact-info-panel {
    display: grid;
    gap: 14px;
    height: fit-content;
}

.contact-info-panel article {
    display: grid;
    gap: 7px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-info-panel span {
    color: var(--emerald);
    font-size: 13px;
    font-weight: 900;
}

.contact-info-panel strong {
    color: var(--navy);
    font-size: 17px;
    line-height: 1.55;
}

.contact-map-card {
    overflow: hidden;
    padding: 0 !important;
}

.contact-map-card span {
    display: block;
    padding: 18px 18px 10px;
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    min-height: 260px;
    border: 0;
    filter: saturate(1.08) contrast(1.02);
}

.contact-page-form-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-form--page {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.full {
    grid-column: 1 / -1;
}

.success-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    color: #075f48;
    background: #dff7ee;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    color: var(--muted);
}

.faq-hero {
    padding: 82px 0 62px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 27, 50, .98), rgba(12, 60, 76, .86)),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.faq-hero h1 {
    max-width: 760px;
    margin: 10px 0 14px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
}

.faq-hero p {
    max-width: 680px;
    margin: 0;
    color: #e1ecf5;
    font-size: 18px;
    line-height: 1.9;
}

.faq-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    padding-block: 42px 76px;
}

.faq-page-groups {
    display: grid;
    gap: 18px;
}

.faq-group {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.faq-group h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 24px;
}

.faq-list--page details {
    background: #f8fafc;
}

.faq-list--page details[open] {
    border-color: rgba(21, 151, 111, .35);
    background: #fff;
}

.faq-side-card {
    position: sticky;
    top: 18px;
    height: fit-content;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #071b32, #0f4f67);
    box-shadow: var(--shadow-soft);
}

.faq-side-card h2 {
    margin: 8px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.faq-side-card p {
    margin: 0 0 20px;
    color: #dbe7f3;
}

.footer {
    padding: 42px 0 20px;
    background: #06182c;
    color: #dbe6ef;
}

.footer__inner {
    justify-content: space-between;
    gap: 28px;
}

.footer__inner--rich {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, .55fr) minmax(220px, .7fr);
    align-items: start;
}

.footer__brand-block {
    display: grid;
    gap: 16px;
}

.footer p {
    max-width: 620px;
    margin: 0;
    color: #c3cfda;
}

.footer__links,
.footer__contacts {
    display: grid;
    align-items: start;
    gap: 10px;
}

.footer__links strong,
.footer__contacts strong {
    color: #fff;
    font-size: 16px;
}

.footer__links a,
.footer__contacts span {
    color: #c3cfda;
    font-weight: 700;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #9fb0c2;
    font-size: 13px;
    font-weight: 700;
}

.apply-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(7, 27, 50, .94), rgba(10, 48, 78, .86)),
        url("/images/website/hero-students-campus.png") center / cover fixed;
}

.apply-header {
    color: #fff;
    background: rgba(6, 24, 44, .82);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.apply-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 18px;
}

.apply-shell {
    padding: 58px 0 84px;
}

.apply-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 34px;
    align-items: start;
}

.apply-intro {
    position: sticky;
    top: 24px;
    padding: 28px;
    color: #fff;
}

.apply-intro h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.15;
}

.apply-intro p {
    max-width: 520px;
    color: #d8e5ef;
    font-size: 17px;
}

.apply-form {
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
}

.apply-form h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 24px;
}

.apply-form h2:not(:first-child) {
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid label {
    display: grid;
    gap: 7px;
}

.form-grid span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7e0ea;
    border-radius: var(--radius);
    padding: 10px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.apply-form .btn {
    margin-top: 18px;
}

.error-message {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    color: #8a1f1f;
    background: #ffe7e7;
    font-weight: 700;
}

.portal-page,
.portal-dashboard-page {
    min-height: 100vh;
    background: var(--soft);
}

.portal-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(7, 27, 50, .94), rgba(10, 48, 78, .78)),
        url("/images/website/hero-students-campus.png") center / cover;
}

.portal-card {
    width: min(100%, 460px);
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
}

.portal-brand {
    color: var(--navy);
}

.portal-brand small {
    color: var(--muted);
}

.portal-card h1 {
    margin: 28px 0 8px;
    color: var(--navy);
    font-size: 32px;
}

.portal-card p {
    margin: 0 0 22px;
    color: var(--muted);
}

.portal-form {
    display: grid;
    gap: 14px;
}

.portal-form label:not(.checkbox-row) {
    display: grid;
    gap: 7px;
}

.portal-form span {
    font-weight: 800;
    font-size: 13px;
}

.portal-form input {
    min-height: 48px;
    border: 1px solid #d7e0ea;
    border-radius: var(--radius);
    padding: 10px 14px;
    font: inherit;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-links {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    color: var(--emerald);
    font-weight: 800;
}

.portal-header {
    background: var(--navy);
    color: #fff;
}

.portal-header .apply-nav {
    min-height: 72px;
    gap: 16px;
}

.portal-header .brand {
    gap: 10px;
}

.portal-header .brand__mark {
    width: 42px;
    height: 42px;
    font-size: 14px;
}

.portal-header .brand strong {
    font-size: 18px;
    letter-spacing: 0;
}

.portal-header .brand small {
    color: #d5dfec;
    font-size: 10px;
}

.portal-header .nav-actions {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.portal-header .lang,
.portal-header .btn--small {
    min-height: 40px;
    border-radius: 8px;
    font-size: 13px;
}

.portal-header .lang {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
}

.portal-header .btn--small {
    padding: 8px 14px;
}

.portal-header .btn--ghost {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
}

.portal-header .btn--primary {
    padding-inline: 16px;
    box-shadow: 0 10px 22px rgba(21, 151, 111, .24);
}

.portal-dashboard {
    padding-block: 34px 70px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: end;
    padding: 28px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #0e3a5e);
}

.dashboard-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.dashboard-hero p {
    margin: 8px 0 0;
    color: #cbd8e5;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    gap: 12px;
}

.dashboard-stats article {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    text-align: center;
}

.dashboard-stats strong {
    display: block;
    font-size: 28px;
}

.dashboard-stats span {
    color: #dbe7f3;
    font-size: 13px;
}

.next-step-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(13, 148, 112, .24);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #effcf6 0%, #ffffff 72%);
    box-shadow: 0 14px 30px rgba(13, 148, 112, .08);
}

.next-step-card h2 {
    margin: 6px 0;
    color: var(--navy);
}

.next-step-card p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.next-step-card .btn {
    white-space: nowrap;
}

.portal-section {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.portal-section h2 {
    margin: 0 0 16px;
    color: var(--navy);
}

.section-title-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title-row h2 {
    margin: 0;
}

.portal-table {
    display: grid;
    gap: 10px;
}

.portal-row {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.portal-row--actions {
    grid-template-columns: 1.1fr repeat(5, minmax(0, 1fr)) auto;
}

.portal-row--compact {
    grid-template-columns: 1fr 160px 160px;
}

.portal-row--history {
    grid-template-columns: 190px 1fr 1fr 1.4fr;
}

.portal-row--invoice {
    grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)) 260px;
}

.portal-row strong {
    color: var(--navy);
}

.portal-row span,
.portal-row small {
    color: var(--muted);
}

.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #075f48 !important;
    background: #dff7ee;
    font-weight: 800;
    font-size: 12px;
}

.invoice-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.invoice-actions a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.invoice-actions a:hover {
    border-color: rgba(13, 148, 112, .35);
    color: #075f48;
    background: #effcf6;
}

.notification-list {
    display: grid;
    gap: 10px;
}

.notification-list--full {
    gap: 12px;
}

.notification-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--gold);
    border-radius: var(--radius);
    color: inherit;
    background: #fff;
    text-decoration: none;
}

.notification-item--document {
    border-inline-start-color: var(--green);
}

.notification-item--invoice {
    border-inline-start-color: #e28f2d;
}

.notification-item strong {
    color: var(--navy);
}

.notification-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

.notification-item > span {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.notification-item:hover {
    border-color: rgba(13, 148, 112, .22);
    box-shadow: 0 14px 30px rgba(15, 38, 57, .08);
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

.success-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(13, 148, 112, .28);
    border-radius: var(--radius);
    color: #075f48;
    background: #eafaf3;
    font-weight: 800;
}

.upload-panel {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fafc;
}

.upload-panel label {
    display: grid;
    gap: 8px;
}

.upload-panel label span {
    color: var(--navy);
    font-weight: 800;
    font-size: 13px;
}

.upload-panel input,
.upload-panel select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: var(--navy);
    font: inherit;
}

.upload-panel small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.application-summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.detail-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fafc;
}

.detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.detail-grid strong {
    color: var(--navy);
}

.stage-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stage-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.stage-card span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--navy);
    background: #eef5f7;
    font-weight: 900;
}

.stage-card strong {
    color: var(--navy);
}

.stage-card.is-current {
    border-color: rgba(13, 148, 112, .32);
    background: #effcf6;
    box-shadow: 0 14px 30px rgba(13, 148, 112, .10);
}

.stage-card.is-current span {
    color: #fff;
    background: var(--green);
}

.catalog-page {
    background: #f6f8fb;
}

.catalog-hero,
.university-hero {
    padding: 72px 0 44px;
    color: #fff;
    background: linear-gradient(135deg, #071b32 0%, #0f4f67 100%);
    background-size: cover;
    background-position: center;
}

.catalog-hero h1,
.university-hero h1 {
    margin: 10px 0;
    font-size: 48px;
    line-height: 1.08;
}

.catalog-hero p,
.university-hero p {
    max-width: 720px;
    margin: 0;
    color: #dbe7f3;
    font-size: 17px;
}

.catalog-layout {
    padding: 32px 0 64px;
}

.catalog-summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 38, 57, .08);
    border-radius: var(--radius);
    color: var(--navy);
    background: linear-gradient(135deg, #ffffff, #f0fbf7);
    box-shadow: 0 14px 34px rgba(15, 38, 57, .06);
}

.catalog-summary strong {
    font-size: 22px;
    font-weight: 900;
}

.catalog-summary span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.catalog-filter {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(15, 38, 57, .08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 44px rgba(15, 38, 57, .08);
}

.catalog-filter label {
    display: grid;
    gap: 8px;
}

.catalog-filter label span {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.catalog-filter input,
.catalog-filter select {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--navy);
    background: #fff;
    font: inherit;
}

.catalog-filter input:focus,
.catalog-filter select:focus {
    outline: 3px solid rgba(13, 148, 112, .15);
    border-color: rgba(13, 148, 112, .45);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.catalog-card,
.program-card {
    --card-accent: #0ea5e9;
    --card-soft: rgba(14, 165, 233, .13);
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 14px;
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(15, 38, 57, .08);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 0%, var(--card-soft) 0 76px, transparent 77px),
        linear-gradient(145deg, #ffffff 0%, #f8fcfd 100%);
    box-shadow: 0 14px 34px rgba(15, 38, 57, .07);
    min-height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

html[dir="rtl"] .catalog-card,
html[dir="rtl"] .program-card {
    background:
        radial-gradient(circle at 82% 0%, var(--card-soft) 0 76px, transparent 77px),
        linear-gradient(145deg, #ffffff 0%, #f8fcfd 100%);
}

.catalog-card::before,
.program-card::before,
.public-offer-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--card-accent), rgba(13, 148, 112, .35));
}

.catalog-card:hover,
.program-card:hover,
.public-offer-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--card-accent) 45%, #dbe5ec);
    box-shadow: 0 22px 48px rgba(15, 38, 57, .12);
}

.catalog-card .btn {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    border-color: rgba(13, 148, 112, .28);
    color: #075f48;
    background: #effcf6;
    font-weight: 900;
}

.catalog-card .btn:hover {
    color: #fff;
    border-color: var(--green);
    background: var(--green);
}

.catalog-card__logo {
    display: inline-flex;
    width: 150px;
    height: 92px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border-radius: 14px;
    border: 1px solid rgba(15, 38, 57, .08);
    color: var(--navy);
    background: rgba(255, 255, 255, .9);
    font-weight: 900;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 38, 57, .07);
}

html[dir="ltr"] .catalog-card__logo {
    justify-self: start;
}

.catalog-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    border-radius: inherit;
    background: #fff;
}

.program-card__image {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    border-radius: 12px;
    border: 1px solid rgba(15, 38, 57, .08);
    object-fit: cover;
    background: #eef5f7;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.catalog-card h2,
.program-card h3 {
    margin: 8px 0;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.25;
}

.catalog-card p,
.program-card p {
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.catalog-meta div {
    padding: 10px;
    border: 1px solid rgba(15, 38, 57, .08);
    border-radius: 8px;
    background: rgba(248, 250, 252, .82);
}

.catalog-meta dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.catalog-meta dd {
    margin: 4px 0 0;
    color: var(--navy);
    font-weight: 900;
}

.pagination-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.pagination-summary {
    color: var(--navy);
    font-weight: 900;
}

.pagination-summary span {
    color: var(--muted);
    font-weight: 700;
    margin-inline-start: 8px;
}

.pagination-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: #fff;
    font-weight: 900;
    text-decoration: none;
}

.pagination-btn.is-active {
    color: #fff;
    border-color: var(--green);
    background: var(--green);
}

.pagination-btn.is-disabled {
    color: #94a3b8;
    background: #f1f5f9;
}

.pagination-row svg {
    width: 16px;
    height: 16px;
}

.university-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: end;
}

.university-hero__logo,
.program-hero__image {
    width: min(220px, 56vw);
    height: 96px;
    margin-bottom: 18px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.program-hero__image {
    object-fit: cover;
}

.university-facts {
    display: grid;
    gap: 10px;
}

.university-facts article {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
}

.university-facts span {
    display: block;
    color: #dbe7f3;
    font-size: 12px;
    margin-bottom: 4px;
}

.university-facts strong {
    font-size: 18px;
}

.program-list {
    display: grid;
    gap: 14px;
}

.program-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.program-tags span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: #075f48;
    background: #dff7ee;
    font-size: 12px;
    font-weight: 900;
}

.program-catalog-card {
    grid-template-rows: auto 1fr auto auto auto;
}

.catalog-card:nth-child(6n + 1),
.program-card:nth-child(6n + 1),
.public-offer-card:nth-child(6n + 1) { --card-accent: #0ea5e9; --card-soft: rgba(14, 165, 233, .15); }

.catalog-card:nth-child(6n + 2),
.program-card:nth-child(6n + 2),
.public-offer-card:nth-child(6n + 2) { --card-accent: #10b981; --card-soft: rgba(16, 185, 129, .14); }

.catalog-card:nth-child(6n + 3),
.program-card:nth-child(6n + 3),
.public-offer-card:nth-child(6n + 3) { --card-accent: #f59e0b; --card-soft: rgba(245, 158, 11, .16); }

.catalog-card:nth-child(6n + 4),
.program-card:nth-child(6n + 4),
.public-offer-card:nth-child(6n + 4) { --card-accent: #8b5cf6; --card-soft: rgba(139, 92, 246, .13); }

.catalog-card:nth-child(6n + 5),
.program-card:nth-child(6n + 5),
.public-offer-card:nth-child(6n + 5) { --card-accent: #ef4444; --card-soft: rgba(239, 68, 68, .12); }

.catalog-card:nth-child(6n + 6),
.program-card:nth-child(6n + 6),
.public-offer-card:nth-child(6n + 6) { --card-accent: #14b8a6; --card-soft: rgba(20, 184, 166, .14); }

.program-fee-line {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
}

.program-fee-line strong {
    color: var(--navy);
}

.program-fee-line span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: #075f48;
    background: #dff7ee;
    font-size: 12px;
    font-weight: 900;
}

.about-hero {
    padding: 78px 0 48px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 27, 50, .96), rgba(15, 79, 103, .92)),
        url("/images/website/hero-students-campus.png") center / cover;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: end;
}

.about-hero h1 {
    margin: 10px 0;
    font-size: 52px;
    line-height: 1.08;
}

.about-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbe7f3;
    font-size: 18px;
}

.about-promise {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
    box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.about-promise span {
    display: block;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 10px;
}

.about-promise strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
}

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-service-grid article {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    padding: 18px;
    border: 1px solid rgba(11, 34, 57, .08);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(248,250,252,.72)),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(16,185,129,.10));
    box-shadow: 0 18px 38px rgba(15, 38, 57, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.about-service-grid article::after {
    content: "";
    position: absolute;
    inset-inline-end: -32px;
    top: -42px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--card-accent, #10b981) 18%, transparent);
}

.about-service-grid article:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--card-accent, #10b981) 45%, #fff);
    box-shadow: 0 24px 48px rgba(15, 38, 57, .12);
}

.about-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-accent, #10b981), color-mix(in srgb, var(--card-accent, #10b981) 68%, #06182c));
    box-shadow: 0 14px 24px color-mix(in srgb, var(--card-accent, #10b981) 24%, transparent);
    margin-bottom: 12px;
}

.about-icon svg {
    width: 26px;
    height: 26px;
}

.about-service-grid span {
    position: absolute;
    inset-inline-end: 18px;
    top: 18px;
    color: rgba(11, 34, 57, .08);
    font-size: 28px;
    font-weight: 900;
}

.about-service-grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.75;
}

.about-service-grid article:nth-child(1) { --card-accent: #0ea5e9; }
.about-service-grid article:nth-child(2) { --card-accent: #10b981; }
.about-service-grid article:nth-child(3) { --card-accent: #f59e0b; }
.about-service-grid article:nth-child(4) { --card-accent: #8b5cf6; }
.about-service-grid article:nth-child(5) { --card-accent: #ef4444; }
.about-service-grid article:nth-child(6) { --card-accent: #14b8a6; }
.about-service-grid article:nth-child(7) { --card-accent: #6366f1; }
.about-service-grid article:nth-child(8) { --card-accent: #f97316; }

.about-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-values article {
    position: relative;
    overflow: hidden;
    border-color: rgba(11, 34, 57, .08);
    background:
        linear-gradient(145deg, #fff, #f8fafc),
        linear-gradient(135deg, rgba(245,158,11,.12), rgba(16,185,129,.10));
    box-shadow: 0 18px 38px rgba(15, 38, 57, .08);
}

.about-values article::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--card-accent, #10b981), color-mix(in srgb, var(--card-accent, #10b981) 60%, #e2ad48));
}

.about-values article:nth-child(1) { --card-accent: #0ea5e9; }
.about-values article:nth-child(2) { --card-accent: #f59e0b; }
.about-values article:nth-child(3) { --card-accent: #10b981; }
.about-values article:nth-child(4) { --card-accent: #8b5cf6; }

.about-icon--value {
    width: 52px;
    height: 52px;
    color: var(--card-accent, #10b981);
    background: color-mix(in srgb, var(--card-accent, #10b981) 12%, #fff);
    box-shadow: none;
}

.about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: 24px;
    padding: 26px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #071b32, #0f4f67);
}

.about-cta h2 {
    margin: 8px 0;
    font-size: 30px;
}

.about-cta p {
    max-width: 760px;
    margin: 0;
    color: #dbe7f3;
}

.study-hero {
    overflow: hidden;
    padding: 78px 0 54px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 27, 50, .96), rgba(8, 74, 91, .82)),
        url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.study-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 28px;
    align-items: center;
}

.study-hero__copy h1 {
    max-width: 680px;
    margin: 12px 0;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
}

.study-hero__copy p {
    max-width: 660px;
    margin: 0;
    color: #e4edf6;
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn--outline-light {
    border: 1px solid rgba(255,255,255,.34);
    color: #fff;
    background: rgba(255,255,255,.08);
}

.study-hero__panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    background: rgba(4, 18, 34, .7);
    box-shadow: 0 24px 60px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
}

.study-hero__panel article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
}

.study-hero__panel span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(231, 169, 75, .14);
    font-weight: 900;
}

.study-hero__panel h2 {
    margin: 0 0 4px;
    font-size: 16px;
}

.study-hero__panel p {
    margin: 0;
    color: #cfdae7;
    font-size: 13px;
    line-height: 1.7;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.destination-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.destination-card__head {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: flex-start;
}

.destination-badge {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0b2846, #15966b);
    font-weight: 900;
}

.destination-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 22px;
}

.destination-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.destination-requirements {
    flex: 1;
    padding: 16px;
    border-radius: 12px;
    background: #f7fafc;
}

.destination-requirements h4 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 14px;
}

.destination-requirements ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.destination-requirements li {
    position: relative;
    padding-inline-start: 22px;
    color: #30435a;
    font-size: 14px;
    line-height: 1.55;
}

.destination-requirements li::before {
    position: absolute;
    inset-inline-start: 0;
    top: .65em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    content: "";
}

.destination-card__foot {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.destination-card__foot span {
    display: grid;
    gap: 4px;
}

.destination-card__foot small {
    color: var(--muted);
    font-weight: 700;
}

.destination-card__foot strong {
    color: var(--navy);
    font-size: 15px;
}

.profile-note {
    max-width: 420px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    color: #dbe7f3;
    background: rgba(255,255,255,.08);
    font-size: 14px;
}

.profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-form--password {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-form label {
    display: grid;
    gap: 8px;
}

.profile-form label span {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.profile-form input {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--navy);
    background: #fff;
    font: inherit;
}

.profile-form .btn {
    align-self: end;
    width: fit-content;
}

@media (max-width: 1120px) {
    .navlinks {
        display: none;
    }

    .search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-panel .btn {
        grid-column: 1 / -1;
    }

    .university-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar {
        overflow: hidden;
    }

    .topbar__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-block: 10px;
    }

    .topbar__contacts {
        display: flex;
        width: 100%;
        min-width: 0;
        gap: 8px 12px;
        font-size: 12px;
        line-height: 1.4;
    }

    .topbar__contacts .ltr-number {
        max-width: 100%;
        overflow-wrap: anywhere;
        white-space: nowrap;
    }

    .topbar__inner > span:last-child {
        max-width: 100%;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar {
        min-height: 68px;
        width: min(100% - 24px, 1180px);
        gap: 10px;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .navbar .brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .navbar .brand span {
        min-width: 0;
    }

    .navbar .brand strong,
    .navbar .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-actions {
        gap: 8px;
        flex: 0 0 auto;
    }

    .nav-actions .lang {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: 700px;
        padding-top: 128px;
    }

    .hero__overlay,
    html[dir="rtl"] .hero__overlay {
        background: linear-gradient(180deg, rgba(5, 18, 32, .94), rgba(7, 27, 50, .74));
    }

    html[dir="rtl"] .hero__content {
        justify-content: flex-start;
    }

    .hero__image {
        background-position: 67% center;
    }

    .hero__copy {
        padding-block: 26px 120px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-panel,
    .study-hero__inner,
    .offers-layout,
    .offer-detail-layout,
    .offer-video-panel,
    .faq-page-layout,
    .contact-page-layout,
    .catalog-filter,
    .about-hero__inner,
    .about-service-grid,
    .about-values,
    .about-cta,
    .contact-form,
    .form-grid,
    .apply-grid,
    .dashboard-hero,
    .university-hero__inner,
    .why-grid,
    .benefits,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .search-panel {
        margin-top: -88px;
    }

    .apply-intro {
        position: static;
        padding: 8px 0;
    }

    .apply-form {
        padding: 18px;
    }

    .dashboard-stats,
    .destination-grid,
    .fee-grid,
    .offer-grid,
    .public-offer-grid,
    .next-step-card,
    .catalog-grid,
    .portal-row,
    .portal-row--actions,
    .portal-row--invoice,
    .portal-row--history,
    .portal-row--compact {
        grid-template-columns: 1fr;
    }

    .next-step-card .btn {
        width: 100%;
    }

    .study-hero {
        padding: 54px 0 38px;
    }

    .study-hero__copy h1 {
        font-size: 42px;
    }

    .destination-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-actions {
        justify-content: flex-start;
    }

    .notification-item {
        grid-template-columns: 1fr;
    }

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

    .catalog-meta {
        grid-template-columns: 1fr;
    }

    .pagination-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .upload-panel {
        grid-template-columns: 1fr;
    }

    .profile-form,
    .profile-form--password {
        grid-template-columns: 1fr;
    }

    .application-summary {
        justify-content: flex-start;
    }

    .portal-section,
    .dashboard-hero {
        padding: 18px;
    }

    .section {
        padding: 56px 0;
    }

    .section__head,
    .section-title-row,
    .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer__inner--rich {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .university-strip {
        grid-template-columns: 1fr 1fr;
    }

    .process-row {
        grid-template-columns: 48px 1fr;
    }
}

@media (max-width: 460px) {
    .navbar .nav-actions .btn,
    .navbar .nav-actions .lang:nth-child(2) {
        display: none;
    }

    .navbar .brand small {
        display: none;
    }

    .navbar .brand strong {
        max-width: 145px;
        font-size: 14px;
    }

    .topbar__contacts {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .university-strip {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 1120px) {
    .mobile-nav-button {
        display: inline-grid;
        place-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255,255,255,0.26);
        border-radius: var(--radius);
        background: rgba(255,255,255,0.08);
        cursor: pointer;
        order: 4;
        flex: 0 0 44px;
    }

    .mobile-nav-button span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 89;
        background: rgba(5, 18, 32, 0.54);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }

    .navlinks,
    .portal-header .nav-actions {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        z-index: 90;
        display: flex;
        width: min(320px, 84vw);
        padding: 78px 18px 22px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        overflow-y: auto;
        overflow-x: hidden;
        background: #071b32;
        box-shadow: 18px 0 42px rgba(0,0,0,.25);
        transform: translate3d(-110%, 0, 0);
        transition: transform .22s ease;
        will-change: transform;
    }

    html[dir="rtl"] .navlinks,
    html[dir="rtl"] .portal-header .nav-actions {
        left: auto;
        right: 0;
        transform: translate3d(110%, 0, 0);
        box-shadow: -18px 0 42px rgba(0,0,0,.25);
    }

    .mobile-nav-toggle:checked ~ .mobile-nav-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-toggle:checked ~ .navlinks,
    .portal-header .mobile-nav-toggle:checked ~ .nav-actions {
        transform: translate3d(0, 0, 0);
    }

    .mobile-nav-close {
        position: absolute;
        top: 18px;
        inset-inline-end: 18px;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 10px;
        color: #fff;
        background: rgba(255,255,255,.08);
        cursor: pointer;
        font-size: 28px;
        line-height: 1;
    }

    .navlinks a,
    .portal-header .nav-actions a {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: flex-start;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 10px;
        padding: 10px 12px;
        color: #e7eef7;
        background: rgba(255,255,255,.06);
        font-weight: 800;
    }

    html[dir="rtl"] .navlinks a,
    html[dir="rtl"] .portal-header .nav-actions a {
        justify-content: flex-end;
    }

    .navlinks a.is-active,
    .navlinks a:hover,
    .portal-header .nav-actions a:hover {
        border-color: rgba(226,173,72,.45);
        color: #fff;
        background: rgba(226,173,72,.16);
    }
}

@media (max-width: 760px) {
    .navbar,
    .apply-nav {
        position: relative;
    }

    .portal-header .nav-actions {
        display: flex;
    }

    .topbar__contacts,
    .footer__contacts {
        align-items: flex-start;
    }
}
