/* ========================================================================
   ДОМОФОН-СЕРВИС — собственный CSS (без UIkit)
   ======================================================================== */

/* ===== БАЗА / RESET ===== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #333;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

img, svg, video, canvas, iframe {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #cc9900;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

a:hover {
    color: #0f6ecd;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p, ul, ol, dl, pre, address, fieldset, figure {
    margin: 0 0 20px 0;
}

* + p, * + ul, * + ol, * + dl, * + pre, * + address, * + fieldset, * + figure {
    margin-top: 20px;
}

ul, ol {
    padding-left: 30px;
}

ul > li > ul,
ul > li > ol,
ol > li > ol,
ol > li > ul {
    margin: 0;
}

hr {
    overflow: visible;
    margin: 0 0 20px 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

strong, b {
    font-weight: 700;
}

small {
    font-size: 80%;
}

:focus-visible {
    outline: 2px dotted #333;
    outline-offset: 2px;
}

::selection {
    background: #ffcc00;
    color: #222;
    text-shadow: none;
}

/* ===== КОНТЕЙНЕР ===== */

.uk-container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .uk-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ===== УТИЛИТЫ ===== */

.tm-text-sm { font-size: 0.875rem; line-height: 1.5; }
.tm-text-bold { font-weight: 700; }
.tm-text-right { text-align: right; }
.tm-mt-sm { margin-top: 10px; }
.tm-mb { margin-bottom: 20px; }
.tm-center { text-align: center; }
.tm-text-muted { color: #999; }
.city { display: none; }
.s-message { display: none; }

.tm-pseudo {
    display: inline;
}

/* ===== ВЕРХНИЙ ТУЛБАР ===== */

.tm-toolbar-container {
    background: #222;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

@media (max-width: 959px) {
    .tm-toolbar-container {
        display: none;
    }
}

.tm-toolbar-inner {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 44px;
}

.tm-toolbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tm-toolbar-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-toolbar-menu > li {
    position: relative;
}

.tm-toolbar-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
}

.tm-toolbar-menu > li > a:hover {
    color: #ffcc00;
    text-decoration: none;
}

.tm-toolbar-item {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== DROPDOWN (тулбар) ===== */

.tm-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.tm-toolbar-menu > li:hover > a .tm-caret,
.tm-navbar-menu > li:hover > a .tm-caret,
.tm-navbar-menu > li > a[aria-expanded="true"] .tm-caret {
    transform: rotate(180deg);
}

.tm-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 300px;
    padding-top: 8px;
}

.tm-drop.is-open {
    display: block;
}

.tm-drop-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.tm-drop-body {
    padding: 14px 20px 18px;
    color: #333;
}

.tm-drop-body .tm-text-sm div {
    line-height: 1.5;
}

.tm-link-muted {
    color: #888;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tm-link-muted:hover {
    color: #ffcc00;
    text-decoration: none;
}

/* ===== ГЛАВНЫЙ НАВБАР ===== */

.tm-navbar {
    position: sticky;
    top: 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    min-height: 80px;
    background: #ffcc00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tm-navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.tm-logo img {
    margin-right: 10px;
    display: block;
}

.tm-logo:hover {
    color: #222;
    text-decoration: none;
}

.tm-navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-navbar-menu > li {
    position: relative;
}

.tm-navbar-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 80px;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #222;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tm-navbar-menu > li:hover > a,
.tm-navbar-menu > li > a[aria-expanded="true"] {
    color: #666;
}

/* ===== МЕГАМЕНЮ ===== */

.tm-megamenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
    min-width: 260px;
    max-width: calc(100vw - 40px);
}

.tm-megamenu.is-open {
    display: block;
}

.tm-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 25px;
}

.tm-megamenu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.tm-megamenu-list > li {
    padding: 3px 0;
}

.tm-megamenu-list > li > a {
    color: #333;
    display: block;
    padding: 2px 0;
}

.tm-megamenu-list > li > a:hover {
    color: #ffcc00;
    text-decoration: none;
}

.tm-megamenu-img {
    display: block;
    margin: 0 auto 12px;
}

.tm-megamenu-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #222;
    padding: 4px 0;
}

.tm-megamenu-title > a {
    color: #222;
}

.tm-megamenu-title > a:hover {
    color: #ffcc00;
    text-decoration: none;
}

.tm-divider {
    height: 1px;
    background: #ececec;
    margin: 8px 0;
    list-style: none;
}

/* ===== БУРГЕР ===== */

.tm-burger {
    display: none;
    font-size: 26px;
    color: #222;
    text-decoration: none;
    line-height: 1;
    padding: 6px 10px;
}

.tm-burger:hover {
    color: #666;
    text-decoration: none;
}

@media (max-width: 959px) {
    .tm-navbar-menu {
        display: none;
    }
    .tm-burger {
        display: inline-block;
    }
    .tm-megamenu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== БАННЕР ===== */

.banner {
    background-image: url('images/homePage/banner1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30% 40%;
    padding: 60px 0;
    position: relative;
    min-height: 400px;
    display: block;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ЛЕВАЯ ЧАСТЬ БАННЕРА ===== */

.leftSide {
    padding-top: 25px;
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.leftContent {
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 40px 36px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@supports not (backdrop-filter: blur(8px)) {
    .leftContent {
        background: rgba(0, 0, 0, 0.8);
    }
}

.leftContent:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.bannerTitle {
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.bannerDescr {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.bannerDescr strong {
    font-weight: 600;
    color: #ffffff;
}

.bannerBtnBlock {
    width: fit-content;
    height: fit-content;
    margin: 8px auto 0;
}

.bannerBtn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 14px 48px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    line-height: 1.4;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
}

.bannerBtn:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    color: #000;
    text-decoration: none;
}

/* ===== ПРАВАЯ ЧАСТЬ БАННЕРА ===== */

.rightSide {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.card {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    background: #ffffff;
    border-radius: 48px;
    padding: 48px 40px 56px;
    box-shadow: 0 30px 60px -20px rgba(0, 20, 40, 0.25),
                0 8px 20px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid #ffffff;
    transition: transform 0.25s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
}

.card h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #ffcc00, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 800;
}

@supports not (background-clip: text) {
    .highlight {
        color: #ffcc00;
        background: none;
        -webkit-text-fill-color: #ffcc00;
    }
}

.subhead {
    font-size: 18px;
    font-weight: 400;
    color: #334e68;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.maxQr {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    display: block;
    margin: 0 auto;
}

.qr-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.qr-label {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1a3a5a;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 20px;
    border-radius: 40px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    letter-spacing: 0.2px;
    display: inline-block;
}

/* ===== СЕКЦИЯ СЕРВИСОВ ===== */

:root {
    --svc-yellow: #F4C430;
    --svc-text-dark: #2A2A2A;
    --svc-border: #EEEEEE;
    --svc-gray: #888888;
}

.services-section {
    padding: 60px 0;
    background-color: #fff;
}

.services-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 45px;
    margin-top: 0;
}

.services-section .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--svc-yellow);
    border-radius: 2px;
    margin: 16px auto 0;
}

.services-section .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}

.services-section .service-card-wrap {
    flex: 1 1 240px;
    max-width: 300px;
    min-width: 220px;
    box-sizing: border-box;
}

.services-section .service-card {
    background: #fff;
        border: 2px solid #ffcc0057;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    
}




.services-section .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
    border-color: var(--svc-yellow);
}

.services-section .card-header {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid var(--svc-border);
    background: #fff;
}

.services-section .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--svc-text-dark);
    line-height: 1.3;
}

.services-section .card-body {
    padding: 25px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.services-section .card-img-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section .card-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.services-section .service-card:hover .card-img {
    transform: scale(1.04);
}

.services-section .card-note {
    font-size: 0.8rem;
    color: var(--svc-gray);
    margin-top: 12px;
    line-height: 1.4;
}

.services-section .card-footer {
    padding: 18px 15px;
    text-align: center;
    border-top: 1px solid var(--svc-border);
    background: #fff;
    display: flex;
    justify-content: center;
}

.services-section .card-footer-p {
    margin: 0;
    background: transparent;
    padding: 0;
}

.services-section .btn-primary {
    display: inline-block;
    background-color: var(--svc-yellow);
    color: #2A2A2A;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    border: none;
    line-height: 1.4;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.services-section .btn-primary:hover {
    background-color: #2A2A2A;
    color: var(--svc-yellow);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .services-section .service-card-wrap {
        flex: 1 1 calc(50% - 11px);
        max-width: calc(50% - 11px);
    }
}

@media (max-width: 520px) {
    .services-section .service-card-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .services-section .section-title {
        font-size: 1.5rem;
    }
    .services-section .section-title::after {
        width: 50px;
    }
    
   
}



/* ===== СЕКЦИИ (общая обёртка) ===== */

.tm-section {
    padding: 40px 0;
    display: flow-root;
}

.tm-section-primary {
    background: #ffcc00;
    color: #222;
}

.tm-section-primary h2,
.tm-section-primary h3 {
    color: #222;
}

.tm-section-primary p {
    color: #222;
}

.tm-section-secondary {
    background: #222;
    color: #fff;
}

.tm-section-secondary h2 {
    color: #fff;
}

.tm-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* ===== ТАБЫ (switcher) ===== */

.tm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.tm-tabs > li > a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f2f2f2;
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.tm-tabs > li > a:hover {
    background: #e5e5e5;
    color: #333;
    text-decoration: none;
}

.tm-tabs > li.is-active > a,
.tm-tabs > li > a.is-active {
    background: #ffcc00;
    color: #222;
}

.tm-tab-content {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-tab-content > li {
    display: none;
}

.tm-tab-content > li.is-active {
    display: block;
}

/* ===== СЕТКА 1/3 + 2/3 ===== */

.tm-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.tm-col-1-3 {
    flex: 1 1 260px;
    max-width: 320px;
    padding: 20px;
}

.tm-col-2-3 {
    flex: 2 1 500px;
    padding: 20px;
}

.tm-col-1-3 img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

@media (max-width: 959px) {
    .tm-row {
        flex-direction: column;
    }
    .tm-col-1-3,
    .tm-col-2-3 {
        max-width: 100%;
        flex: 1 1 100%;
        padding: 0;
    }
}

/* ===== КНОПКИ ===== */

.tm-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}

.tm-btn-yellow {
    background: #ffcc00;
    color: #222;
}

.tm-btn-yellow:hover {
    background: #e6b800;
    color: #111;
    text-decoration: none;
    transform: translateY(-2px);
}

.tm-btn-white {
    background: #ffffff;
    color: #222;
}

.tm-btn-white:hover {
    background: #f5f5f5;
    text-decoration: none;
}

/* ========================================================================
   ТАРИФЫ — СЛАЙДЕР
   ======================================================================== */

.tariffs-section {
    background: #fff;
    padding: 70px 0 50px;
    color: #333;
}

.tariffs-section .tariffs-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.2;
}

.tariffs-section .tariffs-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
    margin: 18px auto 0;
}

.tariffs-section .tariffs-subtitle {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin: 16px 0 45px;
}

.tariffs-slider-wrap {
    position: relative;
    padding: 0 55px;
}

.uk-slider-container {
    overflow: hidden;
}

.uk-slider-items {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.uk-slider-items > li {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 12px;
    box-sizing: border-box;
    position: relative;
}

@media (max-width: 900px) {
    .uk-slider-items > li {
        flex: 0 0 100%;
        max-width: 100%;
         padding: 0;
    }
}

.tariff-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.tariff-card:hover {
    transform: translateY(-4px);
    border-color: #ffcc00;
    box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.12);
}

.tariff-card-header {
    background: #fff;
    padding: 24px 26px 18px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.tariff-card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffcc00;
}

.tariff-card-header h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.tariff-card-header .tariff-audience {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.45;
}

.tariff-card-body {
    padding: 22px 26px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tariff-price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.tariff-price-list li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.45;
}

.tariff-price-list li:last-child {
    border-bottom: none;
}

.tariff-price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffcc00;
}

.tariff-price-list strong {
    color: #222;
    font-weight: 700;
    white-space: nowrap;
}

.tariff-price-list .base-mark {
    display: inline-block;
    background: #fff7d6;
    color: #b88a00;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    font-weight: 600;
}

.tariff-note {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.78rem;
    color: #999;
    line-height: 1.5;
}

/* Стрелки */
.tariffs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 2px solid #ffcc00;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 3;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.2);
}

.tariffs-arrow:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 30px -8px rgba(255, 204, 0, 0.6);
}

.tariffs-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.tariffs-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    box-shadow: none;
    transform: translateY(-50%);
}

.tariffs-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffcc00;
    color: #1a1a1a;
    transform: translateY(-50%);
}

.tariffs-arrow-prev { left: 0; }
.tariffs-arrow-next { right: 0; }

.tariffs-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Нижняя панель */
.tariffs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.tariffs-dots {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tariffs-dots > li > a {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.25s ease;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
}

.tariffs-dots > li > a:hover {
    background: #ffcc00;
}

.tariffs-dots > li.is-active > a {
    background: #ffcc00;
    width: 26px;
    border-radius: 5px;
}

.tariffs-counter {
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
    min-width: 50px;
    text-align: center;
}

.tariffs-counter .tariffs-current {
    color: #222;
    font-weight: 700;
    font-size: 1.05rem;
}

@media (max-width: 959px) {
    .tariffs-slider-wrap {
        padding: 0 40px;
    }
    .tariffs-section .tariffs-title {
        font-size: 1.6rem;
    }
    .tariff-card {
        min-height: 370px;
    }
}

@media (max-width: 900px) {
    .tariffs-slider-wrap {
        padding: 0 12px;
    }
    .tariffs-arrow {
        display: none;
    }
}
/* ===== АККОРДЕОН ===== */

.tm-accordion {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-accordion > li {
    margin-top: 12px;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.tm-accordion > li:first-child {
    margin-top: 0;
}

.tm-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    background: #fafafa;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.tm-accordion-title:hover {
    background: #f2f2f2;
    color: #000;
    text-decoration: none;
}

.tm-accordion-title::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: #888;
    margin-left: 12px;
    transition: transform 0.25s;
}

.tm-accordion > li.is-open .tm-accordion-title::after {
    content: "−";
    color: #ffcc00;
}

.tm-accordion-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #ececec;
}

.tm-accordion > li.is-open .tm-accordion-content {
    display: block;
}

.tm-accordion-content ul {
    padding-left: 20px;
    margin: 0;
}

.tm-accordion-content ul li {
    margin-bottom: 8px;
}

/* ===== ТАБЛИЦА ===== */

.tm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0;
}

.tm-table th,
.tm-table td {
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.tm-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #fafafa;
}

.tm-table tbody tr:hover {
    background: #fffbe6;
}

.tm-table td.tm-text-right {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 959px) {
    .tm-table {
        font-size: 0.8rem;
    }
    .tm-table th,
    .tm-table td {
        padding: 8px 6px;
    }
}

/* ===== КОЛОНКИ В 2 ===== */

.tm-columns-2 {
    column-count: 1;
    column-gap: 30px;
}

