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

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero, menu logo, circular text — see hero.css */

/* Cursor Styles */
#cursor {
    z-index: 9999;
    pointer-events: none;
}

.ink-icon {
    z-index: 9999;
    pointer-events: none;
}

.highlight {
    color: #E9FF71;
    font-weight: 700;
}

.nowrap {
    white-space: nowrap;
}

.hero-badges {
    margin-top: 0;
    padding-left: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.badge {
    background: #232323;
    color: #bdbdbd;
    font-size: 22px;
    font-weight: 400;
    border-radius: 32px;
    padding: 12px 32px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.badge:hover {
    background: #E9FF71;
    color: #232323;
}

.about {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: black;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin-right: 0;
    padding: 60px 40px 60px 40px;
    text-align: right;
}

.about-content p {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.about-description {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    margin-top: 20px;
}

.about-title {
    font-weight: 700;
    font-size: 32px;
    color: #E9FF71;
}

.marquee-btn:hover {
    transform: translateY(-2px);
}


/* TrueFocus Effect Styles */
.focus-container {
    position: relative;
    display: flex;
    gap: 1.2em;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.focus-word {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.3s ease, color 0.3s ease;
    color: #E9FF71;
    padding: 0 0.2em;
}

.focus-word.active {
    filter: blur(0);
}

.focus-frame {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    box-sizing: content-box;
    border: none;
}

.corner {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid var(--border-color, #E9FF71);
    filter: drop-shadow(0px 0px 4px var(--glow-color, rgba(233, 255, 113, 0.6)));
    border-radius: 2px;
    transition: none;
}

.top-left {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -8px;
    right: -8px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -8px;
    left: -8px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.marquee-container:first-child {
    margin-bottom: 0;
}

.marquee-container:last-child {
    margin-top: 0;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px; /* Ширина скроллбара */
}

::-webkit-scrollbar-track {
    background: #222; /* Цвет фона дорожки скроллбара */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #00ff00; /* Цвет ползунка скроллбара (зеленый) */
    border-radius: 10px;
    border: 3px solid #222; /* Отступ вокруг ползунка */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #00cc00; /* Цвет ползунка при наведении */
}

/* For Firefox */
html {
    scrollbar-color: #00ff00 #222; /* thumb and track color */
    scrollbar-width: thin; /* "auto" or "none" */
}

.second-block {
    background: #fff;
    width: 100vw;
    min-height: 100vh;
}

.second-block-text {
    /* position: absolute; */
    /* top: 32px; */
    /* left: 32px; */
    max-width: 420px;
    font-size: 20px;
    color: #222;
    font-weight: 400;
    line-height: 1.5;
    z-index: 2;
    margin: 32px 0 0 32px;
}
@media (max-width: 600px) {
    .second-block-text {
        position: static;
        max-width: 100%;
        font-size: 16px;
        padding: 16px 8px 0 8px;
    }
}

/* Стили для кейсов */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.8fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.cases-grid .case-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.cases-grid .case-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.cases-grid .case-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.cases-grid .case-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.cases-grid .case-item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.cases-grid .case-item:nth-child(6) {
    grid-column: 3 / 4;
    grid-row: 2 / 4; /* Растягиваем на две строки, чтобы выровнять с двумя прямоугольниками слева */
}

.cases-grid .case-item:nth-child(7) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
}

.cases-grid .case-item:nth-child(8) {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
}

.cases-grid .case-item:nth-child(9) {
    grid-column: 3 / 4;
    grid-row: 4 / 5;
}

/* Стили для элементов кейсов */
.case-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.case-item:hover {
    transform: translateY(-10px);
}

.case-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) brightness(0.7); /* Добавляем серый фильтр и затемнение */
    position: relative;
}

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Дополнительное затемнение */
}

.case-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1; /* Поднимаем контент над затемнением */
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.case-tags span {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
}

/* Конкретные высоты изображений для разных элементов */
.cases-grid .case-item:nth-child(1) .case-image,
.cases-grid .case-item:nth-child(2) .case-image,
.cases-grid .case-item:nth-child(7) .case-image,
.cases-grid .case-item:nth-child(8) .case-image {
    height: 0;
    padding-top: 100%;
}

.cases-grid .case-item:nth-child(3) .case-image {
    height: 300px;
}

.cases-grid .case-item:nth-child(6) .case-image {
    height: 620px;
}

.cases-grid .case-item:nth-child(4) .case-image,
.cases-grid .case-item:nth-child(5) .case-image,
.cases-grid .case-item:nth-child(9) .case-image {
    height: 300px;
}

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

.case-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 40px 20px;
    }

    .cases-grid .case-item:nth-child(1),
    .cases-grid .case-item:nth-child(2),
    .cases-grid .case-item:nth-child(3),
    .cases-grid .case-item:nth-child(4),
    .cases-grid .case-item:nth-child(5),
    .cases-grid .case-item:nth-child(6),
    .cases-grid .case-item:nth-child(7),
    .cases-grid .case-item:nth-child(8),
    .cases-grid .case-item:nth-child(9) {
        grid-column: auto;
        grid-row: auto;
    }

    .case-item .case-image {
        height: 250px;
        padding-top: 0;
    }
}

