/* ===== Общие стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ===== ОБЩИЕ ЭФФЕКТЫ КАРТОЧЕК ===== */
.card-effect {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 15px rgba(74,72,72,0.3);
    background: #111;
    z-index: 1;
}

.card-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.25);
    z-index: 2;
}

.card-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(230, 57, 70, 0);
    border-radius: 8px;
    transition: border-color 0.3s;
    pointer-events: none;
}

.card-effect:hover::after {
    border-color: rgba(230, 57, 70, 0.4);
}

.card-image-effect {
    overflow: hidden;
}

.card-image-effect img,
.card-image-effect video {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-effect:hover .card-image-effect img,
.card-effect:hover .card-image-effect video {
    transform: scale(1.08);
}

.card-content-effect {
    transition: background 0.3s;
    padding: 20px;
}

/* Адаптивная версия */
@media (max-width: 768px) {
    .card-effect:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .card-effect:hover .card-image-effect img,
    .card-effect:hover .card-image-effect video {
        transform: scale(1.03);
    }
}

/* Варианты теней */
.card-effect-shadow-red:hover {
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.25);
}

/* ===== Навигационная панель ===== */

.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: auto;
    transition: transform 0.3s;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: -10px;
}

/* Стили для бургер-кнопки */
.burger-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

/* Стили для открытого состояния бургера */
.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 35px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 1.05rem;
    padding: 5px 0;
    transform: translateY(0);
}

.nav-link:hover {
    color: #ff0000;
    transform: translateY(-2px);
}

.nav-link:active {
    transform: translateY(1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s;
    transform: translateY(0);
}

.social-icon:hover {
    color: #ff0000;
    transform: translateY(-3px);
}

.social-icon:active {
    transform: translateY(1px);
}

.phone-number {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    transform: translateY(0);
}

.phone-number i {
    margin-right: 8px;
}

.phone-number:hover {
    color: #ff0000;
    transform: translateY(-2px);
}

.phone-number:active {
    transform: translateY(1px);
}

/* Стили для мобильной версии */
.mobile-contact-info {
    display: none;
}

/* Медиазапросы для адаптации */
@media (max-width: 992px) {
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        z-index: 1000;
        padding: 80px 20px 40px;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 10px 0;
    }
    
    .contact-info {
        display: none;
    }
    
    .mobile-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 40px;
    }
    
    .mobile-social-icons {
        display: flex;
        gap: 30px;
    }
    
    .mobile-contact-info .social-icon {
        font-size: 2rem;
    }
    
    .mobile-contact-info .phone-number {
        font-size: 1.3rem;
    }
}

/* Дополнительные медиазапросы для очень маленьких экранов */
@media (max-width: 480px) {
    .logo span {
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .mobile-contact-info .social-icon {
        font-size: 1.8rem;
    }
    
    .mobile-contact-info .phone-number {
        font-size: 1.1rem;
    }
}

/* ===== Hero блок ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero-title {
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 1s forwards;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 1.5s forwards;
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 1.8s forwards;
}

/* ===== Стили для всех кнопок ===== */
.btn {
    display: inline-block;
    position: relative;
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.65, 0, 0.35, 1);
    border: none;
    outline: none;
    text-decoration: none;
    box-shadow: 0 6px 0 #e63946,
               0 8px 10px rgba(0,0,0,0.3);
    transform: translateY(0);
    overflow: hidden;
}

.btn-red {
    background-color: #b22222;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.btn:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #b22222,
               0 6px 8px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 #b22222,
               0 2px 4px rgba(0,0,0,0.3);
    background-color: #2a9d8f;
}

.hero-button {
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.9s forwards;
}

