/* VEDA CSS bundle, built 2026-05-20T01:32:09+03:00 */

/* === assets/css/components/_buttons.css === */

.back-to-main {
  outline: none !important;
  display: inline-block;
  border: none !important;
  padding: .8rem 2rem;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #fff;
  font-size: 1rem;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  box-shadow: none !important;
  text-decoration: none;
  margin: 0;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.back-to-main::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  width: 20px;
  height: 20px;
  transition: all .3s ease;
  opacity: 0.8;
}

.back-to-main::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  width: 20px;
  height: 20px;
  transition: all .3s ease;
  opacity: 0.8;
}

.back-to-main:hover {
  color: #3951F2 !important;
  background: transparent !important;
  background-color: transparent !important;
}

.back-to-main:hover::before,
.back-to-main:hover::after {
  opacity: 1;
  width: 25px;
  height: 25px;
  border-color: #3951F2;
}

.program-tab-btn.active {
    color: #3951F2 !important;
}

.program-tab-btn.active::before,
.program-tab-btn.active::after {
    opacity: 1;
    width: 25px;
    height: 25px;
    border-color: #3951F2;
}

.btn-all-experts {
    color: #000; 
}

.btn-all-experts::before,
.btn-all-experts::after {
    border-color: #000; 
}

.btn-all-experts:hover {
    color: #3951F2 !important; 
}

.btn-all-experts:hover::before,
.btn-all-experts:hover::after {
    border-color: #3951F2; 
}

.back-to-main i {
  display: none;
}

.btn-primary {
  background: transparent !important;
  border: none !important;
}

.subscribe-form .btn {
  background: var(--gradient-blue) !important;
  border-radius: 50px !important;
}

@media (max-width: 768px) {
  .back-to-main {
    font-size: 1rem;
  }
} 

/* === assets/css/components/_links.css === */

.link-decorated {
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.link-decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.link-decorated:hover::before,
.link-decorated.active::before {
    opacity: 1;
}

.link-decorated:hover::after,
.link-decorated.active::after {
    transform: scaleX(0.98);
}

.link-decorated--static::before {
    opacity: 1;
    transition: none;
}

.link-decorated--static::after {
    transform: scaleX(1);
    height: 1px;
    transition: none;
}

.link-decorated--static:hover::before {
    opacity: 1;
}
.link-decorated--static:hover::after {
    transform: scaleX(1);
}

.animated-link {
    text-decoration: none !important;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.animated-link:hover,
.animated-link.active {
    color: var(--secondary-color);
}

.animated-link:hover::before,
.animated-link.active::before {
    opacity: 1;
    transform: translateX(0);
}

.animated-link:hover::after,
.animated-link.active::after {
    transform: scaleX(1);
}

.main-header .animated-link {
    color: #fff !important;
}
.main-header .animated-link:hover,
.main-header .animated-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}
 

/* === assets/css/components/_slider.css === */

.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; 
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.program-page {
    flex: 0 0 100%;
    width: 100%;
}

.slider-controls {
    position: absolute;
    bottom: 20px; 
    right: 0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    width: 100%;
    padding: 0;
    z-index: 10;
}

.nav-arrow {
    width: clamp(44px, 4vw + 1rem, 50px);
    height: clamp(44px, 4vw + 1rem, 50px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-arrow:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.nav-arrow:focus {
    outline: none;
}


/* === assets/css/components/_scroll-to-top.css === */

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: rgba(8, 38, 239, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none; 
}

.scroll-to-top-btn.visible {
    opacity: 1;
}

.scroll-to-top-btn:hover {
    background-color: rgba(8, 38, 239, 1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 38, 239, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 10px 20px rgba(8, 38, 239, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 38, 239, 0);
    }
}

.scroll-to-top-btn i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
} 

/* === assets/css/components/_ui-system.css === */


.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-family-base);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color var(--dur-base) var(--ease-out),
        border-color    var(--dur-base) var(--ease-out),
        color           var(--dur-base) var(--ease-out),
        transform       var(--dur-base) var(--ease-out),
        box-shadow      var(--dur-base) var(--ease-out);
    white-space: nowrap;
    user-select: none;
}

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

.ui-btn--primary {
    background: var(--color-brand);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.ui-btn--primary:hover {
    background: var(--color-brand-hover);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.ui-btn--outline {
    background: transparent;
    color: #fff;
    border-color: var(--color-border-strong);
}
.ui-btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #fff;
    color: #fff;
}

.ui-btn--ghost {
    background: transparent;
    color: var(--color-text-muted);
    padding: var(--space-2) var(--space-4);
}
.ui-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.ui-btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--fs-sm); }
.ui-btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--fs-md); }

.ui-btn--block { width: 100%; }

.ui-surface {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.ui-surface--elevated {
    box-shadow: var(--shadow-md);
}

.ui-surface--interactive {
    transition:
        transform   var(--dur-base) var(--ease-out),
        box-shadow  var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}
.ui-surface--interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.news-card {
    background: var(--color-bg-elevated) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-border) !important;
    transition:
        transform   var(--dur-base) var(--ease-out),
        box-shadow  var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out) !important;
    will-change: transform;
}
.news-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--color-border-strong) !important;
}
.news-card-image img {
    transition: transform var(--dur-slow) var(--ease-out) !important;
}
.news-card:hover .news-card-image img {
    transform: scale(1.06) !important;
}
.news-card-category {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--color-brand-hover);
}
.news-card-date {
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    letter-spacing: 0.04em;
}

.news-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)) !important;
    gap: var(--space-6) !important;
}

.info-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    height: 100%;
    transition:
        transform var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
}
.info-card__icon {
    color: var(--color-brand-hover);
    margin-bottom: var(--space-4);
}

.module-card {
    transition:
        transform var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}
.module-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-border-strong);
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity   0.7s var(--ease-out),
            transform 0.7s var(--ease-out);
    }
    .js [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }
    .js [data-reveal][data-reveal-delay="100"] { transition-delay: 0.1s; }
    .js [data-reveal][data-reveal-delay="200"] { transition-delay: 0.2s; }
    .js [data-reveal][data-reveal-delay="300"] { transition-delay: 0.3s; }
    .js [data-reveal][data-reveal-delay="400"] { transition-delay: 0.4s; }
}

.programs,
.about,
.team,
.partners,
.future-programs,
.testimonials,
.press-center,
.faq,
.experts,
.press {
    padding-top: var(--section-py) !important;
    padding-bottom: var(--section-py) !important;
}

img[loading="lazy"]:not([src]) {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    background-size: 200% 100%;
    animation: ui-shimmer 1.4s ease-in-out infinite;
}

@keyframes ui-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    img[loading="lazy"]:not([src]) {
        animation: none;
        background: rgba(255, 255, 255, 0.04);
    }
}

.main-header {
    background-color: rgba(0, 6, 43, 0.7) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border-bottom: 1px solid var(--color-border);
    transition:
        background-color var(--dur-base) var(--ease-out),
        border-color    var(--dur-base) var(--ease-out),
        padding         var(--dur-base) var(--ease-out) !important;
}
.main-header.scrolled {
    background-color: rgba(0, 6, 43, 0.92) !important;
    padding: 0.75rem 0 !important;
    height: auto;
}
.nav-link {
    transition:
        color var(--dur-base) var(--ease-out) !important,
        opacity var(--dur-base) var(--ease-out);
}
.nav-link::after {
    background-color: var(--color-brand-hover) !important;
    height: 2px;
    border-radius: 2px;
}

.news-card-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.article-content a {
    color: var(--color-brand-hover);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--dur-base) var(--ease-out);
}
.article-content a:hover {
    color: #fff;
}