/* Стили для блока услуг и цен */
.services-block {
  position: relative;
  background-color: white;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.service-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ff00;
  font-weight: bold;
}

.service-price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.order-btn {
  background: black;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-btn:hover {
  background: #333;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    padding: 20px;
  }
  
  .service-price {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .order-btn {
    width: 100%;
  }
}

/* Стили для нового блока услуг в виде таблицы */
.services-list-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Убираем горизонтальный отступ у контейнера */
}

.service-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-list-item:hover {
    background-color: rgba(255, 255, 255, 0.08); /* Чуть более заметный фон при наведении */
    transform: translateX(5px); /* Легкое смещение вправо при наведении для интерактивности */
}

.service-list-icon {
    width: 48px; /* Увеличиваем размер иконки */
    height: 48px; /* Увеличиваем размер иконки */
    border-radius: 50%;
    background-color: rgba(0, 255, 0, 0.1); /* Темно-зеленый фон с прозрачностью */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px; /* Увеличиваем отступ справа */
    flex-shrink: 0; /* Предотвращаем сжатие иконки */
}

.service-list-icon svg {
    stroke: #00ff00;
    width: 24px; /* Размер SVG иконки внутри круга */
    height: 24px;
}

.service-list-info {
    flex-grow: 1;
    margin-right: 20px; /* Отступ между описанием и годом */
}

.service-badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Увеличиваем отступ между бейджами */
    margin-top: 5px; /* Небольшой отступ сверху, если нужно */
}

.service-list-title {
    font-size: 26px; /* Чуть больший размер заголовка */
    font-weight: 600;
    margin-bottom: 8px; /* Немного уменьшаем отступ под заголовком */
}

.service-list-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px; /* Отступ снизу для мобильных */
}

.service-list-year {
    font-size: 20px; /* Чуть больший размер года */
    font-weight: 500;
    margin-left: 20px;
    margin-right: 25px; /* Увеличиваем отступ справа */
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8); /* Более заметный цвет для года */
}

.service-list-arrow {
    width: 48px; /* Увеличиваем размер стрелки */
    height: 48px; /* Увеличиваем размер стрелки */
    border-radius: 50%;
    background-color: #333; /* Темный фон для стрелки */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0; /* Предотвращаем сжатие стрелки */
}

.service-list-arrow svg {
    stroke: #00ff00;
    width: 24px;
    height: 24px;
}

.service-list-item:hover .service-list-arrow {
    transform: rotate(45deg); /* Сохраняем эффект вращения */
    background-color: #00ff00; /* Изменяем цвет фона при наведении */
}

.service-list-item:hover .service-list-arrow svg {
    stroke: black; /* Изменяем цвет стрелки при наведении */
}

