
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100vw;
}
@font-face {
  font-family: 'Helvetica';
  src: url('font/Helvetica.woff2') format('woff2'),
       url('font/Helvetica.woff') format('woff'),
       url('font/Helvetica-Bold.woff2') format('woff2'),
       url('font/Helvetica-Bold.woff') format('woff');

  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Helvetica', sans-serif;
}

body {
    font-family: 'Helvetica';

    color: #333;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Wrapper to prevent horizontal overflow */
.site-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Fix for mobile text visibility */
@media (max-width: 1024px) {
    .site-wrapper {
        overflow-x: hidden;
    }
    
    /* Ensure mobile menu is visible */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    /* Ensure all fixed and absolute positioned elements stay within viewport */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Special handling for fixed and absolute positioned elements */
    *[style*="position: fixed"], *[style*="position: absolute"] {
        max-width: none;
        box-sizing: border-box;
    }
}

/* Ensure all fixed and absolute positioned elements stay within viewport */
.top-nav,
.logo,
.bottom-nav {
    max-width: 100vw;
    overflow: hidden;
}

/* Additional fixes for mobile responsiveness */
@media (max-width: 1024px) {
    .site-wrapper {
        max-width: 100vw;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Ensure no element extends beyond viewport */
    * {
        max-width: 100vw;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Tablet styles for contact page */
    .contact-main-content {
        padding: 90px 30px 50px; /* Adjusted padding for tablets */
    }
    
    .main-logo {
        top: 40px;
        left: 30px;
    }
    
    .logo-text-main {
        font-size: 26px; /* Slightly smaller logo for tablets */
    }
    
    .contact-us-title {
        top: 120px;
        left: 30px;
    }
    
    .contact-title-main {
        font-size: 60px; /* Slightly smaller title for tablets */
    }
    
    .contact-description {
        top: 220px;
        left: 30px;
    }
    
    .contact-description-text {
        font-size: 15px; /* Slightly smaller text for tablets */
        max-width: 80%; /* Constrain width on tablets */
    }
    
    .contact-blocks-main {
        top: 400px;
        left: 30px;
        gap: 80px; /* Slightly reduced gap for tablets */
    }
    
    .contact-block-title-main {
        font-size: 17px; /* Slightly smaller titles for tablets */
    }
    
    .contact-block-content-main {
        font-size: 15px; /* Slightly smaller content for tablets */
    }
    
    .phone-number {
        font-size: 15px; /* Slightly smaller phone numbers */
    }
}

/* Prevent horizontal scrolling on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure all fixed and absolute positioned elements stay within viewport */
* {
    max-width: 100vw;
    box-sizing: border-box;
}

/* Special handling for fixed and absolute positioned elements */
*[style*="position: fixed"], *[style*="position: absolute"] {
    max-width: none;
    box-sizing: border-box;
}

/* Entry Page Styles */
/* Entry Page Styles */
.entry-page {
    background: #f5f5f5 url('../image/333.png') center center/cover no-repeat;
    color: #000;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Dotted Background */
.dotted-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5 url('../image/333.png') center center/cover no-repeat;
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.3;
}

/* =========================
   ОСНОВНАЯ СТРАНИЦА ВХОДА
   ========================= */

/* Sound Toggle - основная страница */
.sound-toggle {
    position: absolute;
    
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    z-index: 100;
}

.sound-label {
    color: #000;
    font-family: 'Helvetica';
}

.sound-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Hide desktop sound toggle on mobile to avoid duplicate switches */
@media (max-width: 768px) {
    .sound-toggle {
        display: none !important;
    }
}
@media (max-width: 468px) {
    .sound-toggle {
        display: none !important;
    }
}


.sound-option {
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;

    font-family: 'Helvetica';
}

.sound-option.active {
    color: #000;
}

.sound-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Контейнер основного контента */
.entry-container {
    margin-top: 45px;;
    position: flex;
    z-index: 10;
}

.entry-content {
    text-align: center;
    max-width: 600px;
}

/* Рабочие часы */
.work-hours {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 2px;
    font-family: 'Helvetica';
}

/* Тип агентства */
.agency-type {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Helvetica';
}

/* Основной заголовок */
.entry-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 20px;
    margin-left: -40px;
    line-height: 0.9;
    font-family: 'Helvetica';
}

/* Информация о местоположении */
.location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 30px;
}

.location,
.year {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    font-family: 'Helvetica';
}

/* Кнопка входа */
.enter-btn {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-family: 'Helvetica';
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================
   ВИДЕО ПРЕЛОАДЕР
   ========================= */

.video-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5 url('../image/333.png') center center/cover no-repeat;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-preloader.active {
    display: block;
    opacity: 1;
}

/* Видео прелоадер */
.preloader-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Overlay поверх видео */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Sound Toggle в видео - ИДЕНТИЧНО основной странице */
.video-sound-toggle {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    pointer-events: auto;
    z-index: 11;
}

.video-sound-label {
    color: #000;
    font-family: 'Helvetica';
}

.video-sound-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.video-sound-option {
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 12px;
    font-family: 'Helvetica';
}

.video-sound-option.active {
    color: #000;
}

.video-sound-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.video-sound-switch.off .video-sound-dot {
    transform: translateX(0px);
}

/* Основной контент видео - ИДЕНТИЧНО основной странице */
.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 600px;
    pointer-events: auto;
    z-index: 11;
}

/* Рабочие часы - видео */
.video-work-hours {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 2px;
    font-family: 'Helvetica';
    animation: fadeInVideo 1s ease-out 0.3s both;
}

/* Тип агентства - видео */
.video-agency-type {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Helvetica';
    animation: fadeInVideo 1s ease-out 0.6s both;
}

/* Основной заголовок - видео */
.video-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 20px;
    margin-left: -40px;
    line-height: 0.9;
    font-family: 'Helvetica';
    animation: fadeInVideo 1s ease-out 0.9s both;
}

/* Информация о местоположении - видео */
.video-location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 30px;
    animation: fadeInVideo 1s ease-out 1.2s both;
}

.video-location,
.video-year {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    font-family: 'Helvetica';
}

/* Кнопка входа - видео */
.video-enter-btn {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-family: 'Helvetica';
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInVideo 1s ease-out 1.5s both;
}

.video-enter-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Анимация появления для видео */
@keyframes fadeInVideo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для элементов видео */
@keyframes fadeInVideo {
    from {
        opacity: 1;

    }
    to {
        opacity: 1;

    }
}

/* Mobile адаптация для видео прелоадера */
@media (max-width: 768px) {
    .video-title {
    letter-spacing: -2px;
    color: #000;
    line-height: 0.7;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    
    .video-enter-btn {
        padding: 12px 25px;
        font-size: 10px;
    }
    
    .video-sound-toggle {
        top: 30px;
        font-size: 11px;
    }
    
    .video-work-hours,
    .video-agency-type,
    .video-location,
    .video-year {
        font-size: 10px;
    }
    
    .video-content {
        padding: 0 20px;
    }
}

/* Sound Toggle */
.sound-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.1s forwards;
}

.sound-label {
    color: #666;
}

.sound-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sound-option {
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 12px;
}

.sound-option.active {
    color: #000;
}

.sound-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.sound-switch.off .sound-dot {
    transform: translateX(35px);
}

/* Entry Container */
.entry-container {
    position: relative;
    z-index: 10;
    height: 77vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.entry-content {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 1.5s ease-out;
}

/* Work Hours */
.work-hours {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 2px; /* Уменьшено с 8px до 2px */
    font-family: 'Helvetica' ;
    animation: fadeInVideo 1s ease-out 0.3s both;
    gap: 0.2px;
}

/* Agency Type */
.agency-type {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    gap: 0.2px;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Helvetica' ;
    animation: fadeInVideo 1s ease-out 0.6s both;
}

/* Main Title */
.entry-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 20px;
    margin-left: -40px;
    line-height: 0.9;
    font-family: 'Helvetica' ;
}

.degree {
    font-size: 0.6em;
    margin-left: -5px;
}

/* Location Info */
.location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;

}

.location,
.year {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: -5.5px;
    color: #000;
    font-family: 'Helvetica';
    
}

/* Enter Button */
.enter-btn {
    background: #f5f5f5;
    border: 1px solid #000;
    color: #000;
    font-family: 'Helvetica';
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}


.enter-btn:hover {
    background: #000;
    color: #f5f5f5;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 1;

    }
    to {
        opacity: 1;

    }
}

@keyframes fadeInUp {
    from {
        opacity: 1;

    }
    to {
        opacity: 1;

    }
}

/* About Page Styles */
.about-page {
    background: #f5f5f5;
    color: #000;
    min-height: 100vh;
    position: relative;
}

/* About Us Page Styles */
.about-us-page {
    background: #ffffff url('../png/about us.png') center center/cover no-repeat;
    color: #000;
    min-height: 100vh;
    position: relative;
}

.about-us-content {
    padding-top: 120px;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 50px;
    margin-top: 80px;
}

.about-us-header {
    font-size: 55px;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.5px;
    font-family: 'Helvetica' ;
    margin: 0;
    line-height: 1.2;
}

.about-us-text {
    margin-top: 30px;
    max-width: 600px;
}

.about-us-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0;
    font-family: 'Helvetica';
    font-weight: 400;
}

/* Top Navigation */
.top-nav {
    color: #ffffff;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 45px 45px; /* Увеличено с 30px 40px */
    display: flex;
    justify-content: flex-end;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: 'Helvetica' ;
    mix-blend-mode: difference;
}

/* Logo */
.logo {
    position: absolute;
    top: 50px; /* Увеличено с 35px */
    left: 45px; /* Moved 60px to the left from original 35px */
    z-index: 1001;
}

.logo-text {
    font-size: 35px; /* Reduced from 55px */
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
    font-family: 'Helvetica' ;
    font-style: normal;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .logo {
        display: none;
    }
}

.nav-content {
    font-size: 17px;
    display: flex;
    flex-direction: row;
    gap: 80px; /* Increased from 60px to create more space between navigation and social links */
    align-items: flex-start;


}

/* Sound Toggle in Nav */
.nav-sound {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px; /* Увеличено с 2px */
}

.nav-sound .sound-label {
    color: #fff;
 /* Добавлено */
}

.nav-sound .sound-switch {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Увеличено с 3px */
}

.nav-sound .sound-option {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 12px;
 /* Добавлено */
}

.nav-sound .sound-option.active {
    color: #fff;
}

.nav-sound .sound-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.nav-sound .sound-dot {
    display: none;
}

/* Coordinates */
.nav-coordinates {
    color: #fff;
    line-height: 1.3; /* Увеличено с 1.2 */
     /* Увеличено с 10px */
    text-align: right;
    font-family: 'Helvetica' ;
}

/* Main Navigation */
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Увеличено с 0px */
    text-align: left;
}

.nav-item {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
/* Увеличено с 11px */
    font-weight: 400;
    font-family: 'Helvetica' ;
    gap:0.5px;
}

