/* ==========================================
   Страница услуги
   ========================================== */


/* ==========================================
   Первый экран
   ========================================== */

.service-hero {
    padding: 55px 0 60px;
    border-bottom: 1px solid #eeeeee;
}

.service-hero h1 {
    margin: 0 0 22px;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.service-hero p {
    max-width: 850px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}


/* ==========================================
   Основные секции
   ========================================== */

.service-content,
.text-section {
    padding: 55px 0;
    border-bottom: 1px solid #eeeeee;
}

.service-content h2,
.text-section h2 {
    margin: 0 0 22px;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.service-content p,
.text-section p {
    max-width: 1000px;
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
}

.service-content p:last-child,
.text-section p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   Список
   ========================================== */

.service-content ul {
    max-width: 900px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.service-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 17px;
    font-size: 17px;
    line-height: 1.6;
}

.service-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c58a00;
    transform: translateY(-50%);
}

.service-content li:last-child {
    margin-bottom: 0;
}


/* ==========================================
   Блок заказа
   ========================================== */

.service-order {
    padding: 70px 0;
}

.service-order h2 {
    margin: 0 0 25px;
    font-size: 32px;
    line-height: 1.25;
}

.service-order p {
    max-width: 1050px;
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.75;
}

.service-order p:last-child {
    margin-bottom: 0;
}

.service-order a {
    font-weight: 700;
    color: #111111;
    text-decoration: none;
}

.service-order a:hover {
    color: #c58a00;
}

/* ==========================================
   Примеры выполненных работ
   ========================================== */

/* ==========================================
   Примеры выполненных работ
   ========================================== */

.service-works {
    padding: 65px 0;
    border-bottom: 1px solid #eeeeee;
}

.service-works h2 {
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.25;
}

.service-works-intro {
    max-width: 900px;
    margin: 0 0 40px;
    padding-left: 18px;

    border-left: 3px solid #c79a3b;

    font-size: 17px;
    line-height: 1.7;
    color: #555555;
}


/* ---------- Сетка работ ---------- */

.service-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-work-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;

    display: flex;
    flex-direction: column;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition: transform .3s ease, box-shadow .3s ease;
}

.service-work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.service-work-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-work-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .4s ease;
}

.service-work-card:hover .service-work-image img {
    transform: scale(1.03);
}

.service-work-body {
    padding: 20px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-work-body h3 {
    margin: 0 0 15px;
    font-size: 19px;
    line-height: 1.35;
}

.service-work-body h3 a {
    color: #111111;
    text-decoration: none;
}

.service-work-body h3 a:hover {
    color: #c58a00;
}

.service-work-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: auto;

    font-size: 15px;
    color: #555555;
}


/* ---------- Кнопка ---------- */

.service-works-more {
    margin-top: 35px;
    text-align: center;
}

.service-works-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 18px 40px;

    border: 2px solid #c79a3b;
    border-radius: 50px;

    background: transparent;
    color: #c79a3b;

    text-decoration: none;
    font-weight: 600;
    font-size: 17px;

    transition: .3s ease;
}

.service-works-button::after {
    content: "→";
    transition: transform .3s ease;
}

.service-works-button:hover::after {
    transform: translateX(5px);
}

.service-works-button:hover {
    background: #c79a3b;
    color: #fff;
    transform: translateY(-2px);
}


/* ==========================================
   Планшеты
   ========================================== */

@media (max-width: 1000px) {

    .service-works {
        padding: 55px 0;
    }

}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1000px) {

    .service-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

/* ==========================================
   Мобильная версия
   ========================================== */

@media (max-width: 768px) {

    .service-hero {
        padding: 40px 0 50px;
    }

    .service-hero h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .service-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .service-content,
    .text-section {
        padding: 48px 0;
    }

    .service-content h2,
    .text-section h2,
    .service-order h2 {
        font-size: 27px;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .service-content p,
    .text-section p,
    .service-order p {
        font-size: 16px;
        line-height: 1.7;
    }

    .service-content ul {
        margin-top: 25px;
    }

    .service-content li {
        padding-left: 26px;
        margin-bottom: 14px;
        font-size: 16px;
    }

    .service-order {
        padding: 50px 0;
    }

    .service-works {
        padding: 48px 0;
    }

    .service-works h2 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 25px;
    }

    .service-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-work-body {
        padding: 18px;
    }

    .service-work-body h3 {
        font-size: 18px;
    }

    .service-work-info {
        gap: 12px;
        font-size: 14px;
    }

    .service-works-more {
        margin-top: 30px;
    }
}

/* ==========================================
   Узкие телефоны
   ========================================== */

@media (max-width: 480px) {

    .service-hero {
        padding: 32px 0 42px;
    }

    .service-hero h1 {
        font-size: 30px;
    }

    .service-content,
    .text-section {
        padding: 42px 0;
    }

    .service-content h2,
    .text-section h2,
    .service-order h2 {
        font-size: 25px;
    }
    
    .service-works {
        padding: 42px 0;
    }

    .service-works h2 {
        font-size: 25px;
        margin-bottom: 22px;
    }

    .service-works-grid {
        gap: 20px;
    }

    .service-work-body {
        padding: 17px;
    }

    .service-work-body h3 {
        font-size: 17px;
    }

    .service-work-info {
        font-size: 14px;
        gap: 10px;
    }

    .service-works-button {
        padding: 16px 30px;
        font-size: 16px;
    }

}