/* ===== Главная (inc/home.php) ===== */

.twc-home {
    --blue: var(--wd-primary-color, rgb(46, 107, 198));
    --blue-dark: #1b3f80;
    --blue-soft: rgba(46, 107, 198, .08);
    --ink: #14181f;
    --text: #5b6472;
    --line: rgba(16, 24, 40, .08);
    --soft: #f4f7fb;
    --green: #1e9e57;
    --radius: 20px;

    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

.twc-home *,
.twc-home *::before,
.twc-home *::after {
    box-sizing: border-box;
}

.twc-home h1,
.twc-home h2,
.twc-home h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--wd-title-font);
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: none;
}

.twc-home p {
    margin: 0;
}

.twc-ico {
    flex-shrink: 0;
}

/* Фон секции на всю ширину экрана без горизонтального скролла */
.twc-band {
    position: relative;
    background: var(--band-bg, transparent);
    box-shadow: 0 0 0 100vmax var(--band-bg, transparent);
    clip-path: inset(0 -100vmax);
}

.twc-band--soft { --band-bg: var(--soft); }
.twc-band--dark { --band-bg: #0f1b33; }

.twc-section {
    padding: 90px 0;
}

.twc-head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}

.twc-head h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
}

.twc-head p {
    font-size: 17px;
}

.twc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.twc-eyebrow .twc-ico {
    width: 18px;
    height: 18px;
}

.twc-eyebrow--light {
    background: rgba(255, 255, 255, .1);
    color: #9cc0ff;
}

/* Кнопки */
.twc-home .twc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.twc-home .twc-btn .twc-ico {
    width: 20px;
    height: 20px;
}

.twc-home .twc-btn:hover {
    transform: translateY(-2px);
}

.twc-home .twc-btn--light {
    background: #fff;
    color: var(--blue);
}

.twc-home .twc-btn--light:hover {
    color: var(--blue);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.twc-home .twc-btn--wa {
    background: #25d366;
    color: #fff;
}

.twc-home .twc-btn--wa:hover {
    color: #fff;
}

.twc-home .twc-btn--ghost {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.twc-home .twc-btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

.twc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.twc-badge--green {
    background: #e5f6ec;
    color: var(--green);
}

/* ============ HERO ============ */
.twc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 40px;
    padding: 90px 0 90px;
    background: #f1f5fb;
    box-shadow: 0 0 0 100vmax #f1f5fb;
}

.twc-hero__title {
    margin-bottom: 22px !important;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1.02;
    letter-spacing: -.035em !important;
}

.twc-hero__title span {
    color: var(--blue);
}

.twc-hero__lead {
    max-width: 560px;
    margin-bottom: 30px !important;
    font-size: 18px;
    line-height: 1.6;
}

/* Поиск модели */
.twc-finder {
    position: relative;
    max-width: 580px;
    z-index: 20;
}

.twc-home .twc-finder__box {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 6px 8px 6px 20px;
    border: 1.5px solid transparent;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px -18px rgba(27, 63, 128, .35), 0 2px 6px rgba(16, 24, 40, .05);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.twc-home .twc-finder__box:focus-within {
    border-color: var(--blue);
    box-shadow: 0 20px 50px -18px rgba(27, 63, 128, .45), 0 0 0 4px var(--blue-soft);
}

.twc-finder__box > .twc-ico {
    color: var(--blue);
}

.twc-home .twc-finder__box input {
    flex: 1;
    min-width: 0;
    height: 56px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    font-size: 17px;
    outline: none;
}

.twc-finder__hint {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.twc-finder__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(16, 24, 40, .3);
}

.twc-home .twc-finder__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.twc-finder__item small {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
}

.twc-finder__go {
    color: var(--blue);
    font-size: 13px;
    opacity: 0;
    transition: opacity .15s ease;
}

.twc-home .twc-finder__item:hover,
.twc-home .twc-finder__item.is-active {
    background: var(--blue-soft);
    color: var(--blue);
}

.twc-finder__item:hover .twc-finder__go,
.twc-finder__item.is-active .twc-finder__go {
    opacity: 1;
}

.twc-finder__empty {
    padding: 16px;
    font-size: 15px;
}

.twc-finder__empty a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
}

.twc-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
}

