/* Сброс стилей и подключение шрифтов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Шрифты подключаются через <link> в HTML для оптимизации загрузки */

/* Основные стили */
body {
    background: linear-gradient(to right, white, #cce1fa);
    color: #000000;
    font-family: 'Inter', sans-serif;
}

/* Ссылки */
a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a6fa5;
}

/* Кнопки */
button {
    cursor: pointer;
    border: none;
    color: #ffffff;
    background-color: #000000;
    padding: 2vw;
    border-radius: 15px;
    font-family: 'Aboreto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(1px);
}

/* СТАРАЯ ШАПКА (скрываем) */
header:not(.header-new) {
    display: none;
}

/* ===== НОВАЯ ШАПКА ===== */
.header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    width: 100%;
    position: relative;
    z-index: 1001;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 50px;
    width: auto;
}

.studio-name {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    font-family: 'Space Grotesk', sans-serif;
}

.studio-name span {
    color: #4a6fa5;
    font-weight: 700;
}

.contact-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.phone-number:hover {
    color: #4a6fa5;
}

.project-btn {
    background: #4a6fa5;
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(74,111,165,0.3);
}

.project-btn:hover {
    background: #3a5a87;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74,111,165,0.4);
}

/* ===== ЛИПКОЕ МЕНЮ ===== */
.sticky-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to right, white, #cce1fa);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 100%;
}

.sticky-menu .nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticky-menu .nav-menu a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
}

.sticky-menu .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a6fa5;
    transition: width 0.3s ease;
}

.sticky-menu .nav-menu a:hover {
    color: #4a6fa5;
}

.sticky-menu .nav-menu a:hover::after {
    width: 100%;
}

.sticky-menu .nav-menu a span {
    color: inherit;
    font: inherit;
}

.sticky-menu .nav-menu a.active {
    color: #4a6fa5;
    font-weight: 600;
}

.sticky-menu .nav-menu a.active::after {
    width: 100%;
}

/* СТАРОЕ МЕНЮ СКРЫВАЕМ */
.menu_st {
    display: none;
}

hr {
    display: none;
}

/* ===== СТРЕЛКА ПОДЪЁМА ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4a6fa5, #6b8fc9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(74,111,165,0.4);
    border: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74,111,165,0.6);
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2.5;
}

/* Основной контейнер */
main {
    display: block;
    width: 100%;
}

/* Стили для section */
section {
    display: block;
}

/* Стили для article */
article {
    display: block;
}

/* Блок 1 */
.blok_1 {
    margin-top: 5vw;
}

.blok_1_zg {
    display: flex;
    margin-top: 7vw;
    margin-bottom: 10vw;
    margin-left: 7vw;
    font-family: 'Abhaya Libre', sans-serif;
    font-size: clamp(12px, 2vw, 22px);
}

.blok_1_zg h1 {
    font-family: 'Abhaya Libre', sans-serif;
    font-size: clamp(14px, 2vw, 24px);
}

.blok_1_sp {
    display: flex;
    width: 100%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.blok_1_sp_1 {
    background-color: #ffffffee;
    font-size: clamp(14px, 2vw, 20px);
    z-index: 999;
    position: absolute;
    display: inline-block;
    align-items: center;
    margin-left: 5vw;
    margin-right: auto;
    border: #000000;
    border-radius: 25% 10%;
    font-family: 'Abyssinica SIL', sans-serif;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74,111,165,0.2);
    transition: all 0.3s ease;
}

.blok_1_sp_1:hover {
    backdrop-filter: blur(12px);
    border-color: #4a6fa5;
}

.blok_1_sp_1 * {
    padding-top: 7vw;
    padding-left: 5vw;
    padding-right: 5vw;
}

.blok_1_sp :last-child {
    padding-bottom: 7vh;
}

.blok_1_sp_2 {
    z-index: 1;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.blok_1_sp_2 img {
    width: 90%;
}

/* Блок 2 - Этапы работы */
.blok_2 {
    width: 90%;
    margin: 20vw auto 0;
    min-height: 100vh;
}

.blok_2_nm {
    text-align: center;
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 2vw, 30px);
    margin-bottom: 20px;
}

.blok_2_zg {
    text-align: center;
    margin-top: 2vw;
    margin-bottom: 5vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(16px, 2vw, 30px);
    color: #555;
}

