/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
    /* Цветовая палитра */
    --primary-blue: #2c5282;
    --primary-red: #f56565;
    --secondary-blue: #4299e1;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --white: #ffffff;
    --bg-gradient: #fff700;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f551 0%, #f0f04a 50%, #ebeb43 100%);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

/* ===== ШАПКА САЙТА ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

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

/* Мобильная версия шапки */
.header-mobile {
    display: none;
    align-items: center;
    gap: 1rem;
}

.header-text-mobile {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-text-line1 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.header-text-line2 {
    font-family: 'Rubik', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Десктопная версия шапки */
.header-desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.market-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.market-links a {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.market-links a:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #a855f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    gap: 0;
    align-items: flex-start;
    flex: 1;
    min-height: calc(100vh - 200px);
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
.mobile-layout {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.mobile-slogan {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.mobile-slogan p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

.mobile-photo-1,
.mobile-photo-2 {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-photo-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    filter: brightness(1.05) contrast(1.1);
    display: block;
}

.mobile-main-content {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.mobile-feedback-section {
    text-align: center;
    width: 100%;
}

/* ===== СЕКЦИИ ФОТОГРАФИЙ ===== */
.photo-section {
    flex: 0 0 300px;
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
}

.photo-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    position: relative;
}

.photo-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ===== ЦЕНТРАЛЬНАЯ СЕКЦИЯ ===== */
.center-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    margin: 0 1rem;
    align-items: flex-start;
}

/* ===== ЛОЗУНГ ===== */
.slogan {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 1rem;
}



.slogan p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

/* ===== ЦЕНТРАЛЬНЫЙ КОНТЕНТ ===== */
.main-content {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}



.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.project-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    color: var(--primary-red);
    margin-bottom: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.project-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.read-more-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transform: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin: 1.25rem auto 0;
    display: block;
}

.read-more-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ===== ФОТОГРАФИИ ===== */
.photo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium), 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.photo-card-1 {
    transform: rotate(-3deg);
    width: 85%;
    max-width: 255px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.photo-card-2 {
    transform: rotate(3deg);
    width: 85%;
    max-width: 255px;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    margin: 0;
    padding: 0;
}



.photo-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    filter: brightness(1.05) contrast(1.1);
    background: rgba(255, 255, 255, 0.1);
}


/* ===== БЛОК ОБРАТНОЙ СВЯЗИ ===== */
.feedback-section {
    text-align: center;
    width: 100%;
}

.feedback-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium), 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.feedback-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feedback-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.feedback-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transform: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.feedback-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}



/* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
.photo-decor {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(66, 153, 225, 0.1);
    border-radius: 50%;
    z-index: -1;
    backdrop-filter: blur(5px);
}

.photo-decor:nth-child(1) {
    top: 20%;
    left: 5%;
    background: rgba(66, 153, 225, 0.08);
    animation: float 6s ease-in-out infinite;
}

.photo-decor:nth-child(2) {
    top: 60%;
    right: 8%;
    background: rgba(245, 101, 101, 0.08);
    animation: float 8s ease-in-out infinite reverse;
}

.photo-decor:nth-child(3) {
    bottom: 20%;
    left: 10%;
    background: rgba(66, 153, 225, 0.08);
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-dark);
}

.participate-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1.5rem auto 0;
    display: block;
}

.participate-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

/* ===== СТРАНИЦА ОБРАТНОЙ СВЯЗИ ===== */
.feedback-page {
    display: none;
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--secondary-blue);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background: #3182ce;
    transform: translateY(-2px);
}

.back-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.back-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

/* ===== МОДАЛЬНОЕ ОКНО С ФОТО ===== */
.modal-image {
    width: 100%;
    max-width: 322px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-red);
    box-shadow: var(--shadow-light);
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.modal-image:hover img {
    transform: scale(1.02);
}

/* ===== ПРОПОРЦИОНАЛЬНОЕ МАСШТАБИРОВАНИЕ ===== */
/* Очень большие экраны */
@media (min-width: 1600px) {
    .main-container {
        max-width: 1600px;
        gap: 0;
        padding: 3rem 0;
    }
    
    .photo-section {
        flex: 0 0 400px;
        margin: 0;
        padding: 0;
    }
    
    .photo-card-1,
    .photo-card-2 {
        max-width: 340px;
        margin: 0;
        padding: 0;
    }
    
    .center-section {
        gap: 1.5rem;
        margin: 0 2rem;
    }
    
    .slogan,
    .main-content,
    .feedback-content {
        padding: 2rem;
    }
}

