@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --side: 250px;
    --container: 1200px;
    --container-nav: 1400px;
    box-sizing: border-box;
}

body {
    background-color: #f6f8fd;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(59, 91, 219, 0.14), transparent 45%),
        radial-gradient(circle at 100% 10%, rgba(255, 140, 90, 0.18), transparent 40%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

main section {
    scroll-margin-top: 100px;
}

[data-theme="dark"] {
    --d-bg: #070d1f;
    --d-card: #0f1a3c;
    --d-line: rgba(255, 255, 255, 0.1);
    --d-text: #f1f4fb;
    --d-sub: #aab3c8;
    --d-muted: #8a93a8;
    --d-chip: rgba(255, 255, 255, 0.07);
    --d-blue: #8aa0ff;
    --d-orange: #ff8a5c;
    color-scheme: dark;
}

[data-theme="dark"] body {
    background-color: var(--d-bg);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(59, 91, 219, 0.22), transparent 45%),
        radial-gradient(circle at 100% 10%, rgba(205, 76, 17, 0.18), transparent 40%);
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
        border: 4px solid #052da6;
        border-left-color: transparent;
    }

    50% {
        transform: rotate(180deg);
        border: 4px solid #052da9;
        border-left-color: transparent;
    }

    100% {
        transform: rotate(360deg);
        border: 4px solid #052da9;
        border-left-color: transparent;
    }
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background: #000;
    transition: opacity 0.6s ease;
}

.loader {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    border-radius: 60px;
    animation: loader 0.8s linear infinite;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

header nav {
    display: flex;
    align-items: center;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 32px;
    background-color: #0f1a3c;
    color: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(15, 26, 60, 0.08);
    z-index: 999;
    border-radius: 0 0 16px 16px;
}

header nav .logo {
    display: flex;
    flex: 1;
    align-items: center;
    text-decoration: none;
}

header nav .logo img {
    display: block;
    width: auto;
    height: 62px;
    transition: transform 0.3s ease;
}

header nav .logo:hover img {
    transform: scale(1.04);
}

header nav .logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

header nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

header nav ul li {
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
}

header nav ul li a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: #0f1a3c;
    background-color: #eef2fb;
}

header nav .btns {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

header nav .btns button {
    cursor: pointer;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

header nav .btns .apply {
    padding: 14px 28px;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
}

header nav .btns .apply:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

header nav .btns .language {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

header nav .btns .language::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    height: 36px;
    border-radius: 999px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

header nav .btns .language[data-lang="en"]::before {
    transform: translateX(40px);
}

header nav .btns .language span {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 36px;
    font-size: 14px;
    font-weight: 700;
    color: #aab3c8;
    transition: color 0.3s ease;
}

header nav .btns .language span.active {
    color: #0f1a3c;
}

header nav .btns .language:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

header nav .btns .language:focus:not(:focus-visible) {
    outline: none;
}

header nav .menu-btn {
    display: none;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

header nav .lines {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
}

header nav .line {
    position: absolute;
    right: 0;
    width: 24px;
    height: 2px;
    border-radius: 20px;
    background-color: #fff;
    transition: transform 0.4s ease-in-out, opacity 0.35s ease-in-out;
}

header nav .line.top {
    top: 3px;
}

header nav .line.middle {
    top: 11px;
}

header nav .line.bottom {
    bottom: 3px;
}

header nav .line.cross1,
header nav .line.cross2 {
    top: 11px;
    opacity: 0;
}

header nav .menu-btn.active .line.top {
    transform: translateY(20px);
    opacity: 0;
}

header nav .menu-btn.active .line.middle {
    opacity: 0;
}

header nav .menu-btn.active .line.bottom {
    transform: translateY(-20px);
    opacity: 0;
}

header nav .menu-btn.active .line.cross1 {
    opacity: 1;
    transform: rotate(45deg);
}

header nav .menu-btn.active .line.cross2 {
    opacity: 1;
    transform: rotate(-45deg);
}

header nav .btns .theme-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

header nav .btns .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

header nav .btns .theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

header nav .btns .theme-toggle .sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

header nav ul li.mobile-apply {
    display: none;
}

header nav .apply-mobile {
    width: 100%;
    padding: 14px 28px;
    cursor: pointer;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
}

header nav .menu-btn {
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
}

header nav .menu-btn:focus:not(:focus-visible) {
    outline: none;
}

header nav .menu-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

header nav.open {
    border-radius: 0;
}

header nav ul li a.active {
    color: #0f1a3c;
    background-color: #eef2fb;
}

[data-theme="dark"] header nav .btns .theme-toggle .moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] header nav .btns .theme-toggle .sun {
    opacity: 1;
    transform: none;
}

[data-theme="dark"] header nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
    header nav .menu-btn {
        display: flex;
    }

    header nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px 24px;
        background-color: #0f1a3c;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(15, 26, 60, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    header nav.open ul {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    header nav ul li a {
        display: block;
        padding: 14px 16px;
        font-size: 18px;
    }

    header nav ul li.mobile-apply {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 640px) {
    header nav .btns .apply {
        display: none;
    }
}

@media (max-width: 480px) {
    header nav .btns .language::before {
        width: 36px;
        height: 32px;
    }

    header nav .btns .language[data-lang="en"]::before {
        transform: translateX(36px);
    }

    header nav .btns .language span {
        width: 36px;
        height: 32px;
        font-size: 13px;
    }

    header nav {
        padding: 0 16px;
    }

    header nav .logo {
        min-width: 0;
    }

    header nav .logo img {
        height: 50px;
    }

    header nav .btns {
        gap: 8px;
    }

    header nav .btns .theme-toggle {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 360px) {
    header nav .logo img {
        height: 44px;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header .container .left-side {
    max-width: 560px;
}

header .container .left-side .nxgroup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.08);
    font-family: sans-serif;
    font-size: 14px;
    color: #5b6478;
    cursor: default;
}

header .container .left-side .nxgroup .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: #eaf0ff;
    color: #3b5bdb;
}

header .container .left-side .nxgroup svg {
    transition: transform 0.3s ease;
}

header .container .left-side .nxgroup:hover svg {
    transform: translateX(5px);
}

header .container .left-side .nxgroup b {
    color: #0f1a3c;
    font-weight: 700;
}

header .container .left-side h1 {
    margin: 28px 0 24px;
    font-family: sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #0f1a3c;
}

header .container .left-side p {
    margin-bottom: 32px;
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #5b6478;
}

header .container .left-side .actions {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

header .container .left-side .actions button {
    cursor: pointer;
    padding: 14px 22px;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

header .container .left-side .actions .enroll {
    color: #fff;
    background-color: #cd4c11;
    border: 1px solid #cd4c11;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
}

header .container .left-side .actions .enroll:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

header .container .left-side .actions .formats {
    color: #0f1a3c;
    background-color: #fff;
    border: 1px solid #d5dae6;
}

header .container .left-side .actions .formats:hover {
    border-color: #0f1a3c;
    transform: translateY(-2px);
}

header .container .left-side .perks {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-family: sans-serif;
    font-size: 14px;
    color: #5b6478;
}

header .container .left-side .perks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

header .container .left-side .perks li svg {
    color: #3b5bdb;
    flex-shrink: 0;
}

header .container .left-side .perks li:last-child {
    width: 100%;
}

header .container .right-side {
    position: relative;
    width: 750px;
    height: 600px;
}

header .container .right-side .frame {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 30px 40px rgba(15, 26, 60, 0.25));
}

header .container .right-side .photo {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: url(#truck-shape);
}

header .container .right-side .photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 2% center;
}

header .container .right-side .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 26, 60, 0.35), transparent 50%);
}