.blok_2 > div {
    position: relative;
}

/* Общие стили для блоков этапов */
.blok_2_1, .blok_2_2, .blok_2_3, .blok_2_4 {
    padding: 2vw;
    border-radius: 15px;
    margin-bottom: 3vh;
    position: relative;
    transition: transform 0.3s ease;
}

.blok_2_1:hover, .blok_2_2:hover, .blok_2_3:hover, .blok_2_4:hover {
    transform: translateY(-5px);
}

.blok_2_1 {
    background-color: #ebffef;
    width: 60%;
}

.blok_2_2 {
    margin-left: auto;
    margin-right: 0;
    width: 60%;
    color: #ffffff;
    background-color: #000000;
}

.blok_2_3 {
    background-color: #ffffff;
    width: 60%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blok_2_4 {
    margin-left: auto;
    margin-right: 0;
    width: 60%;
    background-color: #f7def5;
}

/* Заголовки этапов */
.nm {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2vh;
    width: 100%;
}

.nm h3 {
    font-family: 'Judson', sans-serif;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: normal;
    margin: 0;
    flex: 1;
}

.nm p {
    margin: 0;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 18px);
    color: #666;
}

/* Стикер номера этапа */
.step-number {
    background: linear-gradient(135deg, #4a6fa5, #6b8fc9);
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Для черного блока сделаем текст светлее */
.blok_2_2 .nm_txt {
    color: #e0e0e0;
}

/* Текст этапов */
.nm_txt {
    font-family: 'Jura', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.6;
}

/* Блок 3 - Услуги */
.blok_3 {
    margin-top: 20vw;
    min-height: 100vh;
    padding: 0 2vw;
}

.blok_3_nm {
    display: flex;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(30px, 5vw, 45px);
    letter-spacing: 2px;
}

.blok_3_nm h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(30px, 5vw, 45px);
    letter-spacing: 2px;
    margin: 0;
}

.blok_3_zg {
    font-weight: 800;
    text-align: center;
    margin-top: 5vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(22px, 5vw, 40px);
    color: #1a1a1a;
}

.blok_3_tg {
    text-align: center;
    margin-top: 2vw;
    margin-bottom: 4vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blok_3_ln {
    display: flex;
    justify-content: center;
    gap: 3vw;
    align-items: stretch;
}

.ln_1, .ln_2, .ln_3 {
    flex: 1;
    border-radius: 15px;
    padding: 2vw;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.ln_1::before, .ln_2::before, .ln_3::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;
    pointer-events: none;
}

.ln_1:hover::before, .ln_2:hover::before, .ln_3:hover::before {
    left: 100%;
}

.ln_1:hover, .ln_2:hover, .ln_3:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 35px rgba(74,111,165,0.2);
}

.ln_1 {
    background-color: #DEEAF9;
    margin-left: 3vw;
}

.ln_2 {
    background-color: #ffffff;
}

.ln_3 {
    background-color: #C3DEFF;
    margin-right: 3vw;
}

/* Стикеры для услуг */
.service-sticker {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
    width: 100%;
}

.ln_b_1 {
    text-align: center;
    margin-bottom: 2vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    padding-bottom: 2vh;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.ln_b_1 h3 {
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: normal;
    margin: 0;
}

.ln_b_2 {
    margin-bottom: 1vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.6;
    flex-grow: 1;
    padding-bottom: 2vh;
}

.ln_b_2 p {
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    margin: 0;
}

.ln_b_3 span,
.ln_b_3 div {
    margin-top: 1vw;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(18px, 2vw, 28px);
    padding: 8px 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 8px;
    display: inline-block;
    margin-right: 10px;
}

.blok_3 button {
    margin-top: 2vw;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 40px;
}

/* Блок 4 - Тарифы */
.blok_4 {
    margin-top: 10vw;
    min-height: 100vh;
    padding: 0 2vw;
}

.blok_4_1, .blok_4_2, .blok_4_3 {
    border-radius: 15px;
    padding: 2vw;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.blok_4_1 {
    background-color: #f6d8f3;
    width: 30%;
    margin-left: 3vw;
}

.blok_4_2 {
    width: 30%;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blok_4_3 {
    width: 30%;
    background-color: #ebffef;
    margin-right: 3vw;
}

.tariff-sticker {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
    width: 100%;
}

.blok_4_batton {
    margin-top: 3vw;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 40px;
}

/* Блок 5 - Стоимость и сроки */
.blok_5 {
    margin-top: 10vw;
    min-height: 100vh;
    padding: 0 2vw;
}

.blok_5_ln {
    margin-top: 5vw;
    display: flex;
    width: 100%;
    gap: 3vw;
}

.blok_5_1, .blok_5_2 {
    flex: 1;
    border-radius: 15px;
    padding: 2vw;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.blok_5_1 {
    background-color: #c4dcfa;
    margin-left: 3vw;
}

.blok_5_2 {
    background-color: #ffffff;
    margin-right: 3vw;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sticker-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
    width: 100%;
}

/* Блок 6 - Наши работы */
.blok_6 {
    margin-top: 10vw;
    min-height: 100vh;
    padding: 0 2vw;
}

.blok_6_nm {
    font-weight: 800;
    display: flex;
    justify-content: center;
    font-family: 'Abhaya Libre', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.blok_6_nm h2 {
    font-family: 'Abhaya Libre', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.blok_6_txt {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3vh;
    width: 80%;
    justify-content: center;
    text-align: center;
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.2;
}

.prod {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 5vw;
}

.prod_info {
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 200px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.prod_info:hover {
    transform: translateY(-10px);
}

.prod_info img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blok_6 button {
    display: flex;
    margin-top: 10vh;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 40px;
}

/* ===== СТИЛИ ДЛЯ ПРОЕКТОВ ===== */
.projects_showcase {
    margin-top: 10vw;
    padding: 0 2vw 5vw;
}

.projects_header {
    text-align: center;
    margin-bottom: 4vw;
}

.projects_title {
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 0.5vw;
    background: linear-gradient(135deg, #000, #4a6fa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.projects_title h3 {
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    background: linear-gradient(135deg, #000, #4a6fa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.projects_subtitle {
    font-family: 'Abyssinica SIL', sans-serif;
    font-size: clamp(16px, 1.5vw, 22px);
    color: #666;
    letter-spacing: 1px;
}

.projects_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5vw;
    max-width: 1400px;
    margin: 0 auto;
}

.project_card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(74, 111, 165, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project_card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 40px rgba(74,111,165,0.25);
    border-color: #4a6fa5;
}

.project_preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
}

.project_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.project_card:hover .project_image {
    transform: scale(1.05);
}

/* Плейсхолдер при отсутствии или ошибке загрузки изображения */
.project_preview--broken,
.project_preview--no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe, #d4e3f7);
    aspect-ratio: 16 / 9;
}

.project_preview__placeholder {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #4a6fa5;
    opacity: 0.4;
    text-transform: uppercase;
}

.project_details {
    padding: 1.8vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project_name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #000;
}

.project_name h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    margin: 0;
    color: #000;
}

.project_category {
    font-family: 'Jura', sans-serif;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 600;
    color: #4a6fa5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(74, 111, 165, 0.1);
    padding: 4px 12px;
    border-radius: 30px;
    align-self: flex-start;
}

.project_desc {
    font-family: 'Jura', sans-serif;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.project_card_link {
    text-decoration: none;
    max-width: 700px;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.project_card_link:hover {
    transform: translateY(-5px);
}

.project_badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a1a2e;
    padding: 5px 15px;
    border-radius: 30px;
    font-family: 'Aboreto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 15px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 5px 25px rgba(255,215,0,0.6); }
}

/* ===== СТИЛИ ДЛЯ ФОРМЫ В КОНТАКТАХ ===== */
.contacts_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact_info_left {
    height: 100%;
}

.contact_info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(74, 111, 165, 0.2);
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 111, 165, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact_info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4a6fa5, #cce1fa);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.contact_info::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #cce1fa, #4a6fa5);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.contact_item {
    margin: 30px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    padding: 15px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.8));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(74, 111, 165, 0.1);
    cursor: pointer;
}

.contact_item:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 10px 20px rgba(74, 111, 165, 0.15);
    border-color: #4a6fa5;
}

.contact_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a6fa5, #6b8fc9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
    transition: all 0.3s ease;
    cursor: inherit;
}

.contact_item:hover .contact_icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.5);
}

