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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Навигация */
nav {
    background: #1a365d;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #63b3ed;
}

/* Главный баннер */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.btn:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Секции */
section {
    padding: 100px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #f7fafc;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 5px solid #e53e3e;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.service-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Обо мне */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-info h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.about-grid h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.about-grid ul {
    list-style: none;
}

.about-grid li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-grid li:before {
    content: "•";
    color: #e53e3e;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.certificates {
    margin-bottom: 2rem;
}

.certificates h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.certificate-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-tag {
    background: #edf2f7;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #4a5568;
}

.about-stats {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #63b3ed;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-items {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.contact-item:hover {
    background: #edf2f7;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    min-width: 50px;
}

.contact-title {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.contact-value {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #718096;
}

.schedule {
    margin-bottom: 2rem;
}

.schedule h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.schedule-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #e53e3e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.schedule-time {
    font-weight: bold;
    color: #2d3748;
}

.schedule-time.emergency {
    color: #e53e3e;
}

.emergency-banner {
    background: #fff5f5;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #fed7d7;
}

.emergency-banner h4 {
    color: #c53030;
    margin-bottom: 1rem;
}

.emergency-banner p {
    margin-bottom: 1.5rem;
    color: #744210;
}

.emergency-btn-container {
    text-align: center;
}

.emergency-btn {
    background: #e53e3e;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2d3748;
}

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

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

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.messengers {
    margin-top: 2rem;
    text-align: center;
}

.messengers p {
    margin-bottom: 1rem;
    color: #718096;
}

.messenger-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.telegram-btn {
    background: #0088cc;
}

.telegram-btn:hover {
    background: #006699;
}

/* Карта */
.map-section {
    margin-top: 4rem;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3748;
}

.map-container {
    background: #f7fafc;
    padding: 2.5rem;
    border-radius: 12px;
}

.map-placeholder {
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.transport-item h4 {
    color: #2d3748;
    margin-bottom: 0.8rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-info h2 {
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .messenger-buttons {
        flex-direction: column;
    }
    
    .transport-info {
        grid-template-columns: 1fr;
    }
    
    .certificate-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}