/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== ШАПКА ===== */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.logo__icon {
    font-size: 2rem;
}

.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.header__contact-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.header__phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 25px;
    transition: background 0.3s;
}

.header__phone:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.nav__link {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav__link:hover {
    color: #1a237e;
    background: #f5f7fa;
}

.nav__link--active {
    color: #1a237e;
    border-bottom-color: #1a237e;
}

/* ===== ГЕРОЙ-БАННЕР ===== */
.hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-title {
    font-size: 2rem;
    color: #1a237e;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #5c6bc0);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== УСЛУГИ ===== */
.services {
    padding: 60px 0;
    background: #fff;
}

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

.service-card {
    background: #f5f7fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.15);
    border-color: #1a237e;
}

.service-card__icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.4rem;
    color: #1a237e;
    margin-bottom: 15px;
}

.service-card__desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__link {
    color: #1a237e;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 25px;
    transition: all 0.3s;
}

.service-card:hover .service-card__link {
    background: #1a237e;
    color: #fff;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 60px 0;
    background: #f5f7fa;
}

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

.advantage {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.advantage__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.advantage__title {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 10px;
}

.advantage__desc {
    color: #666;
    font-size: 0.95rem;
}

/* ===== ПОД КЛЮЧ ===== */
.turnkey {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
}

.turnkey__content {
    max-width: 900px;
    margin: 0 auto;
}

.turnkey__title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

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

.turnkey__column {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
}

.turnkey__subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.turnkey__list {
    list-style: none;
}

.turnkey__list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.turnkey__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #81d4fa;
}

.turnkey__note {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

/* ===== КАРТА ===== */
.map-section {
    padding: 60px 0;
    background: #fff;
}

.map-section__desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.map-container iframe {
    display: block;
}

.map-section__address {
    text-align: center;
    font-size: 1.1rem;
    color: #1a237e;
    font-weight: 500;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #1a237e;
    color: #fff;
    padding: 50px 0 30px;
}

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

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer__link {
    color: #81d4fa;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #fff;
}

.footer__address {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer__hours {
    opacity: 0.9;
    line-height: 1.8;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__company {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer__copy {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== СТРАНИЦЫ УСЛУГ ===== */
.page-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-header__title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header__subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
}

.page-content {
    padding: 60px 0;
    background: #fff;
}

/* Описание услуги */
.service-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Блок цен */
.pricing {
    margin-bottom: 60px;
}

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

.price-card {
    background: #f5f7fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.price-card:hover {
    border-color: #1a237e;
    transform: translateY(-3px);
}

.price-card--popular {
    border-color: #1a237e;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8eaf6 100%);
}

.price-card__badge {
    background: #1a237e;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
}

.price-card__title {
    font-size: 1.3rem;
    color: #1a237e;
    margin-bottom: 10px;
}

.price-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.price-card__price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.price-card__features {
    text-align: left;
    margin-bottom: 20px;
}

.price-card__features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.price-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

.price-card__btn {
    display: inline-block;
    background: #1a237e;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.price-card__btn:hover {
    background: #283593;
    transform: scale(1.05);
}

/* Выполненные работы */
.works {
    margin-bottom: 40px;
}

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

.work-card {
    background: #f5f7fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.work-card__image {
    height: 200px;
    background: linear-gradient(135deg, #5c6bc0, #1a237e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.work-card__content {
    padding: 20px;
}

.work-card__title {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 10px;
}

.work-card__location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.work-card__link {
    color: #1a237e;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.work-card__link:hover {
    text-decoration: underline;
}

/* ===== СТРАНИЦА ОТДЕЛЬНОЙ РАБОТЫ ===== */
.work-detail {
    padding: 60px 0;
    background: #fff;
}

.work-detail__content {
    max-width: 900px;
    margin: 0 auto;
}

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

.work-detail__image {
    height: 200px;
    background: linear-gradient(135deg, #5c6bc0, #1a237e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.work-detail__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f5f7fa;
    border-radius: 10px;
}

.work-detail__info-item {
    text-align: center;
}

.work-detail__info-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.work-detail__info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a237e;
}

.work-detail__description h2 {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 15px;
}

.work-detail__description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.work-detail__description ul {
    list-style: none;
    margin-bottom: 20px;
}

.work-detail__description ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.work-detail__description ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a237e;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a237e;
    font-weight: 600;
    margin-top: 30px;
    padding: 12px 25px;
    background: #f5f7fa;
    border-radius: 25px;
    transition: all 0.3s;
}

.back-link:hover {
    background: #1a237e;
    color: #fff;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    padding: 15px 0;
    background: #f5f7fa;
    border-bottom: 1px solid #e0e0e0;
}

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

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

.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    color: #999;
}

.breadcrumbs__link {
    color: #1a237e;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__current {
    color: #666;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header__container {
        justify-content: center;
        text-align: center;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .nav__list {
        justify-content: center;
    }

    .nav__link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .turnkey__title {
        font-size: 1.4rem;
    }

    .footer__grid {
        text-align: center;
    }

    .page-header__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header__phone {
        font-size: 1.1rem;
        padding: 6px 12px;
    }

    .logo__text {
        font-size: 1.2rem;
    }

    .hero {
        padding: 50px 0;
    }

    .services,
    .advantages,
    .turnkey,
    .map-section {
        padding: 40px 0;
    }
}
