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

:root {
    --color-accent: #ba3a13;
    --color-white: #ffffff;
    --color-overlay: #0f1015;
    --color-glass: rgba(255, 255, 255, 0.12);
    --color-glass-border: rgba(255, 255, 255, 0.18);
    --font-main: 'Montserrat', Arial, sans-serif;
    --container-padding: clamp(16px, 3vw, 48px);
    --navbar-height: 88px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-white);
    background: #0f1015;
    min-width: 350px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg-source.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 24, 42, 0.25) 0%,
        rgba(6, 24, 42, 0.15) 45%,
        rgba(6, 24, 42, 0.45) 100%
    );
    z-index: 1;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px var(--container-padding);
    min-height: var(--navbar-height);
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.navbar__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    flex-shrink: 0;
    overflow: hidden;
}

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

.navbar__logo-placeholder {
    font-size: 11px;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: 0.04em;
}

.navbar__brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navbar__site-name {
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.navbar__tagline {
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.3;
}

.navbar__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 28px);
    flex-wrap: wrap;
    justify-content: center;
}

.navbar__links a {
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.navbar__links a:hover {
    opacity: 0.75;
}

.navbar__contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar__phone-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__phone-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.navbar__phone-label {
    font-size: 10px;
    font-weight: 300;
    white-space: nowrap;
}

.navbar__phone-number {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    white-space: nowrap;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 20;
}

.navbar__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.navbar__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar__menu-phone {
    display: none;
}

body.nav-menu-open {
    overflow: hidden;
}

/* Icon circles */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-circle--accent {
    background: var(--color-accent);
}

.icon-circle svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

/* Hero content */
.hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px var(--container-padding) 40px;
    gap: clamp(32px, 6vh, 72px);
}