.nav-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5px; /* Увеличено с 0.5px */
    text-align: left;
}

.contact-label {
    color: #fff;
    font-family: 'Helvetica' ;
 /* Увеличено с 11px по умолчанию */
}

.contact-email {
    color: #fff;
    font-family: 'Helvetica' ;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0px; /* No additional gap */
    text-align: left;
}

.social-link {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
 /* Увеличено с 10px */
    font-family: 'Helvetica' ;
    
    line-height: 1.2; /* Скорректировано с 1.1 */
    margin-top: -12px; /* Уменьшено с -10px до -5px для уменьшения вертикального интервала */
}

.social-link:first-child {
    margin-top: 0;
}

.social-link:hover {
    color: #fff;
}

/* Белый текст для навигации при скролле к белым блокам */
.nav-content.white-text .nav-sound .sound-label,
.nav-content.white-text .nav-sound .sound-option,
.nav-content.white-text .nav-coordinates,
.nav-content.white-text .nav-item,
.nav-content.white-text .nav-item a,
.nav-content.white-text .contact-label,
.nav-content.white-text .contact-email,
.nav-content.white-text .social-link,
.nav-content.white-text .social-link a {
    color: #fff !important;
    transition: color 0.3s ease;
}

.nav-content.white-text .nav-sound .sound-option.active::before {
    background: #fff;
}

/* Белый цвет для логотипа при белом фоне */
.logo.white-text .logo-text {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* НОВАЯ СИСТЕМА ДЛЯ ФУТЕРА - ОТДЕЛЬНЫЕ КЛАССЫ */
/* Когда футер над белым блоком - текст становится черным */
.footer-social-link.footer-white-bg {
    color: #000000 !important;
    transition: color 0.3s ease;
}

.footer-social-link.footer-white-bg a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-social-link.footer-white-bg:hover,
.footer-social-link.footer-white-bg a:hover {
    opacity: 0.7 !important;
    color: #000000 !important;
}

/* Когда футер НЕ над белым блоком - текст остается белым (по умолчанию) */
.footer-social-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer-social-link a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-social-link:hover,
.footer-social-link a:hover {
    opacity: 0.7 !important;
    color: #ffffff !important;
}

/* Убираем старые правила для white-text */

/* Services Content */
.services-content {
    padding: 80px 0;
    background: #f5f5f5;
    min-height: 60vh;
}

.services-container {
    max-width: none;
    margin: 0;
    padding: 0 30px 0 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Увеличено с 12px */
    padding-left: 30px;
    margin-left: 0;
}

.service-item {
    font-size: 100px; /* Увеличено с 55px */
    font-weight: 400;
    color: #000;
    line-height: 0.7; /* Уменьшено с 1.1 */
    font-family: 'Menlo', 'Helvetica' ;
    letter-spacing: -0.02em;
    font-style: normal; /* Убираем normal */
    text-transform: none; /* Убираем uppercase */
}

.service-item.special {
    font-size: 100px; /* Увеличено с 55px */
    font-weight: 400;
    color: #000;
    margin: 0px 0; /* Увеличено с 8px 0 */
    line-height: 1.05; /* Уменьшено с 1.1 */
    font-style: normal; /* Добавлено по требованию */
}

.services-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 20px;
    padding-right: 30px;
}

.image-placeholder {
    font-size: 24px;
    color: #666;
    font-family: 'Helvetica' ;
    font-weight: 400;
}

/* About Hero */
.about-hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 100px;
    background: url('../image/333\ 2.png') center center/cover no-repeat;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding-top: 80px;
        min-height: 80vh;
    }
    
    .hero-content {
        min-height: 20vh;
    }
    
    /* Mobile styles for services list */
    .services-list {
        gap: 20px;
        padding-left: 20px;
    }
    
    .service-item {
        font-size: 50px;
        line-height: 0.75;
    }
    
    .service-item.special {
        font-size: 46px;
        line-height: 1.05;
        margin: 14px 0;
    }
}

/* Transition Text */
.transition-text {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica-Bold';
}

.transition-title {
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    color: #000;
    letter-spacing: -0.3px;
    max-width: 1200px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Helvetica';
    font-style: bold;

}

/* Mobile Responsive */
@media (max-width: 768px) {
    .transition-text {
        padding: 30px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 100px; /* Space for compass */
        width: 100%;
    }
    
    .transition-title {
        font-size: clamp(0.7rem, 3vw, 1rem);
        padding: 0 15px;
        white-space: normal;
        line-height: 1.5;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    
    /* About Us Page Mobile Styles */
    .about-us-content {
        padding-top: 80px;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 20px;
        margin-top: 60px;
    }
    
    .about-us-header {
        font-size: 40px;
    }
    
    .about-us-text {
        margin-top: 20px;
        max-width: 90%;
    }
    
    .about-us-text p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Additional mobile optimization for better readability */
@media (max-width: 480px) {
    .transition-title {
        font-size: clamp(0.6rem, 3vw, 0.8rem);
        line-height: 1.5;
        letter-spacing: -0.1px;
        padding: 0 10px;
        white-space: normal;
        max-width: 100%;
        width: 100%;
    }
    
    .transition-text {
        margin-right: 90px; /* Adjust space for smaller compass */
        width: 100%;
    }
    
    /* Mobile styles for services list */
    .services-list {
        gap: 16px;
        padding-left: 15px;
    }
    
    .service-item {
        font-size: 36px;
        line-height: 0.8;
    }
    
    .service-item.special {
        font-size: 32px;
        line-height: 1.1;
        margin: 12px 0;
    }
    
    /* About Us Page Small Mobile Styles */
    .about-us-content {
        padding-top: 60px;
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 15px;
        margin-top: 50px;
    }
    
    .about-us-header {
        font-size: 32px;
    }
    
    .about-us-text {
        margin-top: 15px;
        max-width: 85%;
    }
    
    .about-us-text p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
    .service-item {
        font-size: 28px;
        line-height: 0.85;
    }
    
    .service-item.special {
        font-size: 26px;
        line-height: 1.1;
        margin: 10px 0;
    }
    
    .services-list {
        gap: 12px;
        padding-left: 10px;
    }
    
    /* About Us Page Extra Small Mobile Styles */
    .about-us-content {
        padding-top: 50px;
        min-height: 60vh;
        margin-top: 40px;
    }
}

/* Strategy Overlay */
.strategy-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Corner Element */
.corner-element {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    perspective: 1000px;
}


/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    color: #666;
    z-index: 1000;
    font-family: 'Helvetica' ;
}


.nav-icon {
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-icon:hover {
    transform: rotate(180deg);
}

/* Ensure all fixed and absolute positioned elements stay within viewport */
.top-nav,
.logo,
.bottom-nav,
.corner-element {
    max-width: 100vw;
    overflow: hidden;
}

/* Additional fixes for mobile responsiveness */
@media (max-width: 1024px) {
    .site-wrapper {
        max-width: 100vw;
        overflow-x: visible !important;
    }
    
    /* Ensure no element extends beyond viewport */
    * {
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    /* Tablet styles for contact page */
    .contact-main-content {
        padding: 90px 30px 50px; /* Adjusted padding for tablets */
    }
    
    .main-logo {
        top: 40px;
        left: 30px;
    }
    
    .logo-text-main {
        font-size: 26px; /* Slightly smaller logo for tablets */
    }
    
    .contact-us-title {
        top: 120px;
        left: 30px;
    }
    
    .contact-title-main {
        font-size: 60px; /* Slightly smaller title for tablets */
    }
    
    .contact-description {
        top: 220px;
        left: 30px;
    }
    
    .contact-description-text {
        font-size: 15px; /* Slightly smaller text for tablets */
        max-width: 80%; /* Constrain width on tablets */
    }
    
    .contact-blocks-main {
        top: 400px;
        left: 30px;
        gap: 80px; /* Slightly reduced gap for tablets */
    }
    
    .contact-block-title-main {
        font-size: 17px; /* Slightly smaller titles for tablets */
    }
    
    .contact-block-content-main {
        font-size: 15px; /* Slightly smaller content for tablets */
    }
    
    .phone-number {
        font-size: 15px; /* Slightly smaller phone numbers */
    }
}

/* Strategy Section */
.strategy-section {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.strategy-background {
    width: 100%;
    min-height: 100vh;
    background-image: url('../image/333 3.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .strategy-section {
        height: 100vh;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    .strategy-background {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        width: 100%;
        min-height: 100vh;
        height: 100vh;
        margin: 0;
        padding: 0;
        display: block;
    }
}

/* Additional mobile optimization for background image */
@media (max-width: 480px) {
    .strategy-section {
        height: 100vh;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    .strategy-background {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        width: 100%;
        min-height: 100vh;
        height: 100vh;
        margin: 0;
        padding: 0;
        display: block;
    }
}

.strategy-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0,0,0,0.8) 15%, transparent 16%),
        radial-gradient(circle at 60% 70%, rgba(0,0,0,0.6) 10%, transparent 11%),
        radial-gradient(circle at 80% 20%, rgba(0,0,0,0.7) 12%, transparent 13%),
        radial-gradient(circle at 30% 80%, rgba(0,0,0,0.5) 8%, transparent 9%);
    opacity: 0.6;
}

/* Simplify overlay on small screens for performance */
@media (max-width: 768px) {
    .strategy-background::before {
        background-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.5));
        opacity: 0.55;
    }
}

@media (max-width: 480px) {
    .strategy-background::before {
        background-image: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6));
        opacity: 0.6;
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Strategy Overlay */
.strategy-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.overlay-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #000;
    letter-spacing: -1px;
    text-align: center;
    font-family: 'Helvetica' ;
}

/* Strategy Label */
.strategy-label {
    position: absolute;
    bottom: 60px;
    left: 60px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #fff;
    font-weight: 400;
    font-family: 'Helvetica' ;
}

.strategy-number {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.8;
}

.strategy-divider {
    font-size: clamp(2rem, 6vw, 4rem);
    opacity: 0.7;
}

.strategy-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 2px;
}

/* Strategy Icon */
.strategy-icon {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon-placeholder {
    font-size: 2rem;
    filter: brightness(0) invert(1);
}

/* Scroll Down Section */
.scroll-down-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: transparent;
}

.scroll-oval {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-oval:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.scroll-text {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    font-family: 'Helvetica' ;
}

.scroll-arrow {
    font-size: 12px;
    color: #000;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-3px);
        opacity: 0.8;
    }
}

/* Corner Element */
.corner-element {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    perspective: 1000px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .corner-element {
        right: -90px;
        top: 50%;
        transform: translateY(-50%) scale(0.5);
    }
}

/* Further adjustments for smaller screens */
@media (max-width: 480px) {
    .corner-element {
        right: -80px;
        top: 50%;
        transform: translateY(-50%) scale(0.4);
    }
}

.corner-flip {
    position: relative;
    width: 50px;
    height: 50px;
    transform-style: preserve-3d;
    animation: flipCoin 2.5s ease-in-out infinite;
    cursor: pointer;
}

.corner-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