@media (min-width: 960px) {
    .tm-columns-2 {
        column-count: 2;
    }
    .tm-columns-2 img {
        max-width: 50%;
        float: left;
        margin: 0 20px 20px 0;
    }
}

/* ===== АДАПТИВ БАННЕРА ===== */

@media (max-width: 1300px) {
    .flex {
        gap: 30px;
        justify-content: center;
    }
    .leftSide,
    .rightSide {
        width: 41%;
    }
}

@media (max-width: 1100px) {
    .bannerTitle { font-size: 30px; }
    .card {
        padding: 40px 32px 48px;
        border-radius: 40px;
    }
    .card h1 { font-size: 1.9rem; }
    .maxQr { width: 180px; height: 180px; }
}

@media (max-width: 1200px) {
    .card { max-width: 400px; }
}

@media (max-width: 1024px) {
    .card {
        max-width: 350px;
        padding: 40px 32px 48px;
        border-radius: 40px;
    }
    .subhead { font-size: 17px; max-width: 420px; }
    .maxQr { width: 200px; height: 200px; }
}

@media (max-width: 950px) {
    .flex {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }
    .leftSide,
    .rightSide {
        width: 100%;
        max-width: 600px;
        padding: 0;
    }
    .leftSide {
        padding-top: 0;
        justify-content: center;
        gap: 20px;
    }
    .leftContent {
        text-align: center;
        padding: 32px 28px;
    }
    .bannerTitle {
        text-align: center;
        font-size: 32px;
    }
    .bannerDescr { text-align: center; }
    .card {
        max-width: 530px;
        padding: 40px 32px 48px;
    }
    .card h1 { font-size: 1.8rem; }
    .maxQr { width: 210px; height: 210px; }
}

@media (max-width: 778px) {
    .rightSide,
    .leftSide,
    .leftContent {
        max-width: 85%;
    }
    .card {
        width: 85%;
        padding: 36px 28px 40px;
        border-radius: 32px;
    }
    .card h1 { font-size: 32px; }
    .subhead { font-size: 16px; max-width: 100%; margin: 0 auto 24px; padding: 0 10px; }
    .maxQr { width: 210px; height: 210px; }
    .qr-label { font-size: 14px; padding: 5px 16px; }
}

@media (max-width: 550px) {
    .leftSide,
    .rightSide {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .banner {
        background-image: url('images/homePage/banner.jpeg');
        padding: 30px 0;
        min-height: 300px;
        background-position: 30% 50%;
    }
    .flex {
        gap: 30px;
        padding: 0 10px;
    }
    .leftSide,
    .rightSide {
        width: 100%;
        max-width: 100%;
    }
    .leftSide { gap: 16px; }
    .rightSide { gap: 12px; }
    .leftContent {
        padding: 20px 16px;
        border-radius: 20px;
        max-width: 100%;
    }
    .bannerTitle { font-size: 26px; }
    .bannerDescr { font-size: 15px; }
    .bannerBtn { padding: 9px 24px; font-size: 0.9rem; }
    .card {
        max-width: 85%;
        padding: 28px 16px 32px;
        border-radius: 24px;
    }
    .card h1 { font-size: 24px; line-height: 1.3; }
    .subhead { font-size: 15px; line-height: 1.5; margin: 0 auto 20px; padding: 0 5px; }
    .maxQr { width: 180px; height: 180px; }
    .qr-label { font-size: 13px; padding: 4px 14px; margin-top: 12px; }
    .highlight { font-size: 24px; }
}

@media (max-width: 360px) {
    .banner { padding: 20px 0; min-height: 250px; }
    .flex { gap: 24px; padding: 0 6px; }
    .leftContent { padding: 16px 12px; border-radius: 16px; }
    .bannerTitle { font-size: 22px; }
    .bannerDescr { font-size: 0.85rem; }
    .bannerBtn { padding: 8px 20px; font-size: 0.85rem; }
    .card { padding: 20px 12px 24px; border-radius: 20px; }
    .card h1 { font-size: 20px; }
    .subhead { font-size: 14px; }
    .maxQr { width: 160px; height: 160px; }
    .qr-label { font-size: 12px; padding: 3px 12px; }
    .highlight { font-size: 20px; }
}

@media (max-height: 600px) and (orientation: landscape) {
    .banner { padding: 20px 0; min-height: 200px; }
    .flex { gap: 20px; }
    .leftContent { padding: 16px 20px; border-radius: 20px; }
    .bannerTitle { font-size: 24px; margin-bottom: 8px; }
    .bannerDescr { font-size: 0.9rem; margin-bottom: 6px; }
    .bannerBtn { padding: 8px 24px; font-size: 0.85rem; }
    .card { padding: 20px 24px; border-radius: 28px; max-width: 80%; }
    .card h1 { font-size: 20px; margin-bottom: 8px; }
    .subhead { font-size: 14px; margin-bottom: 16px; }
    .maxQr { width: 120px; height: 120px; }
    .qr-label { font-size: 12px; padding: 3px 12px; margin-top: 8px; }
}

/* ===== ПРОЧЕЕ ===== */

.orP {
    margin: 0 auto;
    line-height: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

.maxBold { font-weight: bold; }
.mBottom { margin-bottom: 10px; }
.al-align-right { text-align: right; }


/* ===== МОДАЛКА ===== */

.tm-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1200;
    padding: 20px;
    overflow-y: auto;
}

.tm-modal.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}


/* ===== ДРОПДАУНЫ: состояния ===== */

.tm-drop.is-open { display: block; }

.tm-megamenu.is-open { display: block; }

/* ===== БУРГЕР на мобильных ===== */

@media (max-width: 959px) {
    .tm-burger { display: inline-block; }
}

/* ========================================================================
   ФИНАЛЬНАЯ СТИЛИЗАЦИЯ СЕКЦИЙ (без UIkit)
   ======================================================================== */

/* ===== ЕДИНЫЙ СТИЛЬ ЗАГОЛОВКОВ СЕКЦИЙ ===== */

.tm-section > .uk-container > h2,
.tm-section > .uk-container > h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    margin: 0 0 45px;
    position: relative;
}

.tm-section > .uk-container > h2::after,
.tm-section > .uk-container > h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
    margin: 16px auto 0;
}

/* На цветных секциях заголовок остаётся тёмным, но подчёркивание сохраняется */
.tm-section-primary > .uk-container > h2,
.tm-section-secondary > .uk-container > h2 {
    color: #222;
}

.tm-section-secondary > .uk-container > h2 {
    color: #fff;
}

/* Внутренние h2 (не первые в секции) — левое выравнивание */
.tm-section h2 + h2,
.tm-section .tm-accordion + h2,
.tm-section .tm-table + h2 {
    text-align: left;
    margin-top: 50px;
}

.tm-section h2 + h2::after,
.tm-section .tm-accordion + h2::after,
.tm-section .tm-table + h2::after {
    margin-left: 0;
}


/* ========================================================================
   СЕКЦИЯ «УМНЫЙ ДОМОФОН»
   ======================================================================== */


/* ===== СЕКЦИЯ «ЦЕНЫ» ===== */

#price {
    padding: 70px 0 60px;
    background: #fff;
}

#price .tm-accordion {
    max-width: 1200px;
    margin: 0 auto 30px;
}

#price .tm-accordion > li {
    border: 1px solid #ececec;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

#price .tm-accordion > li:hover {
    border-color: #ffe680;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.15);
}

#price .tm-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    background: #fff;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

#price .tm-accordion-title:hover {
    background: #fffbe6;
    color: #b88a00;
    text-decoration: none;
}

#price .tm-accordion-title::after {
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    color: #ffcc00;
    margin-left: 16px;
    font-weight: 400;
    transition: transform 0.25s;
}

#price .tm-accordion > li.is-open .tm-accordion-title {
    background: #fffbe6;
    color: #b88a00;
}

#price .tm-accordion > li.is-open .tm-accordion-title::after {
    content: "−";
    color: #b88a00;
}

#price .tm-accordion-content {
    padding: 6px 26px 24px;
    border-top: 1px solid #f3f3f3;
    background: #fff;
}

#price .tm-table {
    margin-top: 16px;
}

/* Кнопка «Выбрать домофонную трубку» */
#price .tm-center a {
    display: inline-block;
    padding: 12px 34px;
    background: #ffcc00;
    color: #222;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    margin: 10px 0 40px;
    box-shadow: 0 10px 22px -10px rgba(255, 204, 0, 0.7);
}

#price .tm-center a:hover {
    background: #e6b800;
    color: #111;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Заголовок «Соглашения» — левое выравнивание */
#price h2#sogl {
    text-align: left;
    font-size: 1.7rem;
    margin: 50px 0 30px;
    position: relative;
    padding-left: 20px;
}

#price h2#sogl::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 5px;
    background: #ffcc00;
    border-radius: 3px;
}

#price h2#sogl::after {
    display: none;
}

#price > .uk-container > div > .tm-accordion + .tm-accordion {
    margin-top: 0;
}


/* ===== СЕКЦИЯ «ЗАЯВКИ» ===== */

#zv {
    padding: 60px 0;
    background: #222;
    color: #fff;
}

#zv > .uk-container > h2 {
    color: #fff;
}

#zv > .uk-container > h2::after {
    background: #ffcc00;
}

#zv .tm-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

#zv .tm-tabs > li > a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
    border: 1px solid transparent;
}

#zv .tm-tabs > li > a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}

#zv .tm-tabs > li.is-active > a {
    background: #ffcc00;
    color: #222;
    border-color: #ffcc00;
}

#zv .tm-tab-content {
    margin: 0;
    padding: 0;
    list-style: none;
}

#zv .tm-tab-content > li {
    display: none;
}

#zv .tm-tab-content > li.is-active {
    display: block;
}





/* ===== СЕКЦИЯ «О КОМПАНИИ» ===== */

.tm-section-primary {
    padding: 70px 0;
    background: #ffcc00;
    color: #222;
}

.tm-section-primary > .uk-container > h2 {
    color: #222;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.tm-section-primary > .uk-container > h2::after {
    background: #222;
}

.tm-section-primary p {
    color: #222;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 16px;
    text-align: center;
}


/* ===== ОБЩИЕ ПРАВКИ ТАБЛИЦ ===== */

.tm-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.tm-table thead th {
    background: #fafafa;
    color: #666;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.tm-table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

.tm-table tbody tr:hover {
    background: #fffbe6;
}


/* ===== УТИЛИТА ДЛЯ ССЫЛОК В ТЕКСТЕ ===== */

.tm-section a:not([class]) {
    color: #b88a00;
    font-weight: 500;
    border-bottom: 1px solid rgba(184, 138, 0, 0.25);
    transition: color 0.2s, border-color 0.2s;
}

.tm-section a:not([class]):hover {
    color: #050505;
    border-bottom-color: #ffcc00;
    text-decoration: none;
}


/* ===== СКРЫТИЕ ПУСТЫХ БЛОКОВ MODX ===== */

#zv .tm-tab-content > li:empty::before {
    content: "Форма временно недоступна.";
    display: block;
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}


/* ===== АДАПТИВ СЕКЦИЙ ===== */

@media (max-width: 959px) {
    .tm-section > .uk-container > h2,
    .tm-section > .uk-container > h3,
    #sk-mob-pr > .uk-container > h2,
    #sk-mob-pr > .uk-container > .tm-h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    #price h2#sogl {
        font-size: 1.4rem;
    }

    #zv2 .tm-columns-2 {
        column-gap: 20px;
    }
}

@media (max-width: 639px) {
    .tm-section {
        padding: 40px 0;
    }

    #sk-mob-pr,
    #price,
    #zv2,
    .tm-section-primary {
        padding: 45px 0;
    }

    #sk-mob-pr .tm-tabs > li > a,
    #zv .tm-tabs > li > a {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .tm-table {
        font-size: 0.78rem;
    }

    .tm-table th,
    .tm-table td {
        padding: 8px 6px;
    }
}

/* ========================================================================
   ФОРМЫ (модалки + секция «Заявки»)
   ======================================================================== */

/* ========================================================================
   ФОРМЫ (модалки + секция «Заявки») — полупрозрачный тёмный стиль
   ======================================================================== */

/* ===== Оверлей модалки ===== */
.tm-modal {
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ===== Диалог: полупрозрачный тёмный с блюром ===== */


/* ===== Заголовок формы ===== */
.tm-form-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffcc00;
    margin: 0 0 28px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .tm-form-title { font-size: 1.4rem; }
}

/* ===== Форма ===== */
.tm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-form-grid {
    display: grid;
    gap: 16px;
}
.tm-form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tm-form-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tm-form-grid-1 { grid-template-columns: 1fr; }

@media (max-width: 768px) {
    .tm-form-grid-3,
    .tm-form-grid-2 { grid-template-columns: 1fr; }
}

/* ===== Поля ввода — плотнее фона диалога ===== */
.tm-form input[type="text"],
.tm-form input[type="tel"],
.tm-form input[type="email"],
.tm-form input[type="number"],
.tm-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(44, 44, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.tm-form input::placeholder,
.tm-form textarea::placeholder {
    color: #999;
}
.tm-form input:focus,
.tm-form textarea:focus {
    outline: none;
    border-color: #ffcc00;
    background: #333;
}
.tm-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* ===== Футер формы ===== */
.tm-form-footer {
    display: grid;
    grid-template-columns: 1.4fr auto auto;
    gap: 22px;
    align-items: center;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
    .tm-form-footer {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== Согласие ===== */
.tm-form-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #bbb;
    cursor: pointer;
    user-select: none;
}
.tm-form-agree input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #ffcc00;
    flex-shrink: 0;
    cursor: pointer;
}
.tm-form-agree a {
    color: #ffcc00;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tm-form-agree a:hover {
    color: #ffe680;
}

/* ===== Капча ===== */
.tm-form-captcha {
    flex-shrink: 0;
}
.tm-captcha-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 10px 14px;
    min-width: 210px;
}
.tm-captcha-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ffcc00;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}
.tm-captcha-box label {
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    user-select: none;
    flex-grow: 1;
}
.tm-captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.6rem;
    color: #888;
    line-height: 1;
    flex-shrink: 0;
}
.tm-captcha-logo svg { display: block; }

/* ===== Кнопка «Отправить» ===== */
.tm-form-submit {
    display: inline-block;
    padding: 14px 40px;
    background: #ffcc00;
    color: #222;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.tm-form-submit:hover {
    background: #e6b800;
}
.tm-form-submit:active {
    background: #cc9900;
}

/* ========================================================================
   СЕКЦИЯ «ПОДАТЬ ЗАЯВКУ» (#zv) — полупрозрачный тёмный блок
   ======================================================================== */

/* Родительский фон: тёмная подложка, чтобы полупрозрачность «читалась» */
#zv {
    background: rgba(30, 30, 30, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

/* Тонкая жёлтая полоска сверху для акцента */
#zv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc00;
}

/* Если backdrop-filter не поддерживается — фон плотнее */
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    #zv {
        background: rgba(30, 30, 30, 0.98);
    }
}