header {
    padding-top: 140px;
}

header .container .right-side {
    width: auto;
    height: auto;
    flex: 0 1 750px;
    aspect-ratio: 5 / 4;
}

[data-theme="dark"] header .container .left-side .nxgroup {
    color: var(--d-sub);
    background-color: var(--d-card);
    border: 1px solid var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] header .container .left-side .nxgroup .icon {
    color: var(--d-blue);
    background-color: var(--d-chip);
}

[data-theme="dark"] header .container .left-side .nxgroup b,
[data-theme="dark"] header .container .left-side h1 {
    color: var(--d-text);
}

[data-theme="dark"] header .container .left-side p,
[data-theme="dark"] header .container .left-side .perks {
    color: var(--d-sub);
}

[data-theme="dark"] header .container .left-side .perks li svg {
    color: var(--d-blue);
}

[data-theme="dark"] header .container .left-side .actions .formats {
    color: #0f1a3c;
    background-color: #fff;
    border-color: #fff;
}

[data-theme="dark"] header .container .left-side .actions .formats:hover {
    background-color: #eef2fb;
    border-color: #eef2fb;
}

@media (max-width: 1100px) {
    header .container .left-side h1 {
        font-size: 48px;
        letter-spacing: -1.5px;
    }
}

@media (max-width: 1024px) {
    header .container {
        gap: 32px;
    }

    header .container .left-side h1 {
        font-size: 42px;
    }

    header .container .left-side .actions {
        flex-wrap: wrap;
    }

    header .container .left-side {
        flex: 1 1 0;
        min-width: 0;
    }

    header .container .right-side {
        flex: 0 0 44%;
    }
}

@media (max-width: 760px) {
    header {
        padding-top: 120px;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }

    header .container .left-side {
        flex: none;
        width: 100%;
        max-width: none;
    }

    header .container .right-side {
        flex: none;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    header {
        padding-top: 104px;
    }

    header .container {
        padding: 0 16px;
    }

    header .container .left-side h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    header .container .left-side p {
        font-size: 16px;
    }

    header .container .left-side p br {
        display: none;
    }

    header .container .left-side .actions {
        flex-direction: column;
    }

    header .container .left-side .actions button {
        width: 100%;
    }
}

@keyframes marquee {
    to {
        transform: translateX(calc(-50% - var(--gap) / 2));
    }
}

main #partners {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 48px;
    font-family: sans-serif;
}

main #partners .box {
    padding: 0;
    border-radius: 24px;
}

main #partners .marquee {
    --gap: 56px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

main #partners .track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: max-content;
    animation: marquee 75s linear infinite;
}

main #partners .marquee:hover .track {
    animation-play-state: paused;
}

main #partners .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 160px;
    height: 64px;
}

main #partners .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

main #partners .logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(var(--s, 1));
    filter: grayscale(1);
    opacity: 0.75;
    transition: all 0.3s ease;
}

main #partners .logo img:hover {
    filter: none;
    opacity: 1;
}

[data-theme="dark"] main #partners .logo img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

[data-theme="dark"] main #partners .logo img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
}

@media (max-width: 640px) {
    main #partners {
        margin: 60px auto;
        padding: 0 16px;
    }

    main #partners .box {
        padding: 0;
        border-radius: 20px;
    }

    main #partners .marquee {
        --gap: 40px;
    }

    main #partners .logo img {
        height: 30px;
    }

    main #partners .logo {
        width: 120px;
        height: 48px;
    }

    main #partners .logo img {
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    main #partners .track {
        animation: none;
    }
}

main #about {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 48px;
    font-family: sans-serif;
}

main #about .head {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

main #about .head h2 {
    margin-bottom: 12px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #about .head .text {
    font-size: 18px;
    line-height: 1.6;
    color: #5b6478;
}

main #about .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

main #about .feature {
    padding: 28px 24px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #about .feature .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background-color: #eef2fb;
    color: #3b5bdb;
}

main #about .feature h4 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #0f1a3c;
}

main #about .feature p {
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

main #about .where {
    margin-bottom: 0;
}

main #about .where h3 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    color: #0f1a3c;
}

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

main #about .place {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #about .place .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #eef2fb;
    color: #3b5bdb;
}

main #about .place .info {
    flex: 1;
    min-width: 0;
}

main #about .place .info b {
    display: block;
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #0f1a3c;
}

main #about .place .info span {
    font-size: 14px;
    line-height: 1.5;
    color: #5b6478;
}

main #about .place .map {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    color: #cd4c11;
}

main #about .place .map:hover {
    color: #b3410d;
}

[data-theme="dark"] main #about .head h2,
[data-theme="dark"] main #about .where h3,
[data-theme="dark"] main #about .feature h4,
[data-theme="dark"] main #about .place .info b {
    color: var(--d-text);
}

[data-theme="dark"] main #about .head .text,
[data-theme="dark"] main #about .feature p,
[data-theme="dark"] main #about .place .info span {
    color: var(--d-sub);
}

[data-theme="dark"] main #about .place .map {
    color: var(--d-orange);
}

[data-theme="dark"] main #about .feature,
[data-theme="dark"] main #about .place {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] main #about .feature .icon,
[data-theme="dark"] main #about .place .icon {
    color: var(--d-blue);
    background-color: var(--d-chip);
}

@media (max-width: 900px) {
    main #about {
        margin: 60px auto;
        padding: 0 24px;
    }

    main #about .head h2 {
        font-size: 38px;
    }

    main #about .features {
        gap: 16px;
        margin-bottom: 16px;
    }

    main #about .feature {
        padding: 24px 16px;
    }

    main #about .feature h4 {
        font-size: 17px;
    }

    main #about .feature p {
        font-size: 14px;
    }

    main #about .place {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    main #about .place .info {
        flex-basis: calc(100% - 60px);
    }
}

@media (max-width: 640px) {
    main #about .features {
        grid-template-columns: minmax(0, 1fr);
    }

    main #about .feature {
        padding: 28px 24px;
    }

    main #about .places {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    main #about {
        padding: 0 16px;
    }

    main #about .head {
        margin-bottom: 32px;
    }

    main #about .head h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #about .head .text {
        font-size: 16px;
    }

    main #about .place {
        flex-wrap: wrap;
    }

    main #about .place .info {
        flex-basis: calc(100% - 60px);
    }
}

main #dispatch {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 48px;
    font-family: sans-serif;
}

main #dispatch .head {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

main #dispatch .head h2 {
    margin-bottom: 12px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #dispatch .blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