.contact_label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    min-width: 100px;
    color: #4a6fa5;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: inherit;
}

/* Ссылка-обёртка для всего блока контакта */
.contact_item_link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact_item_link .contact_item {
    margin: 0;
}

.contact_item_link + .contact_item_link,
.contact_item_link + .contact_item {
    margin-top: 16px;
}

.contact_item_link:hover .contact_value {
    color: #4a6fa5;
}

.contact_value {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact_form_right {
    height: 100%;
}

.contact_form_card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(74, 111, 165, 0.2);
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 111, 165, 0.1);
    cursor: default;
}

.contact_form_card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4a6fa5, #cce1fa);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.contact_form_card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #cce1fa, #4a6fa5);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.form_title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: default;
}

.form_title h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin: 0;
    color: #000;
    cursor: default;
}

.form_subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    cursor: default;
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.form_group {
    position: relative;
    z-index: 1;
}

.form_group input,
.form_group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    cursor: text;
}

.form_group textarea {
    resize: vertical;
    min-height: 100px;
    cursor: text;
}

.form_group input:focus,
.form_group textarea:focus {
    border-color: #4a6fa5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.form_group input.error,
.form_group textarea.error {
    border-color: #ff4d4d;
    background-color: #fff8f8;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
    color: #aaa;
    font-size: 14px;
}

.form_submit_btn {
    font-family: 'Aboreto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 18px 30px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.form_submit_btn:hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form_submit_btn:active {
    transform: translateY(0);
}

.form_submit_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form_submit_btn.loading {
    position: relative;
    color: transparent;
    cursor: wait;
}

.form_submit_btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

.success_message {
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    cursor: default;
}

.success_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    font-size: 30px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: scaleIn 0.5s ease;
    cursor: default;
}