.twc-chips > span {
    margin-right: 4px;
}

.twc-home .twc-chip {
    min-height: 0;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}

.twc-home .twc-chip:hover {
    border-color: var(--blue);
    background: #fff;
    color: var(--blue);
}

/* Визуал: два телефона + плашки */
.twc-hero__visual {
    position: relative;
    height: 520px;
}

.twc-hero__glow {
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 107, 198, .22) 0%, rgba(46, 107, 198, 0) 65%);
}

.twc-hero__phone {
    position: absolute;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 40px 80px -30px rgba(16, 24, 40, .35);
    overflow: hidden;
}

.twc-hero__phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twc-hero__phone--a {
    top: 40px;
    left: 4%;
    width: 52%;
    aspect-ratio: 1;
    transform: rotate(-6deg);
}

.twc-hero__phone--b {
    right: 4%;
    bottom: 30px;
    width: 58%;
    aspect-ratio: 1;
    transform: rotate(5deg);
}

.twc-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -14px rgba(16, 24, 40, .3);
    animation: twc-float 6s ease-in-out infinite;
}

.twc-float b {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.3;
}

.twc-float small {
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.3;
}

.twc-float__ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
}

.twc-float__ico--green {
    background: #e5f6ec;
    color: var(--green);
}

.twc-float--a {
    top: 18px;
    right: 0;
}

.twc-float--b {
    bottom: 50px;
    left: -10px;
    animation-delay: -3s;
}

@keyframes twc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============ TRUST STRIP ============ */
.twc-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 20px 50px -24px rgba(16, 24, 40, .25);
}

.twc-strip__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    font-size: 15px;
    line-height: 1.35;
}

.twc-strip__item + .twc-strip__item {
    border-left: 1px solid var(--line);
}

.twc-strip__item .twc-ico {
    width: 28px;
    height: 28px;
    color: var(--blue);
}

.twc-strip__item b {
    display: block;
    color: var(--ink);
}

/* ============ BRANDS ============ */
.twc-brands {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.twc-home .twc-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.twc-home .twc-brand:hover {
    border-color: rgba(46, 107, 198, .3);
    box-shadow: 0 24px 50px -24px rgba(27, 63, 128, .35);
    transform: translateY(-4px);
}

.twc-brand__img {
    display: block;
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1;
    margin-bottom: 14px;
}

.twc-brand__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.twc-brand:hover .twc-brand__img img {
    transform: scale(1.06);
}

.twc-brand__name {
    color: var(--ink);
    font-family: var(--wd-title-font);
    font-size: 20px;
    font-weight: 700;
}

.twc-brand__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--text);
    font-size: 14px;
}

.twc-brand__count .twc-ico {
    width: 16px;
    height: 16px;
    color: var(--blue);
    transition: transform .2s ease;
}

.twc-brand:hover .twc-brand__count .twc-ico {
    transform: translateX(3px);
}

/* ============ WHY CHEAPER ============ */
.twc-why {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    color: rgba(255, 255, 255, .72);
}

.twc-why h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.12;
}

.twc-why p {
    margin-bottom: 30px;
    font-size: 17px;
}

.twc-compare {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
}

.twc-compare__row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    font-size: 15px;
}

.twc-compare__row + .twc-compare__row {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.twc-compare__row > span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
}

.twc-compare__row > span:first-child {
    color: rgba(255, 255, 255, .9);
}