.hero__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.hero__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__title-line1 {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero__title-line2 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero__aside {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 420px;
    justify-self: end;
}

.hero__description {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 400;
    line-height: 1.65;
    opacity: 0.95;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 16px 36px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
    background: #e09510;
    transform: translateY(-1px);
}

/* Bottom row */
.hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero__social {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero__addresses {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.hero__addresses-label {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__addresses-value {
    margin: 0;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.92;
}

.hero__social-label {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero__social-link svg {
    width: 16px;
    height: 16px;
}

.hero__stats {
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.stat-card {
    width: clamp(200px, 22vw, 280px);
    padding: 20px 22px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stat-card__value {
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-card__text {
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 400;
    line-height: 1.55;
    opacity: 0.92;
}

/* Tablet */
@media (max-width: 1100px) {
    .navbar__menu {
        display: block;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(12, 32, 52, 0.97) 0%, rgba(8, 28, 48, 0.95) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px var(--container-padding) 28px;
        border-bottom: 1px solid var(--color-glass-border);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
    }

    .navbar__menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar__links {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .navbar__links li {
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity 0.35s ease,
            transform 0.35s ease;
    }

    .navbar__menu.is-open .navbar__links li {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar__menu.is-open .navbar__links li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .navbar__menu.is-open .navbar__links li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .navbar__menu.is-open .navbar__links li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .navbar__menu.is-open .navbar__links li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .navbar__menu.is-open .navbar__links li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .navbar__menu.is-open .navbar__links li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .navbar__menu-phone {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity 0.35s ease 0.2s,
            transform 0.35s ease 0.2s;
    }

    .navbar__menu.is-open .navbar__menu-phone {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar__menu-phone-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .navbar__menu-phone-label {
        font-size: 10px;
        font-weight: 300;
        letter-spacing: 0.06em;
        opacity: 0.85;
    }

    .navbar__menu-phone-number {
        font-size: clamp(16px, 4vw, 20px);
        font-weight: 700;
        letter-spacing: 0.02em;
        transition: opacity 0.2s;
    }

    .navbar__menu-phone:hover .navbar__menu-phone-number {
        opacity: 0.85;
    }

    .navbar__burger {
        display: flex;
        order: 3;
    }

    .navbar__contacts {
        margin-left: auto;
    }

    .navbar__contacts .navbar__phone-text {
        display: none;
    }

    .navbar__phone-block {
        position: relative;
        z-index: 15;
    }

    .hero__main {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero__aside {
        justify-self: start;
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 700px) {
    :root {
        --navbar-height: 72px;
    }

    .navbar {
        flex-wrap: wrap;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .navbar__brand {
        flex: 1;
        min-width: 0;
    }

    .navbar__logo-link {
        width: 44px;
        height: 44px;
    }

    .navbar__phone-label {
        display: none;
    }

    .navbar__phone-text {
        gap: 0;
    }

    .icon-circle {
        width: 36px;
        height: 36px;
    }

    .hero__content {
        padding-bottom: 28px;
        gap: 28px;
    }

    .hero__title-line1 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .hero__title-line2 {
        font-size: clamp(22px, 7vw, 32px);
    }

    .hero__cta {
        width: 100%;
        padding: 14px 24px;
    }

    .hero__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__social {
        align-items: center;
        text-align: center;
    }

    .hero__social-icons {
        justify-content: center;
    }

    .hero__stats {
        flex-direction: column;
        justify-content: stretch;
    }

    .stat-card {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .navbar__tagline {
        font-size: 9px;
    }

    .navbar__site-name {
        font-size: 11px;
    }

    .navbar__phone-number {
        font-size: 11px;
    }
}

/* Learning section */
.learning {
    --learning-panel: #0f1015;
    --learning-panel-border: #1b1c25;
    --learning-radius: 22px;
    background: #f8f9fb;
    color: #111;
    padding: clamp(56px, 9vw, 108px) var(--container-padding);
}

.learning__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.learning__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    margin-bottom: clamp(36px, 5vw, 64px);
}

.learning__title {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.learning__description {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    color: #5c6570;
    max-width: 580px;
}

.learning__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 17px 34px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.learning__cta:hover {
    background: #e09510;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.42);
}

.learning__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(18px, 2.5vw, 28px);
    align-items: stretch;
}

.learning__featured {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
}

.learning__featured .skill-card {
    flex: 1;
}

.learning__featured-bottom {
    font-size: clamp(17px, 2.1vw, 26px);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 92%;
}

.learning__cards {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.5vw, 28px);
}

.learning__cards .skill-card {
    flex: 1;
}

/* Skill cards */
.skill-card {
    border-radius: var(--learning-radius);
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(15, 35, 60, 0.04),
        0 16px 40px rgba(15, 35, 60, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 12px rgba(15, 35, 60, 0.06),
        0 24px 48px rgba(15, 35, 60, 0.12);
}

.skill-card__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 28vw, 320px);
    background: linear-gradient(145deg, #1a3a5c 0%, #2d5a7b 50%, #1e4a6e 100%);
    overflow: hidden;
    isolation: isolate;
}

.skill-card--featured .skill-card__media {
    min-height: clamp(340px, 46vw, 520px);
}

.skill-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-bg, none);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.skill-card:hover .skill-card__media::before {
    transform: scale(1.06);
}

.skill-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 22, 42, 0.88) 0%,
        rgba(8, 22, 42, 0.35) 42%,
        rgba(8, 22, 42, 0.08) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.skill-card__tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: #3d4652;
    line-height: 1.3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.skill-card__tag--tl {
    top: clamp(16px, 2.5vw, 24px);
    left: clamp(16px, 2.5vw, 24px);
}

.skill-card__panel {
    position: absolute;
    z-index: 2;
    color: var(--color-white);
    background: var(--learning-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--learning-panel-border);
    border-radius: 18px;
    padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.skill-card__panel--bottom {
    left: clamp(14px, 2vw, 20px);
    right: clamp(14px, 2vw, 20px);
    bottom: clamp(14px, 2vw, 20px);
}

.skill-card__title {
    font-size: clamp(13px, 1.25vw, 17px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 8px;
}

.skill-card__text {
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
    .learning__header {
        flex-direction: column;
        align-items: stretch;
    }

    .learning__cta {
        align-self: flex-start;
    }

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

    .learning__featured-bottom {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .learning {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .learning__cta {
        width: 100%;
    }

    .skill-card__media {
        min-height: 260px;
    }

    .skill-card--featured .skill-card__media {
        min-height: 320px;
    }
}

/* About section */
.about {
    --about-radius: 22px;
    background: var(--learning-panel);
    color: var(--color-white);
    padding: clamp(56px, 9vw, 108px) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(520px, 60vw);
    height: min(520px, 60vw);
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
}

.about__header {
    margin-bottom: clamp(36px, 5vw, 64px);
    max-width: 720px;
}

.about__title {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.about__subtitle {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.about__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.about__image-wrap {
    position: relative;
    width: 100%;
    min-height: clamp(280px, 36vw, 460px);
    border-radius: var(--about-radius);
    overflow: hidden;
    background: linear-gradient(145deg, #1a3a5c 0%, #2d5a7b 50%, #1e4a6e 100%);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.28);
}

.about__image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--about-bg, none);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__image-wrap:hover::before {
    transform: scale(1.04);
}

.about__image-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(8, 22, 42, 0.1) 0%,
        rgba(8, 22, 42, 0.05) 50%,
        rgba(8, 22, 42, 0.35) 100%
    );
    pointer-events: none;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 36px);
}

.about__description {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.about__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 17px 34px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.about__cta:hover {
    background: #e09510;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.42);
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.about-card {
    padding: clamp(22px, 2.5vw, 28px) clamp(20px, 2.2vw, 26px);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--about-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, 0.35);
}

.about-card__value {
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.about-card__title {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 8px;
}

.about-card__text {
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

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

    .about__image-wrap {
        min-height: clamp(240px, 50vw, 360px);
    }
}

@media (max-width: 600px) {
    .about {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .about__cta {
        width: 100%;
    }
}

/* Events section */
.events {
    --events-radius: 22px;
    background: var(--learning-panel);
    color: var(--color-white);
    padding: clamp(56px, 9vw, 108px) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.events::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: min(480px, 55vw);
    height: min(480px, 55vw);
    background: radial-gradient(circle, rgba(245, 166, 35, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.events__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
}

.events__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
    margin-bottom: clamp(36px, 5vw, 64px);
}

.events__title {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.events__description {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
}

.events__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 17px 34px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.events__cta:hover {
    background: #e09510;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.42);
}

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

/* Events list page */
.events-page {
    background: var(--learning-panel);
}

.events-hero {
    position: relative;
    min-height: min(50vh, 420px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.events-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1a2a 0%, #0f2438 55%, #0d1f32 100%);
    z-index: 0;
}

.events-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 55%);
    z-index: 1;
}

.events-hero .navbar {
    position: relative;
    z-index: 10;
}

.events-hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(32px, 6vw, 72px) var(--container-padding) clamp(48px, 8vw, 72px);
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.events-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: color 0.2s;
}

.events-hero__back svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.events-hero__back:hover {
    color: var(--color-accent);
}

.events-hero__title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.08;
    margin-bottom: 16px;
    color: var(--color-white);
}

.events-hero__subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
}

.events--page {
    padding-top: clamp(48px, 7vw, 72px);
}

.event-card {
    display: block;
    color: inherit;
    border-radius: var(--events-radius);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-card__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--events-radius);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover .event-card__inner {
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.event-card__media {
    position: relative;
    min-height: 200px;
    background: linear-gradient(145deg, #1a3a5c 0%, #2d5a7b 50%, #1e4a6e 100%);
    overflow: hidden;
}

.event-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--event-bg, none);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover .event-card__media::before {
    transform: scale(1.06);
}

.event-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 22, 42, 0.75) 0%,
        rgba(8, 22, 42, 0.2) 55%,
        rgba(8, 22, 42, 0.05) 100%
    );
    z-index: 1;
}

.event-card__tag {
    position: absolute;
    top: clamp(14px, 2vw, 20px);
    left: clamp(14px, 2vw, 20px);
    z-index: 2;
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: #3d4652;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.event-card__date-badge {
    position: absolute;
    bottom: clamp(14px, 2vw, 20px);
    right: clamp(14px, 2vw, 20px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--color-accent);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4);
    line-height: 1;
}

.event-card__date-day {
    font-size: 22px;
    font-weight: 800;
}

.event-card__date-month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.event-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(18px, 2.2vw, 24px);
    flex: 1;
}

.event-card__meta {
    font-size: clamp(11px, 0.9vw, 12px);
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.04em;
}

.event-card__title {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
}

.event-card__text {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    flex: 1;
}

.event-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(11px, 0.9vw, 12px);
    color: rgba(255, 255, 255, 0.55);
}

.event-card__location svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.event-card__link {
    font-size: clamp(11px, 0.9vw, 12px);
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .events__header {
        flex-direction: column;
        align-items: stretch;
    }

    .events__cta {
        align-self: flex-start;
    }
}

@media (max-width: 600px) {
    .events {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .events__cta {
        width: 100%;
    }
}

/* Event detail page */
.event-page {
    background: #0a1a2a;
}

.event-hero {
    position: relative;
    min-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.event-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #1a3a5c 0%, #0a1a2a 60%, #0d2438 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.event-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 24, 42, 0.55) 0%,
        rgba(6, 24, 42, 0.35) 40%,
        rgba(6, 24, 42, 0.82) 100%
    );
    z-index: 1;
}

.event-hero .navbar {
    position: relative;
    z-index: 10;
}

.event-hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(32px, 6vw, 72px) var(--container-padding) clamp(48px, 8vw, 96px);
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.event-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: color 0.2s;
}

.event-hero__back svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.event-hero__back:hover {
    color: var(--color-white);
}

.event-hero__main {
    max-width: 820px;
}

.event-hero__tag {
    display: inline-flex;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: #3d4652;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.event-hero__title {
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.08;
    margin-bottom: 16px;
}

.event-hero__subtitle {
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: clamp(24px, 3vw, 36px);
    max-width: 640px;
}

.event-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 28px);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.event-hero__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: min(100%, 240px);
}

.event-hero__meta-item svg {
    width: 22px;
    height: 22px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.event-hero__meta-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.event-hero__meta-value {
    display: block;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 600;
    line-height: 1.4;
}

.event-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 38px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(245, 166, 35, 0.4);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.event-hero__cta:hover {
    background: #e09510;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.48);
}

.event-body {
    background: var(--color-white);
    padding: clamp(48px, 7vw, 88px) var(--container-padding);
}

.event-body__inner {
    max-width: 820px;
    margin: 0 auto;
}

.event-body__content {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.88);
}

.event-body__content p {
    margin-bottom: 1.2em;
}

.event-body__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .event-hero__cta {
        width: 100%;
    }

    .event-hero__meta-item {
        width: 100%;
    }
}

/* Articles section */
.articles {
    --articles-radius: 22px;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 50%, #e8edf4 100%);
    color: #1a2a3a;
    padding: clamp(56px, 9vw, 108px) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.articles::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: min(420px, 50vw);
    height: min(420px, 50vw);
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.articles__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
}

.articles__header {
    margin-bottom: clamp(36px, 5vw, 64px);
}

.articles__title {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.articles__description {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(26, 42, 58, 0.72);
    max-width: 640px;
}

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(18px, 2.5vw, 28px);
}

.articles__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(36px, 5vw, 56px);
}

.articles__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 34px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.articles__cta:hover {
    background: #e09510;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.42);
}

.article-card {
    --articles-radius: 22px;
    display: block;
    color: inherit;
    border-radius: var(--articles-radius);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover {
    transform: translateY(-6px);
}

.article-card__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(26, 42, 58, 0.08);
    border-radius: var(--articles-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 42, 58, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover .article-card__inner {
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 20px 48px rgba(26, 42, 58, 0.12);
}

.article-card__media {
    position: relative;
    min-height: 200px;
    background: linear-gradient(145deg, #dce6f0 0%, #c5d4e3 50%, #b8c9db 100%);
    overflow: hidden;
}

.article-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--article-bg, none);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover .article-card__media::before {
    transform: scale(1.06);
}

.article-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 42, 58, 0.55) 0%,
        rgba(26, 42, 58, 0.15) 55%,
        rgba(26, 42, 58, 0.02) 100%
    );
    z-index: 1;
}

.article-card__tag {
    position: absolute;
    top: clamp(14px, 2vw, 20px);
    left: clamp(14px, 2vw, 20px);
    z-index: 2;
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: #3d4652;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-card__date-badge {
    position: absolute;
    bottom: clamp(14px, 2vw, 20px);
    right: clamp(14px, 2vw, 20px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--color-accent);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4);
    line-height: 1;
    color: var(--color-white);
}

.article-card__date-day {
    font-size: 22px;
    font-weight: 800;
}

.article-card__date-month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(18px, 2.2vw, 24px);
    flex: 1;
}

.article-card__meta {
    font-size: clamp(11px, 0.9vw, 12px);
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.04em;
}

.article-card__title {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
}

.article-card__text {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.65;
    color: rgba(26, 42, 58, 0.72);
    flex: 1;
}

.article-card__link {
    font-size: clamp(11px, 0.9vw, 12px);
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .articles {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .articles__cta {
        width: 100%;
    }
}

/* Articles list page */
.articles-page {
    background: #eef2f7;
}

.articles-hero {
    position: relative;
    min-height: min(50vh, 420px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.articles-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    z-index: 0;
}

.articles-hero__overlay {
    position: absolute;
    inset: 0;
    background: #0d1f3200;
    z-index: 1;
}

.articles-hero .navbar {
    position: relative;
    z-index: 10;
}

.articles-hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(32px, 6vw, 72px) var(--container-padding) clamp(48px, 8vw, 72px);
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.articles-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-white);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: color 0.2s;
}

.articles-hero__back svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.articles-hero__back:hover {
    color: #1a2a3a;
}

.articles-hero__title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.08;
    margin-bottom: 16px;
    color: var(--color-white);
}

.articles-hero__subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    max-width: 640px;
}