/* Большие экраны */
@media (min-width: 1400px) and (max-width: 1599px) {
    .main-container {
        gap: 0;
        padding: 2.5rem 0;
    }
    
    .photo-section {
        flex: 0 0 350px;
        margin: 0;
        padding: 0;
    }
    
    .photo-card-1,
    .photo-card-2 {
        max-width: 298px;
        margin: 0;
        padding: 0;
    }
    
    .center-section {
        gap: 1.25rem;
        margin: 0 1.5rem;
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
/* Планшеты и средние экраны */
@media (max-width: 1200px) {
    .main-container {
        gap: 0;
        padding: 1.5rem 0;
        max-width: 1000px;
    }
    
    .photo-section {
        flex: 0 0 200px;
        margin: 0;
        padding: 0;
    }
    
    .photo-card-1,
    .photo-card-2 {
        max-width: 170px;
        margin: 0;
        padding: 0;
    }
    
    .center-section {
        margin: 0 1rem;
    }
    
    .photo-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 1024px) {
    .main-container {
        gap: 0;
        padding: 1rem 0;
    }
    
    .photo-section {
        flex: 0 0 150px;
        margin: 0;
        padding: 0;
    }
    
    .photo-card-1,
    .photo-card-2 {
        max-width: 128px;
        margin: 0;
        padding: 0;
    }
    
    .center-section {
        gap: 1rem;
        margin: 0 0.75rem;
    }
    
    .slogan,
    .main-content,
    .feedback-content {
        padding: 1.25rem;
    }
}

/* Средние экраны */
@media (max-width: 900px) {
    .main-container {
        gap: 0;
        padding: 0.75rem 0;
    }
    
    .photo-section {
        flex: 0 0 120px;
        margin: 0;
        padding: 0;
    }
    
    .photo-card-1,
    .photo-card-2 {
        max-width: 102px;
        margin: 0;
        padding: 0;
    }
    
    .center-section {
        gap: 0.75rem;
        margin: 0 0.5rem;
    }
    
    .slogan,
    .main-content,
    .feedback-content {
        padding: 1rem;
    }
}



/* Мобильные устройства */
@media (max-width: 768px) {
    /* Убираем flexbox для body в мобильной версии */
    body {
        min-height: auto;
        display: block;
    }

    /* Мобильная шапка */
    .header-mobile {
        display: flex;
    }
    
    .header-desktop {
        display: none;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .market-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .header-text {
        font-size: 1.125rem;
        order: -1;
    }

    .market-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Скрываем десктопную версию */
    .desktop-layout {
        display: none !important;
    }
    
    /* Показываем мобильную версию */
    .mobile-layout {
        display: flex !important;
    }
    
    /* Мобильные блоки */
    .show-block-mobile {
        display: block !important;
        margin: 1rem 0;
        padding: 1.5rem;
        position: static;
        z-index: auto;
    }
    
    /* Кнопка WB внизу */
    .mobile-wb-button {
        display: block !important;
        margin: 1rem 0;
        text-align: center;
        position: static;
        z-index: auto;
    }

    /* Футер */
    .footer {
        margin-top: 0;
        position: relative;
        top: auto;
    }
    

    .project-title {
        font-size: 1.25rem;
    }

    .project-subtitle {
        font-size: 1.125rem;
    }
    
    .show-title {
        font-size: 1.25rem;
    }
    
    .show-description {
        font-size: 0.9rem;
    }
    
    .platform-link {
        width: 45px;
        height: 45px;
    }
    
    .platform-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 95vh;
    }

    .modal-image {
        max-width: 100%;
    }

    .feedback-page {
        display: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
        height: 100vh;
        overflow-y: auto;
        box-sizing: border-box;
        flex-direction: column;
    }
    
    /* Шапка для формы */
    .feedback-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    
    /* Основной контент формы */
    .feedback-page > h2,
    .feedback-page > p,
    .feedback-form {
        padding: 0 1rem;
    }
    
    /* Футер для формы */
    .feedback-footer {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: auto;
        padding: 1rem;
    }
    
    
    
    .feedback-footer-bottom {
        text-align: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .feedback-footer-bottom p {
        font-family: 'Inter', sans-serif;
        font-size: 0.75rem;
        color: var(--text-light);
        margin: 0;
    }
    
    .feedback-page h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feedback-page p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .feedback-form {
        margin-top: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Очень маленькие мобильные экраны */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }

    .main-container {
        padding: 0.75rem 0.75rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    
    /* Убираем grid-свойства для мобильных */
    .slogan,
    .main-content,
    .photo-card-1,
    .photo-card-2,
    .feedback-section {
        width: 100%;
        max-width: 100%;
    }
    
    .photo-card-1,
    .photo-card-2 {
        transform: rotate(0deg);
    }
    

    .slogan {
        padding: 1.25rem 1rem;
        transform: none;
        margin-bottom: 0;
    }
    
    .main-content {
        padding: 1.5rem;
        transform: none;
        margin: 0;
    }

    .photo-card-1,
    .photo-card-2 {
        width: 100%;
        height: auto;
    }

    .photo-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        border-radius: 0;
        filter: none;
        background: none;
    }
    
    .photo-card-1,
    .photo-card-2 {
        width: 100%;
        height: auto;
        transform: rotate(0deg);
        margin: 0;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    /* Плавающая кнопка обратной связи */
    .floating-feedback-btn {
        display: block !important;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .feedback-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        min-height: 44px;
        min-width: 44px;
    }

    .modal-content {
        padding: 1.25rem;
        margin: 2% auto;
        max-height: 96vh;
    }

    .feedback-page {
        padding: 0.75rem;
    }
    
    .feedback-page h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feedback-page p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .back-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .show-block-mobile {
        margin: 0.75rem;
        padding: 1.25rem;
    }
    
    .show-title {
        font-size: 1.125rem;
    }
    
    .show-description {
        font-size: 0.85rem;
    }
    
    .platform-link {
        width: 40px;
        height: 40px;
    }
    
    .platform-icon {
        width: 18px;
        height: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-logo-text {
        font-size: 1.125rem;
    }
    
    .footer-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .footer-icon {
        width: 18px;
        height: 18px;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ TOUCH-УСТРОЙСТВ ===== */
@media (hover: none) and (pointer: coarse) {
    .market-links a,
    .feedback-btn,
    .participate-btn,
    .submit-btn,
    .back-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .read-more-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ===== АДАПТИВНЫЕ РАЗМЕРЫ ФОТО (только для десктопа) ===== */
@media (min-width: 769px) {
    .photo-image {
        height: auto;
        object-fit: cover;
        border-radius: var(--border-radius);
        filter: brightness(1.05) contrast(1.1);
        background: rgba(255, 255, 255, 0.1);
    }
    
.photo-card-1,
.photo-card-2 {
    background: none;
    backdrop-filter: none;
    border-radius: var(--border-radius);
    box-shadow: none;
    border: none;
    overflow: hidden;
    position: relative;
}
}

/* ===== ЧЕКБОКСЫ СОГЛАСИЯ ===== */
.consent-checkboxes {
    margin: 1.5rem 0;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-red);
    border-radius: 3px;
    margin-right: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-link {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 500;
}

.consent-link:hover {
    color: #e53e3e;
    text-decoration: none;
}

/* Отключенные кнопки */
.read-more-btn:disabled,
.submit-btn:disabled,
.participate-btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.read-more-btn:disabled:hover,
.submit-btn:disabled:hover,
.participate-btn:disabled:hover {
    background-color: #ccc;
    transform: none;
    box-shadow: var(--shadow-light);
}

/* ===== ПЛАВАЮЩАЯ КНОПКА ОБРАТНОЙ СВЯЗИ ===== */
.floating-feedback-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
    text-align: center;
    white-space: nowrap;
}

.floating-feedback-btn:hover {
    background: #e53e3e;
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== АНИМАЦИИ УБРАНЫ ===== */


/* ===== УЛУЧШЕННАЯ ДОСТУПНОСТЬ ===== */
.read-more:focus,
.feedback-btn:focus,
.participate-btn:focus,
.submit-btn:focus,
.back-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== ОПТИМИЗАЦИЯ ДЛЯ ПРОИЗВОДИТЕЛЬНОСТИ ===== */
.photo-decor {
    will-change: transform;
}

/* ===== УЛУЧШЕННАЯ ЧИТАЕМОСТЬ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .project-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ===== */
.smooth-scroll {
    scroll-behavior: smooth;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== ФУТЕР ===== */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0;
    padding: 2rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.footer-logo-text {
    font-family: 'Rubik', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.footer-link:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #a855f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.footer-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== ШОУ-БЛОК ДЛЯ МОБИЛЬНЫХ ===== */
.show-block-mobile {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 1rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== МОБИЛЬНАЯ КНОПКА WB ===== */
.mobile-wb-button {
    display: none;
}

.wb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.wb-link:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #a855f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.wb-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.mobile-wb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.show-content {
    text-align: center;
}

.show-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.show-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Контейнер для трех превью */
.show-previews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.show-panel-previews {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.show-preview {
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-red);
    box-shadow: var(--shadow-light);
}

.show-preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.show-platforms {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.platform-link.vk-link {
    background: #4c75a3;
}

.platform-link.rutube-link {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.platform-link.rutube-link:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.platform-link.rutube-link img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-link.youtube-link {
    background: #ff0000;
}

.platform-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ===== ШОУ-ПАНЕЛЬ ДЛЯ ДЕСКТОПА ===== */
.show-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1500;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.show-panel.open {
    right: 0;
}

.show-panel-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.show-panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.show-panel-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.show-panel-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.show-panel-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: center;
}

.show-panel-preview {
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-red);
    box-shadow: var(--shadow-light);
}

.show-panel-preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.show-panel-platforms {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
}

.show-platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.show-platform-link.vk-link {
    background: #4c75a3;
}

.show-platform-link.rutube-link {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.show-platform-link.rutube-link:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.show-platform-link.rutube-link img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.show-platform-link.youtube-link {
    background: #ff0000;
}

.show-platform-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.show-platform-icon {
    width: 28px;
    height: 28px;
    fill: white;
}


/* ===== УЛУЧШЕНИЯ ДЛЯ ПЕЧАТИ ===== */
@media print {
    .header,
    .photo-decor,
    .feedback-section,
    .footer,
    .show-block-mobile,
    .show-panel {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main-content,
    .slogan {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