::selection {
    background: rgba(8, 38, 239, 0.4);
    color: #fff;
}


/* === assets/css/components/_motion.css === */


.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 240ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 320ms; }
.reveal[data-reveal-delay="5"] { transition-delay: 400ms; }

.program-item,
.team-member-content,
.news-card,
.partner-card,
.team-portrait,
.stat-item,
.expert-photo {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 280ms ease;
    will-change: transform;
}
.news-card:hover,
.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(57, 81, 242, 0.25),
                0 20px 40px rgba(0, 0, 0, 0.35);
}
.program-item:hover {
    transform: translateX(4px);
}
.stat-item:hover {
    transform: translateY(-2px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10% -10% -10% -10%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(40% 35% at 20% 30%, rgba(57, 81, 242, 0.22) 0%, transparent 60%),
        radial-gradient(35% 30% at 80% 70%, rgba(57, 81, 242, 0.16) 0%, transparent 60%);
    filter: blur(40px);
    animation: heroBlobDrift 18s ease-in-out infinite alternate;
}
@keyframes heroBlobDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2%, -3%, 0) scale(1.05); }
    100% { transform: translate3d(-2%, 2%, 0) scale(0.98); }
}

.magnetic {
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

img.img-fade-in {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 500ms ease-out, filter 500ms ease-out;
}
img.img-fade-in.is-loaded {
    opacity: 1;
    filter: blur(0);
}

.title-accent {
    color: #3951F2;
}

.hero-title .title-accent {
    background: linear-gradient(135deg, #3951F2 0%, #8b9bff 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
}

.about-us .section-title .title-accent {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.stat-number {
    font-size: clamp(3.5rem, 7vw, 7.5rem) !important;
    font-weight: 200 !important;
    letter-spacing: -0.04em !important;
    line-height: 0.95 !important;
    margin-bottom: 1.25rem !important;
    color: #fff;
}
@media (max-width: 576px) {
    .stat-number {
        font-size: 3.5rem !important;
    }
}

.stat-item {
    background: rgba(57, 81, 242, 0.05) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
            backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 28px !important;
}
.stat-item:hover {
    background: rgba(57, 81, 242, 0.08) !important;
    border-color: rgba(57, 81, 242, 0.25);
}
.partner-card {
    -webkit-backdrop-filter: blur(10px) saturate(130%);
            backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.partner-card:hover {
    border-color: rgba(57, 81, 242, 0.3);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #3951F2 0%, #6178FF 50%, #8b9bff 100%);
    z-index: 10001;
    pointer-events: none;
    transition: width 80ms linear;
    box-shadow: 0 0 12px rgba(57, 81, 242, 0.5);
}

.tilt {
    transform-style: preserve-3d;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-words.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}
.reveal-words .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-words.in-view .word {
    opacity: 1;
    transform: translateY(0);
}

.has-grain {
    position: relative;
    isolation: isolate;
}
.has-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    z-index: 3;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url('/assets/css/components/%23n')'/%3E%3C/svg%3E");
}

.btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-shine::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
    transform: translateX(-100%);
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}
.btn-shine:hover::before {
    transform: translateX(100%);
}
.btn-shine > * {
    position: relative;
    z-index: 2;
}

:focus-visible {
    outline: 2px solid #3951F2;
    outline-offset: 3px;
    border-radius: 4px;
    transition: outline-offset 150ms ease;
}
a:focus-visible, button:focus-visible {
    outline: 2px solid #3951F2;
    outline-offset: 3px;
}

.spotlight {
    position: relative;
    isolation: isolate;
}
.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
        rgba(57, 81, 242, 0.18),
        transparent 55%);
    opacity: 0;
    transition: opacity 300ms ease;
    z-index: 1;
}
.spotlight:hover::before {
    opacity: 1;
}

.spotlight > * { position: relative; z-index: 2; }

@container (min-width: 768px) {
    .team-header {
        position: sticky;
        top: clamp(90px, 12vh, 120px);
    }
}
@supports not (container-type: inline-size) {
    @media (min-width: 768px) {
        .team-header {
            position: sticky;
            top: clamp(90px, 12vh, 120px);
        }
    }
}

@property --grad-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.btn-gradient-border {
    position: relative;
    isolation: isolate;
    border-radius: 50px;
}
.btn-gradient-border::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: conic-gradient(from var(--grad-angle), #3951F2, #8b9bff, #6178FF, #3951F2);
    z-index: -1;
    animation: gradientBorderSpin 4s linear infinite;
}
@keyframes gradientBorderSpin {
    to { --grad-angle: 360deg; }
}

@supports not (background: conic-gradient(from 0deg, #000)) {
    .btn-gradient-border::before {
        background: linear-gradient(135deg, #3951F2, #8b9bff);
    }
}

.info-card svg [stroke] {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1) 200ms;
}
.info-card.in-view svg [stroke] {
    stroke-dashoffset: 0;
}

::selection {
    background-color: #3951F2;
    color: #fff;
    text-shadow: none;
}
::-moz-selection {
    background-color: #3951F2;
    color: #fff;
    text-shadow: none;
}

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title {
    font-family: 'Onest', 'HelveticaNeueCyr', sans-serif;
    letter-spacing: -0.02em;
}

.news-card {
    background: rgba(57, 81, 242, 0.05) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%);
            backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.news-card:hover {
    background: rgba(57, 81, 242, 0.10) !important;
    border-color: rgba(57, 81, 242, 0.3) !important;
}

.news-card-content {
    position: relative;
    padding-right: 2.5rem;
}
.news-card-content::after {
    content: '→';
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    color: #3951F2;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.news-card:hover .news-card-content::after {
    opacity: 1;
    transform: translateX(0);
}

.has-mesh {
    position: relative;
    isolation: isolate;
}
.has-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(57, 81, 242, 0.18) 1.5px, transparent 2px);
    background-size: 36px 36px;
    opacity: 0.5;
    animation: meshDrift 28s linear infinite;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at center, #000 25%, transparent 90%);
            mask-image: radial-gradient(ellipse 90% 70% at center, #000 25%, transparent 90%);
}
.has-mesh > * {
    position: relative;
    z-index: 1;
}
@keyframes meshDrift {
    to { background-position: 36px 36px; }
}

section + section {
    position: relative;
}
section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(160px, 50%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 81, 242, 0.45), transparent);
    pointer-events: none;
    z-index: 1;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary-color, #00062B);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}
.page-transition-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

.future-programs .program-page {
    perspective: 1500px;
}
.future-programs .program-item {
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 350ms ease,
                box-shadow 350ms ease;
    transform-origin: left center;
}
.future-programs .program-page > .program-item:nth-child(2) {
    transform: translateX(8px);
}
.future-programs .program-page > .program-item:nth-child(3) {
    transform: translateX(16px);
}
.future-programs .program-page:hover > .program-item {
    transform: translateX(0);
}
.future-programs .program-item:hover {
    transform: translateX(24px) !important;
    z-index: 5;
}

.text-marquee {
    overflow: hidden;
    padding: clamp(20px, 4vw, 50px) 0;
    position: relative;
    z-index: 1;
    background: transparent;
}
.text-marquee__track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: textMarqueeScroll 40s linear infinite;
    will-change: transform;
}