.articles--page {
    padding-top: clamp(48px, 7vw, 72px);
}

/* Article detail page */
.article-page {
    background: #0a1a2a;
}

.article-hero {
    position: relative;
    min-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #1a3a5c 0%, #0a1a2a 60%, #0d2438 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 24, 42, 0.55) 0%,
        rgba(6, 24, 42, 0.35) 40%,
        rgba(6, 24, 42, 0.82) 100%
    );
    z-index: 1;
}

.article-hero .navbar {
    position: relative;
    z-index: 10;
}

.article-hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(32px, 6vw, 72px) var(--container-padding) clamp(48px, 8vw, 96px);
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.article-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: color 0.2s;
}

.article-hero__back svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.article-hero__back:hover {
    color: var(--color-white);
}

.article-hero__main {
    max-width: 820px;
}

.article-hero__tag {
    display: inline-flex;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: #3d4652;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-hero__title {
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.08;
    margin-bottom: 16px;
    color: var(--color-white);
}

.article-hero__subtitle {
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: clamp(24px, 3vw, 36px);
    max-width: 640px;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 28px);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.article-hero__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: min(100%, 240px);
}

.article-hero__meta-item svg {
    width: 22px;
    height: 22px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.article-hero__meta-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.article-hero__meta-value {
    display: block;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-white);
}