/* Табы */
#zv .tm-tabs {
    margin-bottom: 36px;
}
#zv .tm-tabs > li > a {
    padding: 11px 28px;
    background: rgba(255, 255, 255, 0.06);
    color: #bbb;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#zv .tm-tabs > li > a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
#zv .tm-tabs > li.is-active > a {
    background: #ffcc00;
    color: #222;
    border-color: #ffcc00;
}

/* Заголовок внутри активной вкладки */
#zv .tm-form-title {
    text-align: center;
    font-size: 1.7rem;
    color: #ffcc00;
    margin: 0 0 28px;
}
#zv .tm-form {
    max-width: 900px;
    margin: 0 auto;
}
#zv .tm-form input,
#zv .tm-form textarea {
    background: rgba(44, 44, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}
#zv .tm-form input::placeholder,
#zv .tm-form textarea::placeholder {
    color: #999;
}
#zv .tm-form input:focus,
#zv .tm-form textarea:focus {
    border-color: #ffcc00;
    background: #333;
}
#zv .tm-form-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}
#zv .tm-form-agree {
    color: #bbb;
}
#zv .tm-form-agree a {
    color: #ffcc00;
}

@media (max-width: 768px) {
    #zv .tm-tabs > li > a {
        padding: 10px 20px;
        font-size: 0.82rem;
    }
    #zv .tm-form-title { font-size: 1.4rem; }
}


/* ========================================================================
   МОДАЛКА РЕЗУЛЬТАТА (успех / ошибка)
   ======================================================================== */

.tm-result {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1300;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}
.tm-result.is-open {
    display: flex;
}

.tm-result__dialog {
    position: relative;
    background: #222;
    color: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 44px 36px 36px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: tm-result-in 0.3s ease;
    border-top: 3px solid #ffcc00;
}
.tm-result.is-error .tm-result__dialog {
    border-top-color: #e04a4a;
}

@keyframes tm-result-in {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tm-result__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 26px;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
    transition: color 0.2s;
}
.tm-result__close:hover {
    color: #ffcc00;
}
.tm-result.is-error .tm-result__close:hover {
    color: #e04a4a;
}

.tm-result__icon {
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tm-result-pop 0.5s ease 0.1s both;
}
@keyframes tm-result-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.tm-result__title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffcc00;
    line-height: 1.2;
}
.tm-result.is-error .tm-result__title {
    color: #e04a4a;
}

.tm-result__text {
    margin: 0 0 26px;
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.5;
}

.tm-result__btn {
    display: inline-block;
    padding: 12px 40px;
    background: #ffcc00;
    color: #222;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s;
}
.tm-result__btn:hover {
    background: #e6b800;
}
.tm-result__btn:active {
    transform: scale(0.98);
}

.tm-result.is-error .tm-result__btn {
    background: #e04a4a;
    color: #fff;
}
.tm-result.is-error .tm-result__btn:hover {
    background: #c93a3a;
}

@media (max-width: 480px) {
    .tm-result__dialog {
        padding: 34px 22px 26px;
        border-radius: 12px;
    }
    .tm-result__title { font-size: 1.25rem; }
    .tm-result__text { font-size: 0.9rem; }
    .tm-result__btn { padding: 10px 30px; font-size: 0.85rem; }
}

/* ========================================================================
   ФОРМЫ (модалки + секция «Заявки») — строгий тёмный стиль
   ======================================================================== */

.tm-modal {
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.tm-modal__dialog {
    background: rgba(34, 34, 34, 0.7);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    padding: 40px 44px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    position: relative;

    /* Только одна тонкая жёлтая полоса сверху, без общей рамки */
    border: none;
    border-top: 3px solid #ffcc00;
}

@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
    .tm-modal__dialog {
        background: rgba(34, 34, 34, 0.94);
    }
}

@media (max-width: 768px) {
    .tm-modal__dialog {
        padding: 28px 20px 24px;
        border-radius: 10px;
        margin-top: 20px;
    }
}

.tm-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.tm-modal__close:hover { color: #ffcc00; }

.tm-form-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffcc00;
    margin: 0 0 28px;
    line-height: 1.2;
}
@media (max-width: 768px) { .tm-form-title { font-size: 1.4rem; } }

.tm-form { display: flex; flex-direction: column; gap: 20px; }

.tm-form-grid { display: grid; gap: 16px; }
.tm-form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tm-form-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tm-form-grid-1 { grid-template-columns: 1fr; }
@media (max-width: 768px) {
    .tm-form-grid-3, .tm-form-grid-2 { grid-template-columns: 1fr; }
}

.tm-form input[type="text"],
.tm-form input[type="tel"],
.tm-form input[type="email"],
.tm-form input[type="number"],
.tm-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(44, 44, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.tm-form input::placeholder,
.tm-form textarea::placeholder { color: #999; }
.tm-form input:focus,
.tm-form textarea:focus {
    outline: none;
    border-color: #ffcc00;
    background: #333;
}
.tm-form textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.tm-form-footer {
    display: grid;
    grid-template-columns: 1.4fr auto auto;
    gap: 22px;
    align-items: center;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
    .tm-form-footer { grid-template-columns: 1fr; gap: 16px; }
}

.tm-form-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #bbb;
    cursor: pointer;
    user-select: none;
}
.tm-form-agree input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #ffcc00;
    flex-shrink: 0;
    cursor: pointer;
}
.tm-form-agree a { color: #ffcc00; text-decoration: underline; text-underline-offset: 2px; }
.tm-form-agree a:hover { color: #ffe680; }

.tm-form-captcha { flex-shrink: 0; }
.tm-captcha-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 10px 14px;
    min-width: 210px;
}
.tm-captcha-box input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: #ffcc00;
    cursor: pointer; margin: 0; flex-shrink: 0;
}
.tm-captcha-box label {
    font-size: 0.9rem; color: #333;
    cursor: pointer; user-select: none; flex-grow: 1;
}
.tm-captcha-logo {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; font-size: 0.6rem; color: #888; line-height: 1; flex-shrink: 0;
}
.tm-captcha-logo svg { display: block; }

.tm-form-submit {
    display: inline-block;
    padding: 14px 40px;
    background: #ffcc00;
    color: #222;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.tm-form-submit:hover { background: #e6b800; }
.tm-form-submit:active { background: #cc9900; }

/* Секция «Подать заявку» */
#zv { background: #1e1e1e; }
#zv .tm-tabs { margin-bottom: 36px; }
#zv .tm-tabs > li > a {
    padding: 11px 28px;
    background: #2a2a2a;
    color: #aaa;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid #333;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#zv .tm-tabs > li > a:hover {
    background: #333; color: #ddd; border-color: #444;
}
#zv .tm-tabs > li.is-active > a {
    background: #ffcc00; color: #222; border-color: #ffcc00;
}
#zv .tm-form-title {
    text-align: center; font-size: 1.7rem; color: #ffcc00; margin: 0 0 28px;
}
#zv .tm-form { max-width: 900px; margin: 0 auto; }
#zv .tm-form input,
#zv .tm-form textarea {
    background: rgba(44, 44, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}
#zv .tm-form input::placeholder,
#zv .tm-form textarea::placeholder { color: #999; }
#zv .tm-form input:focus,
#zv .tm-form textarea:focus { border-color: #ffcc00; background: #333; }
#zv .tm-form-footer { border-top-color: rgba(255, 255, 255, 0.1); }
#zv .tm-form-agree { color: #bbb; }
#zv .tm-form-agree a { color: #ffcc00; }

@media (max-width: 768px) {
    #zv .tm-tabs > li > a { padding: 10px 20px; font-size: 0.82rem; }
    #zv .tm-form-title { font-size: 1.4rem; }
}

/* ========================================================================
   МОДАЛКА РЕЗУЛЬТАТА
   ======================================================================== */

.tm-result {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1300;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}
.tm-result.is-open { display: flex; }

.tm-result__dialog {
    position: relative;
    background: #222;
    color: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 44px 36px 36px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: tm-result-in 0.3s ease;
    border-top: 3px solid #ffcc00;
}
.tm-result.is-error .tm-result__dialog { border-top-color: #e04a4a; }

@keyframes tm-result-in {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tm-result__close {
    position: absolute;
    top: 10px; right: 14px;
    background: transparent; border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 26px; line-height: 1;
    padding: 4px 8px; cursor: pointer;
    transition: color 0.2s;
}
.tm-result__close:hover { color: #ffcc00; }
.tm-result.is-error .tm-result__close:hover { color: #e04a4a; }

.tm-result__icon {
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    animation: tm-result-pop 0.5s ease 0.1s both;
}
@keyframes tm-result-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.tm-result__title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffcc00;
    line-height: 1.2;
}
.tm-result.is-error .tm-result__title { color: #e04a4a; }

.tm-result__text {
    margin: 0 0 26px;
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.5;
}

.tm-result__btn {
    display: inline-block;
    padding: 12px 40px;
    background: #ffcc00;
    color: #222;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s;
}
.tm-result__btn:hover { background: #e6b800; }
.tm-result__btn:active { transform: scale(0.98); }

.tm-result.is-error .tm-result__btn { background: #e04a4a; color: #fff; }
.tm-result.is-error .tm-result__btn:hover { background: #c93a3a; }

@media (max-width: 480px) {
    .tm-result__dialog { padding: 34px 22px 26px; border-radius: 12px; }
    .tm-result__title { font-size: 1.25rem; }
    .tm-result__text { font-size: 0.9rem; }
    .tm-result__btn { padding: 10px 30px; font-size: 0.85rem; }
}




/* ========================================================================
   СТРАНИЦА «ВИДЕОНАБЛЮДЕНИЕ»
   ======================================================================== */

#video-page h1 {
    text-align: center;
    font-size: 2.4rem;
    margin: 0 0 40px;
}

.tm-video-hero {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
}

.tm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tm-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}
.tm-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 13px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ffcc00;
}

.tm-video-text {
   background-image: url('images/homePage/banner1.jpg');
    max-width: 900px;
    margin: 60px auto 20px;
    line-height: 1.7;
    color: #444;
}
.tm-video-text p { margin: 0 0 16px; }

.tm-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.tm-steps li {
    position: relative;
    padding: 14px 0 14px 56px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    counter-increment: step;
}
.tm-steps li:last-child { border-bottom: none; }
.tm-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 12px;
    width: 36px; height: 36px;
    background: #ffcc00;
    color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
}

.tm-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ccc;
    font-size: .9rem;
}
.tm-footer-list li { padding: 5px 0; }
.tm-footer-list a { color: #ccc; }
.tm-footer-list a:hover { color: #ffcc00; }

@media (max-width: 700px) {
    .tm-video-hero { height: 220px; }
    #video-page h1 { font-size: 1.8rem; }
}

/* ========================================================================
   СТРАНИЦА «ДОМОФОННЫЕ ТРУБКИ» — карточки товаров
   ======================================================================== */

#trubki-page h1 {
    text-align: center;
    font-size: 2.4rem;
    margin: 0 0 50px;
}

.tm-product-card {
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    gap: 40px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(0,0,0,.04);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
    position: relative;
    overflow: hidden;
}
.tm-product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #ffcc00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.tm-product-card:hover {
    box-shadow: 0 20px 40px -18px rgba(0,0,0,.15);
    border-color: #ffe680;
    transform: translateY(-3px);
}
.tm-product-card:hover::before {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .tm-product-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    #trubki-page h1 { font-size: 1.8rem; margin-bottom: 30px; }
}

/* Инфоблок */
.tm-product-card__info {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}
.tm-product-card__brand {
    display: inline-block;
    align-self: flex-start;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b88a00;
    background: #fff7d6;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.tm-product-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.25;
}
.tm-product-card__info p {
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px;
    font-size: .95rem;
}
.tm-product-card__info .tm-list {
    flex-grow: 1;
    margin-bottom: 20px;
}
.tm-product-card__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}
.tm-product-card__price-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}
.tm-product-card__price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    line-height: 1;
}

/* ===== Галерея ===== */
.tm-gallery {
    position: relative;
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 55px 40px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tm-gallery-viewport {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #f0f0f0;
}
.tm-gallery-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform .35s ease;
    will-change: transform;
}
.tm-gallery-track > li {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}
.tm-gallery-track img {
    max-height: 380px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
    transition: transform .25s ease;
}
.tm-gallery-track img:hover {
    transform: scale(1.02);
}

.tm-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: background .2s, border-color .2s, transform .2s;
}
.tm-gallery-arrow:hover:not(:disabled) {
    background: #ffcc00;
    border-color: #ffcc00;
    transform: translateY(-50%) scale(1.05);
}
.tm-gallery-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.tm-gallery-arrow svg { width: 20px; height: 20px; }
.tm-gallery-prev { left: 8px; }
.tm-gallery-next { right: 8px; }

.tm-gallery-dots {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
}
.tm-gallery-dots > li > a {
    display: block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ccc;
    text-indent: -9999px;
    overflow: hidden;
    transition: background .2s, width .2s;
}
.tm-gallery-dots > li.is-active > a {
    background: #ffcc00;
    width: 22px;
    border-radius: 5px;
}

.tm-note-date {
    text-align: right;
    color: #888;
    font-size: .95rem;
    margin-top: 40px;
}

@media (max-width: 700px) {
    .tm-gallery { padding: 15px 40px 35px; }
    .tm-gallery-arrow { width: 34px; height: 34px; }
    .tm-gallery-arrow svg { width: 16px; height: 16px; }
    .tm-gallery-track img { max-height: 240px; }
    .tm-product-card__title { font-size: 1.3rem; }
    .tm-product-card__price-value { font-size: 1.5rem; }
}

/* ========================================================================
   LIGHTBOX (полноэкранный просмотр фото)
   ======================================================================== */

.tm-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    animation: tm-lb-in .2s ease;
}
.tm-lightbox.is-open { display: flex; }

@keyframes tm-lb-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.tm-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    animation: tm-lb-zoom .25s ease;
    cursor: default;
}
@keyframes tm-lb-zoom {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.tm-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
}
.tm-lightbox__close:hover {
    background: #ffcc00;
    color: #222;
    transform: rotate(90deg);
}

.tm-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.tm-lightbox__arrow:hover { background: #ffcc00; color: #222; }
.tm-lightbox__arrow svg { width: 22px; height: 22px; }
.tm-lightbox__arrow--prev { left: 24px; }
.tm-lightbox__arrow--next { right: 24px; }

.tm-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    letter-spacing: 1px;
    background: rgba(0,0,0,.5);
    padding: 6px 16px;
    border-radius: 20px;
}

@media (max-width: 700px) {
    .tm-lightbox { padding: 15px; }
    .tm-lightbox__arrow { width: 42px; height: 42px; }
    .tm-lightbox__arrow--prev { left: 8px; }
    .tm-lightbox__arrow--next { right: 8px; }
    .tm-lightbox__close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
}


/* ========================================================================
   КАРТОЧКИ «ТИПОВЫЕ РЕШЕНИЯ» (страница Видеонаблюдение)
   ======================================================================== */

.tm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .tm-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.tm-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.18);
    border-color: #ffe680;
}

/* Верхняя часть с фото */
.tm-feature-card__media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f4f4f4;
}

