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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

/* Верхняя панель */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    white-space: nowrap;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.call-button {
    background: #ff6b6b;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    white-space: nowrap;
}

.call-icon {
    font-size: 1.1rem;
}

.call-text {
    font-size: 0.95rem;
}

.call-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Главный баннер */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Марки автомобилей */
.brands {
    padding: 60px 0;
    background: white;
}

.brands-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.brands-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Статистика */
.stats {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e3c72;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Услуги */
.services {
    padding: 60px 0;
    background: white;
}

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

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-icon-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin-bottom: 15px;
}

.battery-icon,
.starter-icon {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e3c72;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 50px;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin: 15px 0;
}

.service-call-btn {
    background: #ff6b6b;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
    width: 100%;
    text-align: center;
}

.service-call-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.5);
}

/* Преимущества */
.advantages {
    padding: 60px 0;
    background: #f8f9fa;
}

.advantages-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #1e3c72;
}

.advantage-item p {
    color: #666;
}

/* Футер */
.footer {
    background: #1e3c72;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-phone {
    display: inline-block;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-phone:hover {
    text-decoration: underline;
}

.footer-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-whatsapp {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

.footer-call {
    background: #ff6b6b;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.footer-call:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.5);
}

.footer p {
    opacity: 0.9;
}

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

    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo-image {
        height: 35px;
    }

    .logo h1 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .header-buttons {
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .whatsapp-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
    }

    .call-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
    }

    .call-text {
        display: none;
    }

    .call-icon {
        font-size: 1.2rem;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 5px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        border-radius: 25px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        line-height: 1.3;
        padding: 0 10px;
    }

    .brands {
        padding: 40px 0;
    }

    .brands-text {
        padding: 0 15px;
    }

    .brands-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .services {
        padding: 40px 0;
    }

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

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .service-icon-image {
        height: 50px;
        margin-bottom: 10px;
    }

    .battery-icon,
    .starter-icon {
        width: 50px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.9rem;
        min-height: auto;
        margin-bottom: 12px;
    }

    .service-price {
        font-size: 1.4rem;
        margin: 12px 0;
    }

    .service-call-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 8px;
    }

    .advantages {
        padding: 40px 0;
    }

    .advantage-item {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        margin-bottom: 15px;
    }

    .advantage-icon {
        font-size: 1.5rem;
    }

    .advantage-item h3 {
        font-size: 1.1rem;
    }

    .advantage-item p {
        font-size: 0.9rem;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .footer-phone {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 15px 0;
    }

    .footer-whatsapp,
    .footer-call {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .footer p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .header {
        padding: 8px 0;
    }

    .logo {
        gap: 6px;
    }

    .logo-image {
        height: 28px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .whatsapp-button,
    .call-button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .hero {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 5px;
        margin-bottom: 18px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .brands,
    .stats,
    .services,
    .advantages {
        padding: 30px 0;
    }

    .brands-text {
        padding: 0 10px;
    }

    .brands-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 15px 8px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .service-card {
        padding: 15px 12px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-icon-image {
        height: 40px;
    }

    .battery-icon,
    .starter-icon {
        width: 40px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-price {
        font-size: 1.2rem;
    }

    .service-call-btn {
        padding: 9px 18px;
        font-size: 0.85rem;
    }

    .advantage-item {
        padding: 12px;
    }

    .advantage-item h3 {
        font-size: 1rem;
    }

    .advantage-item p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 25px 0;
    }

    .footer-content h3 {
        font-size: 1.3rem;
    }

    .footer-phone {
        font-size: 1rem;
    }

    .footer-whatsapp,
    .footer-call {
        max-width: 250px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Адаптивность для планшетов */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .call-text {
        display: inline;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Адаптивность для ноутбуков и планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-text {
        padding: 0 20px;
    }

    .brands-description {
        font-size: 1.1rem;
    }
}

/* Плавная анимация при загрузке */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.service-card,
.advantage-item {
    animation: fadeInUp 0.6s ease-out;
}