.article-body {
    background: #f7f7f7;
    padding: clamp(48px, 7vw, 88px) var(--container-padding);
}

.article-body__inner {
    max-width: 820px;
    margin: 0 auto;
}

.article-body__content {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.8;
    color: rgb(0 0 0 / 88%);
}

.article-body__content p {
    margin-bottom: 1.2em;
}

.article-body__content p:last-child {
    margin-bottom: 0;
}

.article-body__content--rich h2,
.article-body__content--rich h3,
.article-body__content--rich h4 {
    margin: 1.6em 0 0.6em;
    font-weight: 700;
    line-height: 1.3;
    color: rgb(0 0 0 / 92%);
}

.article-body__content--rich h2 {
    font-size: clamp(22px, 2.2vw, 28px);
}

.article-body__content--rich h3 {
    font-size: clamp(18px, 1.8vw, 22px);
}

.article-body__content--rich ul,
.article-body__content--rich ol {
    margin: 0 0 1.2em 1.4em;
    padding: 0;
}

.article-body__content--rich li {
    margin-bottom: 0.4em;
}

.article-body__content--rich a {
    color: #c45c3a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body__content--rich img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
    border-radius: 12px;
}

.article-body__content--rich blockquote {
    margin: 1.2em 0;
    padding: 0.75em 1em;
    border-left: 4px solid rgb(196 92 58 / 55%);
    background: rgb(0 0 0 / 4%);
    color: rgb(0 0 0 / 78%);
}