.tm-feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tm-feature-card:hover .tm-feature-card__media img {
    transform: scale(1.06);
}

/* Плашка с иконкой и подписью */
.tm-feature-card__badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #ffcc00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tm-feature-card__badge svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

/* Тёмная полоса-акцент сверху */
.tm-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 2;
}

.tm-feature-card:hover::before {
    transform: scaleX(1);
}

/* Текстовый блок */
.tm-feature-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tm-feature-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
    line-height: 1.3;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.tm-feature-card__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: #ffcc00;
}

.tm-feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-feature-card__list li {
    position: relative;
    padding-left: 22px;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.5;
}

.tm-feature-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15);
}

/* Мобильные */
@media (max-width: 700px) {
    .tm-feature-card__media {
        height: 170px;
    }
    .tm-feature-card__body {
        padding: 18px 20px 22px;
    }
    .tm-feature-card__title {
        font-size: 1.05rem;
    }
}

/* ========================================================================
   ТЁМНЫЙ ТЕКСТОВЫЙ БЛОК «tm-video-descr»
   ======================================================================== */

.tm-video-descr {
    background: #1e1e1e;
    color: rgba(255, 255, 255, 0.85);
    padding: 32px 36px 32px 40px;
    border-radius: 12px;
    border-left: 4px solid #ffcc00;
    margin: 40px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tm-video-descr p {
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.85);
}

.tm-video-descr p:last-child {
    margin-bottom: 0;
    color: #fff;
    font-weight: 500;
}

/* Мобильные */
@media (max-width: 700px) {
    .tm-video-descr {
        padding: 24px 22px 24px 26px;
        margin: 30px 0;
        border-left-width: 3px;
    }
    .tm-video-descr p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}


/* ========================================================================
   БЛОК С ФОНОВЫМ ФОТО: «БЕЗОПАСНОСТЬ В ЦИФРАХ» + 5 ШАГОВ
   ======================================================================== */

.tm-video-block {
    position: relative;
    padding: 80px 0;
    background-image:
        linear-gradient(rgba(15, 15, 15, 0.78), rgba(15, 15, 15, 0.88)),
        url('../images/video/videoSection.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    margin: 60px 0 0;
    overflow: hidden;
}

/* Плавный переход сверху и снизу */
.tm-video-block::before,
.tm-video-block::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
}
.tm-video-block::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent);
}
.tm-video-block::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}

.tm-video-block__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Подзаголовок «5 шагов» */
.tm-video-block__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 48px 0 22px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tm-video-block__subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
}

/* Шаги — светлый текст поверх фото */
.tm-video-block .tm-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tm-video-block .tm-steps li {
    position: relative;
    padding: 16px 0 16px 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.55;
    counter-increment: step;
}
.tm-video-block .tm-steps li:last-child {
    border-bottom: none;
}
.tm-video-block .tm-steps li strong {
    color: #ffcc00;
    margin-right: 4px;
}
.tm-video-block .tm-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 38px;
    height: 38px;
    background: #ffcc00;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px -6px rgba(255, 204, 0, 0.6);
}

/* Плашка с описанием — чуть плотнее, чтобы читалась поверх фото */
.tm-video-block .tm-video-descr {
    margin: 0;
    background: rgba(20, 20, 20, 0.85);
    border-left: 4px solid #ffcc00;
    border-radius: 12px;
    padding: 28px 34px 28px 36px;
    max-width: 100%;
}
.tm-video-block .tm-video-descr p {
    color: rgba(255, 255, 255, 0.88);
}
.tm-video-block .tm-video-descr p:last-child {
    color: #fff;
    font-weight: 500;
}

/* Мобильные */
@media (max-width: 700px) {
    .tm-video-block {
        padding: 50px 0;
        border-radius: 14px;
        margin-top: 40px;
    }
    .tm-video-block__subtitle {
        font-size: 1.25rem;
        margin: 36px 0 18px;
    }
    .tm-video-block .tm-steps li {
        font-size: 0.95rem;
        padding: 14px 0 14px 50px;
    }
    .tm-video-block .tm-steps li::before {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        top: 12px;
    }
    .tm-video-block .tm-video-descr {
        padding: 22px 22px 22px 26px;
    }
}

@media (max-width: 500px) {

.tm-video-block {
 background-position: 15% 50%;

}

}

/* ========================================================================
   HERO-БЛОК «ВИДЕОНАБЛЮДЕНИЕ» (заголовок + кнопка поверх фото)
   ======================================================================== */

.tm-video-hero-block {
    margin-bottom: 40px;
    position: relative;
    padding: 90px 20px;
    background-image: url('../images/video/montaj-videonabludenia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    border-radius: 20px;
}

/* Тёмный градиент поверх фото, чтобы текст читался */
.tm-video-hero-block__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.65) 45%,
        rgba(10, 10, 10, 0.35) 100%
    );
    z-index: 1;
}

.tm-video-hero-block .uk-container {
    position: relative;
    z-index: 2;
}

.tm-video-hero-block__inner {
    max-width: 720px;
}

.tm-video-hero-block__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.tm-video-hero-block__subtitle {
    font-size: 1.15rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin: 0 0 32px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.tm-video-hero-block__btn {
    box-shadow: 0 12px 28px -10px rgba(255, 204, 0, 0.7);
}

/* Планшет / мобильные */
@media (max-width: 900px) {
    .tm-video-hero-block { padding: 70px 0; }
    .tm-video-hero-block__title { font-size: 2.2rem; }
    .tm-video-hero-block__subtitle { font-size: 1rem; }
}

@media (max-width: 600px) {
    .tm-video-hero-block { padding: 56px 0; }
    .tm-video-hero-block__title { font-size: 1.75rem; }
    .tm-video-hero-block__subtitle { font-size: 0.95rem; margin-bottom: 24px; }
    .tm-video-hero-block__btn { padding: 12px 28px; font-size: 0.9rem; }
}



/* ========================================================================
   СТРАНИЦА «ЗАСТРОЙЩИКАМ И УК»
   ======================================================================== */

/* Hero-блок — используем тот же класс, что на Видеонаблюдении,
   но с другой картинкой */
.tm-builders-hero {
    background-image: url('../images/Builders/buildersBanner.png');
}

/* Заголовок раздела «Наши преимущества» */
.tm-builders-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin: 50px 0 26px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.tm-builders-subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
}

/* Сетка карточек преимуществ */
.tm-builders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .tm-builders-grid { grid-template-columns: 1fr; gap: 18px; }
}

.tm-builders-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.tm-builders-card:hover {
    transform: translateY(-4px);
    border-color: #ffe680;
    box-shadow: 0 18px 36px -18px rgba(0,0,0,.15);
}

.tm-builders-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff7d6;
    color: #b88a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tm-builders-card__icon svg { width: 30px; height: 30px; }

.tm-builders-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.3;
}

.tm-builders-card__text {
    font-size: .95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Контактный блок */
.tm-builders-contacts {
    margin-top: 30px;
}

.tm-builders-contacts__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}
@media (max-width: 700px) {
    .tm-builders-contacts__row { grid-template-columns: 1fr; }
}

.tm-builders-contacts__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.tm-builders-contacts__item:hover {
    background: #fff7d6;
    border-color: #ffe680;
    transform: translateY(-2px);
    text-decoration: none;
}

.tm-builders-contacts__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffcc00;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-builders-contacts__icon svg { width: 22px; height: 22px; }

.tm-builders-contacts__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}
.tm-builders-contacts__text strong {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
}

/* ========================================================================
   СТРАНИЦА «ЗАСТРОЙЩИКАМ И УК» — полностью независимые классы
   ======================================================================== */

/* ===== HERO ===== */
.tm-builders-hero {
    position: relative;
    padding: 90px 0;
    background-image: url('../images/Builders/buildersBanner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    border-radius: 0;         /* без скруглений — на всю ширину */
}

.tm-builders-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.65) 45%,
        rgba(10, 10, 10, 0.4) 100%
    );
    z-index: 1;
}

.tm-builders-hero .uk-container {
    position: relative;
    z-index: 2;
}

.tm-builders-hero__inner {
    max-width: 780px;
}

.tm-builders-hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.tm-builders-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 0 24px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Тёмная плашка с описанием — прямо на фото */
.tm-builders-hero__descr {
    background: rgba(20, 20, 20, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-left: 4px solid #ffcc00;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 0 0 28px;
    max-width: 720px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.tm-builders-hero__descr p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
}
.tm-builders-hero__descr p:last-child {
    margin-bottom: 0;
    color: #fff;
    font-weight: 500;
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .tm-builders-hero__descr { background: rgba(20, 20, 20, 0.9); }
}

.tm-builders-hero__btn {
    box-shadow: 0 12px 28px -10px rgba(255, 204, 0, 0.7);
}

@media (max-width: 900px) {
    .tm-builders-hero { padding: 70px 0; }
    .tm-builders-hero__title { font-size: 2.1rem; }
    .tm-builders-hero__subtitle { font-size: 1rem; }
    .tm-builders-hero__descr {
        padding: 18px 20px;
        border-left-width: 3px;
        margin-bottom: 22px;
    }
    .tm-builders-hero__descr p { font-size: 0.95rem; line-height: 1.6; }
}

@media (max-width: 600px) {
    .tm-builders-hero { padding: 50px 0; }
    .tm-builders-hero__title { font-size: 1.7rem; }
    .tm-builders-hero__subtitle { font-size: 0.95rem; margin-bottom: 18px; }
    .tm-builders-hero__descr {
        padding: 16px 18px;
        border-radius: 10px;
    }
    .tm-builders-hero__descr p { font-size: 0.9rem; }
    .tm-builders-hero__btn { padding: 12px 28px; font-size: 0.9rem; }
}

/* ===== ЗАГОЛОВОК РАЗДЕЛА ===== */
.tm-builders-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin: 40px 0 26px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.tm-builders-subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
}

/* ===== СЕТКА ПРЕИМУЩЕСТВ ===== */
.tm-builders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}
@media (max-width: 900px) {
    .tm-builders-grid { grid-template-columns: 1fr; gap: 18px; }
}

.tm-builders-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}
.tm-builders-card:hover {
    transform: translateY(-4px);
    border-color: #ffe680;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .15);
}

.tm-builders-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff7d6;
    color: #b88a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tm-builders-card__icon svg { width: 30px; height: 30px; }

.tm-builders-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.3;
}
.tm-builders-card__text {
    font-size: .95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ===== КОНТАКТЫ ===== */
.tm-builders-contacts { margin-top: 20px; }

.tm-builders-contacts__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}
@media (max-width: 700px) {
    .tm-builders-contacts__row { grid-template-columns: 1fr; }
}

.tm-builders-contacts__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.tm-builders-contacts__item:hover {
    background: #fff7d6;
    border-color: #ffe680;
    transform: translateY(-2px);
    text-decoration: none;
}

.tm-builders-contacts__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffcc00;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-builders-contacts__icon svg { width: 22px; height: 22px; }

.tm-builders-contacts__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}
.tm-builders-contacts__text strong {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
}

/* ========================================================================
   СТРАНИЦА «ОНЛАЙН ОПЛАТА» — версия 2 (светлая) + мобильный адаптив
   ======================================================================== */

/* ===== HERO ===== */
.tm-pay2-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}

.tm-pay2-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.tm-pay2-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-pay2-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.tm-pay2-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}
.tm-pay2-hero__subtitle a {
    color: #b88a00;
    border-bottom: 1px solid rgba(184,138,0,.3);
}
.tm-pay2-hero__subtitle a:hover {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

/* ===== ФОРМА ===== */
.tm-pay2-form-section {
    padding: 40px 0 60px;
}

.tm-pay2-form-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 50px 60px 56px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 20px 50px -30px rgba(0,0,0,.2);
    position: relative;
}
.tm-pay2-form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: #ffcc00;
    border-radius: 20px 20px 0 0;
}

.tm-pay2-form-card__left {
    text-align: center;
    margin-bottom: 32px;
}

.tm-pay2-form-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.2;
}

.tm-pay2-form-note {
    font-size: .9rem;
    line-height: 1.55;
    color: #888;
    max-width: 520px;
    margin: 0 auto;
}

.tm-pay2-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tm-pay2-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tm-pay2-field__label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.tm-pay2-form input[type="number"] {
    width: 100%;
    padding: 16px 18px;
    background: #fafafa;
    border: 2px solid #ececec;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #222;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.tm-pay2-form input::placeholder { color: #bbb; }
.tm-pay2-form input:focus {
    outline: none;
    border-color: #ffcc00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,204,0,.15);
}

.tm-pay2-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: #ffcc00;
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s, box-shadow .25s;
    margin-top: 8px;
    box-shadow: 0 12px 28px -12px rgba(255,204,0,.8);
}
.tm-pay2-submit:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -12px rgba(255,204,0,.9);
}
.tm-pay2-submit:active { transform: translateY(0); }
.tm-pay2-submit svg { width: 20px; height: 20px; }

/* ===== СПОСОБЫ ОПЛАТЫ ===== */
.tm-pay2-methods-section {
    background: #fafafa;
    padding: 70px 0;
}

.tm-pay2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0 0 45px;
    position: relative;
    padding-bottom: 18px;
}
.tm-pay2-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.tm-pay2-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tm-pay2-method {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}
.tm-pay2-method::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #ffcc00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.tm-pay2-method:hover {
    transform: translateY(-4px);
    border-color: #ffe680;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
}
.tm-pay2-method:hover::before { transform: scaleX(1); }

.tm-pay2-method__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff7d6;
    color: #b88a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.tm-pay2-method__icon svg { width: 28px; height: 28px; }

.tm-pay2-method h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.3;
}

.tm-pay2-method p {
    font-size: .92rem;
    line-height: 1.55;
    color: #666;
    margin: 0 0 16px;
    flex-grow: 1;
}

.tm-pay2-method__logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f3f3;
}
.tm-pay2-method__logos img {
    height: 26px;
    width: auto;
    display: block;
    opacity: .9;
}

/* ===== FAQ ===== */
.tm-pay2-faq-section {
    padding: 70px 0;
    background: #fff;
}

.tm-pay2-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tm-pay2-faq__item {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 0;
    transition: border-color .2s, background .2s;
}
.tm-pay2-faq__item[open] {
    background: #fff;
    border-color: #ffe680;
}