.twc-compare__row--head > span {
    padding-top: 18px;
    padding-bottom: 18px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.twc-compare .is-me {
    height: 100%;
    background: rgba(46, 107, 198, .22);
    color: #fff;
    font-weight: 600;
}

.twc-compare__row--head .is-me {
    background: var(--blue);
    color: #fff;
}

.twc-compare .twc-ico {
    width: 18px;
    height: 18px;
}

.twc-compare .is-bad .twc-ico {
    color: #ff7a7a;
}

.twc-compare .is-me .twc-ico {
    color: #5ee08f;
}

/* ============ SERVICES ============ */
.twc-svcs-wrap .twc-head .twc-eyebrow {
    margin-bottom: 14px;
}

.twc-svcs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.twc-svc {
    --c: #2e6bc6;
    --c2: #6ea8ff;
    --tint: #f4f6f9;

    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

@supports (color: color-mix(in srgb, red 10%, white)) {
    .twc-svc {
        --tint: color-mix(in srgb, var(--c) 9%, white);
    }
}

/* Цветное свечение в углу */
.twc-svc::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    z-index: -1;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c2) 0%, transparent 70%);
    opacity: .14;
    transition: opacity .3s ease, transform .4s ease;
}

.twc-svc:hover {
    border-color: transparent;
    box-shadow: 0 30px 60px -30px var(--c), 0 0 0 1.5px var(--c2);
    transform: translateY(-6px);
}

.twc-svc:hover::before {
    opacity: .3;
    transform: scale(1.25);
}

.twc-svc__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

.twc-svc__ico {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: linear-gradient(140deg, var(--c2) 0%, var(--c) 100%);
    color: #fff;
    box-shadow: 0 14px 28px -12px var(--c), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.twc-svc:hover .twc-svc__ico {
    transform: rotate(-8deg) scale(1.08);
}

.twc-svc__num {
    color: var(--c);
    font-family: var(--wd-title-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .35;
}

.twc-home .twc-svc h3 {
    margin-bottom: 4px;
    font-size: 21px;
}

.twc-svc__sub {
    margin-bottom: 18px !important;
    font-size: 15px;
}

.twc-home .twc-svc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.twc-home .twc-svc__tags li {
    margin: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--c);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.twc-home .twc-svc__tags li::before {
    display: none;
}

.twc-home .twc-svc__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 0;
    margin: auto 0 0;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

.twc-svc__link .twc-ico {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.twc-home .twc-svc:hover .twc-svc__link {
    background: none;
    color: var(--c);
}

.twc-svc:hover .twc-svc__link .twc-ico {
    transform: translateX(4px);
}

/* Диагностика — выделенная карточка */
.twc-svc--feature {
    --c: #5ee08f;
    --c2: #2e6bc6;
    border: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(110, 168, 255, .35), transparent 50%),
        linear-gradient(150deg, #1b3f80 0%, #0f1b33 100%);
    color: rgba(255, 255, 255, .75);
}

.twc-svc--feature::before {
    display: none;
}

.twc-svc--feature .twc-svc__ico {
    background: linear-gradient(140deg, #5ee08f 0%, #16a34a 100%);
    box-shadow: 0 14px 28px -12px #16a34a, inset 0 1px 0 rgba(255, 255, 255, .35);
}

.twc-svc__price {
    color: #fff;
    font-family: var(--wd-title-font);
    font-size: 54px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.03em;
}

.twc-home .twc-svc--feature h3 {
    color: #fff;
}

.twc-svc--feature .twc-svc__sub {
    margin-bottom: 26px !important;
}

.twc-home .twc-svc--feature .twc-svc__link {
    border-top-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.twc-home .twc-svc--feature:hover {
    box-shadow: 0 30px 60px -28px #1b3f80;
}

.twc-home .twc-svc--feature:hover .twc-svc__link {
    color: #5ee08f;
}

/* Подсветка поиска, когда нажали «Sužinoti kainą» */
.twc-finder.is-pinged .twc-finder__box {
    animation: twc-ping 1.2s ease;
}

@keyframes twc-ping {
    0%   { box-shadow: 0 0 0 0 rgba(46, 107, 198, .55); }
    100% { box-shadow: 0 0 0 18px rgba(46, 107, 198, 0); }
}

/* ============ STEPS ============ */
.twc-home .twc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.twc-home .twc-steps li {
    position: relative;
    margin: 0;
    padding: 30px 26px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.twc-home .twc-steps li::before {
    display: none;
}

.twc-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -14px;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    transform: rotate(45deg);
    opacity: .5;
}

.twc-steps__n {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: var(--wd-title-font);
    font-size: 18px;
    font-weight: 700;
}

.twc-steps h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.twc-steps p {
    font-size: 15px;
}

/* ============ ABOUT ============ */
.twc-about {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

.twc-about__photo {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-height: 460px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 50%),
        linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: rgba(255, 255, 255, .35);
    overflow: hidden;
}

.twc-about__photo .twc-ico {
    width: 120px;
    height: 120px;
    stroke-width: 1;
}

.twc-about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twc-about h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
}

.twc-about p {
    margin-bottom: 16px;
    font-size: 17px;
}

.twc-home .twc-ticks {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.twc-home .twc-ticks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 500;
}

.twc-ticks .twc-ico {
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 50%;
    background: #e5f6ec;
    color: var(--green);
}

/* ============ FAQ ============ */
.twc-faq-wrap {
    padding-top: 30px;
}

.twc-faq {
    max-width: 820px;
    margin: 0 auto;
}

.twc-faq__item {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .2s ease;
}

.twc-faq__item[open] {
    box-shadow: 0 20px 40px -26px rgba(16, 24, 40, .3);
}

.twc-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    color: var(--ink);
    font-family: var(--wd-title-font);
    font-size: 17px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.twc-faq__item summary::-webkit-details-marker {
    display: none;
}

.twc-faq__plus {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-soft);
}

.twc-faq__plus::before,
.twc-faq__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.twc-faq__plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.twc-faq__item[open] .twc-faq__plus::after {
    transform: translate(-50%, -50%) rotate(0);
}

.twc-faq__item p {
    padding: 0 26px 22px;
    font-size: 16px;
}

/* ============ CTA ============ */
.twc-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
    padding: 56px 60px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .2), transparent 40%),
        linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: rgba(255, 255, 255, .85);
}

