@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --primary: #1a3c5e;
    --accent: #ff6b35;
    --accent-hover: #e55a2b;
    --secondary: #2a7d4f;
    --text: #333;
    --light: #f8f9fa;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

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

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo { font-size: 28px; font-weight: 900; color: var(--primary); }
.logo span { color: var(--accent); }

.phone-header {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #25d366;
    border-radius: 50%;
    font-size: 15px;
    text-decoration: none !important;
    -webkit-text-fill-color: initial;
    color: white !important;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.hero-phones {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.phone-large-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.phone-large-row .phone-large {
    display: inline;
    margin: 0;
    font-size: 38px;
}

.wa-icon-lg {
    width: 44px;
    height: 44px;
    font-size: 22px;
}

.hero {
    background: linear-gradient(135deg, rgba(26, 60, 94, 0.92), rgba(42, 125, 79, 0.88)), url('assets/img_1.png') center/cover no-repeat;
    color: white;
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), transparent);
    pointer-events: none;
}

.summer-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

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

.hero h1 { 
    font-size: 52px; 
    line-height: 1.1; 
    margin-bottom: 25px; 
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p { 
    font-size: 26px; 
    margin-bottom: 40px; 
    max-width: 800px; 
    margin: 0 auto 40px;
    font-weight: 500;
}

.price-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price-tag span {
    color: var(--accent);
    font-size: 24px;
    font-weight: 900;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.whatsapp-button {
    display: inline-block;
    background: white;
    border: 2px solid #25d366;
    color: #1f9c4f;
    padding: 18px 38px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background: #25d366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 20px 50px;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.adv-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.adv-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.adv-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.adv-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

.service-card .price {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
    margin-top: 20px;
}

/* Callback Section */
.callback {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary), #1f5f3d);
}

.callback-box {
    background: white;
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.callback-text h2 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 15px;
}

.callback-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.callback-form input {
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.callback-form button {
    width: 100%;
}

.callback-status {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    min-height: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.author-location {
    font-size: 14px;
    color: #999;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--light);
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 60, 94, 0.9));
    padding: 40px 30px 30px;
    color: white;
}

.gallery-caption h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.gallery-dot:hover {
    background: var(--accent);
}

/* Fleet Section */
.fleet {
    padding: 100px 0;
    background: white;
}

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

.fleet-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s;
    background: white;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.fleet-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.fleet-card .content {
    padding: 25px;
    text-align: center;
}

.fleet-card h4 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.fleet-card p {
    color: #666;
    font-size: 16px;
}

.fleet-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.fleet-specs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
}

.fleet-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--light);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 10px 14px;
    flex: 1;
    min-width: 75px;
    transition: all 0.3s;
}

.fleet-card:hover .fleet-spec {
    border-color: var(--accent);
    background: #fff8f5;
}

.fleet-spec .spec-icon {
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 1;
}

.fleet-spec .spec-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
    font-weight: 500;
}

.fleet-spec .spec-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item h3 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--accent);
}

.trust-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #2a5a8e);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/img.png') center/cover;
    opacity: 0.1;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 900;
}

.cta-section p {
    font-size: 28px;
    margin: 25px 0 40px;
    font-weight: 500;
}

.cta-section .phone-large {
    font-size: 42px;
    font-weight: 900;
    color: var(--accent);
    display: block;
    margin: 20px 0;
    text-decoration: none;
}

/* Переопределяем синий системный цвет iOS для tel-ссылок */
a[href^="tel"] {
    -webkit-text-fill-color: var(--accent);
    color: var(--accent) !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 53, 0.5);
    text-underline-offset: 3px;
}

/* Кнопки-ссылки не должны быть подчёркнуты */
a[href^="tel"].cta-button {
    -webkit-text-fill-color: white;
    color: white !important;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .section-title { font-size: 28px; }
    .cta-button { font-size: 18px; padding: 14px 30px; }
    .trust-item h3 { font-size: 32px; }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo { font-size: 24px; }
    .phone-header { font-size: 18px; }
    
    .summer-badge {
        font-size: 14px;
        padding: 8px 20px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-slide img {
        height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .gallery-caption h4 {
        font-size: 18px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 20px;
    }
    
    .cta-section .phone-large {
        font-size: 32px;
    }

    .price-tag {
        font-size: 16px;
        padding: 8px 20px;
    }

    .price-tag span {
        font-size: 19px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .whatsapp-button {
        font-size: 16px;
        padding: 14px 30px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .callback-box {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        border-radius: 16px;
    }

    .callback-text h2 {
        font-size: 24px;
        text-align: center;
    }

    .callback-text p {
        font-size: 16px;
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 16px; }
    .section-title { font-size: 24px; }
    .cta-button { font-size: 16px; padding: 12px 25px; }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide img {
        height: 250px;
    }
    
    .gallery-caption {
        padding: 20px 15px 15px;
    }
    
    .gallery-caption h4 {
        font-size: 16px;
    }
}