.success_message h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: #000;
    cursor: default;
}

.success_message p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    cursor: default;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Заголовок блока контактов */
.blok_contacts .blok_2_nm {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 40px;
    font-size: clamp(28px, 4vw, 42px);
    background: linear-gradient(135deg, #000, #4a6fa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blok_contacts .blok_2_nm h2 {
    font-family: 'Abhaya Libre', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    background: linear-gradient(135deg, #000, #4a6fa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.blok_contacts .blok_2_nm::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a6fa5, transparent);
    border-radius: 2px;
}

/* Социальные ссылки */
.social_links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.social_link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6fa5;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(74, 111, 165, 0.2);
}

.social_link:hover {
    transform: translateY(-5px) scale(1.1);
    background: #4a6fa5;
    color: white;
    box-shadow: 0 10px 25px rgba(74, 111, 165, 0.4);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    margin: auto;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    to { transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 35px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #000;
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
}

.modal-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin: 0;
    color: #000;
}

.modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #4a6fa5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.form-group input.error {
    border-color: #ff4d4d;
    background-color: #fff8f8;
}

.form-group input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.modal-submit-btn {
    font-family: 'Aboreto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 18px 30px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.modal-submit-btn:hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

.modal-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Успешная отправка */
.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    font-size: 40px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.success-message h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.success-message p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
}

/* Индикатор загрузки */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Скрытые элементы */
[style*="display:none"],
.hidden,
[hidden] {
    display: none !important;
}

/* ===== АНИМАЦИИ И СТИКЕРЫ ===== */

/* Анимация парящих стикеров */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74,111,165,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(74,111,165,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,111,165,0); }
}

/* Анимация появления при скролле */
.blok_1,
.blok_about,
.blok_3,
.blok_2,
.blok_4,
.blok_6,
.blok_5:not(.blok_5_ln),
.blok_contacts {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.blok_1.visible,
.blok_about.visible,
.blok_3.visible,
.blok_2.visible,
.blok_4.visible,
.blok_6.visible,
.blok_5.visible:not(.blok_5_ln),
.blok_contacts.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для внутренних элементов */
.blok_3_ln .ln_1,
.blok_3_ln .ln_2,
.blok_3_ln .ln_3,
.projects_grid .project_card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.blok_3_ln .ln_1.visible,
.blok_3_ln .ln_2.visible,
.blok_3_ln .ln_3.visible,
.projects_grid .project_card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Декоративные элементы для фона */
.blok_about {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(196,220,250,0.3) 100%);
    border-radius: 30px;
    margin: 20px;
    padding: 20px;
}