.tm-pay2-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    transition: color .2s;
}
.tm-pay2-faq__item summary::-webkit-details-marker { display: none; }
.tm-pay2-faq__item summary::after {
    content: "+";
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffcc00;
    line-height: 1;
    transition: transform .25s;
    flex-shrink: 0;
}
.tm-pay2-faq__item[open] summary::after {
    content: "−";
    color: #b88a00;
}
.tm-pay2-faq__item summary:hover { color: #b88a00; }

.tm-pay2-faq__item p {
    padding: 0 26px 22px;
    font-size: .95rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}
.tm-pay2-faq__item p a {
    color: #b88a00;
    border-bottom: 1px solid rgba(184,138,0,.3);
}
.tm-pay2-faq__item p a:hover {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

/* ===== РЕКВИЗИТЫ ===== */
.tm-pay2-req-section {
    padding: 70px 0 90px;
    background: #fff;
}

.tm-pay2-req {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.tm-pay2-req__row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f3f3;
    align-items: baseline;
}
.tm-pay2-req__row:last-child { border-bottom: none; }
.tm-pay2-req__row:nth-child(even) { background: #fcfcfc; }

.tm-pay2-req__label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #999;
}

.tm-pay2-req__value {
    font-size: .95rem;
    color: #333;
    line-height: 1.5;
}
.tm-pay2-req__value a {
    color: #b88a00;
    border-bottom: 1px solid rgba(184,138,0,.3);
}
.tm-pay2-req__value a:hover {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

/* ========================================================================
   АДАПТИВ
   ======================================================================== */

/* Планшет */
@media (max-width: 1024px) {
    .tm-pay2-methods { grid-template-columns: repeat(2, 1fr); }
}

/* Узкие планшеты и мобильные */
@media (max-width: 900px) {
    .tm-pay2-form-card { padding: 40px 36px 44px; }
    .tm-pay2-methods-section,
    .tm-pay2-faq-section,
    .tm-pay2-req-section { padding: 55px 0; }
}

/* Мобильные */
@media (max-width: 700px) {
    /* Hero */
    .tm-pay2-hero {
        padding: 40px 0 15px;
        text-align: left;
    }
    .tm-pay2-hero__eyebrow {
        font-size: .65rem;
        padding: 5px 12px;
        margin-bottom: 12px;
        letter-spacing: 1.5px;
    }
    .tm-pay2-hero__title {
        font-size: 1.7rem;
        padding-bottom: 14px;
        margin-bottom: 12px;
    }
    .tm-pay2-hero__title::after {
        left: 0;
        transform: none;
        width: 50px;
        height: 2px;
    }
    .tm-pay2-hero__subtitle {
        font-size: .9rem;
        line-height: 1.55;
    }

    /* Форма */
    .tm-pay2-form-section { padding: 20px 0 40px; }
    .tm-pay2-form-card {
        padding: 24px 18px 26px;
        border-radius: 14px;
        box-shadow: 0 10px 30px -20px rgba(0,0,0,.2);
    }
    .tm-pay2-form-card::before {
        height: 4px;
        border-radius: 14px 14px 0 0;
    }
    .tm-pay2-form-card__left { margin-bottom: 20px; }
    .tm-pay2-form-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    .tm-pay2-form-note {
        font-size: .82rem;
        line-height: 1.5;
    }
    .tm-pay2-form { gap: 16px; }
    .tm-pay2-field { gap: 6px; }
    .tm-pay2-field__label {
        font-size: .72rem;
        letter-spacing: .8px;
    }
    .tm-pay2-form input[type="number"] {
        padding: 14px 16px;
        font-size: 1.05rem;
        border-radius: 8px;
    }
    .tm-pay2-submit {
        padding: 16px 24px;
        font-size: .95rem;
        letter-spacing: .6px;
        border-radius: 10px;
        gap: 8px;
    }
    .tm-pay2-submit svg {
        width: 16px;
        height: 16px;
    }

    /* Способы оплаты */
    .tm-pay2-methods-section { padding: 40px 0; }
    .tm-pay2-section-title {
        font-size: 1.35rem;
        margin-bottom: 24px;
        padding-bottom: 14px;
        text-align: left;
    }
    .tm-pay2-section-title::after {
        left: 0;
        transform: none;
        width: 50px;
        height: 2px;
    }
    .tm-pay2-methods {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tm-pay2-method {
        padding: 20px 18px;
        border-radius: 14px;
    }
    .tm-pay2-method__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    .tm-pay2-method__icon svg { width: 22px; height: 22px; }
    .tm-pay2-method h3 { font-size: 1rem; }
    .tm-pay2-method p { font-size: .88rem; }
    .tm-pay2-method__logos img { height: 22px; }

    /* FAQ */
    .tm-pay2-faq-section { padding: 40px 0; }
    .tm-pay2-faq { gap: 10px; }
    .tm-pay2-faq__item { border-radius: 12px; }
    .tm-pay2-faq__item summary {
        padding: 16px 20px;
        font-size: .95rem;
    }
    .tm-pay2-faq__item p {
        padding: 0 20px 18px;
        font-size: .9rem;
    }

    /* Реквизиты */
    .tm-pay2-req-section { padding: 40px 0 60px; }
    .tm-pay2-req { border-radius: 12px; }
    .tm-pay2-req__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 18px;
    }
    .tm-pay2-req__label { font-size: .72rem; }
    .tm-pay2-req__value { font-size: .9rem; }
}

/* Очень узкие экраны */
@media (max-width: 380px) {
    .tm-pay2-hero__title { font-size: 1.5rem; }
    .tm-pay2-form-title { font-size: 1.1rem; }
    .tm-pay2-form input[type="number"] {
        padding: 12px 14px;
        font-size: 1rem;
    }
    .tm-pay2-submit {
        padding: 14px 18px;
        font-size: .88rem;
    }
    .tm-pay2-method { padding: 18px 16px; }
    .tm-pay2-faq__item summary { padding: 14px 16px; font-size: .9rem; }
    .tm-pay2-faq__item p { padding: 0 16px 16px; }
    .tm-pay2-req__row { padding: 12px 16px; }
}

/* ========================================================================
   СТРАНИЦА «НОВОСТИ» — tm-news-*
   ======================================================================== */

.tm-news-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-news-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-news-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-news-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-news-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-news-section {
    padding: 30px 0 80px;
}

.tm-news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.tm-news-filter__btn {
    padding: 10px 22px;
    border: 1px solid #ececec;
    background: #fff;
    border-radius: 30px;
    font-size: .88rem;
    font-weight: 600;
    color: #666;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.tm-news-filter__btn:hover {
    background: #fffbe6;
    border-color: #ffe680;
    color: #b88a00;
}
.tm-news-filter__btn.is-active {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #222;
    box-shadow: 0 8px 20px -10px rgba(255,204,0,.7);
}

.tm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.tm-news-empty {
    text-align: center;
    color: #999;
    font-size: .95rem;
    padding: 40px 0;
}

.tm-news-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tm-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px -18px rgba(0,0,0,.18);
    border-color: #ffe680;
}
.tm-news-card__media {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f4f4f4;
    text-decoration: none;
}
.tm-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.tm-news-card:hover .tm-news-card__media img {
    transform: scale(1.06);
}
.tm-news-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #ffcc00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tm-news-card__body {
    padding: 22px 24px 18px;
    flex-grow: 1;
}
.tm-news-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
}
.tm-news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.tm-news-card__title a:hover {
    color: #b88a00;
    text-decoration: none;
}
.tm-news-card__footer {
    padding: 0 24px 22px;
}
.tm-news-card__btn {
    display: inline-block;
    padding: 10px 26px;
    background: #ffcc00;
    color: #222;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}
.tm-news-card__btn:hover {
    background: #222;
    color: #ffcc00;
    transform: translateY(-2px);
    text-decoration: none;
}
.tm-news-card[hidden] { display: none !important; }

@media (max-width: 1024px) {
    .tm-news-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 700px) {
    .tm-news-hero { padding: 50px 0 20px; }
    .tm-news-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-news-hero__subtitle { font-size: .95rem; }
    .tm-news-section { padding: 20px 0 60px; }
    .tm-news-filter { gap: 8px; margin-bottom: 26px; }
    .tm-news-filter__btn { padding: 8px 18px; font-size: .82rem; }
    .tm-news-grid { grid-template-columns: 1fr; gap: 20px; }
    .tm-news-card__media { height: 180px; }
    .tm-news-card__body { padding: 18px 20px 14px; }
    .tm-news-card__title { font-size: 1rem; }
    .tm-news-card__footer { padding: 0 20px 20px; }
}

/* ========================================================================
   СТРАНИЦА «НАШИ ПАРТНЁРЫ» — tm-partners-*
   ======================================================================== */

.tm-partners-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-partners-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-partners-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-partners-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-partners-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-partners-section {
    padding: 40px 0 80px;
}

/* ===== КАРТОЧКА ПАРТНЁРА ===== */
.tm-partner-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 50px 60px 56px;
    box-shadow: 0 20px 50px -30px rgba(0,0,0,.2);
    position: relative;
    overflow: hidden;
}
.tm-partner-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: #ffcc00;
    border-radius: 20px 20px 0 0;
}

.tm-partner-card__head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
}
.tm-partner-card__badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.tm-partner-card__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.tm-partner-card__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}
.tm-partner-card__lead strong { color: #222; }

.tm-partner-card__media {
    max-width: 640px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    text-align: center;
}
.tm-partner-card__media img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.tm-partner-card__body {
    max-width: 820px;
    margin: 0 auto;
}

.tm-partner-card__subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.tm-partner-card__subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
}

.tm-partner-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tm-partner-card__list li {
    position: relative;
    padding: 16px 18px 16px 56px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: border-color .2s, background .2s, transform .2s;
}
.tm-partner-card__list li:hover {
    background: #fffbe6;
    border-color: #ffe680;
    transform: translateY(-2px);
}
.tm-partner-card__list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 24px;
    height: 24px;
    background: #ffcc00;
    border-radius: 50%;
    background-image:
        linear-gradient(45deg, transparent 45%, #1a1a1a 45%, #1a1a1a 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #1a1a1a 45%, #1a1a1a 55%, transparent 55%);
    background-size: 12px 12px, 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.tm-partner-card__list li strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin-bottom: 4px;
}
.tm-partner-card__list li span {
    display: block;
    font-size: .92rem;
    color: #666;
    line-height: 1.5;
}

.tm-partner-card__footer {
    text-align: center;
    margin-top: 6px;
}
.tm-partner-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: #ffcc00;
    color: #1a1a1a;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .25s;
    box-shadow: 0 12px 28px -12px rgba(255,204,0,.8);
}
.tm-partner-card__btn:hover {
    background: #e6b800;
    transform: translateY(-2px);
    text-decoration: none;
    color: #111;
    box-shadow: 0 18px 32px -12px rgba(255,204,0,.9);
}
.tm-partner-card__btn svg { width: 16px; height: 16px; }

.tm-partner-card__aside {
    max-width: 540px;
    margin: 40px auto 0;
    padding: 24px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    text-align: center;
}
.tm-partner-card__aside img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-partner-card {
        padding: 36px 32px 40px;
    }
    .tm-partner-card__title { font-size: 1.9rem; }
    .tm-partner-card__lead { font-size: 1rem; }
    .tm-partner-card__media { padding: 20px; margin-bottom: 30px; }
    .tm-partner-card__subtitle { font-size: 1.15rem; }
}

@media (max-width: 700px) {
    .tm-partners-hero { padding: 50px 0 20px; text-align: left; }
    .tm-partners-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-partners-hero__title::after {
        left: 0;
        transform: none;
        width: 60px;
        height: 2px;
    }
    .tm-partners-hero__subtitle { font-size: .95rem; }
    .tm-partners-section { padding: 20px 0 60px; }

    .tm-partner-card {
        padding: 24px 20px 30px;
        border-radius: 14px;
    }
    .tm-partner-card::before {
        height: 4px;
        border-radius: 14px 14px 0 0;
    }
    .tm-partner-card__head { margin-bottom: 24px; }
    .tm-partner-card__title { font-size: 1.6rem; margin-bottom: 12px; }
    .tm-partner-card__lead { font-size: .92rem; }
    .tm-partner-card__media { padding: 14px; margin-bottom: 24px; border-radius: 12px; }
    .tm-partner-card__subtitle { font-size: 1.05rem; margin-bottom: 20px; padding-bottom: 12px; }
    .tm-partner-card__list { gap: 12px; margin-bottom: 24px; }
    .tm-partner-card__list li {
        padding: 14px 16px 14px 48px;
        border-radius: 10px;
    }
    .tm-partner-card__list li::before {
        left: 14px;
        top: 18px;
        width: 20px;
        height: 20px;
    }
    .tm-partner-card__list li strong { font-size: .95rem; }
    .tm-partner-card__list li span { font-size: .86rem; }
    .tm-partner-card__btn {
        padding: 14px 24px;
        font-size: .88rem;
        gap: 8px;
    }
    .tm-partner-card__btn svg { width: 14px; height: 14px; }
    .tm-partner-card__aside { padding: 16px; margin-top: 24px; border-radius: 12px; }
}

/* ========================================================================
   СТРАНИЦА «ВАКАНСИИ» — tm-vacancies-*
   ======================================================================== */

.tm-vacancies-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-vacancies-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-vacancies-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-vacancies-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-vacancies-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-vacancies-section {
    padding: 30px 0 80px;
}

.tm-vacancies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.tm-vacancy-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
}
.tm-vacancy-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #ffcc00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.tm-vacancy-card:hover {
    transform: translateY(-4px);
    border-color: #ffe680;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
}
.tm-vacancy-card:hover::before {
    transform: scaleX(1);
}

.tm-vacancy-card__head {
    padding: 26px 26px 18px;
    border-bottom: 1px solid #f5f5f5;
}
.tm-vacancy-card__badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b88a00;
    background: #fff7d6;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.tm-vacancy-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.35;
}

.tm-vacancy-card__body {
    padding: 20px 26px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.tm-vacancy-card__lead {
    font-size: .95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
}
.tm-vacancy-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tm-vacancy-card__list li {
    position: relative;
    padding-left: 22px;
    color: #555;
    font-size: .92rem;
    line-height: 1.5;
}
.tm-vacancy-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255,204,0,.15);
}

/* CTA-блок «Не нашли вакансию?» */
.tm-vacancies-cta {
    margin-top: 10px;
}
.tm-vacancies-cta__inner {
    background: #1e1e1e;
    color: #fff;
    border-radius: 20px;
    padding: 44px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #ffcc00;
}
.tm-vacancies-cta__inner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,204,0,.1), transparent 70%);
    pointer-events: none;
}
.tm-vacancies-cta__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.tm-vacancies-cta__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,.7);
    margin: 0 0 26px;
}
.tm-vacancies-cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-vacancies-grid { grid-template-columns: 1fr; gap: 18px; }
    .tm-vacancies-cta__inner { padding: 34px 26px 32px; }
    .tm-vacancies-cta__title { font-size: 1.35rem; }
}