/* Стили для бейджа с длительностью */
.service-duration-badge {
    background-color: #92e624;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    margin-left: 0; /* Убираем отступ для всех бейджей, так как flexbox управляет gap */
}

.service-duration-badge:first-of-type {
    margin-left: 0; /* Убираем отступ для первого бейджа на мобильных */
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .services-list-container {
        padding: 0;
    }

    .service-list-item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 22px 10px 18px 10px;
        border-radius: 18px;
        margin-bottom: 18px;
        background: rgba(255,255,255,0.03);
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        gap: 10px;
    }

    .service-list-icon {
        margin: 0 0 12px 0;
        width: 48px;
        height: 48px;
    }

    .service-list-info {
        width: 100%;
        margin: 0 0 10px 0;
        text-align: center;
    }

    .service-list-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .service-list-description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .service-badges-group {
        justify-content: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .service-duration-badge {
        font-size: 13px;
        padding: 7px 16px;
        border-radius: 18px;
    }

    .service-list-year {
        font-size: 18px;
        margin: 0 0 8px 0;
        width: 100%;
        text-align: center;
        order: 4;
    }

    .service-list-arrow {
        margin: 0 auto;
        width: 44px;
        height: 44px;
        order: 5;
    }
}

/* Стили для волнообразного разделителя */
.wave-divider {
    position: absolute; /* Делаем волну абсолютно позиционированной */
    top: -120px; /* Поднимаем волну вверх, чтобы она перекрывала нижнюю часть второго блока */
    left: 0;
    width: 100%;
    height: 120px; /* Высота волны */
    background-color: transparent; /* Делаем фон прозрачным, так как он будет перекрываться */
    z-index: 100; /* Убедимся, что волна находится поверх второго блока */
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

.wave-divider .shape-fill {
    fill: black; /* Цвет волны, совпадающий с цветом следующего блока */
}

/* Обновляем стили для третьего блока */
.third-block {
    position: relative; /* Устанавливаем относительное позиционирование для позиционирования волны */
    background-color: black;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 20px;
    padding-top: 120px; /* Добавляем отступ сверху, чтобы содержимое третьего блока не перекрывалось волной */
    z-index: 101;
}

}

@media (max-width: 768px) {
    .second-block {
        min-height: 80vh;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .case-item {
        height: 200px;
    }

    .case-tags span {
        font-size: 12px;
        padding: 4px 8px;
    }

    .case-content {
        padding: 10px;
    }

    .marquee-container {
        height: 33% !important;
        opacity: 1 !important;
        display: block !important;
    }

    #marquee-line-2 {
        top: 0 !important;
    }

    #marquee-line-3 {
        top: 33% !important;
    }

    #marquee-line-6 {
        top: 66% !important;
    }
}

/* Стили для блока с формой заявки */
.contact-block {
    background-color: black;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
    color: white;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #00ff00;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

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

.submit-btn {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.contact-detail svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    stroke: #00ff00;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info h2 {
        font-size: 36px;
    }
    
    .contact-form {
        width: 100%;
        padding: 30px;
    }
} 


/* Fixed bottom-left nav */
.hero-side-nav {
    position: fixed;
    left: clamp(24px, 4vw, 48px);
    bottom: clamp(24px, 4vh, 48px);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(6px, 1vh, 10px);
    mix-blend-mode: difference;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 0.5s cubic-bezier(.4, 0, .2, 1),
        transform 0.5s cubic-bezier(.4, 0, .2, 1);
}

.hero-side-nav--visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hero-side-nav__link {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transform-origin: left bottom;
    white-space: nowrap;
    transition:
        font-size 0.55s cubic-bezier(.4, 0, .2, 1),
        font-family 0.35s ease,
        font-weight 0.35s ease,
        opacity 0.2s ease,
        letter-spacing 0.45s cubic-bezier(.4, 0, .2, 1),
        line-height 0.45s cubic-bezier(.4, 0, .2, 1);
}