main #dispatch .card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #dispatch .card h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f1a3c;
}

main #dispatch .card .text {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #5b6478;
}

main #dispatch .card .sub {
    margin: 28px 0 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8a93a8;
}

main #dispatch .weeks,
main #dispatch .list {
    list-style: none;
}

main #dispatch .list li {
    padding: 14px 0;
    border-top: 1px solid #e4e8f2;
}

main #dispatch .list h4 {
    margin-bottom: 2px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #0f1a3c;
}

main #dispatch .list p,
main #dispatch .weeks p {
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

main #dispatch .weeks li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 2px 16px;
    padding: 12px 0;
    border-top: 1px solid #e4e8f2;
}

main #dispatch .weeks .num {
    display: flex;
    grid-row: 1 / 4;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background-color: #cd4c11;
    border-radius: 50%;
}

main #dispatch .weeks .stage {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8a93a8;
}

main #dispatch .weeks h4 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #0f1a3c;
}

main #dispatch .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

main #dispatch .apply,
main #dispatch .more {
    flex: 1;
    padding: 15px 24px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

main #dispatch .apply {
    color: #fff;
    background-color: #cd4c11;
    border: 1px solid #cd4c11;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
}

main #dispatch .apply:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

main #dispatch .more {
    color: #0f1a3c;
    background-color: #fff;
    border: 1px solid #d5dae6;
}

main #dispatch .more:hover {
    border-color: #0f1a3c;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    main #dispatch {
        padding: 0 24px;
    }

    main #dispatch .blocks {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    main #dispatch {
        margin: 60px auto;
        padding: 0 16px;
    }

    main #dispatch .head {
        margin-bottom: 32px;
    }

    main #dispatch .head h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #dispatch .card {
        padding: 28px 20px;
    }

    main #dispatch .card h3 {
        font-size: 22px;
    }

    main #dispatch .actions {
        flex-direction: column;
    }
}

[data-theme="dark"] main #dispatch .head h2,
[data-theme="dark"] main #dispatch .card h3,
[data-theme="dark"] main #dispatch .list h4,
[data-theme="dark"] main #dispatch .weeks h4 {
    color: var(--d-text);
}

[data-theme="dark"] main #dispatch .card .text,
[data-theme="dark"] main #dispatch .list p,
[data-theme="dark"] main #dispatch .weeks p {
    color: var(--d-sub);
}

[data-theme="dark"] main #dispatch .card {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] main #dispatch .list li,
[data-theme="dark"] main #dispatch .weeks li {
    border-top-color: var(--d-line);
}

[data-theme="dark"] main #dispatch .card .sub,
[data-theme="dark"] main #dispatch .weeks .stage {
    color: var(--d-muted);
}

[data-theme="dark"] main #dispatch .more {
    color: var(--d-text);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] main #dispatch .more:hover {
    border-color: #fff;
}

main #formats,
main #courses {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 48px;
    font-family: sans-serif;
}

main #formats .head,
main #courses .head {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

main #formats .head h2,
main #courses .head h2 {
    margin: 16px 0 12px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #formats .head p,
main #courses .head p {
    font-size: 18px;
    line-height: 1.6;
    color: #5b6478;
}

main #formats .cards,
main #courses .cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

main #formats .card,
main #courses .card {
    position: relative;
    padding: 32px 36px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #formats .card.featured {
    border-color: #cd4c11;
    box-shadow: 0 12px 40px rgba(205, 76, 17, 0.15);
}

main #formats .card .icon,
main #courses .card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background-color: #eef2fb;
    color: #3b5bdb;
}

main #formats .card h3,
main #courses .card h3 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f1a3c;
}

main #formats .card .info,
main #courses .card .info {
    list-style: none;
    border-top: 1px solid #e4e8f2;
}

main #formats .card .info li,
main #courses .card .info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e4e8f2;
}

main #formats .card .info .name,
main #courses .card .info .name {
    font-size: 15px;
    color: #8a93a8;
}

main #formats .card .info .value,
main #courses .card .info .value {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: #0f1a3c;
}

main #courses .card .info .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f5a623;
}

main #formats .card .info .price,
main #courses .card .info .price {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.1;
}

main #formats .card .info .price b,
main #courses .card .info .price b {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
    color: #cd4c11;
}

main #formats .card .info .price small,
main #courses .card .info .price small {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #cd4c11;
}

main #formats .card .apply,
main #courses .card .apply {
    width: 100%;
    margin-top: 24px;
    padding: 15px 24px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
    cursor: pointer;
}

main #formats .card .apply:hover,
main #courses .card .apply:hover {
    background-color: #b3410d;
}

main #formats .card,
main #courses .card {
    scroll-margin-top: 110px;
}

main #formats .card:target {
    border-color: #3b5bdb;
    box-shadow: 0 12px 40px rgba(59, 91, 219, 0.18);
}

[data-theme="dark"] main #formats .head h2,
[data-theme="dark"] main #formats .card h3,
[data-theme="dark"] main #formats .card .info .value,
[data-theme="dark"] main #courses .head h2,
[data-theme="dark"] main #courses .card h3,
[data-theme="dark"] main #courses .card .info .value {
    color: var(--d-text);
}

[data-theme="dark"] main #formats .head p,
[data-theme="dark"] main #courses .head p {
    color: var(--d-sub);
}

[data-theme="dark"] main #formats .card,
[data-theme="dark"] main #courses .card {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] main #formats .card.featured {
    border-color: #cd4c11;
    box-shadow: 0 12px 40px rgba(205, 76, 17, 0.2);
}

[data-theme="dark"] main #formats .card .icon,
[data-theme="dark"] main #courses .card .icon {
    color: var(--d-blue);
    background-color: var(--d-chip);
}

[data-theme="dark"] main #formats .card .info,
[data-theme="dark"] main #formats .card .info li,
[data-theme="dark"] main #courses .card .info,
[data-theme="dark"] main #courses .card .info li {
    border-color: var(--d-line);
}

[data-theme="dark"] main #formats .card .info .price b,
[data-theme="dark"] main #formats .card .info .price small,
[data-theme="dark"] main #courses .card .info .price b,
[data-theme="dark"] main #courses .card .info .price small {
    color: var(--d-orange);
}

[data-theme="dark"] main #formats .card:target {
    border-color: var(--d-blue);
    box-shadow: 0 12px 40px rgba(138, 160, 255, 0.18);
}

@supports (grid-template-rows: subgrid) {
    main #formats .cards {
        row-gap: 0;
    }

    main #formats .card {
        display: grid;
        grid-row: span 5;
        grid-template-rows: subgrid;
        row-gap: 0;
    }

    main #formats .card .info {
        display: grid;
        grid-row: span 2;
        grid-template-rows: subgrid;
    }

    main #formats .card .info li {
        align-items: center;
    }
}

@media (max-width: 1100px) {
    main #formats .cards,
    main #courses .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @supports (grid-template-rows: subgrid) {
        main #formats,
        main #courses {
            display: flow-root;
        }

        main #formats .cards,
        main #courses .cards {
            margin-bottom: -20px;
        }

        main #formats .card,
        main #courses .card {
            margin-bottom: 20px;
        }
    }
}