@media (max-width: 700px) {
    .tm-vacancies-hero { padding: 50px 0 20px; text-align: left; }
    .tm-vacancies-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-vacancies-hero__title::after {
        left: 0;
        transform: none;
        width: 60px;
        height: 2px;
    }
    .tm-vacancies-hero__subtitle { font-size: .95rem; }
    .tm-vacancies-section { padding: 20px 0 60px; }
    .tm-vacancy-card__head { padding: 20px 20px 14px; }
    .tm-vacancy-card__title { font-size: 1rem; }
    .tm-vacancy-card__body { padding: 16px 20px 20px; }
    .tm-vacancy-card__lead { font-size: .9rem; }
    .tm-vacancy-card__list li { font-size: .86rem; }
    .tm-vacancies-cta__inner { padding: 28px 20px 26px; border-radius: 14px; }
    .tm-vacancies-cta__title { font-size: 1.2rem; }
    .tm-vacancies-cta__text { font-size: .9rem; }
    .tm-vacancies-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .tm-vacancies-cta__actions .tm-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================================================
   СТРАНИЦА «КОНТАКТЫ» — tm-contacts-* / tm-office-card
   ======================================================================== */

.tm-contacts-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-contacts-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-contacts-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-contacts-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-contacts-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-contacts-section {
    padding: 30px 0 80px;
}

/* ===== КАРТОЧКА ОФИСА ===== */
.tm-office-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px -28px rgba(0,0,0,.2);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.tm-office-card:hover {
    border-color: #ffe680;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
}
.tm-office-card:last-of-type { margin-bottom: 0; }

.tm-office-card__map {
    position: relative;
    min-height: 420px;
    background: #f4f4f4;
}
.tm-office-card__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tm-office-card__info {
    padding: 36px 40px 36px;
    display: flex;
    flex-direction: column;
}

.tm-office-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b88a00;
    background: #fff7d6;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.tm-office-card__title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.tm-office-card__city {
    font-size: .95rem;
    color: #888;
    margin: 0 0 24px;
}

.tm-office-card__block {
    padding: 18px 0 0;
    border-top: 1px solid #f3f3f3;
    margin-top: 18px;
}
.tm-office-card__block:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.tm-office-card__block-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin: 0 0 12px;
}

.tm-office-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tm-office-card__list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 1rem;
    line-height: 1.45;
}
.tm-office-card__label {
    font-size: .82rem;
    color: #888;
}
.tm-office-card__list a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(184,138,0,.25);
    align-self: flex-start;
    transition: color .2s, border-color .2s;
}
.tm-office-card__list a:hover {
    color: #b88a00;
    border-bottom-color: #ffcc00;
}

.tm-office-card__hours {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tm-office-card__hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: .92rem;
    line-height: 1.45;
    padding: 4px 0;
    border-bottom: 1px dashed #f0f0f0;
    color: #555;
}
.tm-office-card__hours li:last-child { border-bottom: none; }
.tm-office-card__hours li span:last-child {
    color: #222;
    font-weight: 600;
    white-space: nowrap;
}

.tm-office-card__email {
    color: #b88a00;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(184,138,0,.25);
    align-self: flex-start;
    transition: color .2s, border-color .2s;
}
.tm-office-card__email:hover {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

/* Реверс: карта справа */
.tm-office-card--reverse {
    grid-template-columns: 1fr 1.3fr;
}
.tm-office-card--reverse .tm-office-card__map { order: 2; }
.tm-office-card--reverse .tm-office-card__info { order: 1; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1000px) {
    .tm-office-card,
    .tm-office-card--reverse {
        grid-template-columns: 1fr;
    }
    .tm-office-card--reverse .tm-office-card__map { order: 0; }
    .tm-office-card__map { min-height: 320px; }
    .tm-office-card__info { padding: 28px 26px 30px; }
    .tm-office-card__title { font-size: 1.4rem; }
}

@media (max-width: 700px) {
    .tm-contacts-hero { padding: 50px 0 20px; text-align: left; }
    .tm-contacts-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-contacts-hero__title::after {
        left: 0;
        transform: none;
        width: 60px;
        height: 2px;
    }
    .tm-contacts-hero__subtitle { font-size: .95rem; }
    .tm-contacts-section { padding: 20px 0 60px; }
    .tm-office-card { border-radius: 14px; margin-bottom: 20px; }
    .tm-office-card__map { min-height: 260px; }
    .tm-office-card__info { padding: 22px 20px 24px; }
    .tm-office-card__title { font-size: 1.25rem; }
    .tm-office-card__list li { font-size: .95rem; }
    .tm-office-card__hours li { font-size: .88rem; flex-direction: column; gap: 2px; }
    .tm-office-card__hours li span:last-child { white-space: normal; }
}

/* ========================================================================
   СТРАНИЦА «НАША КОМАНДА» — tm-team-*
   ======================================================================== */

.tm-team-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-team-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-team-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-team-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-team-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-team-section {
    padding: 30px 0 80px;
}

/* ========================================================================
   СТРАНИЦА «НАША КОМАНДА» — tm-team-*
   ======================================================================== */

.tm-team-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-team-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-team-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.tm-team-hero__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-team-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.tm-team-section {
    padding: 30px 0 80px;
}

/* ===== ОДНО ФОТО КОМАНДЫ ===== */
/* ===== ОДНО ФОТО КОМАНДЫ ===== */
.tm-team-photo {
    max-width: 620px;
    margin: 0 auto 40px;
    padding: 0;
    text-align: center;
}
.tm-team-photo img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -22px rgba(0,0,0,.25);
    margin: 0 auto;
}
.tm-team-photo figcaption {
    margin-top: 14px;
    font-size: .88rem;
    line-height: 1.5;
    color: #888;
    font-style: italic;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ВСТУПИТЕЛЬНЫЙ ТЕКСТ ===== */
.tm-team-intro {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}
.tm-team-intro__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.25;
    position: relative;
    padding-bottom: 18px;
}
.tm-team-intro__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-team-intro__text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 14px;
}
.tm-team-intro__text:last-child { margin-bottom: 0; }

/* ===== CTA ===== */
.tm-team-cta { margin-top: 20px; }
.tm-team-cta__inner {
    background: #1e1e1e;
    color: #fff;
    border-radius: 20px;
    padding: 44px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #ffcc00;
}
.tm-team-cta__inner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,204,0,.1), transparent 70%);
    pointer-events: none;
}
.tm-team-cta__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.tm-team-cta__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,.7);
    margin: 0 0 26px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-team-photo { max-width: 480px; margin-bottom: 30px; }
    .tm-team-photo img { max-width: 480px; border-radius: 12px; }
    .tm-team-intro__title { font-size: 1.4rem; }
    .tm-team-intro__text { font-size: .95rem; }
}

@media (max-width: 700px) {
    .tm-team-hero { padding: 50px 0 20px; text-align: left; }
    .tm-team-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-team-hero__title::after { left: 0; transform: none; width: 60px; height: 2px; }
    .tm-team-hero__subtitle { font-size: .95rem; }
    .tm-team-section { padding: 20px 0 60px; }

    .tm-team-photo { max-width: 340px; margin-bottom: 24px; }
    .tm-team-photo img { max-width: 340px; border-radius: 12px; }
    .tm-team-photo figcaption { font-size: .8rem; max-width: 340px; }

    .tm-team-intro__title { font-size: 1.2rem; }
    .tm-team-intro__text { font-size: .92rem; }

    .tm-team-cta__inner { padding: 28px 20px 26px; border-radius: 14px; }
    .tm-team-cta__title { font-size: 1.2rem; }
    .tm-team-cta__text { font-size: .9rem; }
}
/* ===== ВСТУПИТЕЛЬНЫЙ ТЕКСТ ===== */
.tm-team-intro {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}
.tm-team-intro__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.25;
    position: relative;
    padding-bottom: 18px;
}
.tm-team-intro__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}
.tm-team-intro__text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 14px;
}
.tm-team-intro__text:last-child { margin-bottom: 0; }

/* ===== CTA ===== */
.tm-team-cta { margin-top: 40px; }
.tm-team-cta__inner {
    background: #1e1e1e;
    color: #fff;
    border-radius: 20px;
    padding: 44px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #ffcc00;
}
.tm-team-cta__inner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,204,0,.1), transparent 70%);
    pointer-events: none;
}
.tm-team-cta__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.tm-team-cta__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,.7);
    margin: 0 0 26px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-team-gallery { padding: 14px 46px 46px; }
    .tm-team-gallery .tm-gallery-viewport,
    .tm-team-gallery .tm-gallery-track > li { min-height: 340px; }
    .tm-team-gallery .tm-gallery-track img { max-height: 400px; }
    .tm-team-intro__title { font-size: 1.4rem; }
    .tm-team-intro__text { font-size: .95rem; }
}

@media (max-width: 700px) {
    .tm-team-hero { padding: 50px 0 20px; text-align: left; }
    .tm-team-hero__title { font-size: 2rem; padding-bottom: 18px; }
    .tm-team-hero__title::after { left: 0; transform: none; width: 60px; height: 2px; }
    .tm-team-hero__subtitle { font-size: .95rem; }
    .tm-team-section { padding: 20px 0 60px; }

    .tm-team-gallery { padding: 10px 36px 40px; border-radius: 12px; margin-bottom: 30px; }
    .tm-team-gallery .tm-gallery-viewport,
    .tm-team-gallery .tm-gallery-track > li { min-height: 260px; }
    .tm-team-gallery .tm-gallery-track > li { padding: 8px; }
    .tm-team-gallery .tm-gallery-track img { max-height: 300px; }
    .tm-team-gallery .tm-gallery-arrow { width: 34px; height: 34px; }
    .tm-team-gallery .tm-gallery-arrow svg { width: 16px; height: 16px; }
    .tm-team-gallery .tm-gallery-prev { left: 4px; }
    .tm-team-gallery .tm-gallery-next { right: 4px; }
    .tm-team-gallery .tm-gallery-dots { bottom: 10px; }
    .tm-team-gallery .tm-gallery-dots > li > a { width: 6px; height: 6px; }
    .tm-team-gallery .tm-gallery-dots > li.is-active > a { width: 16px; }

    .tm-team-intro__title { font-size: 1.2rem; }
    .tm-team-intro__text { font-size: .92rem; }
    .tm-team-cta__inner { padding: 28px 20px 26px; border-radius: 14px; }
    .tm-team-cta__title { font-size: 1.2rem; }
    .tm-team-cta__text { font-size: .9rem; }
}

/* ========================================================================
   СТАТЬЯ ВНУТРИ МОДАЛКИ НОВОСТЕЙ (без обёрток .tm-modal)
   ======================================================================== */

/* Заголовок с бейджем и датой */
.tm-modal__content .tm-article {
    max-width: 100%;
    margin: 0;
}

.tm-modal__content .tm-article__header {
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.tm-modal__content .tm-article__header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.tm-modal__content .tm-article__badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.tm-modal__content .tm-article__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.tm-modal__content .tm-article__date {
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Основной текст статьи */
.tm-modal__content .tm-article__body {
    font-size: .98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}
.tm-modal__content .tm-article__body > p {
    margin: 0 0 18px;
}
.tm-modal__content .tm-article__body > p:last-child { margin-bottom: 0; }

/* Список требований */
.tm-modal__content .tm-article__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tm-modal__content .tm-article__list li {
    position: relative;
    padding: 12px 18px 12px 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: .95rem;
    line-height: 1.55;
    transition: background .2s, border-color .2s;
}
.tm-modal__content .tm-article__list li:hover {
    background: rgba(255, 204, 0, 0.06);
    border-color: rgba(255, 204, 0, 0.35);
}
.tm-modal__content .tm-article__list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 17px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffcc00;
    background-image:
        linear-gradient(45deg, transparent 45%, #1a1a1a 45%, #1a1a1a 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #1a1a1a 45%, #1a1a1a 55%, transparent 55%);
    background-size: 10px 10px, 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Адаптив */
@media (max-width: 700px) {
    .tm-modal__content .tm-article__title { font-size: 1.35rem; }
    .tm-modal__content .tm-article__body { font-size: .92rem; }
    .tm-modal__content .tm-article__list li {
        padding: 10px 14px 10px 42px;
        font-size: .88rem;
    }
    .tm-modal__content .tm-article__list li::before {
        left: 13px;
        top: 14px;
        width: 18px;
        height: 18px;
    }
}

/* Подзаголовок внутри статьи */
.tm-modal__content .tm-article__subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 28px 0 16px;
    line-height: 1.3;
}

/* Предупреждение (акцентный абзац) */
.tm-modal__content .tm-article__warning {
    margin-top: 24px !important;
    padding: 16px 20px;
    background: rgba(224, 74, 74, 0.1);
    border-left: 4px solid #e04a4a;
    border-radius: 8px;
    color: #ffb8b8 !important;
    font-weight: 600;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .tm-modal__content .tm-article__subtitle { font-size: 1rem; margin: 22px 0 12px; }
    .tm-modal__content .tm-article__warning { padding: 14px 16px; font-size: .9rem; }
}

/* Уточнения для длинного текста внутри модалки */
.tm-modal__content .tm-article__body em {
    color: rgba(255, 255, 255, 0.55);
    font-style: normal;
    font-size: .88em;
}

.tm-modal__content .tm-article__body strong {
    color: #ffcc00;
    font-weight: 700;
}

/* Подзаголовок компании в модалке */
.tm-modal__content .tm-article__subtitle {
    margin-top: 32px;
}
.tm-modal__content .tm-article__subtitle:first-child {
    margin-top: 0;
}

/* Список чуть плотнее, потому что строк много */
.tm-modal__content .tm-article__list {
    margin-bottom: 22px;
}
.tm-modal__content .tm-article__list li {
    padding: 10px 16px 10px 46px;
    font-size: .93rem;
}

/* Картинка внутри модалки-статьи */
.tm-modal__content .tm-article__media {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tm-modal__content .tm-article__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .tm-modal__content .tm-article__media {
        margin: 18px 0;
        border-radius: 10px;
    }
    .tm-modal__content .tm-article__media img {
        max-height: 300px;
    }
}

/* Ссылка внутри .tm-article__warning */
.tm-modal__content .tm-article__warning a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tm-modal__content .tm-article__warning a:hover {
    color: #ffcc00;
}

/* ===== Дополнительные элементы статьи в модалке ===== */

/* Подзаголовок-лид под шапкой */
.tm-modal__content .tm-article__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 14px 0 0;
    max-width: 640px;
}

/* Цитата / интервью */
.tm-modal__content .tm-article__quote {
    margin: 24px 0;
    padding: 20px 24px 20px 28px;
    background: rgba(255, 204, 0, 0.06);
    border-left: 4px solid #ffcc00;
    border-radius: 10px;
    position: relative;
}
.tm-modal__content .tm-article__quote p {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
}
.tm-modal__content .tm-article__quote p::before { content: "«"; }
.tm-modal__content .tm-article__quote p::after  { content: "»"; }
.tm-modal__content .tm-article__quote footer {
    font-size: .88rem;
    color: #ffcc00;
    font-weight: 600;
    font-style: normal;
}

/* Строка CTA внутри текста */
.tm-modal__content .tm-article__cta-line {
    margin: 26px 0;
    padding: 18px 22px;
    background: rgba(255, 204, 0, 0.08);
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.55;
    color: #fff !important;
    font-weight: 500;
    text-align: center;
}
.tm-modal__content .tm-article__cta-line a {
    color: #ffcc00;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 0, 0.4);
    transition: border-color .2s;
}
.tm-modal__content .tm-article__cta-line a:hover {
    border-bottom-color: #ffcc00;
}

/* Подпись/источник в конце */
.tm-modal__content .tm-article__meta {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: .84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-style: normal;
}

/* Адаптив */
@media (max-width: 700px) {
    .tm-modal__content .tm-article__lead { font-size: .95rem; }
    .tm-modal__content .tm-article__quote {
        padding: 16px 18px 16px 22px;
        margin: 18px 0;
    }
    .tm-modal__content .tm-article__quote p { font-size: .92rem; }
    .tm-modal__content .tm-article__quote footer { font-size: .82rem; }
    .tm-modal__content .tm-article__cta-line {
        padding: 14px 18px;
        font-size: .92rem;
    }
    .tm-modal__content .tm-article__meta { font-size: .78rem; }
}

/* ===== Интервью Q&A внутри модалки ===== */
.tm-modal__content .tm-article__qa {
    margin: 0 0 26px;
}
.tm-modal__content .tm-article__qa:last-child {
    margin-bottom: 0;
}

/* Вопрос */
.tm-modal__content .tm-article__q {
    margin: 0 0 14px;
    padding: 14px 20px;
    background: rgba(255, 204, 0, 0.08);
    border-left: 3px solid #ffcc00;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
}

/* Ответ */
.tm-modal__content .tm-article__a {
    padding-left: 20px;
    position: relative;
}
.tm-modal__content .tm-article__a::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
}
.tm-modal__content .tm-article__a p {
    margin: 0 0 14px;
    font-size: .98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}
