﻿/* ===== FONTS (GraphikLight объявлен в header.php) ===== */

/* ===== RESET & BASE ===== */
.td-home * { box-sizing: border-box; }
.td-home { font-family: 'FONT', Arial, sans-serif; color: #363636; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.td-home .container { max-width: 1160px; margin: 0 auto; padding: 0; }

/* ===== BUTTONS ===== */
.td-btn {
    display: inline-block;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    font-family: 'FONT', Arial, sans-serif;
}
.td-btn:hover { opacity: 0.88; }
.td-btn-coral {
    background: linear-gradient(90deg, #E05A4E 0%, #E98C6C 100%);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 40px;
}
.td-btn-purple {
    background: #BDA8FF;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 40px;
}
.td-btn-outline {
    background: transparent;
    border: 2px solid #BDA8FF;
    color: #BDA8FF;
    font-weight: 600;
    font-size: 16px;
    padding: 18px 40px;
}

/* ===== SECTION 1: HERO ===== */
.td-hero {
    position: relative;
    height: 693px;
    overflow: hidden;
    background-color: #fff;
}
.td-hero__filter {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(251,241,241,1), rgba(240,236,254,1));
    pointer-events: none;
}
.td-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 91px;
}
.td-hero__content {
    width: 680px;
    flex-shrink: 0;
}
.td-hero__title {
    font-size: 40px;
    font-weight: 900;
    color: #363636;
    line-height: 0.95;
    margin: 0 0 8px 0;
}
.td-hero__subtitle {
    font-size: 31px;
    font-weight: 900;
    color: #363636;
    line-height: 0.94;
    margin: 0 0 56px 0;
}
.td-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 65px 0;
}
.td-hero__bullets li {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    line-height: 35px;
    margin-bottom: 0;
}
.td-hero__image {
    position: absolute;
    right: calc(50% - 661px);
    top: -20px;
    width: 612px;
    pointer-events: none;
}
.td-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}
.td-hero__deco-fire {
    position: absolute;
    top: 533px;
    left: calc(50% - 249px);
    width: 195px;
    pointer-events: none;
    z-index: 1;
}
.td-hero__deco-fire img {
    width: 100%;
    height: auto;
    display: block;
}
.td-hero__deco-badge {
    position: absolute;
    top: 371px;
    left: calc(50% - 19px);
    width: 68px;
    pointer-events: none;
    z-index: 3;
}
.td-hero__deco-badge img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SECTION 2: STATS 95% ===== */
.td-stats {
    background: #fff;
    height: 262px;
    display: flex;
    align-items: center;
}
.td-stats .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}
.td-stats__num {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}
.td-stats__big {
    font-size: 130px;
    font-weight: 900;
    color: #BDA8FF;
    line-height: 1;
    font-family: 'FONT', Arial, sans-serif;
}
.td-stats__pct {
    font-size: 60px;
    font-weight: 900;
    color: #BDA8FF;
    line-height: 1;
}
.td-stats__text {
    font-size: 40px;
    font-weight: 400;
    color: #363636;
    line-height: 1.2;
    max-width: 640px;
}
.td-stats__right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 260px;
    flex-shrink: 0;
    margin-left: auto;
}
.td-stats__icon { display: block; }
.td-stats__note {
    font-size: 14px;
    font-weight: 500;
    color: #363636;
    line-height: 1.4;
    margin: 0;
}
.td-stats__note span { font-weight: 600; }