@media (max-width: 800px) {
    main #formats,
    main #courses {
        margin: 60px auto;
        padding: 0 16px;
    }

    main #formats .head,
    main #courses .head {
        margin-bottom: 32px;
    }

    main #formats .head h2,
    main #courses .head h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #formats .head p,
    main #courses .head p {
        font-size: 16px;
    }

    main #formats .card {
        padding: 28px 24px;
    }
}

@media (max-width: 640px) {
    main #formats .cards,
    main #courses .cards {
        grid-template-columns: 1fr;
    }
}

main #courses .card {
    padding: 32px 24px;
}

main #courses .card h3 {
    align-self: center;
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

main #courses .card .desc {
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

main #courses .card .info {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

main #courses .card .info li {
    flex: 1;
}

main #formats .card .info .price b.text,
main #courses .card .info .price b.text {
    font-size: 18px;
    letter-spacing: -0.3px;
}

[data-theme="dark"] main #courses .card .desc {
    color: var(--d-sub);
}

@supports (grid-template-rows: subgrid) {
    main #courses .cards {
        row-gap: 0;
    }

    main #courses .card {
        display: grid;
        grid-row: span 5;
        grid-template-rows: subgrid;
        row-gap: 0;
    }
}

@keyframes fill {
    to {
        transform: scaleX(1);
    }
}

main #program {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 48px;
    font-family: sans-serif;
}

main #program .inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

main #program h2 {
    margin: 16px 0 36px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #program svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

main #program .items {
    border-top: 1px solid #e4e8f2;
}

main #program .item {
    position: relative;
    border-bottom: 1px solid #e4e8f2;
}

main #program .item-head {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 0;
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #8a93a8;
    transition: color 0.3s ease;
}

main #program .item-head:hover {
    color: #0f1a3c;
}

main #program .item-head .num {
    font-size: 12px;
    font-weight: 700;
    color: #b3bbcc;
    transition: color 0.3s ease;
}

main #program .item-head svg {
    width: 20px;
    height: 20px;
    margin-left: auto;
    stroke-width: 2;
    transition: transform 0.4s ease;
}

main #program .item.active .item-head {
    color: #0f1a3c;
}

main #program .item.active .item-head .num {
    color: #cd4c11;
}

main #program .item.active .item-head svg {
    transform: rotate(180deg);
}

main #program .item-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

main #program .item.active .item-body {
    grid-template-rows: 1fr;
}

main #program .item-body>div {
    min-height: 0;
    overflow: hidden;
    padding-left: 34px;
}

main #program .item-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

main #program .item-body p.sub {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #0f1a3c;
}

main #program .item-body>div> :last-child {
    padding-bottom: 22px;
}

main #program .bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    overflow: hidden;
}

main #program .bar i {
    display: block;
    height: 100%;
    background-color: #cd4c11;
    transform: scaleX(0);
    transform-origin: left;
}

main #program.playing .item.active .bar i {
    animation: fill 15s linear forwards;
}

main #program .items:hover .bar i {
    animation-play-state: paused;
}

main #program .enroll {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 24px;
    cursor: pointer;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

main #program .enroll svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

main #program .enroll:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

main #program .visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

main #program .visual::before {
    content: "";
    position: absolute;
    inset: 5% 8%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(205, 76, 17, 0.16), rgba(59, 91, 219, 0.1), transparent);
    filter: blur(40px);
}

main #program .panel {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    max-width: 460px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

main #program .panel.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

main #program .card {
    position: relative;
    padding: 26px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 26, 60, 0.1);
}

main #program .card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(to right, transparent, #cd4c11, transparent);
}

main #program .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #0f1a3c;
}

main #program .head .tag {
    margin-left: auto;
}

main #program .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #eef2fb;
    color: #3b5bdb;
}

main #program .icon svg {
    width: 20px;
    height: 20px;
}

main #program .tag {
    padding: 5px 12px;
    border: 1px solid rgba(205, 76, 17, 0.3);
    border-radius: 999px;
    background-color: rgba(205, 76, 17, 0.08);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    color: #cd4c11;
}

main #program .cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 13px;
}

main #program .cal b {
    padding-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #8a93a8;
}

main #program .cal span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 10px;
    background-color: #f3f6fc;
    color: #5b6478;
}

main #program .cal span.empty {
    background: none;
}

main #program .cal span.start {
    background-color: #cd4c11;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(205, 76, 17, 0.15), 0 8px 20px rgba(205, 76, 17, 0.35);
}

main #program .time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #d5dae6;
}

main #program .time {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #0f1a3c;
}

main #program .time small {
    margin-right: 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #8a93a8;
}

main #program .bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 34px;
}

main #program .bars i {
    width: 8px;
    border-radius: 4px;
    background: linear-gradient(#ff8a5c, #cd4c11);
}

main #program .bars i:nth-child(1) {
    height: 40%;
}

main #program .bars i:nth-child(2) {
    height: 75%;
}

main #program .bars i:nth-child(3) {
    height: 55%;
}

main #program .bars i:nth-child(4) {
    height: 95%;
}

main #program .bars i:nth-child(5) {
    height: 65%;
}

main #program .ticket {
    padding: 0;
    overflow: hidden;
    color: #fff;
    background-color: #0f1a3c;
    background-size: 16px 16px;
    border-color: rgba(255, 255, 255, 0.12);
}

main #program .ticket .top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 26px 26px 0;
}

main #program .ticket .icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

main #program .ticket .trial {
    font-size: 15px;
    color: #aab3c8;
}

main #program .ticket .big {
    padding: 18px 26px 30px;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff, #bc7006);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

main #program .ticket .cut {
    margin: 0 26px;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
}

main #program .ticket .bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 26px 26px;
    font-weight: 700;
}

main #program .check {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #cd4c11;
    color: #fff;
}

main #program .check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

main #program .checklist {
    display: grid;
    gap: 10px;
    list-style: none;
}

main #program .checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e4e8f2;
    border-radius: 14px;
    background-color: #f8faff;
    font-size: 15px;
    color: #0f1a3c;
}

main #program .checklist b {
    margin-left: auto;
    font-size: 15px;
    font-weight: 800;
    color: #cd4c11;
}

main #program .levels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-top: 18px;
}

main #program .levels i {
    padding: 8px 0;
    border-radius: 8px;
    background-color: #f3f6fc;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    color: #8a93a8;
}

main #program .levels i.on {
    background-color: rgba(205, 76, 17, 0.1);
    box-shadow: inset 0 0 0 1px rgba(205, 76, 17, 0.35);
    color: #cd4c11;
}

[data-theme="dark"] main #program h2,
[data-theme="dark"] main #program .item.active .item-head,
[data-theme="dark"] main #program .item-head:hover,
[data-theme="dark"] main #program .item-body p.sub,
[data-theme="dark"] main #program .head,
[data-theme="dark"] main #program .time {
    color: var(--d-text);
}

[data-theme="dark"] main #program .items,
[data-theme="dark"] main #program .item {
    border-color: var(--d-line);
}

[data-theme="dark"] main #program .item-body p {
    color: var(--d-sub);
}

[data-theme="dark"] main #program .item.active .item-head .num,
[data-theme="dark"] main #program .levels i.on,
[data-theme="dark"] main #program .checklist b {
    color: var(--d-orange);
}

[data-theme="dark"] main #program .card {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] main #program .icon {
    color: var(--d-blue);
    background-color: var(--d-chip);
}

[data-theme="dark"] main #program .cal b {
    color: var(--d-muted);
}

[data-theme="dark"] main #program .cal span:not(.empty):not(.start) {
    color: var(--d-sub);
    background-color: var(--d-chip);
}

[data-theme="dark"] main #program .time-row {
    border-top-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] main #program .checklist li {
    color: var(--d-text);
    background-color: var(--d-chip);
    border-color: var(--d-line);
}

[data-theme="dark"] main #program .levels i:not(.on) {
    color: var(--d-muted);
    background-color: var(--d-chip);
}

@media (max-width: 900px) {
    main #program {
        margin: 60px auto;
        padding: 0 24px;
    }

    main #program .inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    main #program .visual {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    main #program {
        padding: 0 16px;
    }

    main #program h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #program .item-head {
        padding: 18px 0;
        font-size: 17px;
    }

    main #program .card {
        padding: 20px;
    }

    main #program .time {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    main #program h2 {
        margin: 8px 0 24px;
        font-size: 28px;
        text-wrap: balance;
    }

    main #program .item-head {
        gap: 12px;
        padding: 16px 0;
        font-size: 16px;
    }

    main #program .card {
        padding: 18px 16px;
    }

    main #program .head {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 6px 12px;
    }

    main #program .head .tag {
        grid-column: 2;
        justify-self: start;
        margin-left: 0;
    }

    main #program .cal {
        gap: 4px;
        font-size: 12px;
    }

    main #program .cal span {
        border-radius: 8px;
    }

    main #program .time {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    main #program.playing .item.active .bar i {
        animation: none;
        transform: scaleX(1);
    }
}

main #reviews {
    max-width: 1200px;
    margin: 80px auto 48px;
    padding: 0 48px;
    font-family: sans-serif;
}

main #reviews .head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

main #reviews .head h2 {
    margin-bottom: 12px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #reviews .head p {
    font-size: 18px;
    line-height: 1.6;
    color: #5b6478;
}

main #reviews .cards {
    padding: 4px 0 16px;
    margin-bottom: -16px;
    overflow: hidden;
    touch-action: pan-y;
}

main #reviews .track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

main #reviews .card {
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #reviews .card .quote {
    height: 22px;
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 0.8;
    color: #cd4c11;
}

main #reviews .card .stars {
    font-size: 18px;
    letter-spacing: 3px;
    color: #cd4c11;
}

main #reviews .card .text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: #5b6478;
}

main #reviews .card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #e4e8f2;
}

main #reviews .card .name {
    font-size: 15px;
    font-weight: 700;
    color: #0f1a3c;
}

main #reviews .nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    gap: 12px;
}

main #reviews .nav-button {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #161616;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

main #reviews .nav-button:hover {
    background-color: #374151;
}

main #reviews .nav-button.rotate {
    transform: rotate(180deg);
}

main #reviews .dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

main #reviews .dots[hidden] {
    display: none;
}

main #reviews .dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background-color: #c9d2ea;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

main #reviews .dot:hover {
    background-color: rgba(205, 76, 17, 0.45);
}

main #reviews .dot.active {
    width: 32px;
    background-color: #cd4c11;
}

main #reviews .dot:focus:not(:focus-visible) {
    outline: none;
}

[data-theme="dark"] main #reviews .head h2,
[data-theme="dark"] main #reviews .card .name {
    color: var(--d-text);
}

[data-theme="dark"] main #reviews .head p,
[data-theme="dark"] main #reviews .card .text {
    color: var(--d-sub);
}

[data-theme="dark"] main #reviews .card {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] main #reviews .card .author {
    border-top-color: var(--d-line);
}

[data-theme="dark"] main #reviews .nav-button {
    background-color: #1d2b5c;
}

[data-theme="dark"] main #reviews .nav-button:hover {
    background-color: #2a3b78;
}

[data-theme="dark"] main #reviews .dot {
    background-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] main #reviews .dot:hover {
    background-color: var(--d-blue);
}

[data-theme="dark"] main #reviews .dot.active {
    background-color: #cd4c11;
}

@media (max-width: 900px) {
    main #reviews {
        padding: 0 24px;
    }

    main #reviews .card {
        flex-basis: calc((100% - 20px) / 2);
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    main #reviews {
        margin: 60px auto 40px;
        padding: 0 16px;
    }

    main #reviews .head {
        margin-bottom: 32px;
    }

    main #reviews .head h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #reviews .head p {
        font-size: 16px;
    }

    main #reviews .track {
        gap: 12px;
    }

    main #reviews .card {
        flex-basis: 100%;
    }

    main #reviews .nav-buttons {
        margin-top: 24px;
    }
}

main #faq {
    max-width: 800px;
    margin: 48px auto 80px;
    padding: 0 24px;
    font-family: sans-serif;
}

main #faq .faq-head {
    text-align: center;
    margin-bottom: 40px;
}

main #faq .faq-head h2 {
    margin: 0 0 12px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #faq .faq-head p {
    font-size: 18px;
    color: #5b6478;
}

main #faq .accordion {
    margin-bottom: 12px;
    padding: 22px 28px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
    transition: all 0.3s ease;
}

main #faq .accordion:hover {
    border-color: #c9d2ea;
    box-shadow: 0 8px 30px rgba(15, 26, 60, 0.08);
}

main #faq .accordion.open {
    border-color: #cd4c11;
    box-shadow: 0 8px 30px rgba(205, 76, 17, 0.12);
}

main #faq .accordion-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    user-select: none;
}

main #faq .accordion-question p {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #0f1a3c;
}

main #faq .icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eef2fb;
    transition: background-color 0.3s ease;
}

main #faq .icon::before,
main #faq .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background-color: #0f1a3c;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

main #faq .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

main #faq .accordion.open .icon {
    background-color: #cd4c11;
}

main #faq .accordion.open .icon::before,
main #faq .accordion.open .icon::after {
    background-color: #fff;
}

main #faq .accordion.open .icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

main #faq .accordion-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

main #faq .accordion-content {
    padding-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

[data-theme="dark"] main #faq .faq-head h2,
[data-theme="dark"] main #faq .accordion-question p {
    color: var(--d-text);
}

[data-theme="dark"] main #faq .faq-head p,
[data-theme="dark"] main #faq .accordion-content {
    color: var(--d-sub);
}

[data-theme="dark"] main #faq .accordion {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

[data-theme="dark"] main #faq .accordion:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] main #faq .accordion.open {
    border-color: #cd4c11;
    box-shadow: 0 8px 30px rgba(205, 76, 17, 0.18);
}

[data-theme="dark"] main #faq .icon {
    background-color: var(--d-chip);
}

[data-theme="dark"] main #faq .icon::before,
[data-theme="dark"] main #faq .icon::after {
    background-color: var(--d-text);
}

[data-theme="dark"] main #faq .accordion.open .icon {
    background-color: #cd4c11;
}

[data-theme="dark"] main #faq .accordion.open .icon::before,
[data-theme="dark"] main #faq .accordion.open .icon::after {
    background-color: #fff;
}

@media (max-width: 600px) {
    main #faq {
        margin: 40px auto 60px;
        padding: 0 16px;
    }

    main #faq .faq-head h2 {
        font-size: 32px;
    }

    main #faq .faq-head p {
        font-size: 16px;
    }

    main #faq .accordion {
        padding: 18px 20px;
    }

    main #faq .accordion-question p {
        font-size: 16px;
    }
}

main #card {
    margin: 80px 0;
    padding: 0 24px;
    font-family: sans-serif;
}

main #card .container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1050px;
    min-height: 420px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    background-color: #0f1a3c;
    box-shadow: 0 20px 60px rgba(15, 26, 60, 0.25);
}

main #card .content {
    position: relative;
    z-index: 1;
}

main #card h2 {
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #fff;
}

main #card p {
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 1.6;
    color: #aab3c8;
}

main #card .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

main #card .note {
    max-width: none;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.5;
    color: #8a93a8;
}

main #card .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 36px;
    cursor: pointer;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

main #card .btn-orange {
    color: #fff;
    background-color: #cd4c11;
    border: 1px solid #cd4c11;
    box-shadow: 0 6px 20px rgba(205, 76, 17, 0.4);
}

main #card .btn-orange:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    main #card .container {
        min-height: 360px;
    }

    main #card h2 {
        font-size: 34px;
    }

    main #card p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    main #card {
        margin: 60px 0;
        padding: 0 16px;
    }

    main #card .container {
        min-height: 0;
        padding: 36px 20px;
        border-radius: 24px;
    }

    main #card h2 {
        font-size: 26px;
        letter-spacing: -1px;
    }

    main #card .buttons {
        flex-direction: column;
    }

    main #card .btn {
        justify-content: center;
    }
}

footer {
    position: relative;
    margin-top: 80px;
    padding: 60px 0 24px;
    border-radius: 32px 32px 0 0;
    background-color: #0f1a3c;
    color: #fff;
    font-family: sans-serif;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

footer .footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
}

footer .footer-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

footer .block h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 800;
}

footer .brand h3 img {
    display: block;
    width: 180px;
    height: auto;
}

footer .block p {
    font-size: 15px;
    line-height: 1.6;
    color: #aab3c8;
}

footer .block ul {
    list-style: none;
}

footer .block ul li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}

footer .block ul li a {
    display: inline-block;
    color: #aab3c8;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .block ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

footer .brand .enroll {
    cursor: pointer;
    margin-top: 24px;
    padding: 12px 24px;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
    transition: all 0.3s ease;
}

footer .brand .enroll:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

footer .contacts ul li span {
    color: #fff;
}

footer .footer-bottom {
    display: flex;
    align-items: center;
    padding-top: 24px;
    font-size: 14px;
    color: #aab3c8;
}

footer .footer-bottom .left,
footer .footer-bottom .right {
    flex: 1;
}

footer .footer-bottom .left a {
    color: #aab3c8;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-bottom .left a:hover {
    color: #fff;
}

footer .social-links {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

footer .social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background-color: #cd4c11;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    footer .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer .footer-bottom .left,
    footer .footer-bottom .right {
        flex: none;
    }

    footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    footer {
        padding: 32px 0 20px;
    }

    footer .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    footer .footer-content .brand,
    footer .footer-content .contacts {
        grid-column: 1 / -1;
    }

    footer .brand p br {
        display: none;
    }
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
}

@keyframes modal-fade {
    from {
        opacity: 0;
    }
}

body:has(#apply-modal[open]) {
    overflow: hidden;
}

#apply-modal {
    width: min(460px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: none;
    font-family: sans-serif;
}

#apply-modal::backdrop {
    background-color: rgba(7, 13, 31, 0.55);
    backdrop-filter: blur(4px);
}

#apply-modal[open] {
    animation: modal-in 0.25s ease;
}

#apply-modal[open]::backdrop {
    animation: modal-fade 0.25s ease;
}

#apply-modal .box {
    position: relative;
    max-height: calc(100vh - 32px);
    padding: 36px 32px 28px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 26, 60, 0.3);
}

#apply-modal .close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    color: #5b6478;
    background-color: #eef2fb;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

#apply-modal .close:hover {
    color: #fff;
    background-color: #0f1a3c;
}

#apply-modal h2 {
    margin-bottom: 8px;
    padding-right: 32px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #0f1a3c;
}

#apply-modal .subtitle {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

#apply-modal .field {
    margin-bottom: 16px;
}

#apply-modal .field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0f1a3c;
}

#apply-modal .field input,
#apply-modal .field select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-family: sans-serif;
    font-size: 16px;
    color: #0f1a3c;
    background-color: #f6f8fd;
    border: 1px solid #e4e8f2;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#apply-modal .field select {
    padding-right: 44px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6478' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

#apply-modal .field input::placeholder {
    color: #9aa3b8;
}

#apply-modal .field input:focus,
#apply-modal .field select:focus {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.15);
}

#apply-modal .field.invalid input {
    border-color: #d92d20;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.1);
}

#apply-modal .field .error {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: #d92d20;
}

#apply-modal .field.invalid .error {
    display: block;
}

#apply-modal .phone-box {
    position: relative;
}

#apply-modal .phone-row {
    display: flex;
    gap: 8px;
}

#apply-modal .field .phone-row input {
    flex: 1;
    width: auto;
    min-width: 0;
}

#apply-modal .country {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    font-family: sans-serif;
    font-size: 16px;
    color: #0f1a3c;
    background-color: #f6f8fd;
    border: 1px solid #e4e8f2;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#apply-modal .country .iso {
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #3b5bdb;
    background-color: #eaf0ff;
    border-radius: 6px;
}

#apply-modal .country .dial {
    font-weight: 600;
}

#apply-modal .country svg {
    width: 16px;
    height: 16px;
    color: #5b6478;
    transition: transform 0.2s;
}

#apply-modal .country[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

#apply-modal .country:focus {
    outline: none;
}

#apply-modal .country:focus-visible,
#apply-modal .country[aria-expanded="true"] {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.15);
}

#apply-modal .field.invalid .country {
    border-color: #d92d20;
}

#apply-modal .country-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 5;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 26, 60, 0.18);
}

#apply-modal .country-menu[hidden] {
    display: none;
}

#apply-modal .field .country-search {
    height: 44px;
    border: none;
    border-bottom: 1px solid #e4e8f2;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
}

#apply-modal .field .country-search:focus {
    box-shadow: none;
}

#apply-modal .country-list {
    max-height: 240px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}

#apply-modal .country-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    font-size: 15px;
    color: #0f1a3c;
    border-radius: 8px;
    cursor: pointer;
}