.tm-modal__content .tm-article__a p:last-child { margin-bottom: 0; }

/* Адаптив */
@media (max-width: 700px) {
    .tm-modal__content .tm-article__qa { margin-bottom: 20px; }
    .tm-modal__content .tm-article__q {
        padding: 12px 16px;
        font-size: .92rem;
    }
    .tm-modal__content .tm-article__a { padding-left: 14px; }
    .tm-modal__content .tm-article__a::before { left: 2px; }
    .tm-modal__content .tm-article__a p { font-size: .92rem; }
}

/* ========================================================================
   СТИЛИ ДЛЯ СТАТЬИ «ВЫБОР СИСТЕМЫ ВИДЕОНАБЛЮДЕНИЯ» — блоки, иконки, карточки
   ======================================================================== */

/* ===== Вводный блок ===== */
.tm-vg-intro {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    align-items: center;
    background: #fffbe6;
    border: 1px solid #ffe680;
    border-radius: 20px;
    padding: 30px 34px;
    margin-bottom: 40px;
}
.tm-vg-intro__icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: #ffcc00;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-vg-intro__icon svg { width: 48px; height: 48px; }
.tm-vg-intro__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.tm-vg-intro__text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 700px) {
    .tm-vg-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 22px;
        border-radius: 16px;
        text-align: center;
    }
    .tm-vg-intro__icon { margin: 0 auto; width: 72px; height: 72px; }
    .tm-vg-intro__icon svg { width: 36px; height: 36px; }
    .tm-vg-intro__title { font-size: 1.15rem; }
}

/* ===== Оглавление ===== */
.tm-vg-toc {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 40px;
}
.tm-vg-toc__label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 12px;
}
.tm-vg-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tm-vg-toc__list li { margin: 0; padding: 0; }
.tm-vg-toc__list a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    color: #333;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.tm-vg-toc__list a:hover {
    background: #fffbe6;
    border-color: #ffe680;
    color: #b88a00;
    text-decoration: none;
}

/* ===== Блок-секция с иконкой ===== */
.tm-vg-block {
    margin-bottom: 60px;
    padding: 0;
    scroll-margin-top: 100px;
}
.tm-vg-block:last-child { margin-bottom: 0; }

.tm-vg-block__head {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    align-items: center;
    padding: 24px 28px;
    background: #1e1e1e;
    border-radius: 18px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.tm-vg-block__head::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: #ffcc00;
}
.tm-vg-block__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.35);
    color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-vg-block__icon svg { width: 36px; height: 36px; }
.tm-vg-block__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
    padding: 0;
    border: none;
}
.tm-vg-block__title::after { display: none; }
.tm-vg-block__subtitle {
    font-size: .92rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.tm-vg-block__body p {
    margin: 0 0 18px;
}

@media (max-width: 700px) {
    .tm-vg-block { margin-bottom: 44px; }
    .tm-vg-block__head {
        grid-template-columns: 56px 1fr;
        gap: 16px;
        padding: 18px 20px;
        border-radius: 14px;
        margin-bottom: 24px;
    }
    .tm-vg-block__icon { width: 56px; height: 56px; border-radius: 12px; }
    .tm-vg-block__icon svg { width: 28px; height: 28px; }
    .tm-vg-block__title { font-size: 1.2rem; }
    .tm-vg-block__subtitle { font-size: .82rem; }
}

/* ===== Акцентная плашка «Заметка» ===== */
.tm-vg-note {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    background: #fffbe6;
    border-left: 4px solid #ffcc00;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 24px 0;
}
.tm-vg-note__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffcc00;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-vg-note__icon svg { width: 22px; height: 22px; }
.tm-vg-note p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.65;
    color: #555;
}
.tm-vg-note p strong { color: #222; }

/* Плашка-предупреждение */
.tm-vg-warn {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    background: rgba(224, 74, 74, 0.06);
    border-left: 4px solid #e04a4a;
}
/* ===== HERO ===== */
.tm-video-guide-hero {
    background: #fff;
    padding: 70px 0 30px;
    text-align: center;
}
.tm-video-guide-hero__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a00;
    background: #fff7d6;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.tm-video-guide-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    line-height: 1.1;
}
.tm-video-guide-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

/* ===== СТАТЬЯ ===== */
.tm-video-guide-section {
    padding: 30px 0 80px;
}
.tm-video-guide {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== КАРТИНКИ В СТАТЬЕ ===== */
.tm-video-guide__figure {
    margin: 24px 0;
    text-align: center;
}
.tm-video-guide__figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,.2);
}

/* ===== ЗАГОЛОВКИ H3 ===== */
.tm-video-guide__h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin: 30px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffcc00;
}

/* ===== БЛОКИ С КАРТИНКОЙ И ТЕКСТОМ (виды камер) ===== */
.tm-vg-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 20px;
}
.tm-vg-item--reverse {
    grid-template-columns: 1fr 200px;
}
.tm-vg-item--reverse .tm-vg-item__media {
    order: 2;
}
.tm-vg-item--reverse .tm-vg-item__text {
    order: 1;
}
.tm-vg-item__media img {
    width: 100%;
    height: auto;
    max-width: 200px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}
.tm-vg-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.tm-vg-item__text p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.6;
    color: #555;
}

/* ===== СЕТКА ХАРАКТЕРИСТИК ===== */
.tm-vg-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.tm-vg-feature {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}
.tm-vg-feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #fff7d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b88a00;
}
.tm-vg-feature__icon svg {
    width: 32px;
    height: 32px;
}
.tm-vg-feature__title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.tm-vg-feature p {
    font-size: .88rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* ===== ДВЕ КОЛОНКИ (виды мониторов/панелей) ===== */
.tm-vg-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 24px 0;
}
.tm-vg-col {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px;
}
.tm-vg-col__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tm-vg-col__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffcc00;
    flex-shrink: 0;
}
.tm-vg-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tm-vg-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: .9rem;
    line-height: 1.5;
    color: #555;
}
.tm-vg-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffcc00;
}

/* ===== ПРЕДУПРЕЖДЕНИЕ ===== */
.tm-vg-warn {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    background: rgba(224, 74, 74, 0.06);
    border-left: 4px solid #e04a4a;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 24px 0;
}
.tm-vg-warn__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e04a4a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tm-vg-warn__icon svg {
    width: 22px;
    height: 22px;
}
.tm-vg-warn p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.65;
    color: #555;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-vg-item,
    .tm-vg-item--reverse {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tm-vg-item--reverse .tm-vg-item__media,
    .tm-vg-item--reverse .tm-vg-item__text {
        order: 0;
    }
    .tm-vg-features {
        grid-template-columns: 1fr;
    }
    .tm-vg-cols {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .tm-video-guide-hero__title { font-size: 2rem; }
    .tm-vg-item { padding: 16px; }
    .tm-vg-feature { padding: 20px 16px; }
    .tm-vg-col { padding: 18px; }
}


/* ========================================================================
   OFFCANVAS — стилизация существующего бургер-меню
   ======================================================================== */

.tm-offcanvas {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1100;
}
.tm-offcanvas.is-open {
    display: block;
}

/* Панель */
.tm-offcanvas__bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 88vw;
    background: #1e1e1e;
    color: #fff;
    padding: 60px 0 20px;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    animation: tm-slide-in 0.28s ease;
}
@keyframes tm-slide-in {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* Кнопка закрытия */
.tm-offcanvas__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.tm-offcanvas__close:hover {
    background: #ffcc00;
    color: #1a1a1a;
    transform: rotate(90deg);
}

/* Меню */
.tm-offcanvas__menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.tm-offcanvas__menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tm-offcanvas__menu li:last-child {
    border-bottom: none;
}
.tm-offcanvas__menu a {
    display: block;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tm-offcanvas__menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffcc00;
    border-left-color: #ffcc00;
    text-decoration: none;
}

/* Подпункты (строки, начинающиеся с «—») */
.tm-offcanvas__menu li a::first-letter {
    /* без изменений, просто оставляем как есть */
}

/* Блокировка скролла body */
body.tm-no-scroll {
    overflow: hidden;
}

/* ========================================================================
   ТАБЛИЦЫ ЦЕН — карточки на мобильных (без скролла)
   ======================================================================== */

@media (max-width: 700px) {

    /* Заголовок таблицы скрываем */
    #price .tm-table thead { display: none; }

    /* Таблица и части — как блоки */
    #price .tm-table,
    #price .tm-table tbody,
    #price .tm-table tr,
    #price .tm-table td {
        display: block;
        width: 100%;
    }

    /* ===== КАРТОЧКА СТРОКИ ===== */
    #price .tm-table tr {
        position: relative;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 14px;
        padding: 16px 18px 14px 22px;
        margin-bottom: 14px;
        box-shadow: 0 4px 14px -8px rgba(0,0,0,.12);
        overflow: hidden;
    }

    /* Жёлтая вертикальная полоса слева */
    #price .tm-table tr::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(to bottom, #ffcc00, #e6b800);
    }

    /* ===== НОМЕР (первая колонка) ===== */
    #price .tm-table tr td:first-child {
        display: inline-block;
        width: auto;
        padding: 0 0 8px 0;
        font-size: .7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #b88a00;
        background: #fff7d6;
        border-radius: 20px;
        padding: 3px 10px;
        margin-bottom: 10px;
        border: none;
    }

    /* Если номер пустой — не показываем плашку */
    #price .tm-table tr td:first-child:empty {
        display: none;
    }

    /* ===== НАЗВАНИЕ (вторая колонка) ===== */
    #price .tm-table tr td:nth-child(2) {
        padding: 0 0 12px 0;
        font-weight: 700;
        color: #1a1a1a;
        font-size: 1rem;
        line-height: 1.35;
        border-bottom: 2px solid #ffcc00;
        margin-bottom: 12px;
        display: block;
    }

    /* ===== ОСТАЛЬНЫЕ ПОЛЯ (стоимость и т.п.) ===== */
    #price .tm-table tr td:nth-child(n+3) {
        position: relative;
        padding: 10px 0 10px 0;
        font-size: .95rem;
        font-weight: 600;
        color: #222;
        border: none;
        text-align: left !important;
        white-space: normal !important;
        border-bottom: 1px dashed #ececec;
    }
    #price .tm-table tr td:nth-child(n+3):last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Подпись столбца — мелким серым над значением */
    #price .tm-table tr td:nth-child(n+3)::before {
        content: attr(data-label);
        display: block;
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .7px;
        color: #999;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    /* Значение — жёлтым акцентом, если это цена/число */
    #price .tm-table tr td.tm-text-right {
        color: #b88a00;
        font-weight: 700;
        font-size: 1rem;
    }

    /* Пустые td не показываем */
    #price .tm-table tr td:empty {
        display: none;
    }

    /* ===== СТРОКА-РАЗДЕЛИТЕЛЬ («Оборудование и материалы») ===== */
    #price .tm-table tr:has(td:only-child) {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 20px 0 14px;
        overflow: visible;
    }
    #price .tm-table tr:has(td:only-child)::before {
        display: none;
    }
    #price .tm-table tr td:only-child {
        display: block;
        background: #1e1e1e;
        color: #ffcc00;
        border-radius: 10px;
        padding: 12px 18px;
        text-align: center;
        font-weight: 700;
        font-size: .82rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
    }

    /* ===== КОНТЕЙНЕР ===== */
    #price .tm-accordion-content {
        padding: 6px 0 16px;
    }

    /* Аккордеон-заголовок — компактнее */
    #price .tm-accordion-title {
        padding: 16px 18px;
        font-size: .95rem;
    }

    /* Кнопка «Выбрать трубку» — на всю ширину */
    #price .tm-center a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: .95rem;
        margin: 10px 0 30px;
        box-sizing: border-box;
    }

    
}

/* ========================================================================
   ВАЛИДАЦИЯ ФОРМ — строгая, с подсветкой и подписями
   ======================================================================== */

/* Обёртка поля — наследует размеры родительской сетки */
.tm-form-field {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

/* Поля внутри обёртки — на всю ширину */
.tm-form-field > input,
.tm-form-field > textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Ошибка */
.tm-form input.is-invalid,
.tm-form textarea.is-invalid {
    border-color: #e04a4a !important;
    background: rgba(224, 74, 74, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(224, 74, 74, 0.12) !important;
}

/* Успех */
.tm-form input.is-valid,
.tm-form textarea.is-valid {
    border-color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.06) !important;
}

/* Фокус на невалидном */
.tm-form input.is-invalid:focus,
.tm-form textarea.is-invalid:focus {
    border-color: #e04a4a !important;
    box-shadow: 0 0 0 3px rgba(224, 74, 74, 0.22) !important;
}

/* Подпись ошибки — строго под полем */
.tm-form-field > .tm-form-error {
    display: block;
    margin-top: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: #ff6b6b;
    line-height: 1.3;
    letter-spacing: .2px;
    animation: tm-err-in .18s ease;
}

@keyframes tm-err-in {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tm-form-error::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 50%;
    background: #e04a4a;
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Согласие */
.tm-form-agree.has-error {
    color: #ff6b6b;
}
.tm-form-agree.has-error input[type="checkbox"] {
    outline: 2px solid #e04a4a;
    outline-offset: 2px;
    border-radius: 3px;
}
.tm-form-agree.has-error a {
    color: #ff6b6b;
}

/* Тряска формы при submit с ошибками */
@keyframes tm-shake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-4px); }
    40%      { transform: translateX(4px); }
    60%      { transform: translateX(-3px); }
    80%      { transform: translateX(3px); }
}
.tm-form.is-shake {
    animation: tm-shake .35s ease;
}

/* Сетка формы — выравнивание по верху, чтобы ошибки не ломали высоту */
.tm-form-grid {
    align-items: start;
}

/* ========================================================================
   МОДАЛКА — компактнее, если открыта
   ======================================================================== */

.tm-modal__dialog .tm-form {
    gap: 14px;
}

