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

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

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.logo span { color: #f59e0b; }

.header-phone {
    text-align: right;
}

.header-phone a {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.header-phone small {
    display: block;
    font-size: 12px;
    color: #666;
}
.fill {
    font-size: 70px;
    width: 50px;
}
.time {
	display: inline-block;
	padding-left:  60px;
	padding-top: 15px;
	text-align:  center;
	border: 1px #060 solid;
	margin: auto, 0, 0, -70px;
	background-color: rgba(128, 128, 128, 0,5);
	}
/* Hero */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🔧';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    right: -50px;
    top: -50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

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

.hero-features {
    list-style: none;
    margin-bottom: 30px;
}

.hero-features li {
    padding: 8px 0;
    font-size: 17px;
}

.hero-features li::before {
    content: '✓ ';
    color: #fbbf24;
    font-weight: bold;
    margin-right: 10px;
}
/* Hero Image */
.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        max-height: 300px;
    }
}
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 19px;
}

/* Hero form */
.hero-form {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: #333;
}

.hero-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #1e40af;
}

.hero-form p {
    margin-bottom: 20px;
    color: #666;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

.form-disclaimer {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e40af;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* Services */
.services {
    background: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e40af;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: #f59e0b;
    margin: 15px 0;
}

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

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

.advantage-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.advantage h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e40af;
}

/* Steps */
.steps {
    background: #f9fafb;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e40af;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 10px;
    font-size: 18px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.review-author {
    font-weight: 600;
    color: #1e40af;
}

/* FAQ */
.faq {
    background: #f9fafb;
}

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

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e40af;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 25px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: #fbbf24;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

/* AI Chat Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.ai-chat-button {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s;
    border: none;
    color: white;
    font-size: 28px;
}

.ai-chat-button:hover {
    transform: scale(1.1);
}

.ai-chat-button .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-window.active {
    display: flex;
}

.ai-chat-header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ai-chat-header h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.ai-chat-header small {
    font-size: 12px;
    opacity: 0.9;
}

.ai-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
}

.ai-message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    animation: fadeIn 0.3s;
}

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

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.ai-message.bot .ai-message-bubble {
    background: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ai-message.user .ai-message-bubble {
    background: #2563eb;
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ai-message.user .ai-message-avatar {
    background: #6b7280;
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.ai-chat-input {
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    background: white;
}

.ai-chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.ai-chat-input input:focus {
    border-color: #2563eb;
}

.ai-chat-send {
    width: 44px;
    height: 44px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.ai-chat-send:hover {
    background: #1e40af;
}

.ai-chat-send:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.ai-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.ai-quick-reply {
    padding: 6px 12px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-quick-reply:hover {
    background: #2563eb;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 30px; }
    .hero-subtitle { font-size: 17px; }
    .hero-content { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    section { padding: 50px 0; }
    .header-phone a { font-size: 16px; }
    .logo { font-size: 20px; }
    .ai-chat-window { width: calc(100vw - 30px); right: -15px; bottom: 75px; }
}

/* Увеличенный шрифт для подзаголовков разделов */
.section-subtitle {
    font-size: 20px !important;
    color: #555 !important;
    margin-bottom: 40px;
}

/* Hero Image */
.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .section-subtitle {
        font-size: 18px !important;
    }
}