.corner-circle.front {
    transform: rotateY(0deg);
}

.corner-circle.back {
    transform: rotateY(180deg);
    font-size: 18px;
    padding: 0;
}

.corner-flip:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

@keyframes flipCoin {
    0% {
        transform: rotateY(0deg);
    }
    25% {
        transform: rotateY(90deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    75% {
        transform: rotateY(270deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Compass Styles */
.compass {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-lines {
    position: relative;
    width: 22px;
    height: 22px;
}

.compass-arrow {
    position: absolute;
}

.compass-arrow.north {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.compass-arrow.south {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.compass-arrow.south .compass-label {
    transform: translateX(-50%) rotate(180deg);
}

.compass-arrow.east {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.compass-arrow.east .compass-label {
    transform: translateX(-50%) rotate(-90deg);
}

.compass-arrow.west {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(270deg);
}

.arrow-line {
    width: 1px;
    height: 7px;
    background: #000;
    margin: 0 auto;
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 1.5px solid transparent;
    border-right: 1.5px solid transparent;
    border-bottom: 3px solid #000;
    margin: 0 auto;
}

.compass-label {
    position: absolute;
    font-size: 6px;
    font-weight: 600;
    color: #000;
    line-height: 1;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .entry-title {
        font-size: clamp(3rem, 15vw, 6rem);
        letter-spacing: -1px;
    }
    
    .enter-btn {
        padding: 12px 25px;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 25px; /* Увеличено с 20px */
        padding: 35px 30px; /* Увеличено с 20px 25px */
    }
    
    .logo-text {
        font-size: 45px; /* Уменьшено с 55px для мобильной версии */
    }
    
    .nav-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-right {
        text-align: left;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .transition-title {
        font-size: clamp(0.8rem, 3.5vw, 1.2rem);
        padding: 0 20px;
        white-space: normal;
    }
    
    .transition-text {
        padding: 30px 20px;
    }
    
    .bottom-nav {
        justify-content: space-between;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .strategy-overlay {
        padding: 15px 25px;
    }
    
    .strategy-label {
        bottom: 30px;
        left: 30px;
        gap: 5px;
    }
    
    .strategy-icon {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
    }
    
    .icon-placeholder {
        font-size: 1.5rem;
    }
    
    /* Mobile styles for contact page */
    .contact-main-content {
        padding: 40px 20px 20px; /* Significantly reduced padding for mobile */
        align-items: flex-start; /* Align content to left */
        position: relative;
        z-index: 10; /* Above background image */
    
    }
    
    .main-logo {
        top: 30px;
        left: 20px;
        z-index: 30; /* Above background image */
    }
    
    .logo-text-main {
        font-size: 24px; /* Smaller logo for mobile */
    }
    
    .contact-us-title {
        top: 100px;
        left: 20px;
        z-index: 30; /* Above background image */
    }
    
    .contact-title-main {
        font-size: 48px; /* Smaller title for mobile */
    }
    
    .contact-description {
        top: 180px;
        left: 20px;
        z-index: 30; /* Above background image */
    }
    
    .contact-description-text {
        font-size: 14px; /* Smaller text for mobile */
        max-width: 100%; /* Full width on mobile */
    }
    
    .contact-blocks-main {
        position: absolute; /* Keep absolute positioning */
        top: 450px; /* Restore original value */
        left: 20px; /* Reduce from 50px to 20px for mobile */
        display: flex;
        padding: 40px;
        flex-direction: column; /* Stack blocks vertically */
        gap: 10px; /* Increase gap to take more vertical space */
        width: calc(100% - 40px); /* Full width minus padding */
        z-index: 30; /* Above background image */
    }
    
    .contact-block-main {
        width: 100%; /* Full width blocks */
    }
    
    .contact-block-title-main {
        font-size: 16px; /* Smaller titles for mobile */
    }
    
    .contact-block-content-main {
        font-size: 14px; /* Smaller content for mobile */
    }
    
    .phone-number {
        font-size: 14px; /* Smaller phone numbers */
    }
    
    .layer-image {
        display: block; /* Show background image on mobile */
        position: fixed; /* Fixed position to cover entire viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0; /* Behind content */
        pointer-events: none; /* Don't interfere with interactions */
    }
    
    .layer-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover entire viewport while maintaining aspect ratio */
        object-position: center; /* Center the image */
        transform: translateY(30%); /* Move image downward by 30% of its height */
        opacity: 0.9;
    }
}

/* Contact Entry Page Styles */
.contact-entry-page {
    background: #ffffff;
    color: #000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ensure top-nav and bottom-nav work for contact-entry-page */
.contact-entry-page .top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 35px 35px; /* Увеличено с 20px 30px */
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.contact-entry-page .bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    color: #666;
    z-index: 1000;
}

.contact-entry-page .nav-icon {
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-entry-page .nav-icon:hover {
    transform: rotate(180deg);
}

/* Contact Entry Page Layout */
.contact-entry-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-main-content {
    flex: 1;
    min-height: 1000px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
}

/* Main Logo */
.main-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 30; /* Above background image */
}

.logo-text-main {
    font-size: 28px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Contact Us Title */
.contact-us-title {
    position: absolute;
    top: 150px;
    left: 50px;
    z-index: 30; /* Above background image */
}

.contact-title-main {
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1;
}

/* Contact Description */
.contact-description {
    position: absolute;
    top: 260px;
    left: 50px;
    z-index: 30; /* Above background image */
}

.contact-description-text {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    max-width: 500px;
    margin: 0;
}

/* Contact Blocks in Main Content */
.contact-blocks-main {
    position: absolute;
    padding: 40px;
    top: 450px;
    left: 50px;
    display: flex;
    gap: 100px;
    z-index: 30; /* Above background image */
}

.contact-block-main {
    text-align: left;
}

.contact-block-title-main {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-block-content-main {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.social-item-main {
    margin-bottom: 5px;
}

/* Phone Item Styles */
.phone-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.phone-number {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    flex: 1;
}

.phone-actions {
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: 12px;
}

.phone-item-main:hover .phone-actions {
    opacity: 1;
}

.phone-action-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

.phone-action-btn:hover {
    color: #333;
}

.phone-action-btn:active {
    color: #000;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 400;
    z-index: 10000;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Social Links Styling */
.social-link a,
.social-item-main a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link a:hover,
.social-item-main a:hover {
    color: #666 !important;
}

/* ФУТЕР - КОПИРУЮ ЛОГИКУ С ШАПКИ, НО БЕЛЫМ ЦВЕТОМ - ЗАМЕНЕНО НА НОВУЮ СИСТЕМУ */



/* Специально для страницы контактов - черные социальные ссылки в основном контенте */
.contact-entry-page .social-item-main a {
    color: #000 !important;
}

.contact-entry-page .social-item-main a:hover {
    color: #666 !important;
}

/* Футер на странице контактов - белые ссылки */
.contact-entry-page .footer-social-link a {
    color: #fff !important;
}

.contact-entry-page .footer-social-link a:hover {
    opacity: 0.7;
}

/* Layer 2 Image */
.layer-image {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.layer-img {
    max-width: 600px;
    height: auto;
    opacity: 0.9;
}

/* Contact Info Section after Footer */
.contact-info-section {
    padding: 60px 50px;
}

.contact-blocks {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-block {
    flex: 1;
    text-align: left;
}

.contact-block-title {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-block-content {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.social-item {
    margin-bottom: 5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: #6366f1;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

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

.vector-folder:hover .folder-label {
    background: #fff;

}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border-color: #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Sections */
.services-preview,
.portfolio-preview {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-preview {
    background: #f9fafb;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-placeholder {
    height: 250px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.portfolio-item h3 {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

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

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 60px 0 20px;
    width: 100%;
    position: relative;
    clear: both;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 0.7rem;
    text-align: end;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        width: 300px;
        height: 200px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.strategy-section {
    height: 100vh;
    background: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.values-section {
    padding: 80px 0;
    background: #f9fafb url('../image/энтри\ 333\ 7.png') center center/cover no-repeat;
    min-height: 100vh;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* New Image Block 333-7 */
.image-block-333-7 {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container-333-7 {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .image-block-333-7 {
        height: auto;
    }
}

@media (max-width: 480px) {
    .image-block-333-7 {
        height: auto;
    }
}

/* New Photos Block */
.photos-block {
    width: 100%;
    padding: 0;
    margin: 0;
}

.photos-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.photo-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.rpl-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-left: 50px;
    margin-bottom: 10%;
}

.rpl-logo {
    max-height: 80px;
    width: auto;
    padding: 0px;
}

.centered-identity-text {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

/* Small Info Block */
.small-info-block {
    padding: 20px 0;
    min-height: 120px;
    background: #fff;
}

.small-info-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.small-info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.small-logo .logo-img {
    max-height: 80px;
    width: auto;
}

.small-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    font-style: normal;
    gap: 20px;
            line-height: 1.1;
}

.text-left {
    white-space: nowrap;
}

.text-center {
    color: #000;
    font-style: normal;
}

.text-right {
    text-align: right;
    

    
    white-space: nowrap;
}

@media (max-width: 480px) {
    .text-right {
        display: none !important;
        visibility: hidden !important;
    }
}

.hellsy-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top:-10px;
}

.hellsy-logo {
    margin-top: 5%;
    max-height: 80px;
    width: auto;
}



@media (max-width: 768px) {
    .small-info-content {
        gap: 15px;
    }
    
    .small-text {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        font-size: 8px;
        height: auto;
        padding: 0 5px;
        box-sizing: border-box;
        line-height: 1.1;
    }
    
    .text-left, .text-center, .text-right {
        position: relative;
        flex: none;
        white-space: normal;
        max-width: 40%;
        text-align: left;
    }
    
    .text-right {
        max-width: 45%;
    }
    
    .text-right {
        max-width: 45%;
        line-height: 1.3;
        text-align: right;
        margin-left: auto;
        flex-shrink: 0;
        align-self: flex-start;
        z-index: 1000;
        display: block !important;
        visibility: visible !important;
        position: relative;
        right: 0;
        white-space: normal;
    }
    
    .hellsy-logo {
        max-height: 45px;
    }
}

/* Additional mobile optimization for small-text block */
@media (max-width: 480px) {
    .small-text {
        font-size: 8px;
        padding: 0 5px;
        gap: 8px;
        justify-content: space-between;
        line-height: 1.1;
    }
    
    .text-center {
        max-width: 40%;
    }

    .text-right {
        display: none !important;
        visibility: hidden !important;
    }
}



/* Фоновые изображения - замените на нужные файлы */
.photo-bg-1 {
    background-image: url('../images 2/5-6.png');
}

.photo-bg-2 {
    background-image: url('../images 2/1-2.png');
}

.photo-bg-3 {
    background-image: url('../images 2/19-20.png');
}

.photo-bg-4 {
    background-image: url('../images 2/7-8.png');
}

/* Iama Background Block */
.iama-background-block {
    width: 100%;
    height: 3800px;
    background: url('../images 2/Iama.png') center center no-repeat;
    background-size: 100% auto;
    position: relative;
    margin: 0;
    padding: 0;
}

.iama-container {
    width: 100%;
    height: 3800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile optimization for Iama Background Block */
@media (max-width: 480px) {
    .iama-background-block {
        height: 1150px; /* Further reduced height for mobile devices */
        margin: 0; /* Ensure no margins */
        padding: 0; /* Ensure no padding */
    }
    
    .iama-container {
        height: 1150px; /* Match the block height */
        margin: 0; /* Ensure no margins */
        padding: 0; /* Ensure no padding */
    }
}

/* Company Info Section */
.company-info-section {
    padding: 0;
    margin: 0;
    width: 100vw;
    min-height: 100vh;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.company-info-background {
    width: 100vw;
    height: 100vh;
    background: url('../image/энтри\ 333\ 7.png') 85% center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.company-info-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    color: #000;
    max-width: 600px;
}

.company-info-text p {
    margin: 0 0 8px 0;
}

/* Services Page - Vector-based Animated Folders */
.services-page {
    background: #fff;
    min-height: 100vh;
    position: relative;
}

/* Black strip along the left edge */
/* Black strip along the left edge - only shown on mobile and tablet */
@media (max-width: 1024px) {
    /* Service number styling for black strip */
    .service-number-strip {
        position: absolute; /* Scroll with page content */
        left: 10px; /* Position on the black strip (40px width) */
        font-size: 16px; /* Smaller font size */
        font-weight: 400;
        color: #fff; /* White color for visibility on black strip */
        z-index: 110; /* Higher z-index to appear above black strip */
    }
    
    .service-number-strip:nth-child(1) {
        top: 160px; /* 50px offset + 20px */
    }
    
    .service-number-strip:nth-child(2) {
        top: 250px; /* Increased spacing */
    }
    
    .service-number-strip:nth-child(3) {
        top: 360px; /* Increased spacing */
    }
    
    .service-number-strip:nth-child(4) {
        top: 450px; /* Increased spacing */
    }
    
    .service-number-strip:nth-child(5) {
        top: 540px; /* Increased spacing */
    }
    
    .service-number-strip:nth-child(6) {
        top: 630px; /* Increased spacing */
    }
    
    .services-main {
        margin-left: 0; /* No adjustment needed */
        position: relative;
    }
    
    /* Container for black strip and folders */
    .services-container {
        position: relative;
        display: flex;
        flex: 1; /* Allow container to grow and fill available space */
    }
    
    /* Black strip along the left edge - only shown on mobile and tablet */
    .black-strip {
        position: absolute; /* Scroll with page content */
        left: 0;
        top: 0; /* Start from the very top of the page */
        width: 40px;
        height: 100%; /* Full height of container */
        background: #000;
        z-index: 100;
    }
    
    .vector-folders-container {
        display: flex;
        flex-direction: column;
        gap: 5px; /* Reduced gap between folders */
        width: 100%;
        position: relative;
        margin: 50px 0 0 40px; /* Move all folders down by 50px and leave space for black strip */
    }
}

/* Hide black strip and adjust margin on desktop */
@media (min-width: 1025px) {
    .black-strip {
        display: none;
    }
    
    .service-number-strip {
        display: none;
    }
    
    .site-wrapper {
        max-width: 100vw; /* Ensure site wrapper allows full width */
        overflow-x: visible; /* Allow content to extend to full width */
    }
    
    .services-container {
        max-width: 100vw; /* Ensure full width on desktop */
        padding: 0; /* Remove padding on desktop */
        display: block; /* Change from grid to block for full width */
    }
    
    .vector-folders-container {
        margin: 50px 0 0 0; /* Remove left margin on desktop */
        width: 100vw; /* Ensure full width on desktop */
        max-width: 100%; /* Prevent overflow */
    }
}

.vector-folder {
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: vectorFolderSlideIn 0.8s ease forwards;
    opacity: 0;
    transform: translateX(-100px);
}

/* Add top padding to first folder to prevent overlap with logo */
.vector-folder:first-child {
    padding-top: 80px;
}

/* Adjust folder label position for first folder to account for padding */
.vector-folder:first-child .folder-label {
    top: 100px; /* 20px original + 80px padding */
}

.vector-folder:nth-child(1) { animation-delay: 0.1s; }
.vector-folder:nth-child(2) { animation-delay: 0.3s; }
.vector-folder:nth-child(3) { animation-delay: 0.5s; }
.vector-folder:nth-child(4) { animation-delay: 0.7s; }
.vector-folder:nth-child(5) { animation-delay: 0.9s; }
.vector-folder:nth-child(6) { animation-delay: 1.1s; }

@keyframes vectorFolderSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.folder-vector-bg {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    margin-bottom: 5px;
}

.folder-vector-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.3);
}

.folder-label {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 28px;
    font-weight: 400;
    color: #000;
    background: none;
    margin-top: 15px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    z-index: 2;
}

.folder-content {
    height: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 25px 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    padding: 0 30px;
}

.folder-content h2 {
    font-size: 96px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1.1;
    text-align: right;
    position: absolute;
    top: 45px;
    right: 15px;
    left: auto;
    white-space: nowrap;
    opacity: 0.1;
}

.folder-text-content {
    padding: 325px 0 20px 0;

}

.folder-text-content p {
    text-align: justify;
    max-width: 50%;
    padding: 0;
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #000;
    line-height: 1.5;
}

.folder-text-content p:last-child {
    margin-bottom: 0;
}

.vector-folder.expanded .folder-content {
    height: auto;
    min-height: 350px;
    box-shadow: 0 8px 20px rgba(0,122,204,0.15);
    padding: 20px 30px;
}

.vector-folder.expanded .folder-content h2 {
    opacity: 1;
}

.vector-folder:hover .folder-vector-img {
    transform: scale(1.02);
    filter: grayscale(0);
}

.vector-folder:hover .folder-label {
    background: #fff;
    transform: translateY(-2px);
}

.vector-folder.expanded .folder-vector-img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(1.1);
}

.vector-folder.expanded .folder-label {
    font-weight: 500;
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    margin-bottom: -5px;
    padding-bottom: -10px;
}

.service-content {
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative;
}

.service-content h2 {
    font-size: 96px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1.1;
    text-align: right;
    position: absolute;
    top: 0;
    right: 15px;
    white-space: nowrap;
}

.service-text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    max-width: 800px;
    padding-left: 40px;
}

.service-text p {
    margin: 0 0 24px 0;
}

.service-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .service-content h2 {
        font-size: 32px;
        position: static;
    }
    
    /* Mobile styles for vector folders */
    .vector-folder {
        margin-bottom: 10px;
    }
    
    .folder-vector-bg {
        height: 100px;
    }
    
    .folder-label {
        font-size: 16px;
        padding: 6px 15px;
        top: 15px;
        left: 20px;
    }
    
    .folder-content h2 {
        font-size: 48px;
        top: 20px;
        right: auto; /* Remove right positioning */
        left: 10px; /* Position on the left side */
    }
    
    .folder-text-content {
        padding: 200px 0 15px 0;
    }
    
    .folder-text-content p {
        font-size: 12px;
        margin: 0 0 15px 0;
    }
    
    .vector-folder.expanded .folder-content {
        min-height: 250px;
        padding: 15px 20px;
    }
    
    /* Adjust service number positioning for mobile */
    .vector-folder:nth-child(1) .service-number {
        top: 55px; /* Center of first folder (100px height) */
    }
    
    .vector-folder:nth-child(2) .service-number {
        top: 165px; /* 100px + 10px gap + 55px (center of second folder) */
    }
    
    .vector-folder:nth-child(3) .service-number {
        top: 275px; /* 210px + 10px gap + 55px (center of third folder) */
    }
    
    .vector-folder:nth-child(4) .service-number {
        top: 385px; /* 320px + 10px gap + 55px (center of fourth folder) */
    }
    
    .vector-folder:nth-child(5) .service-number {
        top: 495px; /* 430px + 10px gap + 55px (center of fifth folder) */
    }
    
    .vector-folder:nth-child(6) .service-number {
        top: 605px; /* 540px + 10px gap + 55px (center of sixth folder) */
    }
}

.folder-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.folder-popup.active {
    display: flex;
}

.popup-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #000;
}

.popup-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #000;
}

.popup-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-content li {
    font-size: 14px;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.popup-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: bold;
}

.popup-content li:last-child {
    border-bottom: none;
}

.stats-section {
    padding: 80px 0;
    background: #1f2937;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Page Styles */
.services-detailed {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #6b7280;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.service-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.process-section {
    padding: 80px 0;
    background: #f9fafb;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Portfolio Page Styles */
.portfolio-filter {
    padding: 40px 0;
    background: #f9fafb;
}

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

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.portfolio-full {
    padding: 80px 0;
}

.portfolio-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item-full {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item-full:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item-full:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    background: #6366f1;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.map-section {
    padding: 80px 0;
    background: #f9fafb;
}

.map-placeholder {
    height: 400px;
    background: #e5e7eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .portfolio-grid-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-placeholder {
        width: 250px;
        height: 180px;
    }

    .placeholder-icon {
        font-size: 3rem;
    }

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

    .about-text h2,
    .service-content h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mobile styles for vector folders on small screens */
    .folder-vector-bg {
        height: 80px;
    }
    
    .folder-label {
        font-size: 14px;
        padding: 4px 10px;
        top: 10px;
        left: 15px;
    }
    
    .folder-content h2 {
        font-size: 32px;
        top: 15px;
        right: auto; /* Remove right positioning */
        left: 5px; /* Position on the left side */
    }
    
    .folder-text-content {
        padding: 150px 0 10px 0;
    }
    
    .folder-text-content p {
        font-size: 11px;
        margin: 0 0 10px 0;
    }
    
    .vector-folder.expanded .folder-content {
        min-height: 200px;
        padding: 10px 15px;
    }
    
    /* Adjust service number positioning for small screens */
    .vector-folder:nth-child(1) .service-number {
        top: 45px; /* Center of first folder (80px height) */
    }
    
    .vector-folder:nth-child(2) .service-number {
        top: 135px; /* 80px + 10px gap + 45px (center of second folder) */
    }
    
    .vector-folder:nth-child(3) .service-number {
        top: 225px; /* 160px + 10px gap + 45px (center of third folder) */
    }
    
    .vector-folder:nth-child(4) .service-number {
        top: 315px; /* 240px + 10px gap + 45px (center of fourth folder) */
    }
    
    .vector-folder:nth-child(5) .service-number {
        top: 405px; /* 320px + 10px gap + 45px (center of fifth folder) */
    }
    
    .vector-folder:nth-child(6) .service-number {
        top: 495px; /* 400px + 10px gap + 45px (center of sixth folder) */
    }
}

/* Photo Collage Section */
.photo-collage-section {
    padding: 100px 20px;
    background: #fff;
    min-height: 100vh;
}

.collage-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.collage-top-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.label-left, .label-right {
    color: #000;

}

.label-center {
    color: #000;

}

.centered-strategy-text {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;

    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-hellsy-container {
    display: flex;
    justify-content: center;

}

.logo-hellsy {
    display: flex;
    justify-content: center;

}

.logo-hellsy img {
    max-height: 30px;
}

.three-elements-container {
    position: relative;
    height: 40px;

    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    font-style: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.element-text-left {
    color: #000;
    font-style: normal;
    white-space: nowrap;
}

.element-logo-center {
    color: #000;
    font-style: normal;
    white-space: nowrap;
}

.element-text-right {
    color: #000;
    font-style: normal;
    white-space: nowrap;
}



@media (max-width: 768px) {
    .three-elements-container {
        display: flex; /* Add flexbox display */
        flex-direction: row; /* Keep horizontal layout */
        justify-content: space-between; /* Distribute elements evenly */
        align-items: center; /* Center elements vertically */
        gap: 5px; /* Minimal gap for better spacing */
        margin: 40px 0;
        width: 100%;
        position: relative;
        padding: 0 15px; /* Add some padding to prevent edge overflow */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    
    .element-text-left {
        position: relative; /* Changed from absolute to relative */
        left: auto; /* Reset left positioning */
        top: auto; /* Reset top positioning */
        font-style: normal;
        font-size: 12px; /* Restore to original font size */
        white-space: nowrap; /* Prevent text wrapping */
        flex-shrink: 0; /* Prevent shrinking */
        overflow: visible; /* Show full text */
        text-overflow: clip; /* Remove ellipsis */
        max-width: none; /* Remove width constraint */
    }
    
    .element-logo-center {
        position: relative; /* Changed from absolute to relative */
        left: auto; /* Reset left positioning */
        top: auto; /* Reset top positioning */
        transform: none; /* Reset transform */
        display: flex;
        justify-content: center;
        flex-shrink: 0; /* Prevent shrinking */
        max-width: 30%; /* Limit width */
    }
    
    .element-logo-center img {
        max-height: 30px;
        width: auto; /* Maintain aspect ratio */
        max-width: 100%; /* Ensure it fits within container */
    }
    
    .element-text-right {
        position: relative; /* Changed from absolute to relative */
        right: auto; /* Reset right positioning */
        top: auto; /* Reset top positioning */
        font-style: normal;
        font-size: 12px; /* Restore to original font size */
        white-space: nowrap; /* Prevent text wrapping */
        flex-shrink: 0; /* Prevent shrinking */
        overflow: visible; /* Show full text */
        text-overflow: clip; /* Remove ellipsis */
        text-align: right; /* Align text to right */
        max-width: none; /* Remove width constraint */
    }
    
    .centered-text {
        text-align: center;
        font-size: 14px;
        margin-top: 10px;
    }
}

.collage-grid {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: visible;
}

.collage-item {
    position: absolute;
    overflow: hidden;
    cursor: default !important;
    transition: none;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    cursor: default !important;
}

/* Hover effect disabled for draggable photos */

/* 1 - Основная фотография (большая слева с SS25) */
.photo-1 {
    width: 420px;
    height: 525px;
    z-index: 2;
    animation: floatAnimation1 15s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 2 - Слита с фоткой 3, вытянута по вертикали, сжата по горизонтали */
.photo-2 {
    width: 300px;
    height: 570px;
    z-index: 3;
    animation: floatAnimation2 18s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 3 - Левее на 30 пикселей, слита с фоткой 2 */
.photo-3 {
    width: 450px;
    height: 350px;
    z-index: 4;
    animation: floatAnimation3 14s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    background: #000;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.photo-3 img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.photo-3 .overlay-text {
    position: static;
    color: #fff;
    background: transparent;
    margin-top: 4px;
    padding: 0;
    text-align: center;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

/* 4 - Девушка обрезанная по голову, сразу за фотками 2 и 3 */
.photo-4 {
    width: 450px;
    height: 300px;
    z-index: 1;
    animation: floatAnimation4 20s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 5 - Сильно растянута по горизонтали под фоткой 4 */
.photo-5 {
    width: 900px;
    height: 225px;
    z-index: 2;
    animation: floatAnimation5 16s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 6 - Растянута по горизонтали поверх фотки 5 */
.photo-6 {
    width: 600px;
    height: 180px;
    z-index: 3;
    animation: floatAnimation6 13s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 7 - С большим отступом вверх */
.photo-7 {
    width: 330px;
    height: 420px;
    z-index: 2;
    animation: floatAnimation7 17s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 8 - Наложена на фотку 7 на 15 пикселей ниже */
.photo-8 {
    width: 270px;
    height: 330px;
    z-index: 3;
    animation: floatAnimation8 19s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Overlay text styles */
.overlay-text {
    position: absolute;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 4px;
}

.ss25 {
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    padding: 0;
}

.runway {
    bottom: 20px;
    left: 20px;
    font-size: 10px;
    max-width: 120px;
    line-height: 1.2;
}

.boghem {
    top: 20px;
    right: 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    padding: 0;
}

/* Floating animations for photos - ULTRA SMOOTH */
@keyframes floatAnimation1 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(3px, -2px) rotate(0.1deg); }
    20% { transform: translate(6px, -4px) rotate(0.2deg); }
    30% { transform: translate(8px, -6px) rotate(0.25deg); }
    40% { transform: translate(5px, -3px) rotate(0.15deg); }
    50% { transform: translate(-2px, 5px) rotate(-0.1deg); }
    60% { transform: translate(-4px, 8px) rotate(-0.2deg); }
    70% { transform: translate(4px, 2px) rotate(0.12deg); }
    80% { transform: translate(6px, 1px) rotate(0.18deg); }
    90% { transform: translate(2px, -1px) rotate(0.08deg); }
}

@keyframes floatAnimation2 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(-3px, 3px) rotate(-0.08deg); }
    20% { transform: translate(-5px, 4px) rotate(-0.15deg); }
    30% { transform: translate(-7px, 6px) rotate(-0.2deg); }
    40% { transform: translate(-4px, 3px) rotate(-0.12deg); }
    50% { transform: translate(2px, -5px) rotate(0.1deg); }
    60% { transform: translate(4px, -7px) rotate(0.18deg); }
    70% { transform: translate(-2px, 2px) rotate(-0.08deg); }
    80% { transform: translate(1px, -2px) rotate(0.05deg); }
    90% { transform: translate(-1px, 1px) rotate(-0.03deg); }
}

@keyframes floatAnimation3 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(2px, 4px) rotate(0.06deg); }
    20% { transform: translate(4px, 6px) rotate(0.12deg); }
    30% { transform: translate(5px, 8px) rotate(0.16deg); }
    40% { transform: translate(3px, 5px) rotate(0.1deg); }
    50% { transform: translate(-3px, -2px) rotate(-0.08deg); }
    60% { transform: translate(-5px, -4px) rotate(-0.14deg); }
    70% { transform: translate(4px, -1px) rotate(0.11deg); }
    80% { transform: translate(2px, 3px) rotate(0.07deg); }
    90% { transform: translate(-1px, 2px) rotate(-0.02deg); }
}

@keyframes floatAnimation4 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(-2px, -3px) rotate(-0.05deg); }
    20% { transform: translate(-4px, -5px) rotate(-0.1deg); }
    30% { transform: translate(-5px, -6px) rotate(-0.13deg); }
    40% { transform: translate(-3px, -4px) rotate(-0.08deg); }
    50% { transform: translate(4px, 2px) rotate(0.1deg); }
    60% { transform: translate(6px, 3px) rotate(0.15deg); }
    70% { transform: translate(-1px, 4px) rotate(-0.03deg); }
    80% { transform: translate(2px, -3px) rotate(0.06deg); }
    90% { transform: translate(1px, -1px) rotate(0.02deg); }
}

@keyframes floatAnimation5 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(4px, 2px) rotate(0.04deg); }
    20% { transform: translate(6px, 3px) rotate(0.08deg); }
    30% { transform: translate(7px, 4px) rotate(0.1deg); }
    40% { transform: translate(5px, 2px) rotate(0.07deg); }
    50% { transform: translate(-2px, -4px) rotate(-0.05deg); }
    60% { transform: translate(-3px, -5px) rotate(-0.08deg); }
    70% { transform: translate(3px, 3px) rotate(0.06deg); }
    80% { transform: translate(2px, 1px) rotate(0.04deg); }
    90% { transform: translate(-1px, -2px) rotate(-0.02deg); }
}

@keyframes floatAnimation6 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(-3px, 2px) rotate(-0.07deg); }
    20% { transform: translate(-5px, 4px) rotate(-0.12deg); }
    30% { transform: translate(-6px, 5px) rotate(-0.15deg); }
    40% { transform: translate(-4px, 3px) rotate(-0.09deg); }
    50% { transform: translate(4px, -2px) rotate(0.08deg); }
    60% { transform: translate(5px, -3px) rotate(0.11deg); }
    70% { transform: translate(-2px, -3px) rotate(-0.04deg); }
    80% { transform: translate(1px, 2px) rotate(0.03deg); }
    90% { transform: translate(-1px, 1px) rotate(-0.01deg); }
}

@keyframes floatAnimation7 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(2px, -4px) rotate(0.05deg); }
    20% { transform: translate(4px, -6px) rotate(0.09deg); }
    30% { transform: translate(5px, -7px) rotate(0.12deg); }
    40% { transform: translate(3px, -5px) rotate(0.08deg); }
    50% { transform: translate(-4px, 2px) rotate(-0.09deg); }
    60% { transform: translate(-5px, 3px) rotate(-0.12deg); }
    70% { transform: translate(3px, 2px) rotate(0.07deg); }
    80% { transform: translate(2px, -1px) rotate(0.04deg); }
    90% { transform: translate(-2px, -1px) rotate(-0.03deg); }
}

@keyframes floatAnimation8 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(-2px, 3px) rotate(-0.04deg); }
    20% { transform: translate(-3px, 5px) rotate(-0.08deg); }
    30% { transform: translate(-4px, 6px) rotate(-0.1deg); }
    40% { transform: translate(-3px, 4px) rotate(-0.07deg); }
    50% { transform: translate(3px, -2px) rotate(0.06deg); }
    60% { transform: translate(4px, -3px) rotate(0.09deg); }
    70% { transform: translate(-4px, 4px) rotate(-0.08deg); }
    80% { transform: translate(2px, -2px) rotate(0.05deg); }
    90% { transform: translate(1px, -1px) rotate(0.02deg); }
}

@media (max-width: 1024px) {
    .collage-grid {
        height: 600px;
    }
    
    .photo-1 {
        width: 220px;
        height: 280px;
        left: 60px;
    }
    
    .photo-2 {
        width: 200px;
        height: 260px;
        left: 250px;
    }
    
    .photo-3 {
        width: 140px;
        height: 180px;
        left: 30px;
    }
    
    .photo-4 {
        width: 320px;
        height: 120px;
        left: 150px;
    }
    
    .photo-5 {
        width: 360px;
        height: 160px;
        left: 280px;
    }
    
    .photo-6 {
        width: 160px;
        height: 120px;
        left: 480px;
    }
    
    .photo-7 {
        width: 180px;
        height: 220px;
        right: 60px;
    }
    
    .photo-8 {
        width: 140px;
        height: 180px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .photo-collage-section {
        padding: 60px 15px;
    }
    
    .collage-top-labels {
        flex-direction: row !important;
        gap: 30px !important;
        text-align: center !important;
        margin-bottom: 40px !important;
        font-size: 16px !important;
        justify-content: center !important;
    }
    
 
     
    .logo-hellsy-container {
        margin-bottom: 40px;
    }
    
    .logo-hellsy img {
        max-height: 30px;
    }
    
    .collage-grid {
        height: 100vh;
        min-height: 700px; /* Increased from 500px for better drag-and-drop usability */
    }
    
    .photo-1 {
        width: 45%;
        height: 250px;
        left: 2.5%;
        top: 30px;
    }
    
    .photo-2 {
        width: 45%;
        height: 220px;
        right: 2.5%;
        top: 30px;
    }
    
    .photo-3 {
        width: 30%;
        height: 160px;
        left: 2.5%;
        top: 300px;
    }
    
    .photo-4 {
        width: 60%;
        height: 120px;
        right: 2.5%;
        top: 280px;
    }
    
    .photo-5 {
        width: 90%;
        height: 150px;
        left: 5%;
        top: 430px;
    }
    
    .photo-6 {
        width: 30%;
        height: 120px;
        left: 5%;
        top: 600px;
    }
    
    .photo-7 {
        width: 30%;
        height: 200px;
        right: 5%;
        top: 600px;
    }
    
    .photo-8 {
        width: 90%;
        height: 160px;
        left: 5%;
        top: 750px;
    }
    
    .ss25 {
        font-size: 16px;
    }
    
    .runway {
        font-size: 7px;
        max-width: 80px;
    }
    
    .boghem {
        font-size: 10px;
    }
}

/* Even smaller screens optimization */
@media (max-width: 480px) {
    .photo-collage-section {
        height: auto;
        min-height: 0;
        padding: 40px 15px;
    }

    .collage-container {
        height: auto;
    }

    .collage-grid {
        height: auto;
        min-height: 600px; /* Increased from 400px for better drag-and-drop usability */
    }
    
    .photo-1 {
        width: 45%;
        height: 180px;
        left: 2.5%;
        top: 15px;
    }
    
    .photo-2 {
        width: 45%;
        height: 160px;
        right: 2.5%;
        top: 15px;
    }
    
    .photo-3 {
        width: 30%;
        height: 120px;
        left: 2.5%;
        top: 200px;
    }
    
    .photo-4 {
        width: 60%;
        height: 90px;
        right: 2.5%;
        top: 195px;
    }
    
    .photo-5 {
        width: 90%;
        height: 110px;
        left: 5%;
        top: 310px;
    }
    
    .photo-6 {
        width: 30%;
        height: 90px;
        left: 5%;
        top: 440px;
    }
    
    .photo-7 {
        width: 30%;
        height: 150px;
        right: 5%;
        top: 440px;
    }
    
    .photo-8 {
        width: 90%;
        height: 120px;
        left: 5%;
        top: 550px;
    }
}

/* Specific styles for iPhone 14 Pro Max and similar devices */
@media (max-width: 430px) {
    .collage-top-labels {
        font-size: 10px !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        justify-content: center !important;
    }
    
    .label-center {
        margin-left: 0px !important;
    }
    
    .label-right {
        margin-left: 0px !important;
    }
    
    /* Optimize collage grid height for iPhone 14 Pro Max */
    .collage-grid {
        min-height: 650px; /* Increased from 450px for better drag-and-drop usability */
    }
    
    /* Adjust photo positions to fit within increased height */
    .photo-1 {
        width: 45%;
        height: 160px;
        left: 2.5%;
        top: 10px;
    }
    
    .photo-2 {
        width: 45%;
        height: 140px;
        right: 2.5%;
        top: 10px;
    }
    
    .photo-3 {
        width: 30%;
        height: 100px;
        left: 2.5%;
        top: 180px;
    }
    
    .photo-4 {
        width: 60%;
        height: 80px;
        right: 2.5%;
        top: 170px;
    }
    
    .photo-5 {
        width: 90%;
        height: 100px;
        left: 5%;
        top: 290px;
    }
    
    .photo-6 {
        width: 30%;
        height: 80px;
        left: 5%;
        top: 400px;
    }
    
    .photo-7 {
        width: 30%;
        height: 130px;
        right: 5%;
        top: 400px;
    }
    
    .photo-8 {
        width: 90%;
        height: 100px;
        left: 5%;
        top: 530px; /* Adjusted to fit within increased container height */
    }
}

/* Photo collage section */
.photo-collage-section {
    position: relative;
    width: 100vw;
    height: 150vh; /* Увеличил с 100vh до 150vh */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.collage-container {
    max-width: 1200px; /* Ensure proper centering */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.collage-grid {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.collage-item {
    position: absolute;
    cursor: move;
    transition: transform 0.2s ease;
    z-index: 10;
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 20;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* New Photo Block Section - Only 1_1 Photo */
.new-photo-block-section {
    padding: 60px 0;
    background: #fff;
    min-height: 2400px; /* УВЕЛИЧЕНО для увеличенной фотки 1_7 (1140px + 550px = 1690px + отступы) */
    width: 100%;
    position: relative;
    overflow: visible;
}

.new-photo-container {
    max-width: 100%;
    margin: 0;
    position: relative;
    height: 2400px; /* УВЕЛИЧЕНО для увеличенной фотки 1_7 */
    padding: 0;
    background: transparent; /* УБИРАЮ серый фон */
}

.new-photo-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    background: transparent; /* УБИРАЮ серый фон */
}

/* Single photo positioning - 1_1 only */
.new-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    cursor: default;
    margin-left: 40px; /* Прижато к левому краю */
    margin-top: 20px;
}

/* Отдельные стили для фотки 1_1 без теней */
.photo-new-1 {
    border-radius: 0;
    box-shadow: none;
}

.photo-new-1:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: none;
}

/* Убираю эффекты для фоток 1_2, 1_3, 1_4 и 1_7 */
.photo-new-2, .photo-new-3, .photo-new-4, .photo-new-7 {
    border-radius: 0;
    box-shadow: none;
    background: transparent; /* УБИРАЮ серые фоны */
}

.photo-new-2:hover, .photo-new-3:hover, .photo-new-4:hover, .photo-new-7:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.new-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Оптимальные размеры для читабельности коллажа 1_1 */
.photo-new-1 {
    width: 800px;     /* Ширина: 800px для максимальной читаемости */
    height: 800px;    /* Высота: 800px чтобы ничего не обрезалось */
    position: relative;
    display: block;
    transform: rotate(-1deg); /* Легкий поворот для естественности */
    z-index: 10;
}

.photo-new-1 img {
    object-fit: cover; /* Возвращаю cover для удаления белых бортов */
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Фотография 1_4 - ниже блока 1_1 с отступом 20px */
.photo-new-4 {
    width: 450px;     /* Горизонтальная форма для ночного стадиона */
    height: 600px;    /* Оптимальная высота */
    position: absolute;
    left: 40px;       /* Тот же отступ слева как у 1_1 */
    top: 840px;       /* 800px (высота 1_1) + 20px + 20px (отступ сверху 1_1) = 840px */
    transform: rotate(0deg); /* УБРАН поворот чтобы фотки были слитными */
    z-index: 7;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: transparent; /* УБИРАЮ серый фон */
    border: none;
}

.photo-new-4 img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: transparent;
}

/* Фотография 1_7 - СЛИТНО с фоткой 1_4 без сильного обрезания */
.photo-new-7 {
    width: 700px;     /* УВЕЛИЧЕНО для максимальной читабельности */
    height: 500px;    /* Увеличенная высота для полной видимости текста */
    position: absolute;
    left: 40px;       /* Тот же отступ слева как у других фоток */
    top: 1300px;      /* Оригинальная позиция */
    margin-top: -50px; /* МАКСИМАЛЬНО агрессивный отрицательный отступ для ПОЛНОГО устранения зазора */
    transform: rotate(0deg); /* УБРАН поворот чтобы фотки были слитными */
    z-index: 15;      /* ВЫСОКИЙ Z-INDEX чтобы быть ПОВЕРХ фотки 1_4 */
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: none; /* УБИРАЮ белый фон */
    border: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
    line-height: 0; /* УБИРАЕТ лишние отступы */
    font-size: 0; /* УБИРАЕТ лишние отступы */
    outline: none; /* УБИРАЕТ черные контуры */
    border-collapse: collapse; /* УБИРАЕТ внутренние отступы */
}

.photo-new-7 img {
    object-fit: contain; /* ИЗМЕНЕНО НА contain чтобы показать всю фотку без обрезания как на втором скрине */
    object-position: center; /* УБРАЛ обрезку - вернул к center */
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: none; /* УБИРАЮ белый фон */
    display: block; /* ДОБАВЛЕНО для удаления черных полосок */
    margin: 0;
    padding: 0;
    vertical-align: top; /* УБИРАЕТ лишние отступы */
    line-height: 0; /* УБИРАЕТ лишние отступы */
    font-size: 0; /* УБИРАЕТ лишние отступы */
    outline: none; /* УБИРАЕТ возможные черные контуры */
    box-shadow: none; /* УБИРАЕТ возможные тени */
    border-collapse: collapse; /* УБИРАЕТ внутренние отступы */
}

/* Фотография 1_2 - левее и меньше по размеру */
.photo-new-2 {
    width: 300px;     /* Уменьшено с 350px до 280px */
    height: 420px;    /* Уменьшено с 450px до 360px */
    position: absolute;
    right: 25%;      /* Сдвинуто левее - было 15px, стало 80px */
    top: 20px;        /* Отступ от верха */
    transform: rotate(1deg);
    z-index: 8;       /* ПОНИЖЕН НА 8 - теперь под фоткой 1_3 */
    overflow: hidden; /* Убирает выступающие части */
    border-radius: 0; /* УБИРАЮ закругления углов */
    border: none;     /* УБИРАЮ границы */
    box-shadow: none; /* УБИРАЮ тени */
}

.photo-new-2 img {
    object-fit: cover; /* Заполняет весь контейнер без белых бортов */
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0; /* УБИРАЮ закругления у изображения */
    border: none;     /* УБИРАЮ границы у изображения */
}

/* Фотография 1_3 - увеличена и остается на том же месте */
.photo-new-3 {
    width: 380px;     /* Увеличено с 320px до 380px */
    height: 560px;    /* Увеличено с 400px до 480px */
    position: absolute;
    right: 10%;      /* Остается на том же месте */
    top: 250px;       /* Остается на том же месте */
    transform: rotate(-0.5deg);
    z-index: 9;       /* ПОВЫШЕН НА 9 - теперь ПОВЕРХ фотки 1_2 */
    overflow: hidden; /* Убирает выступающие части */
    border-radius: 0; /* УБИРАЮ закругления углов */
    border: none;     /* УБИРАЮ границы */
    box-shadow: none; /* УБИРАЮ тени */
}

.photo-new-3 img {
    object-fit: cover; /* Заполняет весь контейнер без белых бортов */
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0; /* УБИРАЮ закругления у изображения */
    border: none;     /* УБИРАЮ границы у изображения */
}

/* Фотография 1_5 - центральный элемент Steel Water Bottle */
.photo-new-5 {
    width: 800px;     /* УВЕЛИЧЕНО для максимальной читабельности */
    height: 550px;    /* УВЕЛИЧЕННАЯ высота для полной видимости бутылки и текста */
    position: absolute;
    left: 40%;      /* ЕЩЕ БОЛЬШЕ ПОДВИНУТО ВПРАВО чтобы не задевать фотку 1_4 */
    top: 785px;       /* Позиция после фотки 1_3 с отступом 5px */
    z-index: 10;      /* Высокий z-index для центрального элемента */
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.photo-new-5 img {
    object-fit: contain; /* Показывает всю бутылку и текст полностью */
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: none;
}

/* Фотография 1_6 - silkscreen printing с наложением на 1_5 */
.photo-new-6 {
    width: 700px;     /* Оптимальная ширина для футболки и текста */
    height: 370px;    /* Высота для полной видимости */
    position: absolute;
    left: 54%;      /* Позиционирование чуть правее фотки 1_5 */
    top: 1140px;       /* Позиция с небольшим наложением на фотку 1_5 */
    z-index: 11;      /* Выше чем у фотки 1_5 для наложения */
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.photo-new-6 img {
    object-fit: cover; /* Заполняет весь контейнер */
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: none;
}

/* Фотография 1_8 - в самом низу */
.photo-new-8 {
    width: 950px;     /* Оптимальная ширина */
    height: 550px;    /* Высота для полной видимости */
    position: absolute;
    left: 40%;      /* Центральная позиция */
    top: 1440px;      /* В самом низу после всех фоток */
    transform: rotate(0deg);
    z-index: 5;       /* Меньше чем у 1_7 (15) и 1_6 (11) */
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.photo-new-8 img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: none;
}

/* Фотография 1_9 - слева от 1_8 под углом 2 градуса */
.photo-new-9 {
    width: 625px;     /* Меньше чем 1_8 */
    height: 457px;    /* Пропорциональная высота */
    position: absolute;
    left: 3%;       /* Слева от 1_8 */
    top: 1670px;      /* Немного ниже чем 1_8 для естественного вида */
    transform: rotate(2deg); /* Угол 2 градуса как запрошено */
    z-index: 99;       /* Чуть выше 1_8 но меньше чем 1_7 и 1_6 */
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.photo-new-9 img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: none;
}

.bottom-text-container {
    position: relative;
    width: 100%;
    margin-top: -500px;   /* Отрицательный отступ чтобы градиент накрывал фотки */
    padding: 150px 0 60px 0; /* Больше отступ сверху для градиента */
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 5%,
        rgba(255, 255, 255, 0.5) 10%,
        rgba(255, 255, 255, 0.7) 15%,
        rgba(255, 255, 255, 1) 30%
    );
    z-index: 100;
}

.bottom-text-content {
    max-width: none;     /* Убираем ограничение ширины */
    margin: 0;
    padding: 0 40px;     /* Оставляем только боковые отступы */
    position: relative;
    z-index: 21;
}

.bottom-text {
    font-family: 'Helvetica' ;
    font-size: 18px;     /* Размер согласно спецификации */
    font-weight: 400;
    line-height: 1.4;    /* Межстрочный интервал согласно спецификации */
    color: #000;
    text-align: left;
    margin: 0;
    padding: 0;          /* Убираем отступы */
    letter-spacing: 0.3px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Responsive adjustments for single photo 1_1 */
@media (max-width: 1024px) {
    .new-photo-block-section {
        padding: 40px 0;
        min-height: 2000px; /* Увеличено для увеличенной фотки 1_7 на планшетах */
    }
    
    .new-photo-container {
        height: 2000px;
    }
    
    .photo-new-1 {
        width: 650px;     /* Пропорционально увеличенная ширина для планшетов */
        height: 650px;    /* Квадратная форма для полной видимости */
        margin-left: 30px;
    }
    
    .photo-new-4 {
        width: 380px;
        height: 250px;
        left: 30px;
        top: 690px; /* 650px + 20px + 20px */
        transform: rotate(0deg); /* УБРАН поворот для слияния с 1_7 */
    }
    
    .photo-new-7 {
        width: 750px;    /* Увеличено для планшетов */
        height: 520px;
        left: 30px;
        top: 940px;      /* ВОЗВРАЩЕНО к оригинальной позиции */
        margin-top: -55px; /* МАКСИМАЛЬНО агрессивный отрицательный отступ для ПОЛНОГО устранения зазора на планшетах */
        transform: rotate(0deg); /* УБРАН поворот для слияния с 1_4 */
    }
    
    .photo-new-2 {
        width: 220px;    /* Уменьшено для планшетов */
        height: 280px;   /* Уменьшено для планшетов */
        right: 60px;     /* Сдвинуто левее на планшетах */
        top: 20px;
    }
    
    .photo-new-3 {
        width: 300px;    /* Увеличено для планшетов */
        height: 380px;   /* Увеличено для планшетов */
        right: 35px;
        top: 300px;
    }
    
    .photo-new-5 {
        width: 650px;    /* УВЕЛИЧЕНО для планшетов */
        height: 450px;   /* УВЕЛИЧЕННАЯ высота */
        left: 400px;     /* ЕЩЕ БОЛЬШЕ ПОДВИНУТО ВПРАВО на планшетах */
        top: 625px;      /* Позиция после фотки 1_3 с отступом 5px */
        transform: rotate(-0.5deg);
    }
    
    .photo-new-6 {
        width: 400px;    /* Оптимально для планшетов */
        height: 280px;
        left: 520px;     /* Позиционирование чуть правее фотки 1_5 */
        top: 780px;      /* Наложение на фотку 1_5 */
        transform: rotate(1deg);
    }
    
    .photo-new-8 {
        width: 500px;
        height: 320px;
        left: 350px;
        top: 1100px;
        transform: rotate(0deg);
        z-index: 5;
    }
    
    .photo-new-9 {
        width: 380px;
        height: 280px;
        left: 60px;
        top: 1150px;
        transform: rotate(2deg);
        z-index: 6;
    }
    
    .bottom-text-container {
        margin-top: -80px;
        padding: 130px 0 50px 0;
    }
    
    .bottom-text-content {
        padding: 0 35px;
    }
    
    .bottom-text {
        font-size: 16px;
        line-height: 1.3;
    }
}

.centered-identity-text {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-style: normal;
    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.centered-text {
    text-align: center;

    font-style: normal;
    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vshiva-logo {
    max-height: 60px;
    width: auto;
}

/* Mobile image styles */
.new-photo-item .mobile-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure photo-new-6 mobile images show full frame */
.photo-new-6 .mobile-img {
    object-fit: contain;
    object-position: center;
}

/* Ensure photo-new-7 mobile images use contain to show full image */
.photo-new-7 .mobile-img {
    object-fit: contain;
    object-position: center;
}

/* Ensure photo-new-8 mobile images show full frame */
.photo-new-8 .mobile-img {
    object-fit: contain;
    object-position: center;
}

/* Mobile-first responsive photo grid for mobile images */
@media (max-width: 768px) {
    /* Hide desktop images and show mobile images on mobile */
    .photo-new-1 img:not(.mobile-img),
    .photo-new-2 img:not(.mobile-img),
    .photo-new-3 img:not(.mobile-img),
    .photo-new-4 img:not(.mobile-img),
    .photo-new-5 img:not(.mobile-img),
    .photo-new-6 img:not(.mobile-img),
    .photo-new-7 img:not(.mobile-img),
    .photo-new-8 img:not(.mobile-img),
    .photo-new-9 img:not(.mobile-img) {
        display: none;
    }
    
    /* Show mobile images on mobile devices */
    .photo-new-1 .mobile-img,
    .photo-new-2 .mobile-img,
    .photo-new-3 .mobile-img,
    .photo-new-4 .mobile-img,
    .photo-new-5 .mobile-img,
    .photo-new-6 .mobile-img,
    .photo-new-7 .mobile-img,
    .photo-new-8 .mobile-img,
    .photo-new-9 .mobile-img {
        display: block;
    }

    .new-photo-block-section {
        padding: 20px 0;
        min-height: 1500px; /* Increased height to accommodate better spacing */
    }
    
    .new-photo-container {
        height: 1500px; /* Increased height for better vertical distribution */
    }
    
    /* Photo 1_1 - main photo */
    .photo-new-1 {
        width: 400px;
        height: 400px;
        margin-left: 15px;
        transform: rotate(-0.5deg);
        position: relative;
        display: block;
        z-index: 10;
    }
    
    /* Photo 1_4 - below 1_1 with improved spacing */
    .photo-new-4 {
        width: 280px;
        height: 180px;
        left: 15px;
        top: 450px;         /* Increased from 430px for better spacing */
        transform: rotate(0deg);
        position: absolute;
        z-index: 7;
    }
    
    /* Photo 1_7 - overlapping 1_4 with improved sizing and reduced overlap */
    .photo-new-7 {
        width: 400px;
        height: 280px;
        left: 15px;
        top: 630px;         /* Increased from 610px for better spacing */
        margin-top: -20px;  /* Reduced negative margin from -30px to -20px */
        transform: rotate(0deg);
        position: absolute;
        z-index: 15;
    }
    
    /* Photo 1_2 - top right with adjusted positioning */
    .photo-new-2 {
        width: 160px;
        height: 200px;
        right: 30px;
        top: 15px;
        position: absolute;
        z-index: 8;
        transform: rotate(1deg);
    }
    
    /* Photo 1_3 - overlapping 1_2 with adjusted positioning */
    .photo-new-3 {
        width: 220px;
        height: 280px;
        right: 20px;
        top: 230px;         /* Increased from 200px for better spacing */
        transform: rotate(-0.3deg);
        position: absolute;
        z-index: 9;
    }
    
    /* Photo 1_5 - central element positioned on the right side to avoid overlap */
    .photo-new-5 {
        width: 400px;
        height: 300px;
        right: 15px;        /* Changed from left: 15px to right: 15px for better separation */
        top: 700px;         /* Increased from 400px for better spacing */
        transform: rotate(-0.3deg);
        position: absolute;
        z-index: 10;
    }
    
    /* Photo 1_6 - overlapping 1_5 positioned on the left side to avoid overlap */
    .photo-new-6 {
        width: 280px;
        height: 230px;
        left: 15px;         /* Keep on left side for better separation from photo-new-5 */
        top: 830px;         /* Slightly raised to compensate for larger height */
        transform: rotate(0.8deg);
        position: absolute;
        z-index: 11;
    }
    
    /* Photo 1_8 - at the bottom with adjusted positioning */
    .photo-new-8 {
        width: 350px;
        height: 240px;
        left: 15px;         /* Changed from 200px to 15px for better mobile fit */
        top: 1050px;        /* Increased from 800px for better spacing */
        transform: rotate(0deg);
        position: absolute;
        z-index: 5;
    }
    
    /* Photo 1_9 - left of 1_8 with adjusted positioning */
    .photo-new-9 {
        width: 280px;
        height: 200px;
        left: 15px;         /* Changed from 30px to 15px for consistency */
        top: 1300px;        /* Increased from 850px for better spacing */
        transform: rotate(2deg);
        position: absolute;
        z-index: 99;
    }
    
    .bottom-text-container {
        position: absolute;
        top: 1520px;        /* Position just after the last photo (1300px + 200px height + 20px gap) */
        width: 100%;
        padding: 20px 0 30px 0; /* Reduced padding since we're positioning absolutely */
        background: linear-gradient(to bottom, 
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 5%,
            rgba(255, 255, 255, 0.5) 10%,
            rgba(255, 255, 255, 0.7) 15%,
            rgba(255, 255, 255, 1) 30%
        );
        z-index: 100;
        margin-top: 0;      /* Remove negative margin */
    }
    
    .bottom-text-content {
        padding: 0 20px;
    }
    
    .bottom-text {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .new-photo-block-section {
        padding: 15px 0;
        min-height: 1500px; /* Restored to 1500px to match the 768px breakpoint */
    }
    
    .new-photo-container {
        height: 1500px; /* Restored to 1500px to match the 768px breakpoint */
    }
    
    /* Photo 1_1 - main photo */
    .photo-new-1 {
        width: 300px;
        height: 300px;
        margin-left: 10px;
        transform: rotate(-0.3deg);
        position: relative;
        display: block;
        z-index: 10;
    }
    
    /* Photo 1_4 - below 1_1 with improved spacing */
    .photo-new-4 {
        width: 220px;
        height: 150px;
        left: 10px;
        top: 330px;         /* Increased from 320px for better spacing */
        position: absolute;
        z-index: 7;
    }
    
    /* Photo 1_7 - overlapping 1_4 with improved sizing and reduced overlap */
    .photo-new-7 {
        width: 300px;
        height: 210px;
        left: 10px;
        top: 480px;         /* Increased from 470px for better spacing */
        margin-top: -15px;  /* Reduced negative margin from -20px to -15px */
        position: absolute;
        z-index: 15;
    }
    
    /* Photo 1_2 - top right with adjusted positioning */
    .photo-new-2 {
        width: 130px;
        height: 160px;
        right: 20px;
        top: 10px;
        position: absolute;
        z-index: 8;
        transform: rotate(0.8deg);
    }
    
    /* Photo 1_3 - overlapping 1_2 with adjusted positioning */
    .photo-new-3 {
        width: 180px;
        height: 220px;
        right: 15px;
        top: 180px;         /* Increased from 160px for better spacing */
        transform: rotate(-0.2deg);
        position: absolute;
        z-index: 9;
    }
    
    /* Photo 1_5 - central element positioned on the right side to avoid overlap */
    .photo-new-5 {
        width: 300px;
        height: 250px;
        right: 10px;        /* Changed from left: 10px to right: 10px for better separation */
        top: 550px;         /* Increased from 320px for better spacing */
        position: absolute;
        z-index: 10;
    }
    
    /* Photo 1_6 - overlapping 1_5 positioned on the left side to avoid overlap */
    .photo-new-6 {
        width: 230px;
        height: 190px;
        left: 10px;         /* Keep on left side for better separation from photo-new-5 */
        top: 650px;         /* Slightly raised to balance the increased height */
        transform: rotate(0.5deg);
        position: absolute;
        z-index: 11;
    }
    
    /* Photo 1_8 - at the bottom with adjusted positioning */
    .photo-new-8 {
        width: 280px;
        height: 200px;
        left: 10px;         /* Changed from 150px to 10px for better mobile fit */
        top: 850px;         /* Increased from 700px for better spacing */
        position: absolute;
        z-index: 5;
    }
    
    /* Photo 1_9 - left of 1_8 with adjusted positioning */
    .photo-new-9 {
        width: 220px;
        height: 160px;
        left: 10px;         /* Changed from 20px to 10px for consistency */
        top: 1050px;        /* Increased from 750px for better spacing */
        transform: rotate(1.5deg);
        position: absolute;
        z-index: 99;
    }
    
    .bottom-text-container {
        position: absolute;
        top: 1230px;        /* Position just after the last photo (1050px + 160px height + 20px gap) */
        width: 100%;
        padding: 15px 0 20px 0; /* Reduced padding since we're positioning absolutely */
        background: linear-gradient(to bottom, 
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 5%,
            rgba(255, 255, 255, 0.5) 10%,
            rgba(255, 255, 255, 0.7) 15%,
            rgba(255, 255, 255, 1) 30%
        );
        z-index: 100;
        margin-top: 0;      /* Remove negative margin */
    }
    
    .bottom-text-content {
        padding: 0 15px;
    }
    
    .bottom-text {
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Main Footer Styles */
.main-footer {
    width: 100%;
    height: 300px;
    background-image: url('../png/podval.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    font-family: 'Helvetica' ;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    color: #fff;
    position: relative;
}

/* Footer Left Navigation */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5px; /* Уменьшено с 8px */
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: -58px;
    position: relative;
    bottom: -50px;
    font-family: 'Helvetica' ;
}

.footer-nav-item {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-nav-item a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav-item:hover {
    opacity: 0.7;
}

/* Footer Center Logo */
.footer-center {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-logo-main {
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Helvetica' ;
}

.footer-logo-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
    text-transform: uppercase;
    font-family: 'Helvetica' ;
}

/* Footer Right Contact and Social */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-contact {
    text-align: right;
    position: absolute;
    right: -30px;
    bottom:-70px;
}

.footer-contact-label {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    bottom:-65px;
    opacity: 0.8;
    font-family: 'Helvetica' ;
}

.footer-contact-email {
    font-size: 14px;
    font-weight: 400;
    bottom: -70px;
    font-family: 'Helvetica' ;
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -70px;
    font-family: 'Helvetica' ;
}

.footer-social-link {
    cursor: pointer;
    transition: opacity 0.3s ease;
    color: #ffffff !important;
    text-decoration: none !important;

    display: inline-block !important;
    border-radius: 4px;
}

.footer-social-link:hover {
    opacity: 0.7 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 40px;
    }
    
    .footer-logo-main {
        font-size: 32px;
    }
    
    .footer-social {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        height: 500px; /* Increased height for better visibility */
    }
    
    /* Ensure footer stays at bottom on mobile */
    .site-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    main {
        flex: 1;
    }
    
    .services-container {
        flex: 1;
    }
    
    /* Mobile footer optimization */
    .main-footer {
        position: relative;
        margin-top: auto;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 0; /* Add some padding for better visual appearance */
        margin: 0; /* Ensure no margin */
    }
    
    /* Hide navigation buttons in mobile footer */
    .footer-left {
        display: none;
    }
    
    /* Mobile footer layout adjustments */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0; /* Remove padding to eliminate gaps */
        gap: 5px; /* Reduced gap for compact arrangement */
        margin: 0; /* Ensure no margin */
    }
    
    /* Hide contact info and social links on mobile for all pages to prevent overflow */
    .footer-right .footer-contact,
    .footer-right .footer-social {
        display: none !important;
    }
    
    /* Ensure social media and contact info are visible on other pages */
    .footer-social,
    .footer-contact {
        display: flex !important;
        visibility: visible !important;
    }
    
    .footer-social-link {
        display: inline-block;
        margin: 0 2px;
    }
    
    .footer-contact-label,
    .footer-contact-email {
        display: block !important;
    }
    
    .footer-center {
        order: 1;
        margin-top: -15px; /* Move logo 15px higher */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-main {
        margin-bottom: 5px;
    }
    
    .footer-logo-subtitle {
        text-align: center;
        font-size: 12px;
    }
    
    .footer-social {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px; /* Reduced gap between social buttons */
        margin: 1px 0; /* Reduced margin */
    }
    
    .footer-right {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 5px; /* Reduced margin */
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact-label,
    .footer-contact-email {
        margin: 1px 0; /* Reduced margin for compact arrangement */
    }

@media (max-width: 480px) {
    .footer-left {
        flex-direction: column;
        gap: 1.5px; /* Уменьшено с 10px */
    }
    
    .footer-logo-main {
        font-size: 28px;
    }
    
    .footer-social {
        gap: 1px; /* Keep reduced gap */
    }
    
    /* Mobile footer optimization for small screens */
    .main-footer {
        height: 450px; /* Increased height for better visibility */
        padding: 0; /* Remove padding to eliminate gaps */
    }
    
    /* Additional styles for very small screens */
    .contact-main-content {
        padding: 40px 15px 15px; /* Even smaller padding */
      
    }
    
    .layer-img {
        object-position: center; /* Center the image */
        transform: translateY(60%); /* Move image even further downward on very small screens */
    }
    
    .main-logo {
        top: 20px;
        left: 15px;
        z-index: 30; /* Above background image */
    }
    
    .logo-text-main {
        font-size: 20px; /* Even smaller logo */
    }
    
    .contact-us-title {
        top: 80px;
        left: 15px;
        z-index: 30; /* Above background image */
    }
    
    .contact-title-main {
        font-size: 36px; /* Even smaller title */
    }
    
    .contact-description {
        top: 150px;
        left: 15px;
        z-index: 30; /* Above background image */
    }
    
    .contact-description-text {
        font-size: 12px; /* Even smaller text */
    }
    
    .contact-blocks-main {
        top: 450px; /* Restore original value */
        left: 15px; /* Reduce for small screens */
        gap: 100px; /* Increase gap for small screens */
        width: calc(100% - 30px); /* Full width minus padding */
        z-index: 30; /* Above background image */
    }
    
    .contact-block-title-main {
        font-size: 14px; /* Even smaller titles */
    }
    
    .contact-block-content-main {
        font-size: 12px; /* Even smaller content */
    }
    
    .phone-number {
        font-size: 12px; /* Even smaller phone numbers */
    }
}

/* Final mobile override to shrink collage section height */
@media (max-width: 480px) {
    .photo-collage-section {
        height: auto !important;
        min-height: 0 !important;
        padding: 30px 15px 10px !important;
    }

    .collage-container {
        height: auto !important;
    }

    .collage-grid {
        height: auto !important;
        min-height: 420px !important;
    }
}

/* Final mobile override: show only one sound toggle on entry */
@media (max-width: 768px) {
    /* Hide desktop/entry center toggle on mobile */
    .sound-toggle {
        display: none !important;
    }
}

/* When preloader is active, hide outer mobile sound toggle to avoid duplicates */
.preloader-active .mobile-sound-toggle-outside {
    display: none !important;
}