.twc-cta h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
}

.twc-cta p {
    max-width: 520px;
    font-size: 17px;
}

.twc-cta__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
    font-size: 15px;
}

.twc-cta__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.twc-cta__meta .twc-ico {
    width: 18px;
    height: 18px;
}

.twc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============ ADAPTIVE ============ */
@media (max-width: 1024px) {
    .twc-hero {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 72px 0 70px; /* шапка на главной лежит поверх блока */
    }

    /* Картинка с телефонами — над заголовком, компактно */
    .twc-hero__visual {
        order: -1;
        width: 100%;
        max-width: 520px;
        height: 300px;
        margin: 0 auto;
    }

    .twc-hero__glow {
        inset: 0 4%;
    }

    .twc-hero__phone {
        border-radius: 22px;
    }

    .twc-hero__phone--a {
        top: 18px;
        left: 6%;
        width: 46%;
    }

    .twc-hero__phone--b {
        right: 6%;
        bottom: 8px;
        width: 50%;
    }

    .twc-float {
        gap: 8px;
        padding: 9px 12px 9px 9px;
        border-radius: 13px;
    }

    .twc-float b {
        font-size: 13px;
    }

    .twc-float small {
        font-size: 10.5px;
    }

    .twc-float__ico {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .twc-float__ico .twc-ico {
        width: 18px;
        height: 18px;
    }

    .twc-float--a {
        top: 0;
        right: 0;
    }

    .twc-float--b {
        bottom: 22px;
        left: 0;
    }

    .twc-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .twc-strip__item:nth-child(3) {
        border-left: 0;
    }

    .twc-strip__item:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .twc-brands {
        grid-template-columns: repeat(3, 1fr);
    }

    .twc-why,
    .twc-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .twc-about__photo {
        max-width: 420px;
        aspect-ratio: 16 / 10;
    }

    .twc-svcs {
        grid-template-columns: repeat(2, 1fr);
    }

    .twc-home .twc-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .twc-steps li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .twc-section {
        padding: 60px 0;
    }

    .twc-head {
        margin-bottom: 30px;
    }

    .twc-hero__lead {
        font-size: 16px;
    }

    .twc-finder__hint {
        display: none;
    }

    .twc-home .twc-finder__box input {
        height: 50px;
        font-size: 16px;
    }

    .twc-strip {
        grid-template-columns: 1fr;
    }

    .twc-strip__item + .twc-strip__item {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .twc-strip__item {
        padding: 18px 20px;
    }

    .twc-brands {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .twc-brand:last-child {
        grid-column: span 2;
    }

    .twc-compare__row {
        font-size: 13px;
    }

    .twc-compare__row > span {
        padding: 12px 10px;
    }

    .twc-compare .twc-ico {
        display: none;
    }

    .twc-svcs,
    .twc-home .twc-steps {
        grid-template-columns: 1fr;
    }

    .twc-steps li::after {
        display: none;
    }

    .twc-cta {
        padding: 40px 26px;
    }

    .twc-cta__actions,
    .twc-home .twc-cta .twc-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twc-float,
    .twc-svc,
    .twc-svc__ico {
        animation: none;
        transition: none;
    }
}

/* Цена в подсказке поиска */
.twc-finder__from {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e5f6ec;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .twc-hero__visual {
        height: 260px;
    }

    .twc-float small {
        display: none;
    }
}


/* ============ НЕ ТОЛЬКО ТЕЛЕФОНЫ ============ */
.twc-xtra-wrap {
    --band-bg: #fff8ef;
}

.twc-home .twc-eyebrow--amber {
    background: rgba(217, 119, 6, .12);
    color: #b45309;
}

.twc-xtra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.twc-xtra__card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(180, 83, 9, .12);
    border-radius: 22px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.twc-xtra__card:hover {
    border-color: rgba(217, 119, 6, .35);
    box-shadow: 0 24px 46px -26px rgba(180, 83, 9, .5);
    transform: translateY(-4px);
}

.twc-xtra__ico {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(140deg, #fbbf24 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px #d97706, inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.twc-xtra__ico svg {
    width: 34px;
    height: 34px;
}

.twc-xtra__card:hover .twc-xtra__ico {
    transform: rotate(-8deg) scale(1.06);
}

.twc-xtra__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.twc-home .twc-xtra__body h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.twc-xtra__body p {
    margin-bottom: 12px !important;
    font-size: 14.5px;
    line-height: 1.5;
}

.twc-home .twc-xtra__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.twc-home .twc-xtra__tags li {
    margin: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff3e0;
    color: #b45309;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.twc-home .twc-xtra__tags li::before {
    display: none;
}

.twc-xtra__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(180, 83, 9, .2);
}

.twc-xtra__price {
    color: #14181f;
    font-family: var(--wd-title-font);
    font-size: 14px;
    font-weight: 700;
}

.twc-home .twc-xtra__btn {
    min-height: 0;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: #14181f;
    box-shadow: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}

.twc-home .twc-xtra__btn:hover {
    background: #d97706;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .twc-xtra {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .twc-xtra {
        display: flex;
        gap: 12px;
        padding: 4px 2px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .twc-xtra::-webkit-scrollbar {
        display: none;
    }

    .twc-xtra__card {
        flex: 0 0 84%;
        flex-direction: column;
        scroll-snap-align: start;
    }

    .twc-xtra-wrap .twc-head::after {
        content: "Braukite →";
        display: block;
        margin-top: 8px;
        color: #b45309;
        font-size: 13px;
        font-weight: 600;
    }
}

/* ============ ГДЕ НАЙТИ (карта) ============ */
.twc-where {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 56px;
}

.twc-where h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
}

.twc-where__lead {
    max-width: 520px;
    margin-bottom: 26px !important;
    font-size: 17px;
}

.twc-home .twc-where__list {
    display: grid;
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.twc-home .twc-where__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.twc-home .twc-where__list li::before {
    display: none;
}

.twc-where__ico {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
}

.twc-where__ico .twc-ico {
    width: 22px;
    height: 22px;
}

.twc-where__list b {
    display: block;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.3;
}

.twc-where__list small {
    font-size: 14px;
}

.twc-where__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.twc-home .twc-btn {
    text-transform: none;
    letter-spacing: 0;
}

.twc-home .twc-btn--primary {
    border: 0;
    background: var(--blue);
    box-shadow: 0 14px 30px -14px rgba(46, 107, 198, .8);
    color: #fff;
    cursor: pointer;
}

.twc-home .twc-btn--primary:hover {
    background: var(--blue);
    color: #fff;
}

.twc-home .twc-btn--soft {
    border: 1.5px solid #c9ecd7;
    background: #e5f6ec;
    color: #1e7a3e;
}

.twc-home .twc-btn--soft:hover {
    color: #1e7a3e;
}

/* Карта */
.twc-where__map-wrap {
    position: relative;
    isolation: isolate;          /* слои карты не перекрывают шапку сайта */
}

.twc-where__map {
    position: relative;
    z-index: 0;
    height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(46, 107, 198, .18) 0 120px, transparent 121px),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(16, 24, 40, .05) 38px 39px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(16, 24, 40, .05) 38px 39px),
        #eef2f7;
    box-shadow: 0 30px 60px -30px rgba(27, 63, 128, .45), 0 0 0 1px var(--line);
}

.twc-where__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 700;
}

