/* ===== FONTS ===== */
@font-face {
    font-family: 'NTSomic';
    src: url('public/Fonts/NTSomic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NTSomic';
    src: url('public/Fonts/NTSomic-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NTSomic';
    src: url('public/Fonts/NTSomic-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NTSomic';
    src: url('public/Fonts/NTSomic-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    overflow-x: hidden;
    font-family: 'NTSomic', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    background-color: #0a0a0a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease;
}

body.scrolled {
    background-color: #ffffff;
}

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

ul {
    list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.15;
    text-transform: uppercase;
}

h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    text-transform: uppercase;
}

h4 {
    font-family: 'NTSomic', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

h5 {
    font-family: 'NTSomic', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'NTSomic', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    border: none;
    background: none;
    color: #ffffff;
    padding-top: 10px;
}

.btn--glass {
    position: relative;
    background: rgba(20, 20, 20, 0.20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 48px 18px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.btn--glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn--glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.btn--glass:hover {
    border-color: rgba(225, 107, 54, 0.5);
    background: rgba(30, 30, 30, 0.65);
    box-shadow: 0 8px 32px rgba(225, 107, 54, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--glass:hover::before {
    left: 100%;
}

.btn--nav {
    font-size: 15px;
    padding: 10px 22px 10px;
    border-radius: 10px;
    display: none;
}

.btn--hero {
    margin-top: 40px;
    padding: 10px 56px 10px;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===== HEADER ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.logo img {
    width: 220px;
    height: auto;
}

.nav__list {
    display: flex;
    gap: 50px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.nav__list > * {
    pointer-events: auto;
}

.nav__list li,
.nav__list a {
    white-space: nowrap;
}

.nav__list a {
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.btn--nav {
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.lang-switcher__active {
    color: #E16B36;
    font-weight: 700;
}

.lang-switcher__link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.lang-switcher__link:hover {
    color: #E16B36;
}

.lang-switcher__divider {
    color: rgba(255, 255, 255, 0.5);
}

.nav__list a:hover {
    color: #E16B36;
    text-shadow: 0 0 20px rgba(225, 107, 54, 0.8),
                 0 0 40px rgba(0, 0, 0, 0.9);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 920px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000000 !important;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    width: 100%;
}

.hero__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.hero__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

/* Градиентный текст ВЫРУЧКИ */
.hero__gradient {
    background: linear-gradient(90deg, #ff3333, #E16B36, #ff8fa3, #a8e63d, #ff3333);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s linear infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Hero визуал: rect + видео */
.hero__visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
}

.hero__visual::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(225, 107, 54, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.hero__rect {
    display: none;
}

.hero__video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
}

.hero__video {
    width: 100%;
    height: 860px;
    object-fit: contain;
    filter: blur(20px);
}

/* ===== MAIN ===== */
.main {
    padding: 0;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background: #ffffff;
}

.text-orange {
    color: #E16B36;
}

.about__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #0a0a0a;
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.about__title::after {
    content: '';
    flex: 1;
    height: 9px;
    background: #0a0a0a;
}

.about__subtitle {
    font-family: 'NTSomic', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #0a0a0a;
    margin-bottom: 32px;
    text-transform: none;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}

.about__card {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.about__card--primary {
    background: linear-gradient(135deg, #E16B36, #E8784A, #DA5E2A, #EF7D4D, #D45530, #E16B36);
    background-size: 400% 400%;
    border: none;
    color: #ffffff;
    animation: gradient-shift 20s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about__card--primary p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.about__card-icon {
    width: 32px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.about__card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0a0a0a;
}

.about__card-text {
    margin-bottom: 16px;
    color: rgba(10, 10, 10, 0.8);
    line-height: 1.4;
    font-size: 20px;
}

.about__card .btn--primary {
    margin-top: auto;
}

/* About Column (for vertical card pairs) */
.about__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stat Card */
.about__card--stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.about__stat-value {
    font-family: 'NTSomic', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #E16B36;
    line-height: 1.2;
}

.about__stat-label {
    font-family: 'NTSomic', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.8);
    line-height: 1.4;
}

/* Primary Button */
.btn--primary {
    position: relative;
    background: #E16B36;
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover {
    background: #ff8a5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(225, 107, 54, 0.3);
}

.btn--primary:hover::before {
    left: 100%;
}

/* ===== BRANDS SECTION ===== */
.brands {
    margin-top: 60px;
}

.brands__title {
    font-family: 'NTSomic', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #0a0a0a;
    text-transform: none;
}

.brands__slider {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.brands__slider::-webkit-scrollbar {
    display: none;
}

.brands__track {
    display: flex;
    gap: 16px;
    animation: slide 30s linear infinite;
    will-change: transform;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.brand-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 220px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.brand-card:hover {
    opacity: 0.8;
}

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

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

.brand-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-card__logo {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    flex-shrink: 0;
}

.brand-card__label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.brand-card__service {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #0a0a0a;
    text-transform: uppercase;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.brand-card:hover .brand-card__service {
    opacity: 0.5;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background: #ffffff;
}

.services__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #0a0a0a;
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.services__title::after {
    content: '';
    flex: 1;
    height: 9px;
    background: #0a0a0a;
}

.services__wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
}

.services__item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.services__item:last-child {
    border-bottom: none;
}

.services__item-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services__item-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #E16B36;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.services__item-icon {
    width: 100px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
    margin-top: auto;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.services__item-icon.rotating-out {
    opacity: 0;
    transform: rotate(180deg) scale(0.8);
}

.services__item-icon.rotating-in {
    opacity: 1;
    transform: rotate(var(--icon-rotation, 0deg)) scale(1);
}

.services__item-icon:hover {
    transform: scale(1.05) rotate(var(--icon-rotation, 0deg));
}

.services__item-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services__item-description {
    font-family: 'NTSomic', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.8);
    line-height: 1.5;
    margin: 0;
    max-width: 65%;
}

.services__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.services__list li a {
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-block;
    line-height: 1.3;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.services__list li a:hover {
    background: #E16B36;
    color: #ffffff;
    border-color: #E16B36;
}

.services__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
}

.services__button:hover {
    color: #E16B36;
    transform: translateX(4px);
}

.services__button svg {
    transition: transform 0.2s ease;
}

.services__button:hover svg {
    transform: translateX(4px);
}

/* ===== CASES SECTION ===== */
.cases {
    padding: 80px 0;
    background: #ffffff;
}

.cases__header {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.cases__header::after {
    content: '';
    flex: 1;
    height: 9px;
    background: #0a0a0a;
    margin-left: 24px;
    margin-right: 24px;
    order: 1;
}

.cases__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a0a0a;
    margin: 0;
    order: 0;
}

.cases__counter {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #E16B36;
    order: 2;
}

.cases__counter-number {
    display: inline-block;
    min-width: 100px;
    text-align: right;
}

@keyframes counterUpdate {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-10px); opacity: 0; }
    51% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.cases__counter-number.updating {
    animation: counterUpdate 0.4s ease-in-out;
}

.cases__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    margin: 0 0 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cases__filters::-webkit-scrollbar {
    display: none;
}

.cases__filter {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 12px 24px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.cases__filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 107, 54, 0.1), transparent);
    transition: left 0.5s ease;
}

.cases__filter:hover {
    border-color: #E16B36;
    box-shadow: 0 4px 12px rgba(225, 107, 54, 0.15);
}

.cases__filter:hover::before {
    left: 100%;
}

.cases__filter--active {
    background: #E16B36;
    color: #ffffff;
    border-color: #E16B36;
}

.cases__filter--favorites {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cases__filter--favorites svg {
    transition: transform 0.3s ease;
}

.cases__filter--favorites:hover svg {
    transform: scale(1.2);
}

.cases__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.cases__tags-toggle {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 8px 16px;
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cases__tags-toggle:hover {
    border-color: #E16B36;
    color: #E16B36;
    box-shadow: 0 4px 12px rgba(225, 107, 54, 0.15);
}

.cases__tags-toggle-count {
    color: rgba(0, 0, 0, 0.35);
    font-weight: 400;
    margin-left: 2px;
}

.cases__tags-toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.cases__tags-toggle--open .cases__tags-toggle-icon {
    transform: rotate(180deg);
}

.cases__tags-list {
    display: flex;
    flex-wrap: nowrap;     /* свёрнуто — в одну строку */
    gap: 8px;
    overflow-x: hidden;    /* что не влезло — скрыто */
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cases__tags-list::-webkit-scrollbar {
    display: none;
}

.cases__tags-list--open {
    flex-wrap: wrap;       /* раскрыто — переносятся на несколько строк */
    overflow: visible;
}

.cases__tags-list .cases__tag {
    flex-shrink: 0;        /* теги не сжимаются */
}

.cases__tag {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 8px 16px;
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cases__tag:hover {
    border-color: #E16B36;
    color: #E16B36;
    box-shadow: 0 4px 12px rgba(225, 107, 54, 0.15);
}

.cases__tag--active {
    background: #E16B36;
    color: #ffffff;
    border-color: #E16B36;
}

.cases__tag--active:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: #E16B36;
    box-shadow: 0 4px 12px rgba(225, 107, 54, 0.15);
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 8px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 24px;
    box-sizing: border-box;
    min-height: 450px;
}

@media (max-width: 1200px) {
    .cases__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .cases__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        padding: 0 16px;
        gap: 8px;
        min-height: unset;
    }
}

.case-card {
    position: relative;
    background: #f5f5f5;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

/* Большие кейсы (приоритет 5) - 50% ширины экрана (2 колонки из 4), 800x600 */
.case-card[data-priority="5"] {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 20px;
    aspect-ratio: 4/3;
}

/* Маленькие кейсы (приоритет 1-4) - 25% ширины экрана (1 колонка из 4), высота как у больших кейсов */
.case-card[data-priority="1"],
.case-card[data-priority="2"],
.case-card[data-priority="3"],
.case-card[data-priority="4"] {
    grid-column: span 1;
    grid-row: span 2;
    aspect-ratio: 2/3;
}

/* iPad: 3 колонки — большой (2 кол) + маленький (1 кол) в ряду */
@media (max-width: 1024px) {
    .case-card[data-priority="5"] {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: 4/3;
    }

    .case-card[data-priority="1"],
    .case-card[data-priority="2"],
    .case-card[data-priority="3"],
    .case-card[data-priority="4"] {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* Телефон: 2 колонки — большой на всю ширину, маленькие по половине */
@media (max-width: 768px) {
    .case-card[data-priority="5"] {
        grid-column: span 2;
        grid-row: span 1;
        height: 280px;
        aspect-ratio: auto;
    }

    .case-card[data-priority="1"],
    .case-card[data-priority="2"],
    .case-card[data-priority="3"],
    .case-card[data-priority="4"] {
        grid-column: span 1;
        grid-row: span 1;
        width: 100%;
        aspect-ratio: 3/4;
        height: auto;
    }

    .case-card__favorite {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .case-card__favorite svg {
        width: 16px;
        height: 16px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.case-card.removing {
    animation: fadeOut 0.3s ease-in-out forwards;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.case-card__image, .case-card__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e0e0e0;
    position: absolute;
    top: 0;
    left: 0;
}

.case-card__video {
    z-index: 1;
}

.case-card__image {
    z-index: 0;
}

/* Градиент снизу */
.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
}

.case-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.case-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.case-card__title {
    font-family: 'NTSomic', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.3;
    text-transform: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.case-card__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 3;
}

.case-card__favorite svg,
.case-card__favorite img {
    width: 20px;
    height: 18px;
    transition: transform 0.3s ease;
}

.case-card__favorite:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.case-card__favorite:hover svg,
.case-card__favorite:hover img {
    transform: scale(1.2);
}

.case-card__favorite.active {
    background: rgba(225, 107, 54, 0.9);
    border-color: rgba(225, 107, 54, 0.3);
}

.case-card__favorite.active svg,
.case-card__favorite.active img {
    animation: favoriteAdd 0.6s ease-in-out;
}

@keyframes favoriteAdd {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.case-card__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.case-card:hover .case-card__tags {
    opacity: 1;
    transform: translateY(0);
}

.case-card__tag,
.case-card__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.case-card__tag {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.case-card__tag::before {
    content: "";
}

.case-card__category {
    border: 1px solid #E16B36;
    color: #E16B36;
}

.case-card__description {
    display: none;
}

.case-card__stats {
    display: none;
}

.case-card__stat {
    display: none;
}

.case-card__stat-label {
    display: none;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.case-card__stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #E16B36;
}

/* ===== CASE SLIDES (PRESENTATION) ===== */
.case-slides {
    margin-top: 40px;
}

.case-slide {
    margin-bottom: 40px;
}

.case-slide:last-child {
    margin-bottom: 0;
}

.case-slide__title {
    font-family: 'NTSomic', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 16px;
}

.case-slide__text {
    font-family: 'NTSomic', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.case-slide__media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.case-slide__media img,
.case-slide__media video {
    width: 100%;
    height: auto;
    display: block;
}

/* Если нет заголовка и текста, убираем отступ между слайдами */
.case-slide:not(.has-title):not(.has-text) {
    margin-bottom: 16px;
}

/* ===== DISCUSS PROJECT SECTION ===== */
.discuss {
    padding: 80px 0;
    background: #ffffff;
}

.discuss__header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.discuss__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: #0a0a0a;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

.discuss__line {
    flex: 1;
    height: 9px;
    background: #0a0a0a;
}

.discuss__social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.discuss__social-text {
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0a0a0a;
    margin: 0;
}

.discuss__social-links {
    display: flex;
    gap: 0;
    width: 100%;
}

.discuss__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 16px;
    background: #f5f5f5;
    color: #0a0a0a;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    text-decoration: none;
    transition: background 0.2s ease;
}

.discuss__social-btn--first {
    border-radius: 10px 0 0 10px;
}

.discuss__social-btn--last {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.discuss__social-btn:hover {
    background: #e8e8e8;
}

.discuss__social-btn svg {
    flex-shrink: 0;
}

.discuss__content {
    background: #E16B36;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.discuss__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.discuss__person {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.discuss__photo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

.discuss__details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.discuss__name {
    font-family: 'NTSomic', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.discuss__position {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.discuss__phone {
    font-family: 'NTSomic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-top: 0;
    transition: opacity 0.2s ease;
}

.discuss__phone:hover {
    opacity: 0.8;
}

.discuss__telegram {
    font-family: 'NTSomic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-top: 0;
    transition: opacity 0.2s ease;
}

.discuss__telegram:hover {
    opacity: 0.8;
}

.discuss__description {
    font-family: 'NTSomic', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.discuss__form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.discuss__input {
    padding: 16px 20px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0a0a0a;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.discuss__input::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.discuss__input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.discuss__submit {
    padding: 16px 32px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
    text-transform: uppercase;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.discuss__submit:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
}

.discuss__submit:active {
    transform: translateY(0);
}

.discuss__privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    grid-column: 1 / -1;
    cursor: pointer;
}

.discuss__privacy-checkbox {
    width: 24px;
    height: 24px;
    margin-top: 0;
    flex-shrink: 0;
    accent-color: #E16B36;
    cursor: pointer;
}

.discuss__privacy-text {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.discuss__privacy-link {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.discuss__privacy-link:hover {
    opacity: 0.8;
}

/* ===== CASE DETAIL ===== */
.case-detail {
    padding: 40px 0 60px;
    background: #ffffff;
    color: #0a0a0a;
}

.case-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0a0a0a;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.case-detail__back:hover {
    color: #E16B36;
}

.case-detail__top-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.case-detail__top-tag {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 8px 16px;
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0a0a0a;
}

.case-detail__header {
    margin-bottom: 40px;
}

.case-detail__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #0a0a0a;
    line-height: 1.2;
    margin: 0 0 16px;
}

.case-detail__subtitle {
    font-family: 'NTSomic', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.7);
    line-height: 1.5;
    margin: 0;
}

.case-detail__presentation {
    margin-bottom: 60px;
}

.case-detail__pres-block {
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
}

.case-detail__pres-grid {
    display: grid;
    gap: 24px;
}

.case-detail__pres-h2 {
    font-family: 'NTSomic', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.case-detail__pres-h3 {
    font-family: 'NTSomic', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.3;
    opacity: 0.8;
}

.case-detail__pres-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 8px;
}

.case-detail__pres-video {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 8px;
}

.case-detail__pres-desc {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: inherit;
    opacity: 0.7;
    margin: 0 0 16px;
}

.case-detail__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.case-detail__stat-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.case-detail__stat-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #E16B36;
    margin: 0 0 4px;
}

.case-detail__stat-label {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.6);
    margin: 0;
}

.case-detail__team {
    margin-bottom: 40px;
}

.case-detail__team-title {
    font-family: 'NTSomic', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 16px;
}

.case-detail__team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.case-detail__team-member {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px;
}

.case-detail__team-name {
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 4px;
}

.case-detail__team-role {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.6);
    margin: 0;
}

@media (max-width: 768px) {
    .case-detail__title {
        font-size: 32px;
    }
    .case-detail__pres-block {
        padding: 24px 16px;
    }
    .case-detail__pres-grid {
        grid-template-columns: 1fr !important;
    }
    .case-detail__pres-h2 {
        font-size: 28px;
    }
    .case-detail__stat-value {
        font-size: 24px;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 20px;
    background: #0a0a0a;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__heading {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: none;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__list li {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.footer__list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__list a:hover {
    color: #ffffff;
}

.footer__disclaimer {
    font-family: 'NTSomic', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
    margin-top: 12px;
}

.footer__logo {
    width: 220px;
    height: auto;
}

.footer__year {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    z-index: 40000;
    animation: cookieSlideIn 0.4s ease;
}

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

.cookie-banner.hidden {
    display: none;
}

.cookie-banner__text {
    font-family: 'NTSomic', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__link {
    color: #E16B36;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-banner__link:hover {
    opacity: 0.7;
}

.cookie-banner__btn {
    align-self: flex-end;
    padding: 8px 24px;
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-banner__btn:hover {
    opacity: 0.85;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 20px 30px;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: #0a0a0a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 400px;
}

.notification--show {
    opacity: 1;
    transform: translateY(0);
}

.notification--success {
    background: #4CAF50;
}

.notification--error {
    background: #f44336;
}

/* ===== BURGER MENU ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1200;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ===== MOBILE MENU OVERLAY ===== */
.nav__list.mobile-open {
    display: flex;
}

/* ===== RESPONSIVE: DESKTOP (min-width: 1025px) ===== */
@media (min-width: 1025px) {
    .nav__actions .btn--nav {
        display: inline-flex;
    }

    .nav__actions .mobile-menu-btn {
        display: none;
    }

    .burger {
        display: none;
    }

    .nav__close {
        display: none !important;
    }

    .mobile-sticky-cta {
        display: none !important;
    }
}

/* ===== RESPONSIVE: TABLET / iPad (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    body {
        font-size: 18px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 22px;
    }

    /* --- NAV (burger on iPad) --- */
    .burger {
        display: flex;
    }

    .nav__list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        margin: 0;
        padding: 0;
        background: rgba(10, 10, 10, 0.6);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 5;
        transform: translateX(-100%);
        pointer-events: auto;
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .nav__list.mobile-open {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    .nav__list.mobile-open .nav__list-logo {
        display: none;
    }

    .nav__list-logo img {
        width: 200px;
        height: auto;
    }

    .nav__close {
        display: none;
        position: absolute;
        top: 20px;
        right: 24px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .nav__list.mobile-open .nav__close {
        display: none;
    }

    .nav__close span {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        transition: transform 0.3s ease;
        position: relative;
    }

    .nav__close span:first-child {
        transform: rotate(45deg) translateY(7px);
    }

    .nav__close span:last-child {
        transform: rotate(-45deg) translateY(-7px);
    }

    .nav__list li {
        list-style: none;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav__list a {
        font-size: 28px;
        display: block;
        text-align: center;
        width: 100%;
    }

    .nav__list-lang {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

    .nav__list-lang .lang-switcher {
        font-size: 20px;
    }

    .nav__list-lang .lang-switcher__active {
        color: #E16B36 !important;
        font-weight: 700 !important;
    }

    .nav__list-cta {
        position: absolute;
        bottom: 24px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .nav__list-cta .mobile-menu-btn {
        display: block !important;
        width: 90% !important;
        max-width: 90% !important;
        padding: 16px !important;
        margin: 0 auto !important;
        background: rgba(20, 20, 20, 0.60) !important;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 12px !important;
        font-size: 18px !important;
        font-weight: 700;
        text-transform: uppercase;
        color: #ffffff !important;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .nav__list-cta .mobile-menu-btn::before,
    .nav__list-cta .mobile-menu-btn::after {
        display: none !important;
    }

    .nav__actions .btn--nav {
        display: none;
    }

    .nav__actions .mobile-menu-btn {
        display: none;
    }

    .logo img {
        width: 220px;
    }

    /* --- HERO --- */
    .hero {
        height: 820px;
        background: #0a0a0a;
    }

    .hero__content {
        padding: 0;
        padding-top: 60px;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__visual {
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero__video {
        height: 100%;
        object-fit: cover;
    }

    .btn--hero {
        font-size: 22px;
    }

    /* --- ABOUT --- */
    .about__title {
        font-size: 44px;
    }

    .about__subtitle {
        font-size: 26px;
    }

    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__card--primary p {
        font-size: 18px;
    }

    .about__stat-value {
        font-size: 26px;
    }

    .about__stat-label {
        font-size: 18px;
    }

    .about__card-text {
        font-size: 18px;
    }

    .brand-card {
        width: 180px;
    }

    /* --- SERVICES --- */
    .services__title {
        font-size: 44px;
    }

    .services__item {
        grid-template-columns: 1fr 2fr;
        gap: 32px;
        padding: 40px 0;
    }

    .services__item-icon {
        width: 80px;
    }

    .services__item-title {
        font-size: 50px;
    }

    .services__item-description {
        max-width: 80%;
    }

    /* --- CASES --- */
    .cases__title {
        font-size: 44px;
    }

    .cases__counter {
        font-size: 44px;
    }

    .cases__filter {
        padding: 10px 20px;
        font-size: 15px;
    }

    .cases__filters {
        gap: 12px;
        margin: 0 0 20px 0;
    }

    .cases__tags {
        margin-bottom: 32px;
    }

    /* --- DISCUSS --- */
    .discuss__title {
        font-size: 32px;
    }

    .discuss__content {
        padding: 32px;
    }

    .discuss__info {
        gap: 32px;
    }

    .discuss__photo {
        width: 100px;
        height: 100px;
    }

    .discuss__name {
        font-size: 22px;
    }

    .discuss__description {
        font-size: 18px;
    }

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

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

    /* --- COOKIE BANNER --- */
    .cookie-banner {
        max-width: 50%;
    }
}

/* ===== RESPONSIVE: MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 18px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* --- NAV (mobile overrides) --- */
    .nav__list a {
        font-size: 24px;
    }

    .logo img {
        width: 200px;
    }

    /* --- HERO --- */
    .hero {
        height: 115dvh;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero__content {
        padding-top: 0;
    }

    .hero__title {
        font-size: 60px;
    }

    .h4 {
        font-size: 20px;
    }

    .hero__content .h4 {
        width: 80%;
    }

    .btn--hero {
        font-size: 32px;
        padding: 10px 32px 10px;
        margin-top: 24px;
    }

    .hero__visual {
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero__video {
        height: 90%;
        object-fit: cover;
        filter: blur(10px);
    }

    /* --- ABOUT --- */
    .about {
        padding: 60px 0;
    }

    .about__title {
        font-size: 42px;
    }

    .about__title::after {
        height: 5px;
    }

    .about__subtitle {
        font-size: 24px;
    }

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

    .about__card--primary {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        justify-content: space-between;
    }

    .about__card--primary .about__card-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        order: 2;
    }

    .about__card--primary p {
        order: 1;
    }

    .about__card--primary p {
        font-size: 16px;
    }

    .about__stat-value {
        font-size: 22px;
    }

    .about__stat-label {
        font-size: 16px;
    }

    .about__card-text {
        font-size: 16px;
    }

    .about__card-title {
        font-size: 18px;
    }

    .brands__title {
        font-size: 24px;
    }

    .brand-card {
        width: auto;
        aspect-ratio: 3/4;
    }

    /* --- SERVICES --- */
    .services {
        padding: 60px 0;
    }

    .services__title {
        font-size: 32px;
    }

    .services__title::after {
        height: 5px;
    }

    .services__wrapper {
        margin-top: 24px;
    }

    .services__item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 0;
    }

    .services__item-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
    }

    .services__item-icon {
        width: 60px;
        min-width: 60px;
        max-height: 60px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .services__item-description {
        max-width: 100%;
        font-size: 16px;
    }

    .services__list li a {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* --- CASES --- */
    .cases {
        padding: 60px 0;
    }

    .cases__title {
        font-size: 32px;
    }

    .cases__title::after {
        height: 5px;
    }

    .cases__counter {
        font-size: 32px;
    }

    .cases__counter-number {
        min-width: 60px;
    }

    .cases__header::after {
        height: 5px;
    }

    .cases__filters {
        gap: 4px;
        margin: 0 0 16px 0;
    }

    .cases__filter {
        padding: 8px 16px;
        font-size: 14px;
    }

    .cases__tags {
        gap: 8px;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cases__tags-toggle {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .cases__tags-list {
        display: flex;
        flex-wrap: nowrap;       /* на мобилке — в одну строку со скроллом */
        gap: 8px;
        overflow-x: auto;
        flex: unset;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cases__tags-list::-webkit-scrollbar {
        display: none;
    }

    .cases__tags-list--open {
        flex-wrap: wrap;         /* раскрыто — несколько строк */
        overflow: visible;
    }

    .case-card__content {
        padding: 16px;
    }

    .case-card__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .case-card__tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* --- DISCUSS --- */
    .discuss {
        padding: 60px 0;
    }

    .discuss__title {
        font-size: 32px;
        white-space: normal;
    }

    .discuss__header {
        gap: 20px;
        margin-bottom: 24px;
    }

    .discuss__line {
        height: 5px;
    }

    .discuss__content {
        padding: 24px;
        gap: 32px;
        border-radius: 16px;
    }

    .discuss__info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .discuss__person {
        gap: 16px;
    }

    .discuss__photo {
        width: 80px;
        height: 80px;
    }

    .discuss__name {
        font-size: 20px;
    }

    .discuss__description {
        font-size: 16px;
    }

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

    .discuss__privacy-text {
        font-size: 13px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 40px 0;
    }

    .footer .container {
        gap: 32px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* --- NOTIFICATIONS --- */
    .notification {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 16px 20px;
        font-size: 14px;
    }

    /* --- COOKIE BANNER --- */
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
        padding: 16px;
    }

    .cookie-banner__text {
        font-size: 11px;
    }
}

/* ===== RESPONSIVE: SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 16px;
    }

    .hero__title {
        font-size: 44px;
    }

    .btn--hero {
        font-size: 16px;
        padding: 10px 24px 10px;
        width: 100%;
    }

    .about__title {
        font-size: 32px;
    }

    .about__subtitle {
        font-size: 18px;
    }

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

    .about__card {
        padding: 16px;
    }

    .about__stat-value {
        font-size: 20px;
    }

    .about__stat-label {
        font-size: 15px;
    }

    .about__column {
        flex-direction: row;
        gap: 12px;
    }

    .about__column .about__card--stat {
        flex: 1;
    }

    .services__title {
        font-size: 32px;
    }

    .services__item-title {
        font-size: 28px;
    }

    .cases__title {
        font-size: 32px;
    }

    .cases__counter {
        font-size: 32px;
    }

    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discuss__title {
        font-size: 32px;
    }
}

/* ===== STICKY CTA ===== */
.mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: auto;
    padding: 14px 48px;
    background: rgba(20, 20, 20, 0.20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'NTSomic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 998;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.mobile-sticky-cta.visible {
    transform: translate(-50%, 0);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
        padding: 16px;
        font-size: 18px;
        transform: translateY(150%);
    }

    .mobile-sticky-cta.visible {
        transform: translateY(0);
    }
}

/* ===== NAV LIST LOGO (mobile menu) ===== */
.nav__list-logo {
    display: none;
}

.nav__list-lang {
    display: none;
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
    display: flex;
    gap: 4px;
    align-items: center;
}

.lang-switch__link {
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch__link--active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.lang-switch__link:hover {
    color: #ffffff;
}

.lang-switch--footer .lang-switch__link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.lang-switch--footer .lang-switch__link--active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}
