
/* ===== ОБЩИЕ НАСТРОЙКИ ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #292929;
    color: #ffffff;
}

/* ===== ШАПКА САЙТА ===== */

.header {
    width: 100%;
    background-color: #1e1e1e;
    padding: 25px 0;
    border-bottom: 2px solid #ff7518;
}

/* Контейнер */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== НАЗВАНИЕ КОМПАНИИ ===== */

.logo {
    color: #ff7518;
    font-size: 34px;
    font-weight: bold;
}

/* ===== КНОПКИ КОНТАКТОВ ===== */

.header-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Общие настройки кнопок */

.header-contact a {
    display: inline-block;
    padding: 12px 25px;

    color: #ffffff;
    text-decoration: none;

    font-size: 17px;
    font-weight: bold;

    border-radius: 5px;
}

/* Кнопка ВКонтакте */

.vk-button {
    background-color: #2787f5;
}

/* Кнопка Авито */

.avito-button {
    background-color: #ff7518;
}
/* ===== ОСНОВНОЙ БЛОК ===== */

.main-section {
    width: 95%;
    max-width: 1500px;
    margin: 50px auto;

    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 35px;
    align-items: center;
}

/* ===== ФОТОГРАФИИ ===== */

.photo-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-column img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== ЦЕНТРАЛЬНЫЙ ТЕКСТ ===== */

.main-content {
    text-align: center;
}

.main-content h1 {
    color: #ff7518;
    font-size: 32px;
    margin-bottom: 30px;
}

.services-text {
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
}

.services-text p {
    margin-bottom: 15px;
}

/* ===== БЕСПЛАТНЫЙ ВЫЕЗД ===== */

.main-content h2 {
    color: #ff7518;
    font-size: 24px;
    margin-top: 30px;
}

/* ===== КОНТАКТЫ ===== */

.call-block {
    margin-top: 30px;
}

.call-block h3 {
    font-size: 23px;
    margin-bottom: 20px;
}

.main-contacts {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.main-contacts a {
    padding: 14px 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
/* ===== НОМЕР ТЕЛЕФОНА ===== */

.phone-number {
    display: inline-block;
    color: #ff7518;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 25px;
}
/* ===== АДАПТАЦИЯ ПОД ПЛАНШЕТЫ ===== */

@media (max-width: 1000px) {

    .main-section {
        grid-template-columns: 180px 1fr 180px;
        gap: 20px;
    }

    .photo-column img {
        height: 180px;
    }

    .main-content h1 {
        font-size: 26px;
    }

    .services-text {
        font-size: 16px;
    }

}


/* ===== АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ ===== */

@media (max-width: 700px) {

    .container {
        justify-content: center;
        text-align: center;
    }

    .logo {
        font-size: 25px;
    }

    .main-section {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 25px;
        margin: 30px auto;
    }

    .main-content {
        width: 100%;
        order: -1;
    }

    .photo-column {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .photo-column img {
        width: 100%;
        height: 180px;
    }

    .main-content h1 {
        font-size: 27px;
    }

    .services-text {
        font-size: 16px;
        text-align: left;
    }

    .main-content h2 {
        font-size: 21px;
    }

    .call-block h3 {
        font-size: 20px;
    }

    .phone-number {
        font-size: 26px;
    }

    .main-contacts {
        gap: 15px;
    }

    .main-contacts a {
        padding: 12px 20px;
    }

}
/* ===== ГЛАВНЫЙ ЭКРАН ===== */

.hero {
    width: 90%;
    max-width: 1400px;
    margin: 60px auto;

    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;

    align-items: center;
}

/* ТЕКСТ СЛЕВА */

.hero-content h1 {
    color: #ff7518;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.hero-services {
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 2;
}

/* КНОПКА ЗВОНКА */

.hero-button {
    display: inline-block;
    background-color: #ff7518;
    color: white;

    padding: 16px 35px;

    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    border-radius: 5px;
    transition: 0.3s;
}

.hero-button:hover {
    background-color: #e65f00;
}

.hero-phone {
    margin-top: 20px;
    font-size: 25px;
    font-weight: bold;
}

/* ФОТО СПРАВА */

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
}
/* ===== БЛОК УСЛУГ ===== */

.services {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
}

.section-title {
    margin-bottom: 35px;
    border-left: 5px solid #ff7518;
    padding-left: 20px;
}

.section-title h2 {
    font-size: 36px;
    color: #ff7518;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 17px;
    color: #cccccc;
}

/* СЕТКА КАРТОЧЕК */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ОТДЕЛЬНАЯ КАРТОЧКА */

.service-card {
    background-color: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    transition: 0.3s;
}

.service-card:hover {
    border-color: #ff7518;
    transform: translateY(-5px);
}

.service-card span {
    color: #ff7518;
    font-size: 18px;
    font-weight: bold;
}

.service-card h3 {
    font-size: 21px;
    margin: 15px 0;
}

.service-card p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.5;
}
/* ===== ГАЛЕРЕЯ НАШИ РАБОТЫ ===== */

.works {
    width: 90%;
    max-width: 1400px;
    margin: 100px auto;
}

/* СЕТКА ФОТОГРАФИЙ */

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ОТДЕЛЬНАЯ ФОТОГРАФИЯ */

.work-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.work-item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */

.work-item:hover img {
    transform: scale(1.07);
}

/* АДАПТАЦИЯ ПОД ПЛАНШЕТЫ */

@media (max-width: 900px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ */

@media (max-width: 600px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-item img {
        height: 250px;
    }
}
/* ===== КАК МЫ РАБОТАЕМ ===== */

.process {
    width: 90%;
    max-width: 1400px;
    margin: 100px auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    background-color: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    transition: 0.3s;
}

.process-card:hover {
    border-color: #ff7518;
    transform: translateY(-5px);
}

.process-number {
    display: block;
    color: #ff7518;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 19px;
    margin-bottom: 15px;
}

.process-card p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
}

/* ПЛАНШЕТЫ */

@media (max-width: 1000px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ТЕЛЕФОНЫ */

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 25px;
    }
}
/* ===== БЛОК КОНТАКТОВ ===== */

