:root {
    --primary: #1a3e72;
    --secondary: #ff6b00;
    --accent: #ffcc00;
    --light: #ffffff;
    --dark: #222222;
    --gray: #f5f5f5;
    --text: #333333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

/* Header Styles */
.header {
    background-color: var(--light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

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

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

.phone {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-left: 30px;
    transition: var(--transition);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2b52 100%);
    color: var(--light);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('/images/images\ \(6\).png') no-repeat center/cover;
    opacity: 0.2;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-form {
    width: 400px;
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: fadeIn 1s ease 0.3s both;
}

.form-title {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 62, 114, 0.2);
}

.submit-btn {
    width: 100%;
    background-color: var(--secondary);
    color: var(--light);
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

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

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
    animation: fadeIn 1s ease;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Slider Section */
.slider-section {
    padding: 100px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light);
}

.slide-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent);
}

.slide-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats {
        justify-content: center;
    }
    
    .stat-item {
        margin: 0 15px 30px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .phone {
        margin: 20px 0 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .slider {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-form {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 30px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-text {
        font-size: 14px;
    }
}

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

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

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

/* Utility Classes */
.pulse-animation {
    animation: pulse 2s infinite;
}

#countdown {
background-color: var(--primary);
color: white;
padding: 30px 0;
text-align: center;
margin-top: 50px;
}

#countdown h4 {
font-size: 24px;
font-weight: 600;
margin-bottom: 20px;
color: var(--accent);
}

#timer {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}

.timer-item {
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
}

.timer-number {
font-size: 42px;
font-weight: 700;
color: var(--light);
line-height: 1;
margin-bottom: 5px;
}

.timer-label {
font-size: 14px;
text-transform: uppercase;
opacity: 0.8;
}

@media (max-width: 768px) {
.timer-number {
font-size: 32px;
}

.timer-item {
min-width: 70px;
}
}

@media (max-width: 480px) {
#timer {
gap: 10px;
}

.timer-number {
font-size: 28px;
}

.timer-item {
min-width: 60px;
}

.timer-label {
font-size: 12px;
}
}

/* Триггеры доверия */
.trust-triggers {
    padding: 40px;
}

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

.trust-item {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.trust-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.trust-item p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.certificates {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.certificates img {
    width: 100%;
    max-width: 150px;
    border-radius: 4px;
    border: 1px solid var(--gray);
    transition: transform 0.3s ease;
}

.certificates img:hover {
    transform: scale(1.05);
}

.cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.case-item {
    background: var(--light);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.case-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 500;
    border-radius: 4px;
}

.clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 4px;
    background: var(--light);
    padding: 10px;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .cases {
        grid-template-columns: 1fr;
    }
}

/* Схема работы */
.workflow {
    text-align: center;
    padding: 50px 30px;
}

.workflow .subtitle {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--primary);
    z-index: 1;
}

.step {
    position: relative;
    width: calc(20% - 20px);
    z-index: 2;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
    position: relative;
    border: 4px solid var(--light);
}

.step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.step p {
    font-size: 14px;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .step {
        width: calc(33.33% - 20px);
    }
    
    .steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .step {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .step {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Блок отзывов */
.reviews {
    padding: 60px 0;
    background-color: var(--light);
}

.reviews .subtitle {
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.reviews-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review {
    min-width: 320px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    scroll-snap-align: start;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
}

.review-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.review-author p {
    font-size: 14px;
    color: var(--text);
    opacity: 0.7;
}

.review-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 24px;
    color: var(--primary);
    opacity: 0.3;
}

.review-rating {
    color: var(--accent);
    font-size: 14px;
}

.reviews-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.reviews-nav {
    display: flex;
    gap: 10px;
}

.reviews-prev,
.reviews-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-prev:hover,
.reviews-next:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .review {
        min-width: 280px;
    }
    
    .reviews-actions {
        flex-direction: column;
        gap: 20px;
    }
}

.submit-btn {
    background-color: #25D366; /* Цвет WhatsApp */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: #128C7E; /* Темный цвет WhatsApp */
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
}

.modal-close:hover {
    color: #333;
}

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

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Добавьте в CSS */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.footer {
    background-color: gray;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.image-lefty img{
    width: 150px;
    padding: 20px;
    display: block;
}