/* Общие стили */
:root {
    --primary-color: #0c121c;
    --secondary-color: #405264;
    --accent-color: #c3a44c;
    --text-light: #ffffff;
    --text-dark: #222222;
    --bg-light: #f5f5f5;
    --bg-dark: #0c121c;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-service {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    width: 100%;
    margin-top: 15px;
}

.btn-service:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Шапка */
.hero {
    background: linear-gradient(rgba(12, 18, 28, 0.7), rgba(12, 18, 28, 0.8)), url('../img/range-rover-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
    position: relative;
    will-change: background-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar-fixed {
    position: fixed;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.logo img, .logo_img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    margin-left: auto;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

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

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    margin-bottom: 5px;
    transition: var(--transition);
}

.hero-content {
    text-align: center;
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .hero-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
    margin: 0 auto 0px;
    animation: slideInLogo 1.2s ease-out;
    transform: translateX(20px);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: slideIn 1.2s ease-out;
    font-family: 'Rockwell', 'Courier New', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
    opacity: 0;
}

/* Преимущества */
.advantages {
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    animation: slideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: rotateIn 1s ease-out;
}

.advantage-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }

/* Что проверяем */
.inspection {
    background: linear-gradient(rgba(12, 18, 28, 0.9), rgba(12, 18, 28, 0.9)), url('../img/inspection-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.inspection h2:after {
    background-color: var(--accent-color);
}

.inspection-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: slideIn 1s ease-out;
}

.car-model {
    flex: 1;
    text-align: center;
}

.car-model img {
    max-width: 80%;
    animation: float 3s ease-in-out infinite, fadeInRight 1s ease-out;
    transition: transform 0.5s ease;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.inspection-points {
    flex: 1;
}

.inspection-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    animation: fadeInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.point-icon {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 15px;
    background: rgba(195, 164, 76, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.point-text h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.inspection-point:nth-child(1) { animation-delay: 0.1s; }
.inspection-point:nth-child(2) { animation-delay: 0.2s; }
.inspection-point:nth-child(3) { animation-delay: 0.3s; }
.inspection-point:nth-child(4) { animation-delay: 0.4s; }

/* Процесс работы */
.workflow {
    background-color: var(--bg-light);
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.workflow-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 60px;
    right: -40px;
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

.step-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.workflow-step h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Услуги и цены */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: rotateIn 1s ease-out;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    margin-bottom: auto;
    flex-grow: 1;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
}

.service-card .btn {
    width: 100%;
    margin-top: 15px;
}

.service-card.premium {
    border: 2px solid var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: glow 3s infinite;
}

.service-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite linear;
}

/* О нас */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-text h2:after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-stats {
    display: flex;
    margin-top: 40px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
    animation: pulse 2s infinite;
}

/* Модели */
.models {
    padding-bottom: 120px;
}

.models-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.model-card {
    min-width: 270px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    animation: slideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.model-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.model-card h3 {
    padding: 20px 20px 10px 20px;
    font-size: 18px;
}

.model-card p {
    padding: 0 20px 20px 20px;
    font-size: 14px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--accent-color);
}

/* Отзывы */
.reviews {
    background: linear-gradient(rgba(12, 18, 28, 0.9), rgba(12, 18, 28, 0.9)), url('../img/reviews-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    text-align: center;
    will-change: background-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.review-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    animation: rotateIn 1s ease-out;
}

/* Разные цвета для аватарок */
.review-avatar[data-letter="А"], 
.review-avatar[data-letter="Е"], 
.review-avatar[data-letter="Л"] {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.review-avatar[data-letter="М"], 
.review-avatar[data-letter="Р"], 
.review-avatar[data-letter="Х"] {
    background: linear-gradient(135deg, #4ECDC4, #45B7AF);
}

.review-avatar[data-letter="В"], 
.review-avatar[data-letter="К"], 
.review-avatar[data-letter="П"] {
    background: linear-gradient(135deg, #FFD93D, #FFE566);
    color: var(--text-dark);
}

.review-avatar[data-letter="Д"], 
.review-avatar[data-letter="И"], 
.review-avatar[data-letter="С"] {
    background: linear-gradient(135deg, #6C5CE7, #8F7FF8);
}

.review-avatar[data-letter="Б"], 
.review-avatar[data-letter="Н"], 
.review-avatar[data-letter="Т"] {
    background: linear-gradient(135deg, #A8E6CF, #DCEDC1);
    color: var(--text-dark);
}

/* Удаляем старые стили для картинок в аватарках */
.review-avatar img {
    display: none;
}

.review-rating {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.review-author {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.author-name {
    font-weight: 600;
}

.author-date {
    opacity: 0.7;
}

.review-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.review-prev, .review-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.review-prev:hover, .review-next:hover {
    background-color: var(--accent-color);
}

.reviews-action {
    text-align: center;
    margin-top: 40px;
}

/* Консультация */
.consultation {
    background-color: var(--bg-light);
}

.consultation-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: slideIn 1s ease-out;
}

.consultation-content {
    flex: 1;
    padding: 50px;
}

.consultation-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.consultation-content h2:after {
    left: 0;
    transform: none;
}

.consultation-content p {
    margin-bottom: 30px;
}

.consultation-image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
}

.consultation-form {
    // ... existing code ...
}

.consultation-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.consultation-form input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.consultation-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-note {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Футер */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 70px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 20px;
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-contacts li,
.footer-menu li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contacts i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 18px;
}

.footer-menu li:before {
    content: '→';
    color: var(--accent-color);
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    animation: rotateIn 0.5s;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Плавающая кнопка */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
    animation: bounce 2s infinite;
}

.floating-button.show {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .workflow-step {
        flex: 0 0 calc(50% - 20px);
    }
    
    .workflow-step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 991px) {
    h2 {
        font-size: 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .inspection-wrapper,
    .about-content,
    .consultation-wrapper {
        flex-direction: column;
    }
    
    .models-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-card {
        min-width: 250px;
    }
    
    .reviews-slider {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 101;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
    }
    
    .phone-header {
        margin-right: 40px;
    }

    .hero-content .hero-logo {
        max-width: 400px;
        width: 85%;
        transform: translateX(15px);
        animation: slideInLogoTablet 1.2s ease-out;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .advantages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex: 0 0 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .models-slider,
    .reviews-slider {
        grid-template-columns: 1fr;
    }
    
    .hero,
    .reviews {
        background-attachment: scroll;
    }
    
    .video-wrapper {
        border-radius: 0;
    }
    
    .video-wrapper iframe {
        height: 400px;
    }
    
    .virtual-salon-features {
        grid-template-columns: 1fr;
    }
    
    .virtual-salon h2 {
        font-size: 28px;
    }
    
    .virtual-salon p {
        font-size: 16px;
    }
    
    .phone-header {
        margin-right: 50px;
    }
    
    .header-phone {
        font-size: 14px;
    }

    .hero-content .hero-logo {
        max-width: 300px;
        width: 80%;
        transform: translateX(10px);
        animation: slideInLogoMobile 1.2s ease-out;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .consultation-content {
        padding: 30px;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .header-phone span {
        display: none;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    from {
        background-position: -200% center;
    }
    to {
        background-position: 200% center;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.3);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(195, 164, 76, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(195, 164, 76, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(195, 164, 76, 0.2);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Применение анимаций к элементам */
.hero-content h1 {
    animation: slideIn 1.2s ease-out;
}

.hero-content p {
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
    opacity: 0;
}

.advantage-card {
    animation: slideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card {
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
}

.service-icon {
    animation: rotateIn 1s ease-out;
}

.service-card.premium {
    animation: glow 3s infinite;
}

.workflow-step:hover .step-number {
    animation: bounce 1s;
}

.stat-number {
    animation: pulse 2s infinite;
}

.model-card {
    animation: slideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.model-card img {
    transition: transform 0.5s ease;
}

.model-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.review-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.consultation-wrapper {
    animation: slideIn 1s ease-out;
}

.btn:hover {
    animation: pulse 0.5s;
}

.floating-button {
    animation: bounce 2s infinite;
}

.social-icon:hover {
    animation: rotateIn 0.5s;
}

/* Добавляем задержки для последовательного появления */
.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.model-card:nth-child(1) { animation-delay: 0.1s; }
.model-card:nth-child(2) { animation-delay: 0.2s; }
.model-card:nth-child(3) { animation-delay: 0.3s; }
.model-card:nth-child(4) { animation-delay: 0.4s; }

/* Добавляем плавное появление при скролле */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Секция с видео */
.video-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    display: block;
    border: none;
}

/* Виртуальный салон */
.virtual-salon {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.virtual-salon-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.virtual-salon h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

.virtual-salon p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.virtual-salon-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.virtual-salon-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.virtual-salon-features li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.virtual-salon-features i {
    color: var(--accent-color);
    font-size: 20px;
}

.virtual-salon-action .btn {
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 30px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.virtual-salon-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 164, 76, 0.3);
}

.virtual-salon-action .btn i {
    font-size: 24px;
}

/* Стили для карточки виртуального салона */
.virtual-salon-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.virtual-salon-card .service-icon {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.virtual-salon-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--accent-color);
}

.virtual-salon-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.virtual-salon-card .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

/* Стили для телефона в шапке */
.phone-header {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.header-phone {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.header-phone i {
    margin-right: 8px;
    color: var(--accent-color);
}

.header-phone:hover {
    color: var(--accent-color);
}

/* Адаптивность */
@media (max-width: 991px) {
    .phone-header {
        margin-right: 40px;
    }
}

@media (max-width: 767px) {
    .phone-header {
        margin-right: 50px;
    }
    
    .header-phone {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-phone span {
        display: none;
    }

    .hero-content .hero-logo {
        max-width: 250px;
        width: 75%;
        transform: translateX(5px);
        animation: slideInLogoSmall 1.2s ease-out;
    }
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-fixed {
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img, .logo_img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.phone-button {
    margin-right: auto;
}

.call-button {
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.call-button:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: scale(1.05);
    border: 1px solid var(--accent-color);
}

.phone-icon {
    margin-right: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-button i {
    font-size: 16px;
}

.call-button span {
    font-size: 16px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .consultation-wrapper {
        flex-direction: column;
    }
    
    .consultation-content {
        width: 100%;
        padding: 20px;
    }
    
    .consultation-image {
        width: 100%;
        margin-top: 20px;
    }
    
    .consultation-form input,
    .consultation-form .btn-primary {
        font-size: 14px;
        padding: 12px;
    }
}

/* Стили для логотипа */
.logo_img {
    width: 200px;
    height: 40px;
    background: url('../img/logo.png') no-repeat center/contain;
    display: block;
}

/* Стили для кнопки телефона */
.phone-button {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.call-button {
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .logo img, .logo_img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }

    .phone-button {
        margin-right: 10px;
    }

    .call-button {
        padding: 6px 10px;
        font-size: 14px;
    }

    .phone-icon {
        width: 25px;
        height: 25px;
    }

    .call-button span {
        font-size: 14px;
    }
}

@media (max-width: 475px) {
    .logo_img {
        height: 35px;
    }

    .phone-button {
        margin-right: 5px;
    }

    .call-button {
        padding: 4px 8px;
        font-size: 12px;
    }

    .phone-icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

    .call-button span {
        font-size: 12px;
    }
}

/* Стили для уведомления об успешной отправке */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.5s ease-out;
}

.success-message.show {
    display: block;
}

.success-message .success-icon {
    color: var(--accent-color);
    font-size: 50px;
    margin-bottom: 20px;
}

.success-message h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 24px;
}

.success-message p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.success-message .close-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.success-message .close-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Стили для reviews-old */
.reviews-old {
    padding: 120px 0 80px;
    background-color: var(--bg-light);
}

.reviews-old-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.reviews-old .review-card {
    background-color: #fff;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reviews-old .review-content {
    flex: 1;
}

.add-review-button {
    text-align: center;
    margin-top: 40px;
}

.add-review-button .btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 30px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.add-review-button .btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Стили для страницы добавления отзывов */
.add-review-page {
    padding: 120px 0 60px;
    background-color: #f8f9fa;
}

.add-review-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-button i {
    margin-right: 8px;
}

.back-button:hover {
    color: #007bff;
}

.add-review-page h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.review-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

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

.review-form .btn {
    background: #007bff;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.review-form .btn:hover {
    background: #0056b3;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .add-review-page {
        padding: 100px 0 40px;
    }

    .add-review-page .container {
        padding: 0 10px;
    }

    .review-form {
        padding: 25px 20px;
    }

    .add-review-page h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .add-review-page {
        padding: 80px 0 30px;
    }

    .add-review-page .container {
        padding: 0;
    }

    .review-form {
        padding: 20px 15px;
        margin: 0;
        border-radius: 0;
    }

    .add-review-page h2 {
        font-size: 22px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .back-button {
        font-size: 14px;
        margin-bottom: 20px;
        margin-left: 15px;
    }
}

@keyframes slideInLogo {
    from {
        opacity: 0;
        transform: translateY(100px) translateX(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(20px) scale(1);
    }
}

@keyframes slideInLogoTablet {
    from {
        opacity: 0;
        transform: translateY(100px) translateX(15px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(15px) scale(1);
    }
}

@keyframes slideInLogoMobile {
    from {
        opacity: 0;
        transform: translateY(100px) translateX(10px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(10px) scale(1);
    }
}

@keyframes slideInLogoSmall {
    from {
        opacity: 0;
        transform: translateY(100px) translateX(5px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(5px) scale(1);
    }
} 