/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 200px;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 200px;
}

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

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

.logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #205F92;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: #A6A4A5;
}

.contact-info {
    text-align: right;
}


.phone a {
    font-size: 20px;
    font-weight: 600;
    color: #205F92;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.phone a:hover {
    color: #F07C29;
}

.work-time {
    font-size: 14px;
    color: #F07C29;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #205F92 0%, #00305B 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.feature-icon {
    font-size: 24px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #205F92;
    color: white;
}

.btn-primary:hover {
    background: #F07C29;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #205F92;
    border: 2px solid #205F92;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #205F92;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 95, 146, 0.3);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #00305B;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Более профессиональные иконки */
.service-card:nth-child(1) .service-icon::before {
    content: "🔧";
}

.service-card:nth-child(2) .service-icon::before {
    content: "⚡";
}

.service-card:nth-child(3) .service-icon::before {
    content: "🛠️";
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #00305B;
}

.service-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    color: #A6A4A5;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Detailed Services */
.detailed-services {
    padding: 80px 0;
    background: #f8fafc;
}

.detailed-services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #00305B;
}

.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detailed {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detailed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-detailed h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00305B;
}

.service-description {
    font-size: 16px;
    color: #A6A4A5;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #205F92;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.price-item:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.service-name {
    font-weight: 500;
    color: #00305B;
}

.price {
    font-weight: 600;
    color: #F07C29;
    font-size: 16px;
    white-space: nowrap;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #00305B;
}

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

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item .feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00305B;
}

.feature-item p {
    color: #A6A4A5;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #00305B;
    font-size: 2.5rem;
    font-weight: 700;
}

.reviews-section .section-subtitle {
    text-align: center;
    color: #A6A4A5;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.review-card {
    min-width: 350px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #205F92, #F07C29);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.reviewer-info h4 {
    margin: 0;
    color: #00305B;
    font-size: 1.1rem;
    font-weight: 600;
}

.review-date {
    color: #A6A4A5;
    font-size: 0.9rem;
    margin-top: 5px;
}

.review-rating {
    margin-bottom: 20px;
}

.stars {
    color: #F07C29;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.service-type {
    color: #A6A4A5;
    font-size: 0.9rem;
    font-style: italic;
}

.review-text {
    color: #00305B;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #205F92;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(32, 95, 146, 0.3);
}

.carousel-btn:hover {
    background: #F07C29;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 124, 41, 0.4);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

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

.dot.active {
    background: #205F92;
    transform: scale(1.2);
}

.dot:hover {
    background: #F07C29;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #00305B 0%, #205F92 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 40px 0;
}

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

.footer-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F07C29;
}

.footer-info p {
    margin-bottom: 10px;
    color: #A6A4A5;
}

.footer-services h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F07C29;
}

.footer-services ul {
    list-style: none;
}

.footer-services li {
    margin-bottom: 8px;
    color: #A6A4A5;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #374151;
}

.modal h2 {
    margin-bottom: 30px;
    color: #00305B;
    font-size: 24px;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

/* iOS select styling */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23205F92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #205F92;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Reviews Section Mobile */
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-section .section-title {
        font-size: 2rem;
    }
    
    .reviews-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .review-card {
        min-width: 280px;
        padding: 20px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviewer-info h4 {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: -50px;
    }
    
    .next-btn {
        right: -50px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
    
    .reviews-container {
        gap: 20px;
    }
    
    .review-card {
        min-width: 250px;
    }
    .header {
        height: 120px;
    }
    
    body {
        padding-top: 220px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
        text-align: left;
        padding: 20px 0;
        align-items: flex-start;
    }
    
    .logo {
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    
    .logo-img {
        height: 140px;
        width: 140px;
        flex-shrink: 0;
    }
    
    .logo-text h1 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .logo-text p {
        font-size: 12px;
    }
    
    .contact-info {
        text-align: right;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
    }
    
    .phone a {
        font-size: 18px;
        font-weight: 600;
    }
    
    .work-time {
        font-size: 14px;
        font-weight: 600;
        margin-top: 5px;
    }
    
    .hero {
        padding: 40px 0;
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
        width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 30px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .feature {
        font-size: 12px;
        width: auto;
        justify-content: center;
        flex: 1;
        min-width: 80px;
    }
    
    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        width: auto;
        max-width: 200px;
        flex: 1;
        min-width: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .cta-buttons .btn {
        flex: 1;
        min-width: 140px;
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Reviews Section Small Mobile */
    .reviews-section {
        padding: 40px 0;
    }
    
    .reviews-section .section-title {
        font-size: 1.8rem;
    }
    
    .reviews-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .review-card {
        min-width: 220px;
        padding: 15px;
    }
    
    .reviewer-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .reviewer-info h4 {
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.8rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -45px;
    }
    
    .next-btn {
        right: -45px;
    }
    
    .reviews-container {
        gap: 15px;
    }
    .container {
        padding: 0 15px;
    }
    
    .header {
        height: 120px;
    }
    
    body {
        padding-top: 180px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 10px;
        text-align: left;
        padding: 15px 0;
        align-items: flex-start;
    }
    
    .logo {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .logo-img {
        height: 120px;
        width: 120px;
        flex-shrink: 0;
    }
    
    .logo-text h1 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    .contact-info {
        text-align: right;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
    }
    
    .phone a {
        font-size: 16px;
        font-weight: 600;
    }
    
    .work-time {
        font-size: 12px;
        font-weight: 600;
        margin-top: 5px;
    }
    
    .price {
        font-size: 12px;
    }
    
    .cta-buttons .btn {
        font-size: 13px;
        padding: 10px 12px;
        min-width: 120px;
    }
    
    .hero {
        padding: 30px 0;
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
        width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 25px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .feature {
        font-size: 11px;
        width: auto;
        justify-content: center;
        flex: 1;
        min-width: 70px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: auto;
        max-width: 150px;
        flex: 1;
        min-width: 100px;
    }
    
    .services h2,
    .why-choose h2,
    .cta h2 {
        font-size: 24px;
    }
    
    .detailed-services h2 {
        font-size: 24px;
    }
}