.text-marquee__item {
    font-family: 'Onest', 'HelveticaNeueCyr', sans-serif;
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;

-webkit-text-stroke: 1px rgba(139, 155, 255, 0.55);

background: linear-gradient(
        100deg,
        rgba(57, 81, 242, 0.10) 0%,
        rgba(99, 122, 255, 0.30) 40%,
        rgba(180, 195, 255, 0.95) 50%,
        rgba(99, 122, 255, 0.30) 60%,
        rgba(57, 81, 242, 0.10) 100%
    );
    background-size: 250% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
    animation: glassShimmer 6s linear infinite;
}
.text-marquee__item.is-accent {
    -webkit-text-stroke: 0;
    background: none;
    -webkit-text-fill-color: rgba(139, 155, 255, 0.45);
            color: rgba(139, 155, 255, 0.45);
    animation: none;
}
@keyframes glassShimmer {
    from { background-position: 100% 50%; }
    to   { background-position: -150% 50%; }
}
@keyframes textMarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed !important;
        inset: 0;
        z-index: 9998;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0, 6, 43, 0.97);
        -webkit-backdrop-filter: blur(20px) saturate(140%);
                backdrop-filter: blur(20px) saturate(140%);
        pointer-events: none;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 320ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    }
    .navbar-collapse.show {
        pointer-events: all;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-collapse.show .navbar-nav {
        flex-direction: column !important;
        gap: clamp(1rem, 4vw, 2rem);
        text-align: center;
    }
    .navbar-collapse.show .nav-link {
        font-family: 'Onest', 'HelveticaNeueCyr', sans-serif;
        font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
        font-weight: 600;
        letter-spacing: -0.02em;
        padding: clamp(0.4rem, 1.5vw, 0.8rem) clamp(1rem, 3vw, 2rem) !important;
    }

.navbar-collapse.show + .social-links,
    .navbar-collapse.show ~ .social-links {
        display: none;
    }

.navbar-toggler {
        position: relative;
        z-index: 9999;
    }

body:has(.navbar-collapse.show) {
        overflow: hidden;
    }
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 6, 43, 0.92);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 60px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    cursor: zoom-out;
}
.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}
.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.is-open img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.news-article .article-content picture > img,
.news-article .article-content img.news-image,
.news-article .news-image {
    cursor: zoom-in;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--primary-color, #00062B);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 350ms ease, visibility 0s 350ms;
}
.page-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader img {
    width: clamp(60px, 8vw, 100px);
    height: auto;
    animation: loaderLogoReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes loaderLogoReveal {
    from { opacity: 0; transform: scale(0.85); filter: blur(8px); }
    to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

.partner-card {
    position: relative;
}
.partner-card[data-partner-info]::after {
    content: attr(data-partner-info);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(57, 81, 242, 0.92), rgba(11, 11, 59, 0.92));
    color: #fff;
    font-family: 'Onest', 'HelveticaNeueCyr', sans-serif;
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1.05rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.partner-card[data-partner-info]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress { transition: none; }
    .tilt { transition: none; transform: none !important; }
    .reveal-words .word { opacity: 1; transform: none; transition: none; }
    .has-grain::after { display: none; }
    .btn-shine::before { transition: none; }
    .spotlight::before { display: none; }
    .btn-gradient-border::before { animation: none; }
    .info-card svg [stroke] { stroke-dashoffset: 0; transition: none; }
    .news-card-content::after { transition: none; }
    .has-mesh::before { animation: none; }
    .hero-title { transition: none; }
    .page-transition-overlay { transition: none; }
    .future-programs .program-item { transition: none; transform: none !important; }
    .text-marquee__track { animation: none; }
    .navbar-collapse { transition: none; }
    .lightbox-overlay, .lightbox-overlay img { transition: none; }
    .page-loader img { animation: none; }
    .partner-card[data-partner-info]::after { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero::before { animation: none; }
    .program-item, .team-member-content, .news-card, .partner-card,
    .team-portrait, .stat-item, .magnetic, img.img-fade-in {
        transition: none;
    }
    img.img-fade-in { opacity: 1; filter: none; }
}


/* === assets/css/layout/_footer.css === */

.main-footer {
    padding: 5rem 0 4rem;
    background-color: #FFFFFF;
    color: #0B0B3B;
}

.footer-logo-top {
    margin-bottom: 70px;
}

.footer-logo-top img {
    height: 75px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    margin-bottom: clamp(40px, 6vw, 80px);
}

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

.footer-left h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.subscribe-form {
    position: relative;
    max-width: 450px;
    margin-bottom: 30px;
}

.subscribe-form .form-control {
    background-color: #fff;
    border: 1px solid rgba(11, 11, 59, 0.3);
    border-radius: 50px;
    padding: 15px 160px 15px 30px;
    color: #0B0B3B;
    height: 64px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.subscribe-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.subscribe-form .form-control::placeholder {
    color: rgba(11, 11, 59, 0.5);
}

.subscribe-form .btn {
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    min-width: 140px;
    background: var(--gradient-blue);
    border: none;
    border-radius: 50px;
    padding: 0 35px;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: softPulse 2s infinite;
}

.subscribe-form .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(8, 38, 239, 0.4);
    color: #fff;
    animation: none;
}

.subscribe-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.subscribe-form .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8, 38, 239, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: glowPulse 3s infinite;
}

.subscribe-form .btn:hover::before {
    transform: translateX(100%);
}

.subscribe-form .btn:hover::after {
    opacity: 1;
}

@keyframes softPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(8, 38, 239, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(8, 38, 239, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(8, 38, 239, 0.2);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

.subscribe-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 450px;
    margin-top: 14px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.subscribe-msg--visible {
    opacity: 1;
    transform: translateY(0);
}

.subscribe-msg__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.subscribe-msg__text {
    flex: 1;
}

.subscribe-msg--success {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #1b5e20;
    border: 1px solid rgba(27, 94, 32, 0.15);
}

.subscribe-msg--success .subscribe-msg__icon {
    background: rgba(27, 94, 32, 0.12);
    color: #2e7d32;
}

.subscribe-msg--error {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #b71c1c;
    border: 1px solid rgba(183, 28, 28, 0.15);
}

.subscribe-msg--error .subscribe-msg__icon {
    background: rgba(183, 28, 28, 0.12);
    color: #c62828;
}

.subscribe-msg--warning {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #e65100;
    border: 1px solid rgba(230, 81, 0, 0.15);
}

.subscribe-msg--warning .subscribe-msg__icon {
    background: rgba(230, 81, 0, 0.12);
    color: #ef6c00;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(11, 11, 59, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 40px) clamp(30px, 5vw, 100px);
}

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

.info-block {
    position: relative;
    padding-bottom: 25px;
}

.info-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
}

.info-block:nth-child(4)::after,
.info-block:last-child::after {
    display: none;
}

.info-block h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(11, 11, 59, 0.6);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p {
    font-size: 1rem;
    color: #0B0B3B;
    margin: 0 0 10px;
    line-height: 1.6;
}

.info-block p:last-of-type {
    margin-bottom: 0;
}

.info-block .social-links {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.info-block .social-link {
    color: #0B0B3B;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.info-block .social-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(11, 11, 59, 0.1);
}

.footer-bottom img {
    height: 400px;
    margin-bottom: 40px;
}

.footer-bottom-content {
    display: inline-block;
    padding: 0 5rem;
}

.back-to-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F0F4F8;
    color: #0B0B3B;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 0;
    width: 100%;
    transition: background-color 0.3s ease;
}

.back-to-top-bar:hover {
    background-color: #e2e8ef;
}

.back-to-top-bar span {
    font-size: 1rem;
    font-weight: 500;
} 

/* === assets/css/pages/_about.css === */

.about-us {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: var(--dark-bg);
    position: relative;
}

.about-us .section-title {
    margin-bottom: 0;
}

.section-title {
    font-size: clamp(2rem, 4.5vw + 0.5rem, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: clamp(30px, 5vw, 60px);
    line-height: 1.15;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 30px);
}
@media (min-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat-item {
    padding: clamp(15px, 2vw, 20px);
    background: transparent;
}

.stat-number {
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: clamp(10px, 1.5vw, 20px);
    line-height: 1;
}

.stat-description {
    font-size: clamp(0.9rem, 0.5vw + 0.75rem, 1rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.about-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.1rem);
    line-height: 1.6;
    padding: 0;
    text-align: justify;
}

.about-description p {
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* === assets/css/pages/_programs.css === */

.programs {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.programs .section-title {
    margin-bottom: clamp(30px, 4vw, 50px);
    font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem);
    font-weight: 700;
    text-align: center;
}

.programs-tabs {
    margin-bottom: 40px;
}

.programs-tabs .nav-tabs {
    border: none;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.programs-tabs .nav-item {
    width: -moz-fit-content;
    width: fit-content;
    transition: transform 0.3s ease;
}

.programs-tabs .nav-item:hover {
    transform: translateY(-3px);
}

.programs-tabs .nav-link {
    color: var(--text-color); 
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.programs-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.programs-tabs .nav-link.active,
.programs-tabs .nav-link:hover {
    color: var(--secondary-color);
    background-color: transparent;
}

.programs-tabs .nav-link.active::after,
.programs-tabs .nav-link:hover::after {
    transform: scaleX(1);
}

.programs-content {
    overflow: hidden;
}

.programs .program-list-wrapper {
    position: relative;
    overflow: hidden;
}

.programs .program-list {
    display: flex;
    transition: transform 0.5s ease;
}

.programs .program-page {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.programs .program-page .row {
    align-items: stretch; 
}

.program-card {
    background-color: #F0F4F8;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid transparent;
    transform-origin: top;
}

.program-card[data-type="corporate"] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.program-card[data-type="corporate"]:hover {
    transform: scale(0.97);
    box-shadow: 0 10px 30px rgba(8, 38, 239, 0.15);
    border-color: var(--secondary-color);
}

.program-card:not([data-type="corporate"]):hover {
    transform: scale(0.97);
    box-shadow: 0 10px 30px rgba(8, 38, 239, 0.15);
    border-color: var(--secondary-color);
}

.program-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
}

.program-card .program-subtitle {
    font-size: 0.9rem;
    color: #000000 !important;
    margin: 0;
}

.program-arrow {
    position: absolute;
    bottom: 35px;
    right: 35px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-arrow {
    transform: translateX(5px);
}

.program-card--unavailable {
    cursor: pointer;
}

.program-card--unavailable:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

.program-card--unavailable:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.program-card--unavailable .program-arrow {
    display: none;
}

.program-card--unavailable .program-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 6, 43, 0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.program-card--unavailable:hover .program-overlay,
.program-card--unavailable:focus-within .program-overlay {
    opacity: 1;
}

.program-arrow img {
    width: 24px;
    height: auto;
}

.programs-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

@media (max-width: 768px) {
    .programs {
        padding: 60px 0;
    }

.programs .section-title {
        margin-bottom: 30px;
    }

.programs-tabs .nav-tabs {
        flex-direction: column;
        gap: 15px;
    }

.programs-tabs .nav-link {
        font-size: 1rem;
        text-align: center;
        padding: 12px 0;
    }

.program-card {
        padding: 25px;
        border-radius: 15px;
        margin-bottom: 20px;
    }

.program-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        padding-right: 40px;
    }

.program-card .program-subtitle {
        font-size: 0.85rem;
    }

.program-arrow {
        bottom: 25px;
        right: 25px;
    }

.program-arrow img {
        width: 20px;
    }
}

/* === assets/css/pages/_team.css === */

.team {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: #FFFFFF;
    color: #0B0B3B;
}

.team .container {
    max-width: 1200px;
}

.team {
    container-type: inline-size;
}

.team-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
}

.team-header {
    text-align: center;
}

@container (min-width: 768px) {
    .team-content-wrapper {
        grid-template-columns: 250px 1fr;
    }
    .team-header {
        text-align: left;
    }
}
@supports not (container-type: inline-size) {
    @media (min-width: 768px) {
        .team-content-wrapper {
            grid-template-columns: 250px 1fr;
        }
        .team-header {
            text-align: left;
        }
    }
}

.team-header .section-title {
    color: #0B0B3B;
    font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(20px, 3vw, 30px);
}

.all-experts-link {
    color: #0B0B3B; 
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    transition: color 0.3s ease;
  }

.all-experts-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }

.all-experts-link:hover {
    color: var(--secondary-color); 
  }

.all-experts-link:hover::before {
    opacity: 0; 
  }

.all-experts-link:hover::after {
    transform: scaleX(0); 
  }

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px) clamp(15px, 2.5vw, 30px);
    max-width: 600px;
    margin: 0 auto;
}

@container (min-width: 540px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@supports not (container-type: inline-size) {
    @media (min-width: 540px) {
        .team-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
}

.team-member {
    position: relative;
    cursor: pointer;
}

.team-member-content {
    position: relative;
    border-radius: clamp(20px, 3vw, 50px);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 2;
    background-color: var(--dark-bg);
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 280px;
}

@container (min-width: 540px) {
    .team-member:nth-child(odd):hover .team-member-content {
        transform: translateX(-15px) translateY(-15px);
        box-shadow: 0 0 0 12px var(--secondary-color), 0 8px 25px rgba(0,0,0,0.2);
    }
    .team-member:nth-child(even):hover .team-member-content {
        transform: translateX(15px) translateY(-15px);
        box-shadow: 0 0 0 12px var(--secondary-color), 0 8px 25px rgba(0,0,0,0.2);
    }
}
@supports not (container-type: inline-size) {
    @media (min-width: 540px) {
        .team-member:nth-child(odd):hover .team-member-content {
            transform: translateX(-15px) translateY(-15px);
            box-shadow: 0 0 0 12px var(--secondary-color), 0 8px 25px rgba(0,0,0,0.2);
        }
        .team-member:nth-child(even):hover .team-member-content {
            transform: translateX(15px) translateY(-15px);
            box-shadow: 0 0 0 12px var(--secondary-color), 0 8px 25px rgba(0,0,0,0.2);
        }
    }
}
.team-member:hover .team-member-content {
    transform: translateY(-8px);
    box-shadow: 0 0 0 6px var(--secondary-color), 0 8px 25px rgba(0,0,0,0.2);
}

.member-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: filter 0.3s ease-in-out;
}

.team-member:hover .member-photo-img {
    filter: none;
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.member-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}



/* === assets/css/pages/_partners.css === */

.partners {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 45%;
    height: 150%;
    background-image: url('/assets/img/logo+all/big_logo.png');
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
}

.partners .container {
    position: relative;
    z-index: 2;
}

.partners-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(2rem, 4vw, 4rem);
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
}

.partners .section-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-color);
    text-align: left;
    line-height: 1.15;
}