#apply-modal .country-list li.active {
    background-color: #eef2fb;
}

#apply-modal .country-list li .iso {
    flex: none;
    width: 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #5b6478;
}

#apply-modal .country-list li .name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#apply-modal .country-list li .dial {
    flex: none;
    color: #5b6478;
}

#apply-modal .country-list li[aria-selected="true"] .name {
    font-weight: 700;
    color: #cd4c11;
}

#apply-modal .country-list li.empty {
    justify-content: center;
    color: #5b6478;
    cursor: default;
}

#apply-modal .trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#apply-modal .submit {
    width: 100%;
    height: 52px;
    margin-top: 8px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

#apply-modal .submit:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

#apply-modal .submit:disabled {
    opacity: 0.6;
    pointer-events: none;
}

#apply-modal .note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: #8a93a8;
}

#apply-modal .success {
    padding: 12px 0 4px;
    text-align: center;
}

#apply-modal .success[hidden] {
    display: none;
}

#apply-modal .success .check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #cd4c11;
    background-color: #fdeee6;
    border-radius: 50%;
}

#apply-modal .success h2 {
    padding-right: 0;
}

#apply-modal .success p {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6478;
}

[data-theme="dark"] #apply-modal .box {
    background-color: var(--d-card);
    border-color: var(--d-line);
}

[data-theme="dark"] #apply-modal .close {
    color: var(--d-sub);
    background-color: var(--d-chip);
}

[data-theme="dark"] #apply-modal .close:hover {
    color: #0f1a3c;
    background-color: var(--d-text);
}

[data-theme="dark"] #apply-modal h2,
[data-theme="dark"] #apply-modal .field label {
    color: var(--d-text);
}

[data-theme="dark"] #apply-modal .subtitle,
[data-theme="dark"] #apply-modal .success p {
    color: var(--d-sub);
}

[data-theme="dark"] #apply-modal .note {
    color: var(--d-muted);
}

[data-theme="dark"] #apply-modal .field input,
[data-theme="dark"] #apply-modal .field select {
    color: var(--d-text);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--d-line);
}

[data-theme="dark"] #apply-modal .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab3c8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

[data-theme="dark"] #apply-modal .field select option {
    color: #0f1a3c;
}

[data-theme="dark"] #apply-modal .field input:focus,
[data-theme="dark"] #apply-modal .field select:focus {
    border-color: var(--d-blue);
    box-shadow: 0 0 0 4px rgba(138, 160, 255, 0.2);
}

[data-theme="dark"] #apply-modal .field.invalid input {
    border-color: #ff6b5e;
}

[data-theme="dark"] #apply-modal .field .error {
    color: #ff8a80;
}

[data-theme="dark"] #apply-modal .country {
    color: var(--d-text);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--d-line);
}

[data-theme="dark"] #apply-modal .country .iso {
    color: var(--d-blue);
    background-color: var(--d-chip);
}

[data-theme="dark"] #apply-modal .country svg {
    color: var(--d-sub);
}

[data-theme="dark"] #apply-modal .country:focus-visible,
[data-theme="dark"] #apply-modal .country[aria-expanded="true"] {
    border-color: var(--d-blue);
    box-shadow: 0 0 0 4px rgba(138, 160, 255, 0.2);
}

[data-theme="dark"] #apply-modal .field.invalid .country {
    border-color: #ff6b5e;
}

[data-theme="dark"] #apply-modal .country-menu {
    background-color: #151d3d;
    border-color: var(--d-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] #apply-modal .field .country-search {
    border-bottom-color: var(--d-line);
    background-color: transparent;
}

[data-theme="dark"] #apply-modal .country-list li {
    color: var(--d-text);
}

[data-theme="dark"] #apply-modal .country-list li.active {
    background-color: var(--d-chip);
}

[data-theme="dark"] #apply-modal .country-list li .iso,
[data-theme="dark"] #apply-modal .country-list li .dial,
[data-theme="dark"] #apply-modal .country-list li.empty {
    color: var(--d-sub);
}

[data-theme="dark"] #apply-modal .country-list li[aria-selected="true"] .name {
    color: var(--d-orange);
}

[data-theme="dark"] #apply-modal .success .check {
    color: var(--d-orange);
    background-color: rgba(205, 76, 17, 0.18);
}

@media (max-width: 480px) {
    #apply-modal .box {
        padding: 32px 20px 24px;
        border-radius: 20px;
    }

    #apply-modal h2 {
        font-size: 24px;
    }
}

main #privacy {
    max-width: 820px;
    margin: 0 auto;
    font-family: sans-serif;
}

main #privacy .back {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: #cd4c11;
}

main #privacy .back:hover {
    color: #b3410d;
}

main #privacy h1 {
    margin-bottom: 32px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #0f1a3c;
}

main #privacy .policy {
    padding: 40px 48px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(15, 26, 60, 0.04);
}

main #privacy .policy h2 {
    margin: 32px 0 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f1a3c;
}

main #privacy .policy h2:first-child {
    margin-top: 0;
}

main #privacy .policy p,
main #privacy .policy li {
    font-size: 16px;
    line-height: 1.7;
    color: #5b6478;
}

main #privacy .policy p {
    margin-bottom: 12px;
}

main #privacy .policy ul {
    margin-bottom: 12px;
    padding-left: 22px;
}

main #privacy .policy li {
    margin-bottom: 6px;
}

main #privacy .policy a {
    color: #cd4c11;
}

[data-theme="dark"] main #privacy h1,
[data-theme="dark"] main #privacy .policy h2 {
    color: var(--d-text);
}

[data-theme="dark"] main #privacy .policy p,
[data-theme="dark"] main #privacy .policy li {
    color: var(--d-sub);
}

[data-theme="dark"] main #privacy .back,
[data-theme="dark"] main #privacy .policy a {
    color: var(--d-orange);
}

[data-theme="dark"] main #privacy .policy {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: none;
}

@media (max-width: 560px) {
    main #privacy {
        padding: 110px 16px 0;
    }

    main #privacy h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    main #privacy .policy {
        padding: 24px 20px;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(48px) scale(0.97);
    }
}

html.ready header .container .left-side > * {
    animation: rise 0.7s ease backwards;
}

html.ready header .container .left-side > :nth-child(2) {
    animation-delay: 0.1s;
}

html.ready header .container .left-side > :nth-child(3) {
    animation-delay: 0.2s;
}

html.ready header .container .left-side > :nth-child(4) {
    animation-delay: 0.3s;
}

html.ready header .container .left-side > :nth-child(5) {
    animation-delay: 0.4s;
}

html.ready header .container .right-side {
    animation: slide-in 0.9s ease 0.2s backwards;
}

main .reveal {
    opacity: 0 !important;
    transform: translateY(28px) !important;
    transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s) !important;
}

main .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
}