/* Пульсация для призыва к действию */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* ===== Анимации ===== */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Блок портфолио ===== */
.portfolio {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.portfolio-item {
    composes: card-effect;
    composes: card-effect-shadow-red;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    cursor: pointer;
    background: #000;
    transition: transform 0.3s;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.portfolio-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(230, 57, 70, 0.8);
    border-radius: 50%;
    transition: all 0.3s;

}

.play-button::after {
    content: '';
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-width: 12px 0 12px 20px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.portfolio-info {
    composes: card-content-effect;
}

.meta-list {
    list-style: none;
    margin-bottom: 15px;
}

.meta-list li {
    margin-bottom: 8px;
    color: #aaa;
    font-size: 0.95rem;
}

.meta-list span {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.portfolio-item:hover .meta-list span {
    color: #e63946;
}

.portfolio-description {
    color: #eee;
    font-size: 1rem;
    line-height: 1.5;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-description {
    opacity: 0.9;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 0 auto 60px;
    position: relative;
    color: #fff;
    width: 100%;
    padding: 0 20px;
    max-width: 1800px;
}

/* Обновлённые медиазапросы для заголовка */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .portfolio-grid {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-wrapper {
        padding-bottom: 65%;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio-grid {
        padding: 0 20px;
        gap: 25px;
    }
}

.portfolio-footer {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* Для адаптивности добавим в медиазапросы */
@media (max-width: 768px) {
    .portfolio-footer {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .portfolio-footer {
        margin-top: 20px;
    }
}

/* ===== Модальное окно для видео ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    z-index: 2001;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e63946;
}

.modal-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.modal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Адаптивность модального окна */
@media (max-width: 992px) {
    .modal-container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .close-modal {
        top: -50px;
        font-size: 2rem;
    }
}

/* ===== Блок "Кто мы?" ===== */
.team {
    padding: 80px 0;
    background-color: #111;
}

.team-member {
    composes: card-effect;
    display: flex;
    margin-bottom: 60px;
    align-items: center;
    gap: 60px;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 0 20px;
}

.team-description p {
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
}

.member-photo {
    composes: card-image-effect;
    flex: 0 0 35%;
    max-width: 35%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.member-photo img {
    max-height: 500px;
}

.member-info {
    composes: card-content-effect;
    flex: 0 0 60%;
    max-width: 60%;
}

.member-name {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e63946;
}

.member-position {
    color: #e63946;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.member-achievements ul {
    list-style: none;
    margin-bottom: 20px;
}

.member-achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 0.95rem;
}

.member-achievements li::before {
    content: '•';
    color: #e63946;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.member-bio {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

/* Чередование сторон */
.reverse {
    flex-direction: row-reverse;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .team-member {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .team-member {
        flex-direction: column;
        gap: 25px;
    }
    
    .member-photo,
    .member-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .member-photo {
        max-width: 400px;
    }
    
    .reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 60px 0;
    }
    .team-description {
        margin-bottom: 40px;
    }
    
    .team-description p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .member-photo {
        max-width: 100%;
    }

    .team-description {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .team-description p {
        font-size: 1rem;
    }
}

/* ===== Блок процесса работы ===== */

.process {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.process-carousel {
    position: relative;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 30px;
    padding: 20px 0;
}

/* ===== Блок процесса работы ===== */
.process-card {
    composes: card-effect;
    composes: card-effect-shadow-red;
    flex: 0 0 calc(25% - 23px);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-image {
    composes: card-image-effect;
    position: relative;
    height: 50%; /* Фиксированная высота 50% от карточки */
    min-height: 50%; /* Гарантируем, что высота не изменится */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполнит всю область */
}

.card-content {
    composes: card-content-effect;
    height: 50%; /* Оставшиеся 50% для контента */
    padding: 10px 25px 25px; /* 10px отступ сверху, остальные как было */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    margin-top: 10px; /* Добавляем небольшой отступ сверху */
}

/* Остальные стили остаются без изменений */

.card-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e63946;
}

.card-content p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-prev, .nav-next {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 10px;
}

.nav-prev:hover, .nav-next:hover {
    color: #e63946;
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination-dot.active {
    background: #e63946;
}

/* Адаптивность */
@media (max-width: 1600px) {
    .process-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 1200px) {
    .process-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .process {
        padding: 60px 0;
    }
    
    .process-card {
        flex: 0 0 100%;
    }
    
    .card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-nav {
        gap: 20px;
    }
    
    .nav-prev, .nav-next {
        font-size: 1.2rem;
    }
}

/* ===== Блок "Наш стиль" ===== */
.our-style {
    padding: 80px 0;
    background-color: #111;
    position: relative;
}

.style-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.style-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.style-icon-container {
    position: relative;
    flex-shrink: 0;
}

.style-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e63946;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Добавляем обрезку содержимого */
    padding: 15px; /* Отступ для иконки */
}

.style-item:hover .style-icon-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    background: #e63946;
}

.style-icon {
    width: 100%; /* Занимает всю доступную ширину */
    height: 100%; /* Занимает всю доступную высоту */
    object-fit: contain; /* Сохраняет пропорции */
    transition: all 0.3s ease;
    filter: brightness(0.9) saturate(0.8); /* Начальное состояние иконки */
}

.style-item:hover .style-icon {
    filter: brightness(1.2) saturate(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.3));
    /* Вместо инвертирования - усиление яркости и насыщенности */
}

.style-content {
    padding-top: 15px;
}

.style-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.style-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e63946;
}

.style-description {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

/* Соединительные линии между иконками */
.style-item:not(:last-child) .style-icon-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #e63946;
    transform: translateX(-50%);
    z-index: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .style-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .style-content {
        padding-top: 0;
    }
    
    .style-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .style-item:not(:last-child) .style-icon-container::after {
        top: auto;
        bottom: -40px;
        left: 50%;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .our-style {
        padding: 60px 0;
    }
    
    .style-icon-circle {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
}

/* ===== Блок "Почему выбирают нас" ===== */
.why-us {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
}

.why-us-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.why-us-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #111;
    transition: all 0.3s ease;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e63946;
    font-size: 1.5rem;
    border: 2px solid #e63946;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: #e63946;
    color: #fff;
    transform: rotate(10deg);
}

.advantage-text h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
}

.advantage-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #e63946;
}

.advantage-text p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

.why-us-footer {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-quote {
    font-size: 1.3rem;
    color: #fff;
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.why-us-quote::before,
.why-us-quote::after {
    content: '"';
    color: #e63946;
    font-size: 2rem;
    font-weight: bold;
}

.btn-long {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 18px 20px;
    white-space: normal;
}

/* Адаптивность */
@media (max-width: 992px) {
    .why-us-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    .why-us-quote {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding: 60px 0;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .why-us-quote {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .btn-long {
        padding: 15px;
        font-size: 1rem;
    }
    
    .advantage-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .advantage-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== Блок "Наши отличия" ===== */
.differences {
    padding: 80px 0;
    background-color: #111;
}

.differences-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.pros-column, .cons-column {
    flex: 1;
    padding: 25px;
    border-radius: 8px;
}

.pros-column {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.cons-column {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.pros-header, .cons-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pros-header h3, .cons-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-badge.good {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 2px solid #28a745;
}

.icon-badge.bad {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 2px solid #dc3545;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-icon.good {
    color: #28a745;
}

.feature-icon.bad {
    color: #dc3545;
}

.features-list p {
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

.differences-footer {
    max-width: 800px;
    margin: 0 auto;
}

.differences-card {
    padding: 25px;
    background: #0a0a0a;
    text-align: center;
}

.differences-card p {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.differences-card strong {
    color: #e63946;
}

/* Адаптивность */
@media (max-width: 992px) {
    .differences-grid {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .differences {
        padding: 60px 0;
    }
    
    .pros-column, .cons-column {
        padding: 20px;
    }
    
    .features-list li {
        margin-bottom: 15px;
    }
    
    .differences-card {
        padding: 20px;
    }
    
    .differences-card p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .pros-header h3, .cons-header h3 {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    .features-list p {
        font-size: 0.95rem;
    }
}

/* ===== Блок "Часто задаваемые вопросы" ===== */
.faq {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto 50px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    position: relative;
}

.faq-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(230, 57, 70, 0.3);
    margin-right: 25px;
    flex-shrink: 0;
    width: 50px;
}

.faq-question h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e63946;
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #e63946;
    color: #fff;
}

.faq-answer {
    overflow: hidden;
    padding: 0 25px;
    position: relative;
}

.faq-answer-content {
    padding: 0 0 25px 75px;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    height: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.4s ease,
                height 0.001s ease 0.4s;
    will-change: transform, opacity;
}

.faq-item.active .faq-answer-content {
    transform: translateY(0);
    opacity: 1;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.1s, 
                opacity 0.4s ease 0.1s,
                height 0.001s ease;
}

.faq-answer-content::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 10px;
    width: 15px;
    height: 2px;
    background: #e63946;
    transition: all 0.3s;
}

.faq-item.active .faq-answer-content::before {
    opacity: 1;
    transform: translateX(0);
}

.faq-answer p {
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

.faq-footer {
    text-align: center;
}

/* Анимация при наведении */
.faq-item:not(.active):hover .faq-question h3 {
    color: #e63946;
}

.faq-item:not(.active):hover .faq-number {
    color: rgba(230, 57, 70, 0.6);
}

/* Адаптивность */
@media (max-width: 992px) {
    .faq-question {
        padding: 20px;
    }
    
    .faq-number {
        font-size: 1.5rem;
        margin-right: 20px;
        width: 40px;
    }
    
    .faq-answer-content {
        padding-left: 60px;
    }
    
    .faq-answer-content::before {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 15px;
    }
    
    .faq-number {
        font-size: 1.2rem;
        margin-right: 15px;
        width: 30px;
    }
    
    .faq-answer-content {
        padding: 0 0 15px 45px;
    }
    
    .faq-answer-content::before {
        left: 30px;
    }
}

/* ===== Форма обратной связи ===== */
.contact-form {
    padding: 80px 0;
    background-color: #111;
}

.form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: #0a0a0a;
}

.form-title {
    color: #fff;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
}

.form-subtitle {
    color: #aaa;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.form-container {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
}

.form-label {
    color: #f5f2f2;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

/* Стили для поля телефона */
.phone-input-wrapper {
    display: flex;
}

.phone-prefix {
    padding: 15px 10px;
    background: #0b0b0b;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.phone-input {
    border-radius: 0 4px 4px 0 !important;
    flex: 1;
}

/* Стили для согласия */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.consent-container {
    display: flex;
    align-items: center;
}

.consent-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #aaa;
    border-radius: 4px;
    background: transparent;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.consent-checkbox.active {
    border-color: #28a745;
    background: #28a745;
}

.consent-icon {
    color: #fff;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.consent-checkbox.active .consent-icon {
    opacity: 1;
}

.consent-text {
    color: #aaa;
    font-size: 0.9rem;
}

.consent-link {
    color: #aaa;
    text-decoration: underline;
    transition: color 0.3s;
}

.consent-link:hover {
    color: #e63946;
}

.form-submit {
    padding: 12px 40px;
    font-size: 1.1rem;
}

.form-submit:disabled {
    background: #666;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Модальное окно */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.form-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background: #0a0a0a;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    z-index: 1;
}

.modal-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal-content p {
    color: #aaa;
    margin-bottom: 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-card {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 60px 0;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
}

/* ===== Подвал сайта ===== */
.site-footer {
    background-color: #000;
    padding: 50px 0 20px;
    color: #aaa;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.studio-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-email {
    color: #aaa;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #e63946;
}

.footer-phone {
    color: #aaa;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone:hover {
    color: #e63946;
    transform: translateY(-2px);
}

.footer-phone i {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social .social-icon {
    color: #aaa;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-social .social-icon:hover {
    color: #e63946;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

.privacy-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #e63946;
    text-decoration: underline;
}

.copyright {
    text-align: center;
}

.copyright-name {
    color: #e63946;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contacts {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .studio-name {
        font-size: 1.3rem;
    }
    
    .footer-email {
        font-size: 1rem;
    }
}

/* ===== CTA блок в портфолио ===== */
.portfolio-cta {
    padding: 60px 0;
    background-color: #111;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.portfolio-cta .btn {
    font-size: 1.3rem;
    padding: 18px 50px;
    display: inline-block;
}

/* Анимация пульсации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .portfolio-cta {
        padding: 40px 0;
    }
    
    .portfolio-cta .btn {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

/* ===== CTA блок ===== */
.portfolio-cta {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-button {
    font-size: 1.4rem;
    padding: 20px 60px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s;
}

/* Анимация пульсации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Адаптивность */
@media (max-width: 992px) {
    .cta-button {
        font-size: 1.2rem;
        padding: 18px 50px;
    }
}

@media (max-width: 768px) {
    .portfolio-cta {
        padding: 60px 0;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 15px 40px;
        width: 90%;
    }
}

@media (max-width: 576px) {
    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
}