.twc-where__placeholder .twc-ico {
    width: 34px;
    height: 34px;
}

.twc-where__map.is-ready .twc-where__placeholder {
    display: none;
}

.twc-where__map .leaflet-container,
.twc-where__map.leaflet-container {
    font-family: var(--wd-text-font);
    background: #eef2f7;
}

.twc-where__map .leaflet-tile-pane {
    filter: saturate(.45) brightness(1.06) contrast(.92) hue-rotate(-8deg);
}

.twc-where__map .leaflet-control-zoom a {
    color: var(--ink);
}

.twc-where__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 36px -16px rgba(16, 24, 40, .45);
}

.twc-where__badge-mark {
    width: 42px;
    height: 42px;
}

.twc-where__badge b {
    display: block;
    color: var(--ink);
    font-family: var(--wd-title-font);
    font-size: 16px;
    line-height: 1.2;
}

.twc-where__badge small {
    color: var(--text);
    font-size: 13px;
}

.twc-home .twc-where__gmaps {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px -10px rgba(16, 24, 40, .45);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.twc-home .twc-where__gmaps:hover {
    color: var(--blue);
}

/* Знак в центре зоны с пульсацией */
.twc-map-pin {
    position: relative;
}

.twc-map-pin svg {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 8px 14px rgba(27, 63, 128, .45));
}