@media (hover: hover) {
    main #dispatch .card,
    main #formats .card,
    main #courses .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    main #dispatch .card:hover,
    main #formats .card:hover,
    main #courses .card:hover {
        transform: translateY(-6px);
    }

    main #dispatch .card:hover,
    main #formats .card:not(.featured):hover,
    main #courses .card:hover {
        border-color: #d5dae6;
        box-shadow: 0 16px 40px rgba(15, 26, 60, 0.1);
    }

    [data-theme="dark"] main #dispatch .card:hover,
    [data-theme="dark"] main #formats .card:not(.featured):hover,
    [data-theme="dark"] main #courses .card:hover {
        border-color: var(--d-blue);
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.ready header .container .left-side > *,
    html.ready header .container .right-side {
        animation: none;
    }

    main #dispatch .card:hover,
    main #formats .card:hover,
    main #courses .card:hover {
        transform: none;
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes dot {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes msg-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

#chat {
    font-family: sans-serif;
}

#chat .avatar {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 4px;
    background-color: #0f1a3c;
    border-radius: 50%;
}

#chat .avatar img {
    display: block;
    width: 100%;
    height: auto;
}

#chat .toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.35);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#chat .toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #cd4c11;
    opacity: 0;
    pointer-events: none;
    animation: ping 2s ease-out 3s 3;
}

#chat .toggle:hover {
    background-color: #b3410d;
    transform: translateY(-2px);
}

#chat .toggle:focus:not(:focus-visible) {
    outline: none;
}

#chat .toggle svg {
    width: 30px;
    height: 30px;
}

#chat .toggle .icon-down,
#chat.open .toggle .icon-chat {
    display: none;
}

#chat.open .toggle .icon-down {
    display: block;
}

#chat.open .toggle::after {
    display: none;
}

#chat .prompt {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    padding: 12px 14px;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 26, 60, 0.12);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

#chat .prompt.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#chat.open .prompt {
    opacity: 0;
    visibility: hidden;
}

#chat .prompt p {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f1a3c;
}

#chat .prompt-close {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    align-self: flex-start;
    margin: -4px -6px 0 0;
    color: #5b6478;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

#chat .prompt-close:hover {
    background-color: #eef2fb;
}

#chat .prompt-close svg {
    width: 12px;
    height: 12px;
}

#chat .panel {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: 370px;
    height: min(620px, calc(100dvh - 190px));
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 26, 60, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

#chat.open .panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#chat .panel header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    height: 76px;
    padding: 0 14px 0 18px;
    color: #fff;
    background-color: #0f1a3c;
}

#chat .panel header .logo {
    width: auto;
    height: 60px;
    margin-right: auto;
}

#chat .close {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#chat .close:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

#chat .close svg {
    width: 20px;
    height: 20px;
}

#chat .log {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#chat .row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: msg-in 0.3s ease;
}

#chat .row.user {
    justify-content: flex-end;
}

#chat .msg {
    max-width: 80%;
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border-radius: 16px;
}

#chat .msg.bot {
    color: #0f1a3c;
    background-color: #eef2fb;
    border-top-left-radius: 4px;
}

#chat .msg.user {
    color: #fff;
    background-color: #cd4c11;
    border-bottom-right-radius: 4px;
}

#chat .msg.error {
    color: #d92d20;
    background-color: rgba(217, 45, 32, 0.1);
}

#chat .msg time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    text-align: right;
    opacity: 0.65;
}

#chat .msg a {
    color: #cd4c11;
    font-weight: 700;
    text-decoration: underline;
}

#chat .msg.user a {
    color: #fff;
}

#chat .msg.typing {
    display: flex;
    gap: 5px;
    padding: 15px 16px;
}

#chat .msg.typing span {
    width: 7px;
    height: 7px;
    background-color: #5b6478;
    border-radius: 50%;
    animation: dot 1.2s ease-in-out infinite;
}

#chat .msg.typing span:nth-child(2) {
    animation-delay: 0.15s;
}

#chat .msg.typing span:nth-child(3) {
    animation-delay: 0.3s;
}

#chat .quick {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 14px;
}

#chat .quick[hidden] {
    display: none;
}

#chat .quick button {
    padding: 9px 14px;
    font-family: sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f1a3c;
    background-color: #fff;
    border: 1px solid #d5dae6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chat .quick button:hover {
    color: #cd4c11;
    border-color: #cd4c11;
}

#chat form {
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e4e8f2;
}

#chat textarea {
    flex: 1;
    min-width: 0;
    height: 48px;
    max-height: 132px;
    padding: 12px 14px;
    resize: none;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #0f1a3c;
    background-color: #fff;
    border: 1px solid #d5dae6;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#chat textarea::placeholder {
    color: #9aa3b8;
}

#chat textarea:focus {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.15);
}

#chat form button {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background-color: #cd4c11;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(205, 76, 17, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

#chat form button:hover {
    background-color: #b3410d;
}

#chat form button:disabled {
    background-color: #d5dae6;
    box-shadow: none;
    cursor: default;
}

#chat form button svg {
    width: 20px;
    height: 20px;
}

[data-theme="dark"] #chat .avatar {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] #chat .prompt {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] #chat .prompt p {
    color: var(--d-text);
}

[data-theme="dark"] #chat .prompt-close {
    color: var(--d-sub);
}

[data-theme="dark"] #chat .prompt-close:hover {
    background-color: var(--d-chip);
}

[data-theme="dark"] #chat .panel {
    background-color: var(--d-card);
    border-color: var(--d-line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] #chat .panel header {
    background-color: #0a1230;
    border-bottom: 1px solid var(--d-line);
}

[data-theme="dark"] #chat .msg.bot {
    color: var(--d-text);
    background-color: var(--d-chip);
}

[data-theme="dark"] #chat .msg.error {
    color: #ff8a80;
    background-color: rgba(205, 76, 17, 0.18);
}

[data-theme="dark"] #chat .msg.bot a {
    color: var(--d-orange);
}

[data-theme="dark"] #chat .msg.typing span {
    background-color: var(--d-muted);
}

[data-theme="dark"] #chat .quick button {
    color: var(--d-text);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] #chat .quick button:hover {
    color: var(--d-orange);
    border-color: var(--d-orange);
}

[data-theme="dark"] #chat form {
    border-top-color: var(--d-line);
}

[data-theme="dark"] #chat textarea {
    color: var(--d-text);
    background-color: var(--d-bg);
    border-color: var(--d-line);
}

[data-theme="dark"] #chat textarea:focus {
    border-color: var(--d-blue);
    box-shadow: 0 0 0 4px rgba(138, 160, 255, 0.2);
}

[data-theme="dark"] #chat form button:disabled {
    background-color: var(--d-chip);
}

@media (max-width: 640px) {
    #chat .toggle {
        right: 14px;
        bottom: 14px;
    }

    #chat .prompt {
        right: 14px;
        bottom: 84px;
        max-width: calc(100vw - 28px);
    }

    #chat .panel {
        right: 10px;
        bottom: 84px;
        left: 10px;
        width: auto;
        height: min(620px, calc(100dvh - 180px));
        border-radius: 20px;
    }

    #chat .msg {
        max-width: 84%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #chat .toggle::after,
    #chat .row,
    #chat .msg.typing span {
        animation: none;
    }

    #chat .toggle,
    #chat .prompt,
    #chat .panel {
        transition: none;
    }
}