.tm-modal__dialog .tm-form-grid {
    gap: 14px;
}

.tm-modal__dialog .tm-form-error {
    font-size: .7rem;
    line-height: 1.25;
    margin-top: 3px;
}

.tm-modal__dialog .tm-form-error::before {
    width: 11px;
    height: 11px;
    font-size: .55rem;
}

@media (max-width: 768px) {
    .tm-modal__dialog .tm-form-grid-3,
    .tm-modal__dialog .tm-form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   ФУТЕР
   ======================================================================== */

/* ========================================================================
   ФУТЕР
   ======================================================================== */

.tm-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.85);
    padding: 34px 0 30px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
}

.tm-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc00;
}

/* Сетка — десктоп */
.tm-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 34px;
    align-items: start;
}

/* --- Колонка-бренд --- */
.tm-footer__col--brand {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tm-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
    min-width: 0;
}
.tm-footer__logo:hover {
    color: #ffcc00;
    text-decoration: none;
}
.tm-footer__logo img {
    display: block;
    border-radius: 4px;
    flex-shrink: 0;
}
.tm-footer__logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-footer__slogan {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 300px;
}

/* --- Списки контактов --- */
.tm-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tm-footer__list > li { margin: 0; padding: 0; }

.tm-footer__link,
.tm-footer__text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: color 0.2s;
    min-width: 0;
}
.tm-footer__link:hover {
    color: #ffcc00;
    text-decoration: none;
}
.tm-footer__link .tm-pseudo {
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.tm-footer__link:hover .tm-pseudo { border-bottom-color: #ffcc00; }

.tm-footer__text { color: rgba(255, 255, 255, 0.6); }
.tm-footer__text span { min-width: 0; }

.tm-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #ffcc00;
    margin-top: 1px;
}
.tm-footer__icon svg { display: block; stroke: currentColor; }


/* ========================================================================
   АДАПТИВ ФУТЕРА
   ======================================================================== */

/* --- Планшет (≤ 1024px): 2 колонки, бренд на всю ширину --- */
@media (max-width: 1024px) {
    .tm-footer {
        padding: 30px 0 28px;
    }
    .tm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 34px;
    }
    .tm-footer__col--brand {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    .tm-footer__logo {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .tm-footer__slogan {
        max-width: none;
        font-size: 0.84rem;
    }
}

/* --- Маленький планшет / большой телефон (≤ 768px) --- */
@media (max-width: 768px) {
    .tm-footer {
        padding: 26px 0 24px;
        font-size: 0.84rem;
    }
    .tm-footer__grid {
        gap: 22px 26px;
    }
    .tm-footer__col--brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .tm-footer__logo {
        font-size: 1.05rem;
    }
    .tm-footer__slogan {
        font-size: 0.82rem;
        max-width: 420px;
    }
    .tm-footer__list {
        gap: 9px;
    }
}

/* --- Мобильный (≤ 640px): одна колонка, чуть крупнее строки --- */
@media (max-width: 640px) {
    .tm-footer {
        padding: 24px 0 22px;
    }
    .tm-footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tm-footer__col--brand {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .tm-footer__logo {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    .tm-footer__slogan {
        font-size: 0.84rem;
        max-width: none;
    }
    .tm-footer__list {
        gap: 10px;
    }
    .tm-footer__link,
    .tm-footer__text {
        font-size: 0.88rem;
    }
}

/* --- Очень узкие экраны (≤ 380px) --- */
@media (max-width: 380px) {
    .tm-footer {
        padding: 20px 0 18px;
    }
    .tm-footer__logo {
        font-size: 1rem;
    }
    .tm-footer__slogan,
    .tm-footer__link,
    .tm-footer__text {
        font-size: 0.82rem;
    }
    .tm-footer__icon {
        width: 16px;
        height: 16px;
    }
    .tm-footer__icon svg {
        width: 16px;
        height: 16px;
    }
}

/* --- Ландшафтный мобильный (по высоте) --- */
@media (max-height: 500px) and (orientation: landscape) {
    .tm-footer {
        padding: 18px 0 16px;
    }
    .tm-footer__grid {
        gap: 16px 24px;
    }
}
/* ========================================================================
   СЕКЦИЯ «О КОМПАНИИ» — благородный тёмный вариант
   ======================================================================== */

.tm-about {
    padding: 80px 0 70px;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.tm-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc00;
}

/* ===== Шапка секции ===== */
.tm-about__head {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.tm-about__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.28);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.tm-about__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    padding: 0;
    border: none;
    text-align: center;
}

.tm-about__title::after {
    display: none;
}

.tm-about__title-accent {
    color: #ffcc00;
    position: relative;
    display: inline-block;
}

.tm-about__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    max-width: 720px;
}

/* ===== Сетка карточек ===== */
.tm-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 55px;
}

@media (max-width: 960px) {
    .tm-about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .tm-about__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 40px;
    }
}

.tm-about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tm-about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffcc00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.tm-about-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 204, 0, 0.28);
    transform: translateY(-3px);
}

.tm-about-card:hover::before {
    transform: scaleX(1);
}

.tm-about-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.28);
    color: #ffcc00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.tm-about-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
    padding: 0;
    border: none;
}

.tm-about-card__title::after {
    display: none;
}

.tm-about-card__text {
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

/* ===== Полоса со цифрами ===== */
.tm-about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .tm-about__stats {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 30px;
        text-align: center;
    }
}

.tm-about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.tm-about-stat__num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffcc00;
    line-height: 1;
    letter-spacing: -0.02em;
}

.tm-about-stat__label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Адаптив типографики ===== */
@media (max-width: 960px) {
    .tm-about {
        padding: 60px 0 50px;
    }
    .tm-about__title {
        font-size: 2rem;
    }
    .tm-about__lead {
        font-size: 1rem;
    }
    .tm-about__head {
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .tm-about {
        padding: 45px 0 40px;
    }
    .tm-about__title {
        font-size: 1.6rem;
    }
    .tm-about__title br {
        display: none;
    }
    .tm-about__lead {
        font-size: 0.94rem;
        line-height: 1.6;
    }
    .tm-about-card {
        padding: 22px 20px 24px;
    }
    .tm-about-stat__num {
        font-size: 1.9rem;
    }
    .tm-about-stat__label {
        font-size: 0.78rem;
    }
}

/* ========================================================================
   СПИСОК ПРИЛОЖЕНИЙ — спокойные кнопки (внутри #sk-mob-pr)
   ======================================================================== */

/* Подпись «Скачать приложение:» */
#sk-mob-pr .tm-apps__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #b88a00;
    margin: 22px 0 14px;
}

/* Сетка — 2 колонки на всех экранах */
#sk-mob-pr .tm-apps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#sk-mob-pr .tm-apps__list > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sk-mob-pr .tm-apps__list > li::before,
#sk-mob-pr .tm-apps__list > li::marker {
    display: none;
    content: none;
}

/* Кнопка — спокойная, светлая, с тонкой жёлтой рамкой */
#sk-mob-pr .tm-apps__list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: #fffdf5;
    color: #1a1a1a;
    border: 1px solid #f0e2b0;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.2s, border-color 0.2s, transform 0.18s;
    min-width: 0;
    box-shadow: none;
}

#sk-mob-pr .tm-apps__list > li > a:hover {
    background: #fff7d6;
    border-color: #ffcc00;
    color: #b88a00;
    transform: translateY(-1px);
    text-decoration: none;
}

#sk-mob-pr .tm-apps__list > li > a:active {
    transform: translateY(0);
    background: #ffefb3;
}

/* Текст названия */
#sk-mob-pr .tm-apps__list > li > a > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Стрелка — нейтральная, жёлтая только при ховере */
#sk-mob-pr .tm-apps__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5efe0;
    color: #b88a00;
    transition: background 0.2s, color 0.2s;
}

#sk-mob-pr .tm-apps__list > li > a:hover .tm-apps__arrow {
    background: #ffcc00;
    color: #1a1a1a;
}


/* ========================================================================
   МОБИЛЬНЫЕ — текст меньше, кнопки по 2 в ряд
   ======================================================================== */

@media (max-width: 768px) {
    #sk-mob-pr .tm-col-2-3 h3 {
        font-size: 1.3rem;
    }
    #sk-mob-pr .tm-col-2-3 p {
        font-size: 0.94rem;
        line-height: 1.6;
    }
    #sk-mob-pr .tm-col-2-3 strong {
        font-size: 0.95rem;
    }

    #sk-mob-pr .tm-apps__label {
        font-size: 0.74rem;
        letter-spacing: 1.2px;
        margin: 18px 0 12px;
    }

    /* Остаётся 2 колонки, но компактнее */
    #sk-mob-pr .tm-apps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    #sk-mob-pr .tm-apps__list > li > a {
        padding: 10px 12px;
        font-size: 0.84rem;
        border-radius: 10px;
    }
    #sk-mob-pr .tm-apps__arrow {
        width: 22px;
        height: 22px;
    }
    #sk-mob-pr .tm-apps__arrow svg {
        width: 12px;
        height: 12px;
    }
}

/* Очень узкие экраны */
@media (max-width: 480px) {
    #sk-mob-pr .tm-col-2-3 h3 {
        font-size: 1.15rem;
    }
    #sk-mob-pr .tm-col-2-3 p {
        font-size: 0.9rem;
    }
    #sk-mob-pr .tm-col-2-3 strong {
        font-size: 0.9rem;
    }
    #sk-mob-pr .tm-apps__list > li > a {
        padding: 9px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }
    #sk-mob-pr .tm-apps__arrow {
        width: 20px;
        height: 20px;
    }
    #sk-mob-pr .tm-apps__arrow svg {
        width: 11px;
        height: 11px;
    }
}

.tm-form select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(44, 44, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
    cursor: pointer;
}

.tm-form select:focus {
    outline: none;
    border-color: #ffcc00;
    background-color: #333;
}

.tm-form select option {
    background: #2c2c2c;
    color: #fff;
}

/* ========================================================================
   СЕКЦИЯ «ПЕРЕХОД НА ОБСЛУЖИВАНИЕ» — компактная тёмная с жёлтыми акцентами
   ======================================================================== */

.tm-transition {
    background: #1e1e1e;
    color: rgba(255, 255, 255, 0.8);
    padding: 55px 0;
    position: relative;
}

/* Тонкая жёлтая полоса сверху и снизу — рамка секции */
.tm-transition::before,
.tm-transition::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc00;
    pointer-events: none;
}
.tm-transition::before { top: 0; }
.tm-transition::after  { bottom: 0; opacity: 0.35; }

/* Мягкое жёлтое свечение в правом верхнем углу */
.tm-transition > .uk-container {
    position: relative;
}
.tm-transition > .uk-container::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.08), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Сетка — две колонки как раньше */
.tm-transition__grid {
    position: relative;
    z-index: 1;
    column-count: 2;
    column-gap: 50px;
}

/* ===== Левая колонка ===== */
.tm-transition__aside {
    break-inside: avoid;
}

.tm-transition__img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 0 20px;
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.6);
}

.tm-transition__title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
    padding: 0 0 14px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-transition__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
}

.tm-transition__lead {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* ===== Правая колонка ===== */
.tm-transition__body {
    break-inside: avoid;
    padding-top: 6px;
}

.tm-transition__body p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px;
}

.tm-transition__body p:last-child {
    margin-bottom: 0;
}

.tm-transition__body a {
    color: #ffcc00;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 0, 0.4);
    transition: border-color 0.2s, color 0.2s;
}

.tm-transition__body a:hover {
    color: #ffe680;
    border-bottom-color: #ffcc00;
}

/* ========================================================================
   АДАПТИВ
   ======================================================================== */

@media (max-width: 900px) {
    .tm-transition__grid {
        column-count: 1;
        column-gap: 0;
    }
    .tm-transition__aside {
        margin-bottom: 24px;
    }
    .tm-transition__title {
        font-size: 1.5rem;
    }
    .tm-transition__img {
        max-width: 220px;
    }
}

@media (max-width: 640px) {
    .tm-transition {
        padding: 40px 0;
    }
    .tm-transition__title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    .tm-transition__lead,
    .tm-transition__body p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .tm-transition__img {
        max-width: 180px;
        margin-bottom: 16px;
    }
}

/* ========================================================================
   СЕКЦИЯ #zv2 — принудительная тёмная тема + защита адаптива
   ======================================================================== */

#zv2,
#zv2.tm-section,
#zv2.tm-transition {
    background: #1e1e1e !important;
    padding: 50px 0 !important;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

#zv2::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #ffcc00;
}

/* Убиваем старую газетную вёрстку */
#zv2 .tm-columns-2,
#zv2 .tm-transition__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px 55px;
    column-count: initial !important;
    column-gap: normal !important;
    align-items: start;
}

/* Картинка не должна плавать */
#zv2 .tm-columns-2 img,
#zv2 .tm-transition__img {
    float: none !important;
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 0 22px;
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.6);
}

/* Заголовок */
#zv2 h2,
#zv2 .tm-transition__title {
    color: #fff !important;
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 0 0 14px;
    padding: 0 0 14px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    column-span: none;
    break-inside: avoid;
}

#zv2 h2::after,
#zv2 .tm-transition__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: #ffcc00;
    display: block;
    margin: 0;
}

/* Текст */
#zv2 p,
#zv2 .tm-transition__lead,
#zv2 .tm-transition__body p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 16px;
    break-inside: avoid;
}

#zv2 p:last-child {
    margin-bottom: 0;
}

#zv2 a {
    color: #ffcc00 !important;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 0, 0.4);
}

/* Убираем возможные float/column-конфликты внутри */
#zv2 .tm-columns-2 > *,
#zv2 .tm-transition__grid > * {
    min-width: 0;
}

/* ========================================================================
   АДАПТИВ — жёсткий, с !important
   ======================================================================== */

/* Планшет и мобильный — одна колонка */
@media (max-width: 900px) {
    #zv2,
    #zv2.tm-section,
    #zv2.tm-transition {
        padding: 42px 0 !important;
    }

    #zv2 .tm-columns-2,
    #zv2 .tm-transition__grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    #zv2 h2,
    #zv2 .tm-transition__title {
        font-size: 1.4rem;
    }
}

/* Узкий мобильный — картинка сверху, всё столбиком */
@media (max-width: 640px) {
    #zv2,
    #zv2.tm-section,
    #zv2.tm-transition {
        padding: 32px 0 !important;
    }

    #zv2 .tm-columns-2 img,
    #zv2 .tm-transition__img {
        max-width: 180px;
        margin: 0 0 16px;
    }

    #zv2 h2,
    #zv2 .tm-transition__title {
        font-size: 1.25rem;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    #zv2 p,
    #zv2 .tm-transition__lead,
    #zv2 .tm-transition__body p {
        font-size: 0.92rem !important;
        line-height: 1.6;
        margin-bottom: 13px;
    }
}

/* ===== СЕТКА КАРТОЧЕК ТАРИФОВ ===== */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 32px;               /* было 18px — увеличили расстояние между карточками */
        padding-bottom: 20px;    /* дополнительный отступ снизу под последней карточкой */
    }
}