.partners-description {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding-top: 10px;
    text-align: justify;
    max-width: 550px;
    margin-left: auto;
}

.partners-description p {
    margin-bottom: 1rem;
}

.justified-paragraph {
    display: flex;
    flex-direction: column;
}

.justified-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.highlight {
    color: var(--text-color);
    font-weight: 500;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(15px, 2.5vw, 30px);
}
@media (min-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.partner-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: clamp(20px, 3vw, 30px);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.partner-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(8, 38, 239, 0.3);
}

.partner-logo {
    max-width: 80%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    opacity: 1;
    transform: scale(1.05);
} 

/* === assets/css/pages/_future-programs.css === */

.future-programs {
    padding: 100px 0;
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.future-programs .container {
    position: relative;
    width: 100%;
}

.future-programs .section-title {
    font-size: clamp(2rem, 5vw + 0.5rem, 4rem);
    font-weight: 700;
    margin-bottom: clamp(40px, 6vw, 80px);
    max-width: 600px;
    line-height: 1.2;
}

.program-list-wrapper {
    position: relative;
    overflow: hidden;
}

.program-list {
    display: flex;
    transition: transform 0.5s ease;
}

.program-page {
    flex: 0 0 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.program-item {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.program-item:hover {
    background-color: var(--secondary-color);
    border-radius: 12px;
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 59, 0.8);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border-radius: 12px;
}

.program-item.past-program:hover .program-overlay {
    opacity: 1;
}

.program-info {
    flex: 1;
}

.program-subtitle {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.program-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.program-date {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-left: 30px;
    white-space: nowrap;
}

.future-programs .navigation-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
}

.future-programs .nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.future-programs .nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.future-programs .nav-arrow i {
    font-size: 1.2rem;
}

.belveb-promo-card {
    background: linear-gradient(135deg, #999999, #0826EF);
    border-radius: 25px;
    margin-top: 80px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.promo-card-content {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.promo-card-info {
    color: #ffffff;
}

.promo-card-info h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #ffffff;
}

.promo-card-percent {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.percent-number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.percent-text {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.percent-subtext {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px 0;
}

.promo-card-terms {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 40px;
}

.promo-card-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

.promo-card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.promo-card-link:hover {
    color: var(--secondary-color); 
}

.promo-card-link:hover::before {
    opacity: 0; 
}

.promo-card-link:hover::after {
    transform: scaleX(0); 
}

.promo-card-link.link-decorated::before {
    top: -20px; 
}

.promo-card-logo {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    height: 100%;
    position: static;
}

.promo-card-logo img {
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
}

.promo-card-logo p {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: static;
    padding-left: 0;
} 

/* === assets/css/pages/_testimonials.css === */

.testimonials {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
}

.testimonials .section-title {
    font-size: clamp(2rem, 4.5vw + 0.5rem, 4rem);
    font-weight: 700;
    margin-bottom: clamp(30px, 5vw, 60px);
    line-height: 1.15;
    color: var(--primary-color);
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: stretch;
}
@media (min-width: 900px) {
    .testimonial-content {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 90%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.client-avatars {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(11, 11, 59, 0.1);
}

.avatar-group {
    display: flex;
    margin-bottom: 20px;
}

.avatar-group > picture,
.avatar-group > img.client-avatar {
    display: block;
    width: clamp(72px, 8vw, 96px);
    height: clamp(72px, 8vw, 96px);
    flex-shrink: 0;

margin-right: clamp(-50px, -5.5vw, -36px);
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
}
.avatar-group > :nth-child(1) { z-index: 3; }
.avatar-group > :nth-child(2) { z-index: 2; }
.avatar-group > :nth-child(3) { z-index: 1; }
.avatar-group > :last-child { margin-right: 0; }

.avatar-group .client-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: inherit;
}

.clients-count {
    font-size: clamp(1.1rem, 0.5vw + 1rem, 1.5rem);
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
    max-width: 300px;
    line-height: 1.4;
}

.testimonial-text {
    position: relative;
    height: 100%;
    padding-bottom: 140px; 
}

.testimonial-text blockquote {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
    line-height: 1.6;
    color: rgba(11, 11, 59, 0.8);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 11, 59, 0.2) transparent;
}

.testimonial-text blockquote::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text blockquote::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-text blockquote::-webkit-scrollbar-thumb {
    background-color: rgba(11, 11, 59, 0.2);
    border-radius: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding-top: 20px;
}

.author-avatar {
    width: clamp(70px, 8vw, 100px);
    height: clamp(70px, 8vw, 100px);
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #F0F4F8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
    font-weight: 500;
    margin: 0 0 5px 0;
    color: var(--primary-color);
}

.author-info p {
    font-size: clamp(0.9rem, 0.3vw + 0.85rem, 1rem);
    color: rgba(11, 11, 59, 0.6);
    margin: 0;
}

.testimonial-slide {
    display: none;
    position: relative;
    min-height: clamp(280px, 35vh, 400px);
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
}

.testimonials .nav-arrow {
    background-color: rgba(11, 11, 59, 0.05);
    color: var(--primary-color);
}

.testimonials .nav-arrow:hover {
    background-color: rgba(11, 11, 59, 0.1);
}



/* === assets/css/pages/_press-center.css === */

.press-center {
    padding: 100px 0;
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.press-center .section-title {
    font-size: clamp(2.2rem, 5vw + 0.5rem, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
}

.press-tabs {
    margin-bottom: 60px;
}

.press-tabs .nav-tabs {
    border: none;
    gap: 30px;
}

.press-tabs .nav-item {
    width: -moz-fit-content;
    width: fit-content;
    transition: transform 0.3s ease;
}

.press-tabs .nav-item:hover {
    transform: translateY(-3px);
}

.press-tabs .nav-link {
  color: var(--text-color); 
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

.press-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.press-tabs .nav-link:hover {
  color: var(--secondary-color); 
}

.press-tabs .nav-link:hover::before {
  opacity: 0; 
}

.press-tabs .nav-link:hover::after {
  transform: scaleX(0); 
}

.press-tabs .nav-link.active {
  color: var(--secondary-color); 
  background: none;
  font-weight: 500;
}

.press-tabs .nav-link:hover::after {
    transform: scaleX(0);
}

.press-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.press-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.press-card:first-child {
    grid-row: span 2;
}

.press-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.press-image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    flex-shrink: 0;
}

.press-card:first-child .press-image {
    padding-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
}

.press-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.press-card:hover .press-image img {
    transform: scale(1.05);
}

.press-info {
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
}

.press-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.press-source {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .press-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

.press-card:first-child {
        grid-row: auto;
    }

.press-info {
        padding: 20px;
    }

.press-info h3 {
        font-size: 1.3rem;
    }

.press-card.large .press-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .press-grid {
        grid-template-columns: 1fr;
    }

.press-card.large {
        grid-column: span 1;
    }

.press-info h3,
    .press-card.large .press-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .press-tabs .nav-tabs {
        gap: 20px;
    }

.press-info {
        padding: 15px;
    }

.press-info h3,
    .press-card.large .press-info h3 {
        font-size: 1.2rem;
    }
} 

/* === assets/css/pages/_faq.css === */

.faq {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
}

.faq .section-title {
    font-size: clamp(2rem, 4.5vw + 0.5rem, 4rem);
    font-weight: 700;
    margin-bottom: clamp(30px, 5vw, 60px);
    line-height: 1.15;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: clamp(20px, 3vw, 30px) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: rgba(255, 255, 255, 0.8);
}

.faq-question span {
    font-size: clamp(1.05rem, 1vw + 0.85rem, 1.5rem);
    font-weight: 500;
    padding-right: clamp(20px, 3vw, 40px);
}

.faq-question i {
    font-size: clamp(1rem, 0.3vw + 0.95rem, 1.2rem);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: clamp(20px, 3vw, 30px);
    overflow: hidden;
}

.faq-content {
    font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
    padding-right: clamp(20px, 3vw, 40px);
}

.collapsing {
    transition: height 0.4s ease;
}


/* === assets/css/pages/_experts.css === */

.experts-page-body {
    background-color: #00062B;
}

.container-expert-page {
    padding-bottom: 6rem; 
    padding-top: 120px; 
}

.expert-content {
    margin-top: 40px; 
}

.experts-page-header {
    text-align: center;
    margin: 80px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.experts-page-header h1 {
    font-size: clamp(2.5rem, 5vw + 0.5rem, 4.5rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.team-grid--overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 540px) {
    .team-grid--overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .team-grid--overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .team-grid--overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.team-grid--overview .team-portrait {
    width: 100%;
    aspect-ratio: 1 / 1.15;
}

.container-expert-page {
    padding-top: clamp(80px, 10vw, 120px);
}

.expert-content {
    margin-top: clamp(20px, 3vw, 40px);
}

.experts-page-header {
    margin: clamp(40px, 7vw, 80px) 0;
}

.team-portrait {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; 
    color: var(--light-text); 
}

.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    transition: transform 0.4s ease;
}

.team-portrait:hover img {
    transform: scale(1.05);
}

.team-portrait:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--light-text); 
    text-decoration: none; 
}

.portrait-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.team-portrait:hover .portrait-overlay {
    opacity: 1;
}

.expert-name-overlay {
    color: var(--light-text) !important; 
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.expert-detail-view {
    display: none;
    padding: 6rem 0;
    margin-top: 2rem;
    color: var(--light-text);
}

.expert-detail-view.active {
    display: block;
}

.back-to-grid-btn {
    display: none; 
    margin-bottom: 2rem;
}

.expert-nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px; 
    font-weight: 500;
    display: inline-block; 
    transition: color 0.3s ease;
}

.expert-nav-link:hover {
    color: var(--secondary-color);
}

.expert-nav-link::before {
    content: '┐';
    position: absolute;
    top: -20px;
    right: -14px;
    font-size: 1.5rem;
    font-weight: 600;
}

.expert-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

.details-active .back-to-grid-btn {
    display: inline-block; 
}

.details-active .back-to-main-header {
    display: none; 
}

.expert-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.expert-photo-large {
    flex: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.expert-photo-large img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.expert-bio {
    flex: 2;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expert-bio .expert-name {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.expert-bio .expert-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.expert-bio .expert-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 2.5rem 0 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.expert-bio .expert-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.expert-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
}

.expert-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.expert-info-left,
.expert-info-right {
    flex: 1;
}

.expert-info-left .expert-section-title,
.expert-info-right .expert-section-title {
    margin-top: 0;
    font-size: 1.2rem;
}

.expert-info-left p,
.expert-info-right p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.expert-subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.bio-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.bio-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.bio-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.expert-info-columns {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.expert-info-col {
    flex: 1;
}

.expert-info-col .expert-section-title {
    margin-top: 0;
    font-size: 1.2rem;
}

.expert-info-col p {
    margin: 0;
    line-height: 1.6;
}

.expert-education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expert-education-list li {
    margin-bottom: 0.75rem;
}

@media (min-width: 769px) and (max-width: 1199px) {
    .container-expert-page {
        padding-top: 100px;
    }

.expert-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

.expert-photo-large {
        position: static;
        max-width: 450px; 
        text-align: center;
    }

.expert-photo-large img {
        width: 100%;
        height: auto;
    }

.expert-bio {
        flex: 1; 
        width: 100%;
        max-width: 800px; 
        padding: 2.5rem;
    }

.expert-bio .expert-name {
        font-size: 3rem;
        text-align: center;
    }

.expert-bio .expert-title {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 3rem;
    }

.expert-info-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

.expert-bio .expert-section-title {
        font-size: 1.6rem;
    }

.expert-bio p {
        font-size: 1.05rem;
    }

.back-to-main {
        display: block;
        margin-top: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .expert-content {
        flex-direction: column;
        gap: 3rem;
        padding: 0 1.5rem;
    }

.expert-photo-large {
        max-width: 100%;
        position: relative;
        top: 0;
    }

.expert-photo-large img {
        max-width: 400px;
        margin: 0 auto;
    }

.expert-bio {
        padding: 2rem;
    }

.expert-bio .expert-name {
        font-size: 2.8rem;
    }

.expert-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 480px) {
    .expert-content {
        padding: 0 1rem;
    }

.expert-bio {
        padding: 1.5rem;
    }

.expert-bio .expert-name {
        font-size: 2.4rem;
    }

.expert-bio .expert-title {
        font-size: 1.2rem;
    }

.expert-bio .expert-section-title {
        font-size: 1.6rem;
    }

.expert-bio p,
    .bio-list li {
        font-size: 1rem;
    }
} 

/* === assets/css/pages/_press.css === */

.press-full-page .section-header {
    margin-bottom: 4rem;
    text-align: left;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.article-card {
    background-color: var(--dark-blue-card, #0A142F);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.article-image {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-source {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-read-more {
    font-weight: 700;
    align-self: flex-start;
    margin-top: auto;
}

.article-read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-rect-layout .article-grid {
    grid-template-columns: 1fr;
    gap: 2rem; 
}

.news-rect-layout .article-card {
    display: flex;
    flex-direction: row; 
    background: #FFFFFF; 
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-rect-layout .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.news-rect-layout .article-image {
    display: block;
    flex: 0 0 clamp(180px, 25vw, 320px);
    max-height: 280px;
}

.news-rect-layout .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-rect-layout .article-content {
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

.news-rect-layout .article-title {
    color: var(--primary-color);
    font-size: clamp(1.15rem, 1vw + 0.85rem, 1.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.news-rect-layout .article-source {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}
.news-rect-layout .article-excerpt {
    color: #555;
    flex-grow: 1;
}

.news-rect-layout .article-read-more {
    display: inline-block;
    margin-top: 1.5rem;
    align-self: flex-start;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-rect-layout .article-read-more:hover {
    color: var(--primary-color);
}

.news-rect-layout {
    background-color: var(--dark-bg);
    padding: 2rem 0;
}

.news-rect-layout .section-header {
    margin-bottom: 4rem;
}

.news-rect-layout .section-header h2 {
    color: var(--text-color);
}

@container (max-width: 600px) {
    .news-rect-layout .article-card { flex-direction: column; }
    .news-rect-layout .article-image { flex-basis: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .news-rect-layout .article-card { flex-direction: column; }
    .news-rect-layout .article-image { flex-basis: auto; aspect-ratio: 16 / 10; max-height: none; }
}


/* === assets/css/pages/_legal.css === */

.legal-document {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-document .document-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-document .document-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal-document .document-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 2rem 0;
    line-height: 1.3;
}

.legal-document .document-header small {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 1rem;
}

.legal-document h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-document p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
}

.legal-document ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 2rem;
}

.legal-document ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.legal-document ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.legal-document strong {
    color: var(--light-text);
    font-weight: 600;
}

.legal-document table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.legal-document table th,
.legal-document table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.legal-document table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--light-text);
}

.legal-document table td {
    color: rgba(255, 255, 255, 0.9);
}

.back-to-main {
    display: inline-flex;
    align-items: center;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-to-main i {
    margin-right: 0.8rem;
    font-size: 1rem;
}

.back-to-main:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .legal-document {
        padding: 2rem;
    }

.legal-document .document-header h1 {
        font-size: 2.4rem;
    }

.legal-document h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .legal-document {
        padding: 1.5rem;
    }

.legal-document .document-header {
        margin-bottom: 3rem;
    }

.legal-document .document-header h1 {
        font-size: 2rem;
    }

.legal-document .document-header small {
        font-size: 1rem;
    }

.legal-document h3 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }

.legal-document p,
    .legal-document ul li {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .legal-document {
        padding: 1rem;
    }

.legal-document .document-header h1 {
        font-size: 1.8rem;
    }

.legal-document h3 {
        font-size: 1.3rem;
    }

.legal-document p,
    .legal-document ul li {
        font-size: 0.95rem;
    }

.back-to-main {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
} 

/* === assets/css/pages/_news-detail.css === */

.news-detail {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.news-detail .back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.news-detail .back-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.news-detail .back-link i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.news-detail .back-link:hover i {
    transform: translateX(-3px);
}

.news-article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-article .article-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-article .back-to-main {
    align-self: flex-start;
}

.news-article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.news-article .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.news-article .article-category {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.news-article .article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-article .article-date i {
    font-size: 1.1rem;
}

.news-article .main-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 2.5rem;
}

.news-article .article-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-article .article-content p {
    margin-bottom: 1.5rem;
}

.news-article .article-content img {
    width: 100%;
    border-radius: 15px;
    margin: 2rem 0;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-section {
    text-align: center;
}

.share-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.related-news {
    margin-top: 4rem;
}

.related-news h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .news-article {
        padding: 2rem;
    }

.news-article h1 {
        font-size: 2rem;
    }

.news-article .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .news-article {
        padding: 1.5rem;
    }

.news-article h1 {
        font-size: 1.8rem;
    }

.share-buttons {
        flex-wrap: wrap;
    }

.share-button {
        width: 100%;
        justify-content: center;
    }
} 

/* === assets/css/pages/_news.css === */

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin: 2rem 0;
}

.news-card {
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 8px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.news-card:hover .news-card-title {
    color: var(--secondary-color);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-category {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.news-card-title {
    font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.news-card-meta {
    margin-top: auto;
}

.news-card-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}



/* === assets/css/pages/_error-404.css === */
.error-404 {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 10vw, 120px) 24px;
    overflow: hidden;
}

.error-404__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    width: 100%;
    text-align: center;
}

.error-404__digits {
    font-size: clamp(8rem, 22vw, 18rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #4f6ef7 45%, #0826ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 30px 80px rgba(8, 38, 239, 0.25);
    user-select: none;
}

.error-404__digits span {
    display: inline-block;
    position: relative;
}

.error-404__digits span.is-zero {
    animation: error-404-orbit 6s ease-in-out infinite;
}

@keyframes error-404-orbit {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-12px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
    .error-404__digits span.is-zero { animation: none; }
}

.error-404__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.error-404__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin: 24px 0 16px;
    line-height: 1.2;
}

.error-404__lead {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 48px;
}

.error-404__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.error-404__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    text-align: left;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    overflow: hidden;
}

.error-404__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(8, 38, 239, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.error-404__card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(8, 38, 239, 0.6);
    box-shadow: 0 18px 40px rgba(8, 38, 239, 0.18);
    color: #fff;
    text-decoration: none;
}

.error-404__card:hover::after { opacity: 1; }

.error-404__card-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.error-404__card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.error-404__card-title svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.error-404__card:hover .error-404__card-title svg {
    transform: translateX(6px);
}

.error-404__card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

.error-404__primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 56px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--secondary-color, #0826ef) 0%, #4f6ef7 100%);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 30px rgba(8, 38, 239, 0.35);
}

.error-404__primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(8, 38, 239, 0.5);
    color: #fff;
}

.error-404__primary svg { transition: transform 0.25s ease; }
.error-404__primary:hover svg { transform: translateX(4px); }

.error-404__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(8, 38, 239, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(79, 110, 247, 0.14) 0%, transparent 60%);
}


/* === assets/css/base/_mobile.css === */

@media screen and (max-width: 767px) {

html, 
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

* {
        max-width: 100vw;
        box-sizing: border-box !important;
    }

.container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

.main-header {
        padding: 10px 0;
        width: 100vw;
        left: 0;
        right: 0;
    }

.navbar {
        padding: 0;
    }

.navbar-brand {
        margin-right: 0;
        flex: 0 0 auto;
    }

.logo {
        height: 25px;
        width: auto;
    }

.navbar-toggler {
        padding: 6px;
        margin-left: auto;
        border: none;
        position: relative;
        z-index: 1000;
    }

.navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(1, 3, 31, 0.98);
        padding: calc(70px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        height: 100vh;
        height: 100svh;
        overflow-y: auto;
    }

.navbar-collapse.show {
        transform: translateX(0);
    }

.navbar-nav {
        margin: 0;
        padding: 0;
        flex: 0.7;
    }

.nav-item {
        margin: 10px 0;
        text-align: center;
    }

.nav-link {
        font-size: 18px;
        padding: 10px 0 !important;
    }

.main-header .social-links {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        gap: 25px;
    }

.main-header .social-link img {
        height: 24px;
    }

.main-footer {
        padding: 40px 0 30px;
        overflow: hidden;
    }

.footer-logo-top {
        margin-bottom: 30px;
    }

.footer-logo-top img {
        height: 40px;
        width: auto;
    }

.footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

.footer-left h3 {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: left;
    }

.subscribe-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: relative;
        max-width: 100%;
    }

.subscribe-form .form-control {
        width: 100%;
        height: 50px;
        padding-right: 20px;
    }

.subscribe-form .btn {
        position: static;
        width: 100%;
        height: 48px;
        font-size: 0.95rem;
        padding: 0;
        min-width: auto;
    }

.footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.footer-links a {
        font-size: 12px;
        line-height: 1.4;
    }

.footer-right {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

.info-block {
        padding-bottom: 15px;
        text-align: left;
    }

.info-block h4 {
        font-size: 12px;
        margin-bottom: 12px;
    }

.info-block p {
        font-size: 14px;
        margin-bottom: 8px;
    }

.info-block .social-links {
        justify-content: flex-start;
        gap: 20px;
    }

.info-block .social-link {
        font-size: 14px;
    }

.footer-bottom {
        padding-top: 20px;
        margin-top: 20px;
        text-align: center;
    }

.footer-bottom p {
        font-size: 12px;
    }

.program-card {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 15px;
        width: 100%;
    }

.program-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

.program-card .program-subtitle {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

.program-card .program-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

.program-card .program-price {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
    }

.program-card .program-duration {
        font-size: 14px;
        margin-bottom: 20px;
    }

.program-card .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

button,
    .btn,
    .nav-link,
    a {
        touch-action: manipulation;
    }

input, 
    select, 
    textarea {
        font-size: 16px !important;
        border-radius: 8px;
        max-width: 100%;
    }

img {
        max-width: 100%;
        height: auto;
    }

.row {
        margin-left: -10px;
        margin-right: -10px;
        width: 100%;
    }

[class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }

.hero-title {
        text-align: center;
        margin: 10vh auto 0;
        max-width: 92%;
    }

.hero-text {
        text-align: center;
        margin: 3vh auto 0;
        padding: 0 15px;
    }

.hero-subtitle,
    .hero-description {
        text-align: center;
        font-size: 0.95rem;
    }

#heroVideo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media screen and (max-width: 767px) {
    .about-section {
        text-align: center;
        padding: 40px 0;
    }

.about-content {
        text-align: center;
        margin: 0 auto;
    }

.about-text {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }

.section-title,
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

.programs .section-title {
        text-align: center;
        margin-bottom: 1.5rem;
    }

.programs .nav {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }

.programs .nav-item {
        width: 100%;
        margin: 5px 0;
    }

.programs .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
    }

.program-card {
        margin: 15px 0;
        padding: 25px;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 20px;
        overflow: visible;
        width: 100%;
    }

.corporate-expandable .program-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

.expand-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-left: 0;
        align-self: center;
    }

.corporate-expandable.expanded .program-content-expandable {
        max-height: 1200px;
    }

.content-slider-wrapper {
        padding: 16px;
        border-radius: 10px;
    }

.table-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

.table-header {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

.table-cell {
        padding: 14px;
        font-size: 0.92rem;
    }

.table-cell strong {
        font-size: 0.95rem;
    }

.table-cell ul {
        padding-left: 16px;
    }

.table-cell li {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

.content-slider-controls {
        margin-top: 30px;
        gap: 10px;
    }

.content-arrow {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

.future-programs {
        padding: 40px 0;
    }

.future-program-card {
        margin: 15px auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        max-width: 90%;
        text-align: center;
    }

.program-date {
        font-size: 0.9rem;
        margin-top: 15px;
        order: 2;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
    }

.program-title {
        order: 1;
        margin-bottom: 10px;
        font-size: 1.2rem;
        text-align: center;
    }

.program-status {
        text-align: center;
        width: 100%;
        margin: 10px 0;
        font-size: 0.9rem;
    }

.program-link {
        text-align: center;
        width: 100%;
        margin: 5px 0;
    }

.belveb-promo-card {
        margin: 20px auto;
        padding: 30px 20px;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.belveb-promo-card .promo-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.belveb-promo-card .promo-card-info {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.belveb-promo-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

.belveb-promo-card .promo-card-percent {
        margin-bottom: 1rem;
    }

.belveb-promo-card .percent-subtext,
    .belveb-promo-card .promo-card-terms {
        font-size: 0.9rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

.belveb-promo-card .promo-card-info a.back-to-main {
        margin-top: 1rem;
        display: inline-block;
    }

.belveb-promo-card .promo-card-logo {
        order: 2;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.belveb-promo-card .promo-card-logo img {
        max-width: 220px;
        margin-bottom: 1rem;
    }

.belveb-promo-card .promo-card-link {
        order: 3;
        margin-top: 1.5rem;
    }

.belveb-promo-card .btn {
        font-size: 1rem;
        padding: 12px 20px;
        width: auto;
        display: inline-block;
    }

.credit-card-content {
        position: relative;
        width: 100%;
    }

.credit-card-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
        text-align: center;
    }

.credit-card-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: center;
    }

.credit-card .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

.section-description,
    .text-content {
        text-align: center;
        font-size: 0.9rem;
    }

.navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #00062B;
        padding: 80px 20px 20px;
        z-index: 999;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        height: 100vh;
        width: 100vw;
    }

.navbar-collapse.show {
        display: flex;
        background-color: #00062B;
        transform: none;
    }

.nav-item {
        margin: 10px 0;
        text-align: center;
        opacity: 1 !important;
        width: 100%;
    }

.nav-link {
        font-size: 18px;
        padding: 10px 0 !important;
        opacity: 1 !important;
        color: #fff !important;
        width: 100%;
        display: block;
    }

.main-header .social-links {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        gap: 25px;
        opacity: 1 !important;
        width: 100%;
    }

.navbar-toggler {
        z-index: 1000;
        position: relative;
    }

.navbar-collapse.show .nav-item,
    .navbar-collapse.show .nav-link,
    .navbar-collapse.show .social-links {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

.navbar-toggler {
        display: none;
    }
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        width: auto;
        background-color: transparent;
        position: static;
        height: auto;
        transform: none !important;
        padding: 0;
    }
    .navbar-nav {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 0;
        flex-basis: auto;
        margin-right: 1.5rem;
    }
    .main-header .social-links {
        margin-left: 0;
    }
    .nav-item {
        margin: 0 0.3rem;
    }
    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem !important;
    }
    .main-header .social-links {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding-top: 0;
        border-top: none;
        margin-top: 0;
        margin-left: 2rem;
    }

.belveb-promo-card {
        padding: 40px;
        margin-top: 60px;
    }
    .belveb-promo-card .promo-card-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
        text-align: left;
    }
    .belveb-promo-card .promo-card-info h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    .belveb-promo-card .percent-number {
        font-size: 3rem;
    }
    .belveb-promo-card .promo-card-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
    }
    .belveb-promo-card .promo-card-logo img {
        max-width: 180px;
    }

.about-us .section-title {
        margin-bottom: 3rem !important;
    }

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

@media screen and (max-height: 800px) {
    .navbar-collapse {
        padding-top: 60px;
    }

.nav-item {
        margin: 5px 0;
    }

.main-header .social-links {
        padding-top: 15px;
    }
} 

@media screen and (max-width: 767px) {
    .testimonial-text blockquote {
        padding-right: 10px;
        -webkit-overflow-scrolling: touch;
    }

.navigation-arrows {
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

.testimonials .nav-arrow {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 767px) {
    .legal-document {
        padding: 20px 0;
    }

.document-header {
        margin-bottom: 30px;
        text-align: center;
    }

.document-header h1 {
        font-size: 1.6rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }

.document-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

.document-content h3 {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

.document-content p,
    .document-content li {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
    }

.document-content ul {
        padding-left: 20px;
        margin-bottom: 15px;
    }

.document-content ul li {
        margin-bottom: 10px;
    }

.table-bordered {
        width: 100% !important; 
        font-size: 0.9rem;
    }

.table-bordered th,
    .table-bordered td {
        padding: 8px;
    }
}

/* === Адаптивные мелочи: длинные слова, safe-area, прятка декора === */
@media (max-width: 768px) {
    h1, h2, h3,
    .section-title,
    .news-card-title,
    .program-card h3,
    .testimonial-author h4,
    .hero-title {
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }
}

.scroll-to-top-btn {
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(20px, env(safe-area-inset-right, 0px));
}

@supports (padding: max(0px)) {
    .main-footer .container {
        padding-left: max(15px, env(safe-area-inset-left, 0px));
        padding-right: max(15px, env(safe-area-inset-right, 0px));
    }
}


/* === assets/css/base/_typography.css === */


h1, .h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); font-weight: var(--fw-bold); }
h2, .h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); font-weight: var(--fw-bold); }
h3, .h3 { font-size: var(--fs-2xl); line-height: var(--lh-snug);  font-weight: var(--fw-bold); }
h4, .h4 { font-size: var(--fs-xl);  line-height: var(--lh-snug);  font-weight: var(--fw-bold); }
h5, .h5 { font-size: var(--fs-lg);  line-height: var(--lh-snug);  font-weight: var(--fw-medium); }
h6, .h6 { font-size: var(--fs-md);  line-height: var(--lh-normal); font-weight: var(--fw-medium); }

.hero-title {
    font-size: var(--fs-5xl) !important;
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
}
.hero-subtitle,
.hero-description {
    font-size: var(--fs-md);
    line-height: var(--lh-snug);
}

.section-title {
    font-size: var(--fs-4xl) !important;
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
}

.news-card-title {
    font-size: var(--fs-lg);
    line-height: var(--lh-snug);
}

.expert-name-overlay {
    font-size: var(--fs-lg);
}

.expert-name {
    font-size: var(--fs-3xl) !important;
    line-height: var(--lh-tight);
}
.expert-title {
    font-size: var(--fs-md);
    line-height: var(--lh-normal);
    color: var(--color-text-muted);
}
.expert-section-title {
    font-size: var(--fs-xl) !important;
    line-height: var(--lh-snug);
}

.program-hero__title {
    font-size: var(--fs-5xl) !important;
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
}
.program-hero__description {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}
.program-hero__tag {
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.program-hero__stat-value {
    font-size: var(--fs-3xl);
    line-height: 1;
}
.program-hero__stat-label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.info-card__title {
    font-size: var(--fs-md);
    line-height: var(--lh-snug);
}
.info-card__text {
    font-size: var(--fs-sm);
    line-height: var(--lh-normal);
    color: var(--color-text-muted);
}

.module-card__title {
    font-size: var(--fs-lg);
    line-height: var(--lh-snug);
}
.module-card__number {
    font-size: var(--fs-2xl);
    line-height: 1;
}

.news-article h1 {
    font-size: var(--fs-3xl);
    line-height: var(--lh-tight);
}
.article-content p {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}

.cta-content h2 {
    font-size: var(--fs-3xl);
    line-height: var(--lh-tight);
}

.lead {
    font-size: var(--fs-lg) !important;
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
    font-weight: var(--fw-regular);
}

.main-footer h3,
.main-footer h4 {
    font-size: var(--fs-md);
    line-height: var(--lh-snug);
}

body {
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
}

