/* Общие стили */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Шапка */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    color: var(--secondary-color);
    font-size: 30px;
    margin-right: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--secondary-color);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.phone i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: #d35400;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Герой-секция */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

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

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.feature i {
    color: var(--secondary-color);
    font-size: 24px;
}

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

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.advantage-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 40px;
    color: var(--white);
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Услуги на главной */
.popular-services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.service-features li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 20px 0 15px;
}

.center-button {
    text-align: center;
    margin-top: 20px;
}

/* Форма обратной связи */
.callback-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
}

.callback-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.callback-benefits {
    list-style: none;
    margin-top: 30px;
}

.callback-benefits li {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.callback-benefits i {
    color: var(--secondary-color);
}

.callback-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

.callback-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

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

/* Футер */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Страница "О нас" */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.breadcrumbs {
    opacity: 0.8;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
}

.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.team-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-photo i {
    font-size: 120px;
    color: #ccc;
    margin-bottom: 20px;
}

.team-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-exp {
    color: #666;
    font-size: 14px;
}

/* Страница услуг */
.services-detailed {
    padding: 80px 0;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.service-category h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

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

.service-item {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.service-item-price {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 18px;
}

.price-note {
    margin: 40px 0;
    padding: 20px;
    background-color: #e8f4f8;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
}

.price-note i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Страница контактов */
.contacts-section {
    padding: 80px 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contacts-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-details p {
    color: #666;
    margin-bottom: 3px;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contacts-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contacts-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.map-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-container,
    .callback-container,
    .about-content,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contacts {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .callback-container {
        gap: 30px;
    }
    
    .callback-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
