:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #222222;
    --light-gray: #E0E0E0;
    --medium-gray: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--black);
    margin: 20px auto 0;
}

/* Top Navigation */
.top-nav {
    background: var(--black);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('photoa.jpg') no-repeat center/cover;
    color: var(--white);
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 150px;
    height: 4px;
    background: var(--white);
}

.hero p {
    font-size: 22px;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--black);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--black);
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

/* Features */
.features {
    background: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--black);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 30px;
    color: var(--black);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Process */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.step-number {
    font-size: 60px;
    font-weight: 900;
    color: var(--black);
    line-height: 0.8;
    min-width: 60px;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.step-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--black);
}

/* Testimonials */
.testimonials {
    background: var(--black);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-title:after {
    background: var(--white);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: 700;
}

.client-name {
    font-weight: 600;
    text-align: left;
}

.client-car {
    opacity: 0.8;
    font-size: 14px;
    color: var(--light-gray);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
}

.indicator.active {
    background: var(--white);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s;
    border-radius: 4px;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

.gallery-item:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://i.pinimg.com/originals/83/42/a7/8342a71bc114cdf8c2b61d88a41a1ed3.jpg') center/cover;
}

.gallery-item:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1552519507-88aa2dfa9fdb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

.gallery-item:nth-child(4) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1507136566006-cfc505b114fc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

.gallery-item:nth-child(5) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

.gallery-item:nth-child(6) {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    border: 1px solid var(--black);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 4px;
}

.pricing-card:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-10px);
}

.pricing-card:hover .price {
    color: var(--white);
}

.pricing-card:hover .btn {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.price {
    font-size: 42px;
    font-weight: 700;
    margin: 30px 0;
    color: var(--black);
}

.price span {
    font-size: 16px;
    font-weight: 400;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--black);
    color: var(--white);
    padding: 8px 30px;
    font-weight: 700;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--black);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--white);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 20px;
    opacity: 0.9;
}

/* Contact Section */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--black);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 60px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        min-height: 500px;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .process-step {
        flex-direction: column;
        gap: 15px;
    }

    .step-number {
        font-size: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .pricing-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .pricing-card {
        padding: 30px 20px;
    }

    .price {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* Стили для секции контактов */
.contacts-section {
    background: #f9f9f9;
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #222;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #222;
    margin: 20px auto 40px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Карточка формы */
.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Сетка формы */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #222;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Кнопка отправки */
.submit-btn {
    background: #222;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Сообщение об успехе */
.success-message {
    display: none;
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #222;
}

.success-message p {
    color: #666;
    margin-bottom: 5px;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-card {
        padding: 25px;
    }
}