.hero-side-nav__link:hover {
    opacity: 0.55;
}

.hero-side-nav__link.is-active {
    font-size: clamp(56px, 10vw, 120px);
    font-family: 'Compressa VF', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.85;
    font-variation-settings: 'wght' 900, 'wdth' 80, 'ital' 0;
}

.hero-side-nav__link.is-active.is-active--contacts {
    font-size: clamp(72px, 14vw, 160px);
}

@media (max-width: 768px) {
    .hero-side-nav {
        left: 20px;
        bottom: 20px;
        gap: 6px;
    }

    .hero-side-nav__link {
        letter-spacing: 0.12em;
    }
}

.menu-link {
    color: #111;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.menu-link:hover {
    color: #E9FF71;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 10001;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #111;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    opacity: 1;
    pointer-events: none;
}
.mobile-menu.active {
    display: flex;
    transform: translateX(0);
    pointer-events: auto;
}
.mobile-menu #logo {
    margin: 0 0 24px 0;
}
.mobile-menu .menu-link {
    font-size: 28px;
    color: #111;
    margin: 16px 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.active .menu-link {
    opacity: 1;
    transform: none;
}
.mobile-menu.active .menu-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.active .menu-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.active .menu-link:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.active .menu-link:nth-child(5) { transition-delay: 0.40s; }

@media (max-width: 900px) {
    .menu-wrapper {
        display: flex !important;
        justify-content: center;
        align-items: flex-start;
        width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10000;
        background: transparent;
        margin-top: 0;
        margin-bottom: 0;
        pointer-events: auto;
        opacity: 1;
        transform: none;
        height: auto;
        min-height: 0;
    }
    .menu-nav {
        width: 100vw;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: row;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    #logo {
        margin: 0 auto;
        display: block;
        width: 64px;
        height: 64px;
    }
} 

.catalog-block {
    background: #fff;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
}
.catalog-title {
    color: #111;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 32px 0;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .catalog-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    .catalog-block {
        padding-top: 32px;
    }
} 

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}
.catalog-tab {
    background: #f3f3f3;
    border: none;
    outline: none;
    color: #111;
    font-size: 20px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.catalog-tab.active {
    background: #111;
    color: #fff;
}
.catalog-content {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 200px;
    padding: 0;
}
.catalog-pane {
    width: 100%;
    min-height: 200px;
    /* Можно добавить стили для содержимого */
}
@media (max-width: 600px) {
    .catalog-tabs {
        gap: 10px;
        margin-bottom: 20px;
    }
    .catalog-tab {
        font-size: 16px;
        padding: 10px 18px;
    }
    .catalog-content {
        min-height: 120px;
    }
    .catalog-pane {
        min-height: 120px;
    }
} 



 

.albums-row {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50% + 20px);
    margin-right: calc(-50vw + 50%);
    margin-top: 32px;
}
.album-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0 0 0 20px;
    gap: 24px;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow: hidden;
    height: 120px;
    max-width: 1100px;
    margin: 0 auto;
    background: #f8f8f8;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.album-cover-square {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #e0e0e0;
    flex-shrink: 0;
}
.album-meta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 4px;
}
.album-name {
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.album-date {
    color: #888;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .album-mini {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        max-width: 100vw;
        width: 100vw;
        border-radius: 0;
        gap: 12px;
        padding: 0 0 0 0;
    }
    .album-cover-square {
        width: 100vw;
        height: 180px;
        border-radius: 0;
        margin: 0 auto;
    }
    .album-meta-block {
        align-items: center;
        margin: 0 auto;
        gap: 2px;
    }
    .album-name {
        font-size: 17px;
    }
    .album-date {
        font-size: 11px;
    }
} 