@media (max-width: 600px) {
    .article-hero__meta-item {
        width: 100%;
    }
}

.article-hero__bg--plain {
    background: linear-gradient(135deg, #1a1d26 0%, #2d3344 100%);
}

/* Lead modal */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.lead-modal[hidden] {
    display: none !important;
}

.lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 21, 0.72);
    backdrop-filter: blur(4px);
}

.lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(92vh, 720px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.lead-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f0f1f4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lead-modal__close svg {
    width: 22px;
    height: 22px;
    fill: #3d4652;
}

.lead-modal__close:hover {
    background: #e4e6eb;
}

.lead-modal__title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #1a1d26;
    padding-right: 40px;
}

.lead-modal__subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 24px;
}

.lead-modal__field {
    margin-bottom: 16px;
}

.lead-modal__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d4652;
    margin-bottom: 8px;
}

.lead-modal__input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #d8dce3;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-modal__input:focus {
    outline: none;
    border-color: var(--color-accent, #e85d2c);
    box-shadow: 0 0 0 3px rgba(232, 93, 44, 0.15);
}

.lead-modal__consents {
    margin: 20px 0;
    padding: 16px;
    background: #f4f5f7;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.75);
}

.lead-modal__checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-accent, #e85d2c);
}

.lead-modal__consent-text a {
    font-weight: 700;
    color: #1a1d26;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-modal__consent-text a:hover {
    color: var(--color-accent, #e85d2c);
}

.lead-modal__error {
    font-size: 12px;
    color: #c62828;
    margin-top: 6px;
}

.lead-modal__error--form {
    margin-bottom: 12px;
}

.lead-modal__submit {
    width: 100%;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-accent, #e85d2c);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.lead-modal__submit:hover:not(:disabled) {
    background: #d44a1a;
}

.lead-modal__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lead-modal__panel--success {
    text-align: center;
    padding-top: 8px;
}

/* Site footer */
.site-footer {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg-source.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.site-footer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 21, 0.78);
    z-index: 1;
}

.site-footer__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) var(--container-padding) clamp(32px, 5vw, 56px);
}

.site-footer__main {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 40px);
    flex: 1;
    min-width: 0;
}

.site-footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.site-footer__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.site-footer__contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.site-footer__contact-label {
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__contact-value {
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-transform: uppercase;
    word-break: break-word;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__social-link svg {
    width: 16px;
    height: 16px;
}

.site-footer__scroll-top {
    width: clamp(56px, 6vw, 72px);
    height: clamp(56px, 6vw, 72px);
    flex-shrink: 0;
    transition: transform 0.25s, background 0.25s;
}

.site-footer__scroll-top svg {
    width: 28px;
    height: 28px;
}

.site-footer__scroll-top:hover {
    transform: translateY(-3px);
    background: #d44a1a;
}

.site-footer__bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(18px, 2.5vw, 24px) var(--container-padding);
}

.site-footer__copyright,
.site-footer__legal {
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 28px);
}

@media (max-width: 1024px) {
    .site-footer__contacts {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer__scroll-top {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__scroll-top {
        width: 56px;
        height: 56px;
    }
}