.twc-map-pin__pulse {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: rgba(46, 107, 198, .35);
    animation: twc-map-pulse 2.2s ease-out infinite;
}

@keyframes twc-map-pulse {
    from { transform: scale(.4); opacity: .9; }
    to { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .twc-map-pin__pulse {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .twc-where {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .twc-where__map {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .twc-where__map {
        height: 300px;
        border-radius: 22px;
    }

    .twc-where__actions .twc-btn {
        width: 100%;
    }
}


/* ============ ВЕЧЕРНИЙ ПРИЁМ ============ */
.twc-float--c {
    top: 46%;
    right: -14px;
    animation-delay: -1.5s;
}

.twc-float__ico--night {
    background: #1e2a52;
    color: #ffd27a;
}

.twc-strip__item--night .twc-ico {
    color: #6d5bd0;
}

.twc-night {
    --band-bg: linear-gradient(160deg, #0f1b33 0%, #1d2459 60%, #2b2370 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 56px;
    background: #141d40;
    box-shadow: 0 0 0 100vmax #141d40;
    color: rgba(255, 255, 255, .75);
    isolation: isolate;          /* звёзды (::before) рисуются над фоном секции */
}

/* Звёзды */
.twc-night::before {
    content: "";
    position: absolute;
    inset: 0 -100vmax;
    z-index: -1;
    background:
        radial-gradient(1.5px 1.5px at 8% 20%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 22% 70%, rgba(255,255,255,.8) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 38% 12%, rgba(255,255,255,.9) 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,.7) 50%, transparent 51%),
        radial-gradient(2px 2px at 68% 30%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,.8) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 92% 15%, rgba(255,255,255,.9) 50%, transparent 51%),
        radial-gradient(1px 1px at 46% 45%, rgba(255,255,255,.6) 50%, transparent 51%),
        linear-gradient(160deg, #0f1b33 0%, #1d2459 60%, #2b2370 100%);
}

.twc-home .twc-eyebrow--night {
    background: rgba(255, 210, 122, .14);
    color: #ffd27a;
}

.twc-night h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
}

.twc-night h2 span {
    color: #ffd27a;
}

.twc-night__text p {
    max-width: 540px;
    margin-bottom: 22px !important;
    font-size: 17px;
}

.twc-home .twc-night__ticks {
    display: grid;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.twc-home .twc-night__ticks li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.twc-home .twc-night__ticks li::before {
    display: none;
}

.twc-night__ticks .twc-ico {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(94, 224, 143, .18);
    color: #5ee08f;
}

/* Визуал: луна и карточка со временем */
.twc-night__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
}

.twc-night__moon {
    position: absolute;
    top: 0;
    right: 6%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff6d8 0%, #ffd27a 55%, #e9a83c 100%);
    box-shadow: 0 0 60px 10px rgba(255, 210, 122, .35), inset -18px -10px 0 rgba(0, 0, 0, .06);
    animation: twc-moon 6s ease-in-out infinite;
}

@keyframes twc-moon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.twc-night__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin-top: 70px;
    padding: 26px 28px 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.twc-night__label {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.twc-night__time {
    display: block;
    margin: 4px 0 20px;
    color: #fff;
    font-family: var(--wd-title-font);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.twc-night__bar {
    position: relative;
    display: flex;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
}

/* Шкала 8:00 → 22:00 (14 ч): рабочий день 8–18 и вечер 18–22 */
.twc-night__day {
    width: 71.4%;
    background: rgba(255, 255, 255, .22);
}

.twc-night__eve {
    width: 28.6%;
    background: linear-gradient(90deg, #ffb547, #ffd27a);
    box-shadow: 0 0 18px rgba(255, 210, 122, .6);
}

.twc-night__ticks-row {
    position: relative;
    height: 20px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.twc-night__ticks-row span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
}

.twc-night__ticks-row span:nth-child(1) { left: 0; transform: none; }
.twc-night__ticks-row span:nth-child(2) { left: 28.6%; }
.twc-night__ticks-row span:nth-child(3) { left: 71.4%; }
.twc-night__ticks-row span:nth-child(4) { right: 0; left: auto; transform: none; color: #ffd27a; font-weight: 700; }

.twc-night__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    font-size: 13px;
}

.twc-night__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.twc-night__legend i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.twc-night__legend .is-day {
    background: rgba(255, 255, 255, .35);
}

.twc-night__legend .is-eve {
    background: #ffd27a;
}

@media (prefers-reduced-motion: reduce) {
    .twc-night__moon {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .twc-night {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .twc-night__visual {
        min-height: 0;
    }

    .twc-night__moon {
        width: 80px;
        height: 80px;
        right: 4%;
    }

    .twc-float--c {
        top: auto;
        bottom: -6px;
        right: 4%;
    }
}

@media (max-width: 640px) {
    .twc-night__time {
        font-size: 52px;
    }

    .twc-night .twc-btn {
        width: 100%;
    }

    .twc-float--c {
        display: none;
    }
}


/* H1 главной — маленькая плашка с ключевыми словами, слоган ниже — крупный текст */
.twc-home h1.twc-hero__h1 {
    margin-bottom: 18px;
    color: var(--blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.4;
}

.twc-home p.twc-hero__title {
    color: var(--ink);
    font-family: var(--wd-title-font);
    font-weight: 700;
}


/* Районы под блоком «Kur mane rasti» */
.twc-where__areas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 4px 0 22px;
    font-size: 14px;
}

.twc-where__areas a {
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
}

.twc-where__areas a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

a.twc-xtra__price {
    color: var(--blue);
    text-decoration: none;
}