/* Footer / Contacts block */
.footer {
    background: #050505;
    color: #fff;
    min-height: 100vh;
    height: auto;
    padding: 60px 40px 40px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contacts-sidebar {
    position: absolute;
    top: clamp(32px, 5vh, 60px);
    right: clamp(24px, 4vw, 40px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(20px, 3vh, 32px);
    max-width: min(100%, 420px);
}

.contacts-clock {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: min(100%, 420px);
    pointer-events: none;
    user-select: none;
}

.contacts-clock__status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(16px, 3vh, 28px);
}

.contacts-clock__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4ff45;
    box-shadow: 0 0 12px rgba(212, 255, 69, 0.55);
}

.contacts-clock__label {
    color: #fff;
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.contacts-clock__time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 18px);
    line-height: 0.85;
}

.contacts-clock__hours,
.contacts-clock__minutes {
    font-size: clamp(72px, 12vw, 148px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.contacts-clock__colon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(18px, 3vw, 34px);
    padding-bottom: 0.08em;
}

.contacts-clock__colon span {
    width: clamp(10px, 1.2vw, 16px);
    height: clamp(10px, 1.2vw, 16px);
    border-radius: 50%;
    background: #fff;
}

.contacts-clock__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: clamp(10px, 2vh, 18px);
    padding: 0 clamp(4px, 1vw, 12px);
    gap: 24px;
}

.contacts-clock__date,
.contacts-clock__day {
    color: #8f8f8f;
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-contacts {
    display: grid;
    grid-template-columns: 32px auto;
    column-gap: 15px;
    row-gap: clamp(16px, 2.5vh, 24px);
    align-items: center;
    justify-items: start;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: contents;
}

.contact-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    flex-shrink: 0;
}

.instagram-icon img {
    margin-left: -3px;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.3));
}

.contact-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Делает иконки белыми */
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.3));
}

.asterisk {
    position: absolute;
    top: -8px;
    left: -8px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    pointer-events: none;
}

.contact-icon svg path,
.contact-icon svg rect,
.contact-icon svg circle {
    stroke-linecap: round;
    stroke-linejoin: round;
}



.contact-handle {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}

.contact-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

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

.footer-graphics {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rndm-crew-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transform: rotate(-2deg);
    font-family: 'Montserrat', sans-serif;
}

.rndm-crew-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #fff;
    opacity: 0.3;
    transform: rotate(2deg);
    border-radius: 2px;
}

.age-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    position: relative;
    transform: rotate(1deg);
}

.age-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #fff;
    border-radius: 50%;
    opacity: 0.3;
    transform: rotate(-1deg);
    border-style: dashed;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 40px;
}

.footer-disclaimer {
    font-size: 10px;
    color: #999;
    max-width: 100%;
    line-height: 1.4;
    text-align: right;
}

.contacts-form {
    width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: clamp(8px, 1.5vh, 16px);
}

.contacts-form__field {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.contacts-form__label {
    color: #8f8f8f;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contacts-form__input {
    width: 100%;
    padding: 10px 0 8px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-align: right;
    outline: none;
    transition: border-color 0.2s ease;
    resize: none;
}

.contacts-form__input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.contacts-form__input:focus {
    border-bottom-color: rgba(212, 255, 69, 0.65);
}

.contacts-form__submit {
    align-self: flex-end;
    margin-top: 4px;
    padding: 10px 18px;
    border: 1px solid rgba(212, 255, 69, 0.45);
    border-radius: 999px;
    background: transparent;
    color: #d4ff45;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contacts-form__submit:hover:not(:disabled) {
    background: #d4ff45;
    color: #000;
}

.contacts-form__submit:disabled {
    opacity: 0.45;
    cursor: wait;
}

.contacts-form__status {
    min-height: 16px;
    margin: 0;
    color: #8f8f8f;
    font-size: 11px;
    text-align: right;
}

.contacts-form__status.is-success {
    color: #d4ff45;
}

.contacts-form__status.is-error {
    color: #ff8a8a;
}

.footer-credit {
    position: absolute;
    right: clamp(24px, 4vw, 40px);
    bottom: clamp(24px, 4vh, 40px);
    font-size: 12px;
    color: #999;
}

.footer-credit .mshn {
    text-decoration: underline;
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 30px;
        min-height: 100vh;
        height: auto;
    }

    .contacts-sidebar {
        top: 28px;
        right: 20px;
        left: auto;
        max-width: calc(100% - 40px);
    }

    .contacts-clock {
        min-width: 0;
    }

    .contacts-clock__hours,
    .contacts-clock__minutes {
        font-size: clamp(56px, 18vw, 88px);
    }

    .contacts-clock__colon span {
        width: 8px;
        height: 8px;
    }

    .contacts-clock__colon {
        gap: 16px;
    }
    
    .footer-contacts {
        row-gap: 20px;
    }

    .footer-disclaimer {
        text-align: right;
    }

    .footer-credit {
        right: 20px;
        bottom: 30px;
    }
    
    .contact-label {
        margin-bottom: 0;
        text-align: left;
        margin-left: 18px;
    }
    
    .contact-handle {
        text-align: left;
    }
    
    .footer-graphics {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 40px 0;
    }
}

