/* ===== Страницы услуг (inc/services.php) ===== */

.twc-svc-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.twc-svc-perks span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.twc-svc-perks .twc-ico {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.twc-svc-perks .is-night {
    border-color: #1d2c4f;
    background: #0f1b33;
    color: #fff;
}

.twc-svc-perks .is-night .twc-ico {
    color: #ffd166;
}

/* Таблица цен */
.twc-pt-wrap {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.twc-pt {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;
}

.twc-pt th,
.twc-pt td {
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.twc-pt thead th {
    background: var(--soft);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.twc-pt tbody tr:last-child td {
    border-bottom: 0;
}

.twc-pt tbody tr:hover {
    background: var(--blue-soft);
}

.twc-pt__model a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.twc-pt__model a:hover {
    color: var(--blue);
}

.twc-pt .twc-pt__price {
    text-align: right;
    white-space: nowrap;
}

.twc-pt__price b {
    color: var(--ink);
    font-size: 16px;
}

.twc-pt__price.is-none {
    color: #b5bcc8;
}

.twc-pt__ask {
    min-height: 0;
    padding: 4px 12px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    background: transparent;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    cursor: pointer;
}

.twc-pt__ask:hover {
    background: var(--blue);
    color: #fff;
}

.twc-pt .twc-pt__go {
    width: 56px;
    text-align: right;
}

.twc-pt__book {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.twc-pt__book .twc-ico {
    width: 18px;
    height: 18px;
}

.twc-pt tr:hover .twc-pt__book,
.twc-pt__book:hover {
    background: var(--blue);
    color: #fff;
    transform: translateX(2px);
}

.twc-svcpage .twc-cat-empty {
    margin: 0;
    border: 0;
}

/* FAQ и другие услуги */
.twc-svc-faq {
    padding: 70px 0 30px;
}

.twc-svc-others {
    padding: 20px 0 60px;
}

.twc-home .twc-svc-others h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.twc-svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.twc-svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.twc-svc-chip .twc-ico {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.twc-svc-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.twc-svc-chip.is-current {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.twc-svc-chip.is-current .twc-ico {
    color: #fff;
}

/* /paslaugos/ — карточки услуг */
.twc-svc-hub {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 30px 0 70px;
}

.twc-svc-hub__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.twc-svc-hub__card:hover {
    border-color: var(--blue);
    box-shadow: 0 20px 50px -18px rgba(27, 63, 128, .35);
    transform: translateY(-3px);
}

.twc-svc-hub__ico {
    margin-bottom: 8px;
    color: var(--blue);
}

.twc-svc-hub__card b {
    color: var(--ink);
    font-size: 18px;
}

.twc-svc-hub__card em {
    margin-top: auto;
    padding-top: 10px;
    color: var(--blue);
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 767px) {
    .twc-pt {
        font-size: 14px;
    }

    .twc-pt th,
    .twc-pt td {
        padding: 10px;
    }

    .twc-pt th:first-child,
    .twc-pt td:first-child {
        padding-left: 14px;
    }

    .twc-pt .twc-pt__go {
        width: 44px;
        padding-right: 10px;
    }

    .twc-pt__price b {
        font-size: 15px;
    }

    .twc-svc-perks span {
        padding: 6px 12px;
        font-size: 13px;
    }

    .twc-svc-faq {
        padding-top: 50px;
    }
}