.blok_about::before {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    pointer-events: none;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .blok_3_ln, .blok_5_ln {
        flex-direction: column;
        align-items: center;
    }
    
    .ln_1, .ln_2, .ln_3,
    .blok_4_1, .blok_4_2, .blok_4_3,
    .blok_5_1, .blok_5_2 {
        width: 90%;
        margin: 2vw auto;
    }
    
    .blok_2_1, .blok_2_2, .blok_2_3, .blok_2_4 {
        width: 90%;
        margin: 2vw auto;
        margin-bottom: 3vh;
    }
    
    .contacts_content {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    
    .contact_info_left,
    .contact_form_right {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    /* Шапка */
    .header-new {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .logo-area {
        width: 100%;
        justify-content: center;
    }
    
    .logo-area img {
        height: 40px;
    }
    
    .studio-name {
        font-size: 18px;
    }
    
    .contact-area {
        width: 100%;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .phone-number {
        font-size: 16px;
    }
    
    .project-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Меню */
    .sticky-menu {
        padding: 10px 0;
    }
    
    .sticky-menu .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .sticky-menu .nav-menu a {
        font-size: 14px;
        padding: 5px 8px;
    }
    
    /* Блок 1 - исправляем перекрытие */
    .blok_1_sp_1 {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px auto;
        width: 90%;
        padding: 15px !important;
        z-index: 1;
    }
    
    .blok_1_sp_1 * {
        padding: 10px !important;
    }
    
    .blok_1_sp {
        flex-direction: column;
    }
    
    .blok_1_sp_2 {
        margin-left: 0;
        width: 100%;
        margin-top: 20px;
    }
    
    .blok_1_sp_2 img {
        width: 100%;
    }
    
    .blok_1_zg {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .blok_1_zg h1 {
        font-size: 18px;
    }
    
    /* Стикеры */
    .sticker-icon,
    .service-sticker,
    .tariff-sticker {
        font-size: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }
    
    .nm {
        gap: 10px;
    }
    
    .blok_about::before {
        font-size: 2rem;
        top: 10px;
        right: 15px;
    }
    
    /* Портфолио */
    .prod {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }
    
    .prod_info {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }
    
    .prod_info img {
        width: 100%;
        height: auto;
    }
    
    .projects_grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .project_card {
        width: 100%;
    }
    
    .project_preview {
        aspect-ratio: auto;
    }
    
    .project_image {
        width: 100%;
        height: auto;
    }
    
    /* Отключаем hover эффекты на мобильных */
    .project_card:hover,
    .prod_info:hover,
    .ln_1:hover, .ln_2:hover, .ln_3:hover,
    .blok_2_1:hover, .blok_2_2:hover, .blok_2_3:hover, .blok_2_4:hover {
        transform: none;
    }
    
    .ln_1:hover::before, .ln_2:hover::before, .ln_3:hover::before {
        left: -100%;
    }
    
    .project_card:hover .project_image {
        transform: none;
    }
    
    /* Контакты */
    .contacts_content {
        grid-template-columns: 1fr;
    }
    
    .contact_info,
    .contact_form_card {
        padding: 25px 15px;
    }
    
    .contact_item {
        margin: 15px 0;
        padding: 10px 12px;
        gap: 10px;
    }
    
    .contact_icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .contact_label {
        min-width: 70px;
        font-size: 14px;
    }
    
    .contact_item a {
        font-size: 15px;
    }
    
    .form_title {
        font-size: 22px;
    }
    
    .form_group input,
    .form_group textarea {
        padding: 12px 15px;
    }
    
    .form_submit_btn,
    .modal-submit-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    /* Стрелка */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* Очень маленькие устройства */
@media (max-width: 480px) {
    .blok_1_zg h1 {
        font-size: 16px;
    }
    
    .blok_1_sp_1 div {
        font-size: 13px;
        padding: 8px !important;
    }
    
    .sticky-menu .nav-menu {
        gap: 10px;
    }
    
    .sticky-menu .nav-menu a {
        font-size: 13px;
        padding: 4px 6px;
    }
    
    .project_category {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .project_badge {
        top: 8px;
        right: 8px;
        padding: 3px 10px;
        font-size: 10px;
    }
    
    .contact_item {
        flex-wrap: wrap;
    }
    
    .contact_icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .contact_label {
        min-width: 100%;
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .contact_item a {
        width: 100%;
        padding-left: 0;
    }
}

/* Для touch-устройств */
@media (hover: none) and (pointer: coarse) {
    .project-btn:hover,
    .scroll-to-top:hover,
    .sticky-menu .nav-menu a:hover {
        transform: none;
    }
    
    .sticky-menu .nav-menu a:active {
        color: #4a6fa5;
    }
    
    .project-btn:active {
        background: #3a5a87;
        transform: scale(0.98);
    }
    
    .scroll-to-top:active {
        transform: scale(0.95);
    }
}

/* Улучшение для скролла на мобильных */
@media (max-width: 768px) {
    html {
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Фикс для iOS */
@supports (-webkit-touch-callout: none) {
    .form_group input,
    .form_group textarea,
    .form-group input {
        font-size: 16px;
    }
}
/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    z-index: 10000;
    padding: 20px 30px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #4a6fa5;
    display: none; /* По умолчанию скрыт, JS покажет при необходимости */
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 2;
    min-width: 250px;
}

.cookie-text strong {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    color: #4a6fa5;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-text a {
    color: #4a6fa5;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #6b8fc9;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #4a6fa5, #6b8fc9);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.5);
    background: linear-gradient(135deg, #5a7fb5, #7b9fd9);
}

.cookie-btn.decline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn.decline:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a3b5f 100%);
    color: #ccd4e4;
    padding: 50px 24px 30px;
    margin-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4a6fa5, transparent);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccd4e4;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
}

.footer-social:hover {
    background: #4a6fa5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.4);
    border-color: #4a6fa5;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Jura', sans-serif;
    font-size: 14px;
}

.footer-nav a {
    color: #ccd4e4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #6b8fc9;
}

.footer-copy {
    color: #8892b0;
    font-size: 13px;
    font-family: 'Jura', sans-serif;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    margin: 0;
}

/* Лого в шапке теперь ссылка */
a.logo-area {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a.logo-area:hover {
    opacity: 0.85;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 16px 24px;
        margin-top: 50px;
    }
    .footer-nav {
        gap: 14px 18px;
        font-size: 13px;
    }
    .footer-social {
        width: 42px;
        height: 42px;
    }
}

/* ===== СТИЛИ ДЛЯ КАТЕГОРИЙ НА ГЛАВНОЙ ===== */

.category-section {
    margin-top: 6vw;
}

.category-section:first-child {
    margin-top: 3vw;
}

.category-more-wrap {
    text-align: center;
    margin-top: 3vw;
}

.category-more-btn {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: #4a6fa5;
    border: 2px solid #4a6fa5;
    border-radius: 50px;
    font-family: 'Aboreto', sans-serif;
    font-size: clamp(13px, 1.1vw, 15px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.category-more-btn:hover {
    background: #4a6fa5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.3);
}

/* Лоадер проектов на главной */
.projects-loading {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Jura', sans-serif;
    font-size: 16px;
    color: #888;
}

.projects-loading__spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #4a6fa5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin-home {
    to { transform: rotate(360deg); }
}

/* Пустое состояние / ошибка загрузки */
.projects-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 2px dashed rgba(74, 111, 165, 0.2);
    max-width: 600px;
    margin: 0 auto;
    animation: projectsEmptyIn 0.6s ease both;
}

@keyframes projectsEmptyIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.projects-empty__icon {
    margin-bottom: 24px;
    opacity: 0.7;
    animation: projectsIconFloat 3s ease-in-out infinite;
}

@keyframes projectsIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.projects-empty__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #000;
    margin: 0 0 12px;
}

.projects-empty__text {
    font-family: 'Jura', sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.7;
    color: #777;
    max-width: 400px;
    margin: 0 0 28px;
}

.projects-empty--error {
    border-color: rgba(231, 76, 60, 0.2);
    background: rgba(255, 248, 248, 0.7);
}

.projects-empty--error .projects-empty__title {
    color: #c0392b;
}

.projects-empty--error .projects-empty__icon svg {
    stroke: #e74c3c;
}

@media (max-width: 768px) {
    .category-section {
        margin-top: 40px;
    }

    .category-more-wrap {
        margin-top: 25px;
    }

    .category-more-btn {
        padding: 12px 30px;
        font-size: 13px;
    }

    .projects-empty {
        padding: 50px 20px;
    }
}