@media (max-width: 480px) {
    .footer-contacts {
        row-gap: 24px;
    }

    .contact-label {
        text-align: left;
    }

    .contact-handle {
        text-align: left;
    }
}

/* Catalog Tracks Styles */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.track-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.track-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.track-item:hover .track-cover img {
    transform: scale(1.05);
}

.track-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.track-item:hover .track-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

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

.track-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.track-artist {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

/* Responsive Catalog */
@media (max-width: 768px) {
    .tracks-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        padding: 15px 0;
    }
    
    .track-item {
        padding: 15px;
    }
    
    .track-title {
        font-size: 16px;
    }
    
    .track-artist {
        font-size: 12px;
    }
}

/* White spacer between hero and works */
.about-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
}

.about-section__brand {
    position: absolute;
    right: 0;
    bottom: clamp(24px, 4vh, 48px);
    left: 0;
    z-index: 2;
    width: 100%;
    padding-right: clamp(24px, 4vw, 56px);
    box-sizing: border-box;
    pointer-events: none;
}

.about-section__brand .text-pressure-title {
    pointer-events: auto;
}

.text-pressure-title--about {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    color: #111;
    width: 100%;
    font-size: clamp(48px, 10vw, 140px);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.white-spacer {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #fff;
}

.games-spacer {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #fff;
}

/* Space Gallery */
.space-gallery--hidden {
    display: none !important;
}

.space-gallery {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #050505;
    overflow: hidden;
    z-index: 2;
    isolation: isolate;
    clip-path: inset(0);
}

.space-gallery-field {
    position: absolute;
    inset: 0;
    perspective: 1500px;
    perspective-origin: 50% 46%;
    transform-style: preserve-3d;
    overflow: hidden;
    contain: layout paint;
}

.space-star {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    will-change: transform, opacity;
    transform-origin: center center;
    backface-visibility: hidden;
    contain: layout style paint;
    transition: box-shadow 0.35s ease;
    aspect-ratio: 16 / 9;
}

.space-star--approaching {
    cursor: pointer;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.space-star--leader {
    box-shadow: 0 0 56px rgba(255, 255, 255, 0.14);
}

.space-star img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transform: translateZ(0);
    image-rendering: auto;
}

.space-star.is-nearby {
    pointer-events: auto;
    cursor: pointer;
    z-index: 18 !important;
}

.space-star.is-hidden {
    pointer-events: none;
}

.space-star.is-active {
    z-index: 22 !important;
    pointer-events: none;
    transition: none;
}

.space-gallery-details {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    text-align: right;
    opacity: 1;
    visibility: visible;
    z-index: 30;
    pointer-events: auto;
    width: auto;
}

.space-gallery.is-expanded .space-gallery-details {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.space-gallery-link {
    display: block;
    width: fit-content;
    margin: 0 0 0 auto;
    padding: 0;
    color: #fff;
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: lowercase;
    transition: opacity 0.2s ease;
}

.space-gallery-link:hover {
    opacity: 0.7;
}