.contacts {
    width: 90%;
    max-width: 1400px;
    margin: 100px auto;

    background-color: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-top: 4px solid #ff7518;

    border-radius: 8px;
    padding: 70px 30px;

    text-align: center;
}

.contacts-content h2 {
    color: #ff7518;
    font-size: 36px;
    margin-bottom: 25px;
}

.contacts-description {
    max-width: 650px;
    margin: 0 auto 30px;

    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

.contacts-phone {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.contacts-button {
    display: inline-block;

    background-color: #ff7518;
    color: white;

    padding: 18px 40px;

    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    border-radius: 5px;
    transition: 0.3s;
}

.contacts-button:hover {
    background-color: #e65f00;
    transform: translateY(-3px);
}

.contacts-city {
    color: #ff7518;
    font-size: 19px;
    font-weight: bold;
    margin-top: 35px;
    letter-spacing: 2px;
}

/* ===== ПОДВАЛ ===== */

.footer {
    background-color: #1e1e1e;
    border-top: 2px solid #ff7518;

    padding: 30px 5%;
    text-align: center;
}

.footer-content p {
    color: #aaaaaa;
    font-size: 14px;
    margin: 8px 0;
}

/* ===== АДАПТАЦИЯ КОНТАКТОВ ===== */

@media (max-width: 600px) {

    .contacts {
        padding: 45px 20px;
    }

    .contacts-content h2 {
        font-size: 26px;
    }

    .contacts-description {
        font-size: 16px;
    }

    .contacts-phone {
        font-size: 27px;
    }

    .contacts-button {
        padding: 15px 25px;
        font-size: 16px;
    }
}
/* ===== ГЛАВНЫЙ ЭКРАН БЕЗ ФОТО ===== */

.hero {
    grid-template-columns: 1fr;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
/* ===== СОЦИАЛЬНЫЕ СЕТИ В КОНТАКТАХ ===== */

.contacts-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.contacts-socials a {
    display: inline-block;
    padding: 15px 30px;

    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;

    border-radius: 5px;
    transition: 0.3s;
}

.contacts-vk {
    background-color: #2787f5;
}

.contacts-avito {
    background-color: #ff7518;
}

.contacts-socials a:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 600px) {
    .contacts-socials {
        flex-direction: column;
        align-items: center;
    }

    .contacts-socials a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
/* ===== НАВИГАЦИЯ ===== */

html {
    scroll-behavior: smooth;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.site-nav a:hover {
    color: #ff7518;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */

@media (max-width: 800px) {

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .site-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .site-nav a {
        font-size: 14px;
    }
}
/* ===== ОБЩАЯ МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

@media (max-width: 600px) {

    /* ШАПКА */

    .header {
        padding: 18px 0;
    }

    .header .container {
        width: 95%;
        gap: 15px;
    }

    .logo {
        font-size: 22px;
        text-align: center;
    }

    .site-nav {
        gap: 12px;
    }

    .site-nav a {
        font-size: 13px;
    }

    /* ГЛАВНЫЙ ЭКРАН */

    .hero {
        width: 92%;
        margin: 40px auto 60px;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-services {
        font-size: 15px;
    }

    .hero-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-phone {
        font-size: 23px;
    }

    /* ЗАГОЛОВКИ РАЗДЕЛОВ */

    .services,
    .works,
    .process {
        width: 92%;
        margin: 65px auto;
    }

    .section-title {
        padding-left: 15px;
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 15px;
    }

    /* КАРТОЧКИ УСЛУГ */

    .service-card {
        padding: 24px;
    }

    /* ГАЛЕРЕЯ */

    .work-item img {
        height: 230px;
    }

    /* КАК МЫ РАБОТАЕМ */

    .process-card {
        padding: 24px;
    }

    /* КОНТАКТЫ */

    .contacts {
        width: 92%;
        margin: 65px auto;
        padding: 40px 18px;
    }

    .contacts-content h2 {
        font-size: 24px;
    }

    .contacts-description {
        font-size: 15px;
    }

    .contacts-phone {
        font-size: clamp(20px, 6vw, 26px);
    }

    .contacts-button {
        width: 100%;
        max-width: 280px;
    }

    .contacts-socials {
        flex-direction: column;
        align-items: center;
    }

    .contacts-socials a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* ПОДВАЛ */

    .footer {
        padding: 25px 15px;
    }
}

/* ===== ПЛАВНЫЙ ПЕРЕХОД К РАЗДЕЛАМ ===== */

section[id] {
    scroll-margin-top: 120px;
}
/* ===== ИСПРАВЛЕНИЕ МОБИЛЬНОГО БЛОКА УСЛУГ ===== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        width: 100%;
        padding: 22px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        font-size: 15px;
        line-height: 1.5;
    }
}