/* ===== CASE SECTIONS (карточки как на /kejsy/) ===== */
.td-case-section { padding: 20px 0; background: #fff; }
.td-case-section .container { max-width: 1240px; padding: 0 24px; }
.td-card {
    position: relative; display: grid; grid-template-columns: 1fr 46%;
    border-radius: 25px; background: #f8f8f8; border: 1px solid #e3e1e1;
    overflow: hidden; box-sizing: border-box; transition: box-shadow .2s, transform .2s;
}
.td-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,.10); transform: translateY(-3px); }
.td-card--noimg { grid-template-columns: 1fr; }
.td-card__body { padding: 44px 40px 44px 44px; display: flex; flex-direction: column; justify-content: center; gap: 20px; min-width: 0; }
.td-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.td-card__tag { padding: 5px 18px; border-radius: 100px; border: 1px solid #d3d1d1; font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: #adadad; background: #fff; font-family: 'FONT', Arial, sans-serif; }
.td-card__title { font-size: 35px; font-weight: 700; line-height: 1.2; color: #363636; margin: 0; font-family: 'FONT', Arial, sans-serif; }
.td-card__metrics { display: grid; grid-template-columns: auto auto 23px auto auto; column-gap: 14px; row-gap: 12px; align-items: center; }
.td-card__metric { display: contents; }
.td-card__mlabel { grid-column: 1 / -1; font-size: 16px; font-weight: 700; color: #363636; line-height: 1.3; font-family: 'FONT', Arial, sans-serif; padding-top: 20px; border-top: 1px solid #efefef; margin: 0; }
.td-card__metric:first-child .td-card__mlabel { border-top: none; padding-top: 0; }
.td-card__mrow { display: contents; }
.td-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 3px; font-size: 15px; font-weight: 700; line-height: 1; height: 28px; white-space: nowrap; font-family: 'FONT', Arial, sans-serif; }
.td-badge--b { background: #d8d8d8; color: #363636; }
.td-badge--a { background: #ab91ff; color: #fff; }
.td-num { font-size: 30px; font-weight: 600; color: #363636; line-height: 1; white-space: nowrap; font-family: 'FONT', Arial, sans-serif; }
.td-unit { font-size: 14px; font-weight: 400; color: #aaa; margin-left: 4px; }
.td-arrow { flex-shrink: 0; }
.td-foot { font-size: 12px; color: #adadad; margin: 6px 0 0; }
.td-card__actions { display: flex; flex-wrap: nowrap; gap: 16px; margin-top: 6px; position: relative; z-index: 2; align-items: center; }
.td-btn--primary { background: #e8523a; color: #fff; font-size: 18px; font-weight: 600; padding: 28px 36px; font-family: 'FONT', Arial, sans-serif; }
.td-btn--primary:hover { background: #d4422c; }
.td-btn--outline { border: 1px solid #ab91ff; color: #ab91ff; font-size: 14px; font-weight: 700; padding: 18px 28px; font-family: 'FONT', Arial, sans-serif; }
.td-btn--outline:hover { color: #9b81ef; border-color: #9b81ef; }
.td-card__img { position: relative; overflow: hidden; background: #f8f8f8; display: flex; align-items: center; justify-content: center; }
.td-card__img img { width: 100%; height: auto; display: block; }

/* ===== MORE PROJECTS BUTTON ===== */
.td-more-projects { display: flex; justify-content: center; padding: 60px 0; background: #fff; }
.td-more-projects__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 20px 60px;
    background: #BDA8FF;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'FONT', Arial, sans-serif;
    border-radius: 100px;
    text-decoration: none;
    transition: background .2s;
}
.td-more-projects__btn:hover { background: #a992f0; }

/* ===== SECTION 6: 99% TASKS ===== */
.td-sec99 {
    background: linear-gradient(to bottom, rgba(248,246,251,1), rgba(246,239,249,1));
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}
.td-sec99 .container { max-width: 1100px; padding-bottom: 20px; position: relative; z-index: 1; }
.td-sec99__bottom-img {
    width: 100%;
    height: 210px;
    margin-top: -80px;
    background-image: url('/wp-content/uploads/home/benefits/group2051.png');
    background-position: center top;
    background-size: 100% 228px;
    background-repeat: no-repeat;
    pointer-events: none;
}
.td-sec99__title {
    text-align: center;
    font-size: 65px;
    font-weight: 900;
    color: #363636;
    line-height: 1.1;
    margin: 0 0 50px 0;
}
.td-sec99__title em { color: #BDA8FF; font-style: normal; }
.td-sec99__cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
}
.td-sec99__card {
    width: 512px;
    border-radius: 20px;
    padding: 44px 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.td-sec99__card--purple {
    background-image: url('/wp-content/uploads/home/benefits/phiolet.svg'), linear-gradient(0deg, #bea9ff 0%, #ab90ff 43%);
    min-height: 480px;
}
.td-sec99__card--dark {
    background-image: url('/wp-content/uploads/home/benefits/dark.svg'), linear-gradient(0deg, #3c3c3c 0%, #585858 99%);
    min-height: 463px;
    margin-top: 60px;
    width: 530px;
}
.td-sec99__card-title {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 28px 0;
}
.td-sec99__card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}
.td-sec99__card-list li {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    line-height: 29px;
    padding-left: 32px;
    position: relative;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: 0 4px;
    background-size: 18px 18px;
}
.td-sec99__card--purple .td-sec99__card-list li {
    background-image: url('/wp-content/uploads/home/benefits/group-53.svg');
}
.td-sec99__card--dark .td-sec99__card-list li {
    background-image: url('/wp-content/uploads/home/benefits/group-53-orange.svg');
}
.td-sec99__card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    align-self: flex-start;
    background: #fff;
    border-radius: 100px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'FONT', Arial, sans-serif;
    transition: opacity 0.2s;
}
.td-sec99__card-btn:hover { opacity: 0.85; }
.td-sec99__card--purple .td-sec99__card-btn { color: #8b73d8; }
.td-sec99__card--dark .td-sec99__card-btn { color: #383838; }
.td-sec99__card-btn svg { flex-shrink: 0; }

/* ===== SECTION 7: BENEFITS ===== */
.td-benefits {
    padding: 80px 0 20px;
    background: #fff;
}
.td-benefits__title {
    font-size: 52px;
    font-weight: 900;
    color: #363636;
    margin: 0 0 48px 0;
    line-height: 1.15;
}
.td-benefits__title em { color: #BDA8FF; font-style: normal; }
.td-benefits__cards {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 20px;
    align-items: stretch;
}
.td-benefit-card {
    background: linear-gradient(0deg, rgb(249,249,249) 0%, rgb(246,246,246) 100%);
    border-radius: 20px;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.td-benefit-card__body {
    padding: 44px 44px 28px;
}
.td-benefit-card__title {
    font-size: 32px;
    font-weight: 900;
    color: #363636;
    margin: 0 0 20px 0;
    line-height: 1.2;
}
.td-benefit-card__text {
    font-size: 18px;
    font-weight: 500;
    font-family: 'FONT', Arial, sans-serif;
    color: #363636;
    line-height: 27px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
.td-benefit-card__img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.td-benefit-card__main-img {
    width: 100%;
    height: auto;
    display: block;
}
.td-benefit-card__overlay {
    position: absolute;
    pointer-events: none;
}
/* left card overlays (on the spreadsheet image) */
.td-benefit-card--left .td-benefit-card__overlay--61 {
    bottom: 35%;
    left: 24%;
    width: 31%;
}
.td-benefit-card--left .td-benefit-card__overlay--65 {
    bottom: 4%;
    left: 32%;
    width: 40%;
}
/* right card overlays (PDF-чаты поверх Group2064) */
.td-benefit-card--right .td-benefit-card__overlay--114 {
    top: 34%;
    left: 3.5%;
    width: 54%;
}
.td-benefit-card--right .td-benefit-card__overlay--115 {
    top: 49%;
    left: 3.5%;
    width: 43%;
}
.td-benefit-card--right .td-benefit-card__overlay--116 {
    top: 63.5%;
    left: 3.5%;
    width: 46%;
}
.td-benefit-card--right .td-benefit-card__overlay--60 {
    top: 75.7%;
    left: 62.8%;
    width: 34.2%;
}

/* ===== MORE BENEFITS ROWS ===== */
.td-more-benefits {
    background: #fff;
    padding: 0 0 60px;
}
.td-more-benefits .td-benefit-card--wide {
    margin-top: 0;
}
.td-more-benefits .td-benefits__cards {
    margin-top: 20px;
}
.td-more-benefits .td-benefits__cards + .td-benefits__cards {
    margin-top: 20px;
}
/* Wide card: horizontal — text left, image right */
.td-benefit-card--wide {
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
}
.td-benefit-card--wide .td-benefit-card__body {
    flex: 0 0 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.td-benefit-card--wide .td-benefit-card__img-side {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.td-benefit-card--wide .td-benefit-card__img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.td-benefit-card--wide .td-benefit-card__img-side .td-benefit-card__vec {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 50px;
}

/* ===== INTERVIEW SECTION ===== */
.td-interview {
    background: #fff;
    padding: 60px 0 40px;
}
.td-interview__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.td-interview__title-col { flex: 1; min-width: 0; }
.td-interview__stats-col { flex: 0 0 320px; }
.td-interview__title {
    font-size: 48px;
    font-weight: 400;
    color: #363636;
    line-height: 1.15;
    margin: 0;
}
.td-interview__title span {
    color: #BDA8FF;
    font-style: normal;
}
.td-interview__stats-col {
    flex: 0 0 auto;
    max-width: 40%;
    padding-top: 8px;
}
.td-interview__heart { display: block; margin-bottom: 10px; }
.td-interview__stats-text {
    font-size: 16px;
    font-weight: 400;
    color: #363636;
    line-height: 1.6;
    margin: 0;
}

/* (old padding was 22px, now header handles top spacing) */
.td-interview__nav-override { padding-top: 0;
}
.td-interview__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.td-interview__nav-label {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}
.td-interview__nav-line {
    flex: 1;
    height: 1px;
    background: #dedede;
}
.td-interview__nav-arrows { display: flex; gap: 10px; }
.td-interview__arrow {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 1.5px solid #c8c8c8;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}
.td-interview__arrow:hover { border-color: #363636; }
.td-interview__track-wrap { overflow: hidden; }
.td-interview__track { display: flex; transition: transform 0.4s ease; will-change: transform; }
.td-interview__slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    gap: 24px;
    align-items: stretch;
    height: 460px;
}
.td-interview__video {
    flex: 0 0 360px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #c5b8f8 0%, #7b61e3 100%);
    height: 460px;
    min-width: 0;
}
.td-interview__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
}
.td-interview__play { display: none; }

.td-interview__video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FF8562;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='26' viewBox='0 0 22 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L20 13L2 24V2Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 55% 50%;
    background-size: 22px 26px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.2s;
}
.td-interview__video:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}
.td-interview__person {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 2;
}
.td-interview__person-name {
    display: block;
    font-size: 25px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}
.td-interview__person-role {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.td-interview__card {
    flex: 1;
    border-radius: 20px;
    padding: 48px 56px 40px;
    background: linear-gradient(135deg, #b3a0f2 0%, #9379ec 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 460px;
    box-sizing: border-box;
    overflow: hidden;
}
.td-interview__card-title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    position: relative;
    z-index: 1;
}
.td-interview__badge {
    align-self: flex-start;
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    z-index: 1;
}
.td-interview__quote {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.td-interview__attribution {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin: 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.td-interview__attribution::before {
    content: '';
    flex: 0 0 auto;
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}
.td-interview__quotemark {
    position: absolute;
    top: 96px;
    right: 52px;
    font-size: 110px;
    font-weight: 700;
    color: rgba(74, 50, 150, 0.4);
    line-height: 1;
    font-family: Georgia, serif;
    z-index: 0;
}
/* Video popup */
.td-vpopup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.td-vpopup.is-open { display: flex; }
.td-vpopup__inner {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.td-vpopup__inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.td-vpopup__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.td-vpopup__close svg { display: block; }

/* ===== SECTION 8: REPLACE DEPT ===== */
.td-replace {
    background: linear-gradient(0.5turn, rgba(248,246,251,1) 0%, rgba(246,239,249,1) 99%);
    padding: 100px 0 0;
    overflow: visible;
    position: relative;
    z-index: 2;
}
/* Абсолютное позиционирование как в оригинале Tilda (1162px контент) */
.td-replace__inner {
    position: relative;
    height: 650px; /* 750px artboard - 100px top padding */
    overflow: visible;
}
/* Текстовый блок: max-width 780px как в оригинале (824/1162 * 1100) */
.td-replace__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-top: 0;
}
.td-replace__title {
    font-size: 62px;
    font-weight: 900;
    color: #363636;
    margin: 0 0 56px 0;
    line-height: 1.1;
}
.td-replace__title em { color: #BDA8FF; font-style: normal; }
.td-replace__text {
    font-size: 18px;
    color: #595959;
    line-height: 1.55;
    margin: 0 0 18px 0;
    max-width: 420px;
}
/* Персонаж: абсолютно позиционирован, выходит за низ на ~85px */
.td-replace__image {
    position: absolute;
    left: 39.7%; /* 461/1162 * 100% */
    top: 97px;   /* 197px от верха секции - 100px padding = 97px от inner */
    width: 440px;
    overflow: visible;
    z-index: 1;
}
.td-replace__image img.td-replace__main-img {
    width: 440px;
    height: auto;
    display: block;
}
.td-replace__img-bottom {
    position: absolute;
    bottom: 85px;
    left: 45px;
    width: 298px;
    display: block;
}
/* Сайдбар: абсолютно позиционирован справа */
.td-replace__sidebar {
    position: absolute;
    right: 0;
    top: 160px; /* 358/650 * ... подбираем */
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.td-replace__line {
    position: absolute;
    top: -130px;
    right: 240px;
    width: 123px;
    pointer-events: none;
}
.td-replace__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.td-replace__tag {
    border: none;
    background: #ece7f0;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 400;
    color: #595959;
    white-space: nowrap;
}
.td-replace__btn {
    display: block;
    padding: 28px 36px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 100px;
    background: #FF8562;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
    font-family: 'FONT', Arial, sans-serif;
}
.td-replace__btn:hover { opacity: 0.88; }

/* ===== SERVICES SLIDER ===== */
.td-services {
    background: #fff;
    padding: 22px 0 80px;
}
.td-services__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.td-services__title {
    font-size: 30px;
    font-weight: 900;
    color: #363636;
    line-height: 1.2;
}
.td-services__title em { color: #E98C6C; font-style: normal; }
.td-services__arrows { display: flex; gap: 10px; flex-shrink: 0; }
.td-services__track-wrap { overflow: hidden; cursor: grab; user-select: none; }
.td-services__track-wrap:active { cursor: grabbing; }
.td-services__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}
.td-services__track.is-dragging { transition: none; }
.td-srv-card {
    flex: 0 0 340px;
    background: #FBF8F3;
    border-radius: 10px;
    border: none;
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.td-srv-card__title {
    font-size: 24px;
    font-weight: 900;
    color: #363636;
    margin: 0 0 28px 0;
    line-height: 1.2;
}
.td-srv-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    align-content: flex-start;
}
.td-srv-tag {
    /* плашки как в блоке маркетинга на /razrabotka/: заливка + смена фона при наведении */
    border: none;
    background: #f4efe8;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #595959;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease-in-out;
}
.td-srv-tag:hover {
    background: #e7ddd1;
}
.td-srv-tag img {
    height: 18px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
.td-srv-card__footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e8e4f0;
}
.td-srv-card__link {
    color: #E98C6C;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
}
.td-srv-card__link:hover { text-decoration: underline; }

/* ===== VIDEO REVIEWS ===== */
.td-reviews { background: #fff; padding: 80px 0 60px; }
.td-reviews__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 40px;
}
.td-reviews__title {
    font-size: 55px;
    font-weight: 900;
    color: #363636;
    line-height: 1.1;
    margin: 0;
    flex: 0 0 auto;
}
.td-reviews__title em { color: #BDA8FF; font-style: normal; }
.td-reviews__stats {
    flex: 0 0 323px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}
.td-reviews__heart { width: 30px; margin-bottom: 8px; }
.td-reviews__stat-text {
    font-size: 14px;
    color: #595959;
    line-height: 1.55;
}
.td-reviews__stat-text strong { color: #363636; }
.td-reviews__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}
.td-reviews__nav-label { font-size: 16px; font-weight: 700; color: #000; white-space: nowrap; }
.td-reviews__nav-line { flex: 1; height: 1px; background: #dedede; }
.td-reviews__nav-arrows { display: flex; gap: 10px; }
.td-reviews__track-wrap { overflow: hidden; }
.td-reviews__track { display: flex; gap: 20px; transition: transform 0.4s ease; }
.td-rv-slide {
    flex: 0 0 1160px;
    display: flex;
    gap: 12px;
    height: 354px;
}
.td-rv-slide__left {
    flex: 0 0 50%;
    border-radius: 20px;
    background-color: rgb(22, 20, 27);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 354px;
}
.td-rv-composite-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}
.td-rv-slide__mask {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/home/mask-group32.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}
.td-rv-slide__name {
    position: absolute;
    bottom: 32px;
    left: 24px;
    font-size: 25px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.2;
    z-index: 2;
}
.td-rv-slide__position {
    position: absolute;
    bottom: 14px;
    left: 24px;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.4;
    z-index: 2;
}
.td-rv-slide__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    cursor: pointer;
    width: 60px;
    height: 60px;
    transition: transform 0.2s;
}
.td-rv-slide__play:hover { transform: translate(-50%,-50%) scale(1.1); }
.td-rv-slide__left--composite::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url('/wp-content/uploads/home/play.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.2s;
}
.td-rv-slide__left--composite:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}
.td-rv-slide__right {
    flex: 1;
    border-radius: 20px;
    padding: 36px 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgb(249, 246, 252);
    height: 354px;
    box-sizing: border-box;
    overflow: hidden;
}
.td-rv-slide__heading {
    font-size: 25px;
    font-weight: 400;
    color: #363636;
    margin: 0;
    line-height: 1.3;
}
.td-rv-slide__quote {
    font-size: 16px;
    font-weight: 600;
    color: #363636;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    overflow: hidden;
}
.td-rv-slide__attribution {
    font-size: 12px;
    font-weight: 400;
    color: #595959;
    margin-top: auto;
    padding-top: 12px;
    position: relative;
}
.td-rv-slide__attribution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: #595959;
}

/* ===== WRITTEN REVIEWS ===== */
.td-written { background: #fff; padding: 0 0 80px; }
.td-written__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding-top: 0;
}
.td-written__nav-label { font-size: 16px; font-weight: 700; color: #000; white-space: nowrap; }
.td-written__nav-line { flex: 1; height: 1px; background: #dedede; }
.td-written__nav-arrows { display: flex; gap: 10px; }
.td-written__track-wrap { overflow: hidden; cursor: grab; user-select: none; }
.td-written__track-wrap:active { cursor: grabbing; }
.td-written__track { display: flex; gap: 20px; transition: transform 0.4s ease; }
.td-written__track.is-dragging { transition: none; }
.td-wr-card {
    flex: 0 0 585px;
    background: rgb(250, 245, 239);
    border-radius: 15px;
    border: none;
    padding: 30px 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.td-wr-card__layout {
    display: flex;
    gap: 16px;
    flex: 1;
}
.td-wr-card__text-col { flex: 1; display: flex; flex-direction: column; gap: 17px; }
.td-wr-card__img-col {
    flex: 0 0 155px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.td-wr-card__img-link {
    display: block;
    width: 100%;
    cursor: zoom-in;
}
.td-wr-card__img-col img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.2s ease;
}
.td-wr-card__img-link:hover img {
    transform: scale(1.03);
}
.td-wr-card__heading {
    font-size: 20px;
    font-weight: 400;
    color: rgb(54, 54, 54);
    line-height: 22px;
    margin: 0;
}
.td-wr-card__body {
    font-size: 13px;
    font-weight: 600;
    color: rgb(54, 54, 54);
    line-height: 20px;
    margin: 0;
    flex: 1;
}
.td-wr-card__attribution {
    font-size: 13px;
    font-weight: 500;
    color: rgb(54, 54, 54);
    line-height: 20px;
    margin-top: 34px;
}

/* ===== SOCIAL REVIEWS ===== */
.td-social { background: #fff; padding: 0 0 80px; }
.td-social__nav {
    display: flex; align-items: center; gap: 20px; margin-bottom: 36px;
}
.td-social__nav-label { font-size: 16px; font-weight: 700; color: #000; white-space: nowrap; }
.td-social__nav-line { flex: 1; height: 1px; background: #dedede; }
.td-social__nav-arrows { display: flex; gap: 10px; }
.td-social__track-wrap { overflow: hidden; cursor: grab; user-select: none; }
.td-social__track-wrap:active { cursor: grabbing; }
.td-social__track { display: flex; gap: 20px; transition: transform 0.4s ease; }
.td-social__track.is-dragging { transition: none; }
.td-sc-card {
    flex: 0 0 560px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ede9f9;
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 380px;
}
.td-sc-card__heading {
    font-size: 20px;
    font-weight: 900;
    color: #363636;
    line-height: 1.2;
    margin: 0;
}
.td-sc-card__body {
    font-size: 14px;
    color: #595959;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.td-sc-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e8e4f0;
    margin-top: auto;
}
.td-sc-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.td-sc-card__person { display: flex; flex-direction: column; gap: 3px; }
.td-sc-card__name { font-size: 14px; font-weight: 700; color: #363636; }
.td-sc-card__link {
    font-size: 12px;
    color: #E98C6C;
    text-decoration: none;
    word-break: break-all;
}
.td-sc-card__link:hover { text-decoration: underline; }

/* ===== PROCESS SECTION ===== */
.td-process {
    background: #fff;
    padding: 80px 0 100px;
    overflow: visible;
}
.td-process__header {
    position: relative;
    margin-bottom: 60px;
}
.td-process__title {
    font-size: 62px;
    font-weight: 900;
    color: #363636;
    line-height: 68px;
    margin: 0;
}
.td-process__title em { color: #BDA8FF; font-style: normal; }
.td-process__line {
    position: absolute;
    top: 42px;
    right: 137px;
    width: 123px;
    height: 111px;
    pointer-events: none;
    overflow: visible;
}
.td-process__cards {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.td-process__cards { position: relative; }
.td-process-card {
    border-radius: 15px;
    padding: 32px 28px 72px;
    position: relative;
    overflow: visible;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.td-process-card--purple {
    flex: 0 0 360px;
    background-image: url('/wp-content/uploads/home/process/1.svg'), linear-gradient(0deg, rgb(162, 138, 239) 2%, rgb(179, 156, 249) 100%);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.td-process-card--orange {
    flex: 0 0 310px;
    background-image: url('/wp-content/uploads/home/process/2.svg'), linear-gradient(0deg, rgb(252, 164, 132) 0%, rgb(251, 148, 111) 100%);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-top: 31px;
}
.td-process-card--dark {
    flex: 1;
    background-image: url('/wp-content/uploads/home/process/3.svg'), linear-gradient(0deg, rgb(61, 61, 61) 0%, rgb(55, 55, 55) 100%);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-top: 63px;
}
.td-process__conn-curve {
    position: absolute;
    pointer-events: none;
    z-index: 11;
}
.td-process-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 26px;
    margin: 0;
}
.td-process-card__text {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 28px;
    margin: 0;
}
.td-process-card__text--light {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255,255,255,0.75);
}
/* Connectors между карточками — позиционируются абсолютно внутри .td-process__cards */
.td-process__conn {
    position: absolute;
    width: 39px;
    height: 122px;
    pointer-events: none;
    z-index: 10;
}
.td-process-card__num {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #363636;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* ===== GUARANTEE / CONTRACT ===== */
.td-guarantee {
    background: #fff;
    padding: 80px 0;
    overflow: visible;
    position: relative;
}
.td-guarantee__inner {
    display: flex;
    align-items: center;
    min-height: 457px; /* 617px - 80px*2 = соответствует высоте оригинала */
    position: relative;
}
.td-guarantee__content {
    width: 560px;
    flex-shrink: 0;
}
.td-guarantee__title {
    font-size: 55px;
    font-weight: 900;
    color: #363636;
    line-height: 55px;
    margin: 0 0 28px 0;
}
.td-guarantee__title em { color: #BDA8FF; font-style: normal; }
.td-guarantee__subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #888;
    line-height: 24px;
    margin: 0 0 32px 0;
}
.td-guarantee__divider {
    height: 1px;
    background: #dcdcdc;
    margin: 0 0 32px 0;
}
.td-guarantee__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.td-guarantee__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #363636;
}
.td-guarantee__list li img {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
/* Правая часть: абсолютно позиционирована как в оригинале */
.td-guarantee__visual {
    position: absolute;
    left: 500px;  /* 640px от viewport - 140px container offset */
    top: -9px;    /* оригинал: top=71px от секции, padding=80px → 71-80=-9 */
    overflow: visible;
    pointer-events: none;
}
.td-guarantee__contract {
    width: 681px;
    display: block;
}
.td-guarantee__bubble {
    position: absolute;
    top: -70px;  /* оригинал: top=1px от секции → 1-71=-70 относительно изображения */
    left: 360px; /* оригинал: left=1000px от viewport → 1000-640=360 */
    width: 317px;
    z-index: 2;
    pointer-events: none;
}

/* ===== SECTION 9: FOUNDER / GUARANTEE ===== */
.td-founder {
    background: #161616;
    padding: 90px 0;
    color: #fff;
}
.td-founder__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.td-founder__title {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 32px 0;
}
.td-founder__title em { color: #E98C6C; font-style: normal; }
.td-founder__lead {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 28px 0;
}
.td-founder__text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0 0 18px 0;
}
.td-founder__visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.td-founder__photo {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    border: 2px solid #E98C6C;
    display: block;
}
.td-founder__bubble {
    position: absolute;
    top: -30px;
    right: -10px;
    width: 50%;
    max-width: 320px;
    z-index: 2;
    pointer-events: none;
}

/* ===== AUDIT FORM SECTION ===== */
.td-auditform {
    position: relative;
    padding: 120px 0 80px;
    background: url('/wp-content/uploads/home/audit-bg.jpg') center center / cover no-repeat;
}
.td-auditform::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20,18,25,0.75);
}
.td-auditform .container { position: relative; z-index: 1; }
.td-auditform__title {
    font-size: 55px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 22px 0;
    max-width: 700px;
}
.td-auditform__subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 48px 0;
    max-width: 455px;
}
.td-auditform__card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 56px;
    max-width: 1028px;
}
.td-af-group { margin-bottom: 30px; }
.td-af-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #E98C6C;
    margin-bottom: 10px;
    font-family: 'FONT', Arial, sans-serif;
}
.td-af-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #E98C6C;
    outline: none;
    font-size: 16px;
    color: #646464;
    padding: 8px 0;
    background: transparent;
    font-family: 'FONT', Arial, sans-serif;
    box-sizing: border-box;
}
.td-af-input::placeholder { color: #c5bdb5; }
.td-af-phone-wrap {
    display: block;
}
.td-af-select-wrap { position: relative; }
.td-af-select {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #E98C6C;
    outline: none;
    font-size: 16px;
    color: #363636;
    padding: 8px 24px 8px 0;
    background: transparent;
    font-family: 'FONT', Arial, sans-serif;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}
.td-af-select-caret {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #E98C6C;
}
.td-af-checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.td-af-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #E98C6C;
}
.td-af-consent {
    font-size: 12px;
    color: #595959;
    line-height: 1.5;
}
.td-af-consent a { color: #595959; }
.td-af-btn {
    background: #E98C6C;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 20px 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'FONT', Arial, sans-serif;
    transition: opacity 0.2s;
    display: inline-block;
}
.td-af-btn:hover { opacity: 0.88; }

/* Блок «Спасибо за заявку» — общие стили вынесены в assets/css/form-thanks.css
   (класс .td-thanks, грузится глобально для всех форм сайта). */

/* ===== SECTION 10: CLIENTS / LOGOS ===== */
.td-clients {
    background: #202020;
    padding: 80px 0;
    color: #fff;
}
.td-clients__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}
.td-clients__title {
    font-size: 55px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    max-width: 740px;
    line-height: 1.15;
}
.td-clients__note-wrap {
    max-width: 335px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.td-clients__note-icon {
    width: 30px;
    height: auto;
}
.td-clients__note {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.6;
}
.td-clients__logos {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1px;
    /* Фон сетки тёмный (как у ячеек/секции). Раньше был светло-серый #3d3d3d
       и просвечивал прямоугольником в пустых ячейках последнего ряда —
       это и было «светло-серое пятно» под карточками. Светло-серые
       разделители теперь рисуем тенью только вокруг реальных ячеек. */
    background: #1f1f1f;
    border: none;
}
.td-clients__logo {
    background: #1f1f1f;
    box-shadow: 0 0 0 1px #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100px;
}
.td-clients__logo img {
    width: 146px;
    height: 100px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.td-clients__logo:hover img {
    opacity: 1;
}

/* ===== SECTION 11: IF YOU READ ===== */
.td-readall {
    background: #faf5ef;
    padding: 120px 0 120px;
    overflow: visible;
    position: relative;
    z-index: 1;
}
.td-readall__title {
    font-size: 65px;
    font-weight: 900;
    color: #363636;
    margin: 0 0 46px 0;
    line-height: 75px;
}
.td-readall__title em { color: rgb(233,140,108); font-style: normal; }
.td-readall__body {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.td-readall__cols {
    display: grid;
    /* Резиновые колонки вместо фиксированных 372px: иначе сетка (1156px)
       шире контейнера на промежуточных ширинах (iPad-ландшафт 1025–1199px),
       и 3-я колонка обрезается правым краем экрана — это и читалось как
       светло-серая «полоска» из обрезанных краёв карточек/кнопок. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    flex: 1;
}
.td-readall__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.td-readall__item {
    background: #fff;
    border-radius: 10px;
    padding: 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.td-readall__item-title {
    font-size: 20px;
    font-weight: 800;
    color: #363636;
    margin: 0;
    line-height: 23px;
}
.td-readall__item-sub {
    font-size: 14px;
    font-weight: 600;
    color: #363636;
    margin: 0;
    line-height: 20px;
}
.td-readall__item-sub span {
    font-weight: 600;
}
.td-readall__item-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1ebe4;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 800;
    color: #383838;
    text-decoration: none;
    width: fit-content;
    margin-top: auto;
    letter-spacing: -0.4px;
    height: 40px;
    box-sizing: border-box;
}
.td-readall__item-btn img { display: inline-block; vertical-align: middle; }
.td-readall__item-btn:hover { background: #ebe3da; }
.td-readall__warrior {
    position: absolute;
    /* Воин крупный (как на проде), но сдвинут вправо: тело целиком видно в
       свободной правой зоне, а мечи уезжают за правый край экрана. И размер,
       и сдвиг растут вместе с шириной окна, чтобы фигура не залезала на
       карточки на узких десктопах (MacBook). z-index ниже карточек —
       страховка: текст карточек не перекроется ни при каком раскладе. */
    right: clamp(-320px, -14vw, -120px);
    bottom: 10px;
    width: clamp(560px, 48vw, 900px);
    pointer-events: none;
    z-index: 1;
}
/* Боковые декоративные полосы отключены: чисто декоративный элемент,
   который на нешироких экранах (iPad и т.п.) торчал обрезанной светло-серой
   кромкой из-за края. Убраны полностью на всех ширинах. */
.td-readall__deco-left,
.td-readall__deco-right {
    display: none;
}

/* ===== SECTION 12: FAQ ===== */
.td-faq {
    background: #fff;
    padding: 90px 0;
}
.td-faq__title {
    font-size: 62px;
    font-weight: 400;
    color: #363636;
    line-height: 1.1;
    margin: 0 0 40px 0;
}
.td-faq__title em { color: #bda8ff; font-style: normal; }
.td-faq__list { display: flex; flex-direction: column; }
.td-faq__item {
    background: #f9f6fc;
    margin-bottom: 3px;
}
.td-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}
.td-faq__question {
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    line-height: 1.3;
    font-family: inherit;
}
.td-faq__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #bda8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.td-faq__trigger:hover .td-faq__icon { background: #eee; }
.td-faq__trigger:hover .td-faq__icon svg g g { stroke: #222; }
.td-faq__trigger[aria-expanded="true"] .td-faq__icon { background: #eee; }
.td-faq__trigger[aria-expanded="true"] .td-faq__icon svg g g { stroke: #222; }
.td-faq__answer {
    padding: 0 28px 22px;
}
.td-faq__answer p {
    font-size: 16px;
    font-weight: 500;
    color: #363636;
    line-height: 1.6;
    margin: 0;
}

/* ===== SECTION 13: CONTACT FORM ===== */
.td-contact {
    background: #000;
    padding: 80px 0 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.td-contact__inner {
    display: grid;
    grid-template-columns: 538px 1fr;
    gap: 0;
    align-items: start;
    position: relative;
    z-index: 2;
}
.td-contact__left {
    padding-bottom: 80px;
}
.td-contact__title {
    font-size: 55px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1;
}
.td-contact__title em { color: rgb(189,168,255); font-style: normal; }
.td-contact__sub {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1.2;
}
.td-contact__warrior {
    position: absolute;
    right: 10px;
    top: 0;
    width: 993px;
    pointer-events: none;
    z-index: 1;
}
/* Underline-style form */
.td-form { display: flex; flex-direction: column; gap: 0; }
.td-form__field { margin-bottom: 30px; }
.td-form__label {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: #4c4c4c;
    margin-bottom: 5px;
}
.td-form input,
.td-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #4c4c4c;
    padding: 0 0 8px 0;
    font-family: 'FONT', Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}
.td-form textarea { resize: none; height: 49px; }
.td-form input::placeholder,
.td-form textarea::placeholder { color: #fff; opacity: 0.5; }
.td-form input:focus,
.td-form textarea:focus { border-bottom-color: rgba(255,255,255,0.5); }
.td-form__submit {
    display: block;
    width: 300px;
    height: 80px;
    background: linear-gradient(0.25turn, rgba(224,90,78,1) 0%, rgba(233,140,108,1) 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'FONT', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}
.td-form__submit:hover { opacity: 0.9; }
.td-form__field--error input,
.td-form__field--error textarea,
.td-form__field--error select { border-bottom-color: #e05c5c !important; }
.td-form__error-msg { display: block; font-size: 12px; color: #e05c5c; margin-top: 4px; }
.td-form__response { font-size: 14px; margin-top: 12px; }
.td-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Contact form — phone (dark theme intl-tel-input) */
.td-contact-phone-wrap .iti { width: 100%; border-bottom: 1px solid #4c4c4c; }
.td-contact-phone-wrap .iti__tel-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #fff !important;
    font-family: 'FONT', Arial, sans-serif !important;
    padding: 0 0 8px 52px !important;
    box-shadow: none !important;
}
.td-contact-phone-wrap .iti__tel-input::placeholder { color: #fff !important; opacity: 0.5; }
.td-contact-phone-wrap .iti__flag-container { border: none; }
.td-contact-phone-wrap .iti__selected-flag { background: transparent !important; padding: 0 8px 8px 0; }
.td-contact-phone-wrap .iti__selected-flag:hover,
.td-contact-phone-wrap .iti__selected-flag:focus { background: transparent !important; }
.td-contact-phone-wrap .iti__selected-dial-code { color: #fff !important; font-size: 17px; font-weight: 600; }
.td-contact-phone-wrap .iti__dropdown-content { border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); background: #1a1a1a; }
.td-contact-phone-wrap .iti__search-input { background: #2a2a2a; border: 1px solid #444; color: #fff; border-radius: 4px; }
.td-contact-phone-wrap .iti__search-input::placeholder { color: #888; }
.td-contact-phone-wrap .iti__country { color: #fff; }
.td-contact-phone-wrap .iti__country:hover,
.td-contact-phone-wrap .iti__country.iti__highlight { background: #2a2a2a; }
.td-contact-phone-wrap .iti__dial-code { color: #aaa; }
.td-contact-phone-wrap .iti__country-name { color: #fff; }

/* Contact form — SELECT */
.td-form select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #4c4c4c;
    padding: 0 0 8px 0;
    font-family: 'FONT', Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    outline: none;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.td-form select option { background: #111; color: #fff; }

/* Contact form — consent checkbox */
.td-form__consent { margin-bottom: 20px; }
.td-form__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.td-form__consent input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.td-form__consent-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #4c4c4c;
    position: relative;
    margin-top: 1px;
}
.td-form__consent input:checked + .td-form__consent-box::after {
    content: '✓';
    position: absolute;
    top: -3px;
    left: 2px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}
.td-form__consent-text {
    font-size: 14px;
    font-weight: 100;
    color: #b3b3b3;
    line-height: 1.4;
}
.td-form__consent-text a { color: #b3b3b3; text-decoration: underline; }

/* ===== FOOTER ===== */

/* ===== INTL-TEL-INPUT OVERRIDES ===== */
.td-af-phone-wrap .iti {
    width: 100%;
    border-bottom: 1.5px solid #E98C6C;
}
.td-af-phone-wrap .iti__tel-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 16px !important;
    color: #646464 !important;
    font-family: 'FONT', Arial, sans-serif !important;
    padding: 8px 0 8px 52px !important;
    box-shadow: none !important;
}
.td-af-phone-wrap .iti__tel-input::placeholder { color: #c5bdb5 !important; }
.td-af-phone-wrap .iti__flag-container { border: none; }
.td-af-phone-wrap .iti__selected-flag {
    background: transparent !important;
    padding: 8px 8px 8px 0;
}
.td-af-phone-wrap .iti__selected-flag:hover,
.td-af-phone-wrap .iti__selected-flag:focus { background: transparent !important; }
.td-af-phone-wrap .iti__dropdown-content { border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }