/* ================================================
   razrabotka.css — страница "Разработка сайтов"
   ================================================ */

/* ===== HERO ===== */
.raz-hero {
    background: linear-gradient(0.36deg, #f0ecfe 0%, #fbf1f1 100%);
    overflow: hidden;
}

.raz-hero__inner {
    display: flex;
    align-items: flex-start;
    padding-top: 78px;  /* совпадает с top слайда от начала секции */
    padding-bottom: 76px;
    min-height: 635px;
    gap: 0;
}

/* ----- Левая колонка ----- */
.raz-hero__content {
    width: 430px;       /* шире для "сайты для бизнеса" 414px при 40px Montserrat 700 */
    flex-shrink: 0;
    padding-top: 21px;  /* заголовок стартует на 21px ниже слайда */
    margin-right: 60px; /* gap между колонками */
}

.raz-hero__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: #363636;
    margin: 0 0 20px;
}

.raz-hero__list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.raz-hero__list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #363636;
}

.raz-hero__list li::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url('../images/check-violet.svg') no-repeat center / contain;
    margin-top: -3px;
}

.raz-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 80px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* ----- Правая колонка — слайдер ----- */
.raz-hero__slider-wrap {
    position: relative;
    width: 750px;
    flex-shrink: 0;
}

.raz-hero__slider-clip {
    overflow: hidden;
    width: 750px;
    border-radius: 20px;
}

.raz-hero__slider {
    display: flex;
    flex-direction: row;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.raz-hero__slide {
    position: relative;
    width: 750px;
    height: 480px;
    flex-shrink: 0;
    background: #f8f8f8;
}

.raz-hero__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Тёмная карточка статистики ----- */
/* Позиционирование относительно слайда:
   top: 243px от верха слайда, right: 35px от правого края */
.raz-hero__stats {
    position: absolute;
    top: 243px;
    right: 35px;
    width: 232px;
    height: 207px;
    background: #202020;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Верхняя часть карточки: 5,9% | разделитель | 2% */
.raz-hero__stats-top {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 8px;
}

.raz-hero__stats-col-l {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.raz-hero__stats-num {
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.raz-hero__stats-numlabel {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
}

.raz-hero__stats-sep {
    width: 1px;
    height: 50px;
    background: #e1e1e1;
    flex-shrink: 0;
    margin: 0 10px;
}

.raz-hero__stats-col-r {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.raz-hero__stats-avg {
    font-size: 25px;
    font-weight: 900;
    color: #dbdbdb;
    line-height: 1;
}

.raz-hero__stats-avglabel {
    font-size: 10px;
    font-weight: 800;
    color: #dbdbdb;
    line-height: 1.3;
}

/* Нижняя часть карточки: полная ширина */
.raz-hero__stats-desc {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    margin-bottom: auto;
}

.raz-hero__stats-desc strong {
    font-weight: 700;
}

.raz-hero__stats-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ----- Карточка-ниша (без цифр) ----- */
.raz-hero__stats--niche {
    justify-content: flex-end;
    height: auto;
    min-height: 130px;
}

.raz-hero__stats-niche {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: auto;
}

/* ----- Стрелки навигации слайдера ----- */
/* Позиция относительно slider-wrap:
   top: 25px от верха слайда
   right arrow: 25px от правого края
   left arrow: 75px от правого края (25 + 40 + 10 gap) */
.raz-hero__arrow {
    position: absolute;
    top: 25px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s;
}

.raz-hero__arrow:hover {
    opacity: 0.85;
}

.raz-hero__arrow--prev {
    right: 75px;
}

.raz-hero__arrow--next {
    right: 25px;
}

/* ===== FEATURES ===== */
.raz-feat {
    background: #fff;
    padding: 30px 0;
}

.raz-feat__grid {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    grid-template-rows: 360px 300px;
    gap: 40px;
    max-width: 1160px;
    margin: 0 auto;
}

.raz-feat__card {
    background: #faf5ef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}

.raz-feat__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #373737;
    margin: 0 0 16px;
}

.raz-feat__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #373737;
    margin: 0;
}

/* ----- Кнопка в карточке 2 ----- */
.raz-feat__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 70px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 30px;
}

/* ----- Список в карточке 4 ----- */
.raz-feat__list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.raz-feat__list li {
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: #373737;
    margin-bottom: 0;
}

/* ----- Изображение в карточке 1 (таблица) ----- */
.raz-feat__img--spreadsheet {
    position: absolute;
    right: 0;
    top: 225px;
    width: 233px;
    height: auto;
}

/* ----- Изображение в карточке 3 (телефон) ----- */
.raz-feat__img--phone {
    position: absolute;
    right: 22px;
    top: 116px;
    width: 166px;
    height: auto;
}

/* ----- Карточка 5: текст не перекрывает изображения (оригинал: text-width 190px) ----- */
/* Текст карточки 5 не должен заходить под изображение (img left = 360-39-123=198px, padding-left=30px → max 168px) */
.raz-feat__card--5 .raz-feat__text {
    max-width: 168px;
}

/* ----- Изображения в карточке 5 (материалы) ----- */
/* Координаты от Playwright: card 360×300, img1 left=198 top=173 w=123 h=123, img2 left=248 top=184 w=100 h=100 */
.raz-feat__cards-img {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
}

.raz-feat__cards-img--1 {
    width: 123px;
    height: 123px;
    right: 39px;  /* 360-(198+123) */
    bottom: 4px;  /* 300-(173+123) */
}

.raz-feat__cards-img--2 {
    width: 100px;
    height: 100px;
    right: 12px;  /* 360-(248+100) */
    bottom: 16px; /* 300-(184+100) */
}

/* ===== PORTFOLIO ===== */
.raz-port {
    background: #fff;
    padding: 60px 0 0;
    overflow: hidden;
}

.raz-port__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1160px;
    margin: 0 auto 40px;
    padding-left: 60px;
    padding-right: 0;
}

.raz-port__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.25;
    color: #363636;
    margin: 0;
}

.raz-port__nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.raz-port__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(66deg, rgb(224, 90, 78) 60%, rgb(233, 140, 108));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.raz-port__slider-wrap {
    overflow: hidden;
    width: 1160px;
    margin: 0 auto;
    position: relative;
}

.raz-port__track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.raz-port__card {
    width: 1160px;
    height: 591px;
    background: #f8f8f8;
    border-radius: 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
}

.raz-port__left {
    width: 460px;
    flex-shrink: 0;
    padding: 60px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.raz-port__logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 27px;
}

.raz-port__niche {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.1;
    color: #363636;
    margin: 0 0 19px;
}

.raz-port__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.raz-port__tag {
    font-size: 12px;
    font-weight: 700;
    border: 1.5px solid #c8c8c8;
    border-radius: 50px;
    padding: 9px 18px;
    color: #363636;
    line-height: 1;
}

.raz-port__metrics {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.raz-port__metric-m,
.raz-port__metric-a {
    display: flex;
    flex-direction: column;
}

.raz-port__metric-val {
    font-size: 50px;
    font-weight: 700;
    color: #363636;
    line-height: 1;
}

.raz-port__metric-lbl {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    margin-top: 4px;
}

.raz-port__metric-sep {
    width: 1px;
    height: 70px;
    background: #c8c8c8;
    margin: 0 28px;
    flex-shrink: 0;
    align-self: center;
}

.raz-port__metric-avg {
    font-size: 30px;
    font-weight: 700;
    color: #363636;
    line-height: 1;
}

.raz-port__metric-avglbl {
    font-size: 12px;
    font-weight: 600;
    color: #363636;
    margin-top: 6px;
}

.raz-port__revenue {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    margin: 0 0 22px;
    line-height: 1.4;
}

.raz-port__revenue strong {
    color: #e05a4e;
    font-weight: 700;
}

.raz-port__btns {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: auto;
}

.raz-port__btn-calc {
    width: 260px;
    height: 80px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.raz-port__btn-calc span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.raz-port__btn-case {
    width: 251px;
    height: 80px;
    border-radius: 100px;
    border: 2px solid #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #363636;
    text-decoration: none;
    flex-shrink: 0;
}

.raz-port__right {
    position: absolute;
    top: 48px;
    left: 463px;
    width: 657px;
    height: 373px;
    border-radius: 8px 0 0 0;
    overflow: hidden;
}

.raz-port__video,
.raz-port__screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.raz-port__vkframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ===== КАЛЬКУЛЯТОР СТОИМОСТИ ===== */

.raz-calc {
    background: #fff;
    padding: 30px 0 44px;
}

.raz-calc__wrap {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* Левая колонка — stretch до высоты правой панели */
.raz-calc__art-col {
    width: 570px;
    min-width: 570px;
}

/* Внутренний декоративный блок — JS двигает его как sticky */
.raz-calc__art {
    width: 570px;
    height: 630px;
    background-color: #bda8ff;
    background-image: url('/wp-content/uploads/razrabotka/calc-art.png');
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    border-radius: 20px;
    will-change: transform;
}

/* Правая панель — форма */
.raz-calc__panel {
    flex: 1;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px;
}

.raz-calc__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0 0 20px;
}

.raz-calc__desc {
    font-size: 16px;
    font-weight: 400;
    color: #464646;
    line-height: 1.5;
    margin: 0 0 40px;
}

/* Поля формы */
.raz-calc__field {
    margin-bottom: 40px;
}

.raz-calc__lbl {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Select-обёртка (стрелка вниз) */
.raz-calc__sel-wrap {
    position: relative;
    margin-top: 0;
}

.raz-calc__sel-wrap::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #363636;
    pointer-events: none;
}

.raz-calc__sel {
    width: 100%;
    height: 50px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    background: #fafafa;
    border: 1px solid rgb(211, 209, 209);
    border-radius: 10px;
    padding: 0 45px 0 20px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    margin-top: 0;
}

.raz-calc__sel:focus {
    border-color: #bda8ff;
}

/* Textarea */
.raz-calc__area {
    width: 100%;
    height: 85px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    background: #fafafa;
    border: 1px solid rgb(211, 209, 209);
    border-radius: 10px;
    padding: 15px 20px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    display: block;
}

.raz-calc__area::placeholder {
    color: #aaa;
    font-weight: 400;
}

.raz-calc__area:focus {
    border-color: #bda8ff;
}

/* Задачи сайта — сетка чекбоксов (CF7) */
.raz-calc__field--tasks .raz-calc__lbl {
    font-size: 20px;
}

.raz-calc__checks {
    margin-top: 40px;
}

/* CF7 оборачивает чекбоксы в wpcf7-form-control-wrap > wpcf7-checkbox */
.raz-calc__checks .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.raz-calc__checks .wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 14px;
    width: 100%;
    align-items: start;
}

/* 5-й и 6-й элементы — на всю ширину */
.raz-calc__checks .wpcf7-list-item:nth-child(5),
.raz-calc__checks .wpcf7-list-item:nth-child(6) {
    grid-column: 1 / -1;
}

.raz-calc__checks .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.raz-calc__checks .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

/* Чекбокс через appearance: none */
.raz-calc__checks .wpcf7-list-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #e4745d;
    background: transparent;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.raz-calc__checks .wpcf7-list-item input[type="checkbox"]:checked {
    background-color: #e4745d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.raz-calc__checks .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
}

/* CF7 — обёртки полей (wpcf7-form-control-wrap) не должны ломать layout */
.raz-calc .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* CF7 — ошибки валидации */
.raz-calc .wpcf7-not-valid-tip {
    display: block;
    font-size: 12px;
    color: #e05a4e;
    margin-top: 4px;
}

.raz-calc .wpcf7-not-valid {
    border-color: #e05a4e !important;
}

/* Телефон */
.raz-calc__phone-wrap {
    display: flex;
    align-items: center;
    height: 50px;
    background: #fafafa;
    border: 1px solid rgb(211, 209, 209);
    border-radius: 10px;
    overflow: hidden;
}

.raz-calc__phone-pre {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 0 20px;
    height: 100%;
    border-right: 1px solid rgb(197, 197, 197);
    white-space: nowrap;
    flex-shrink: 0;
}

.raz-calc__phone-flag {
    display: inline-block;
    width: 18px;
    height: 13px;
    background: linear-gradient(to bottom, #fff 33%, #0039a6 33% 66%, #d52b1e 66%);
    vertical-align: middle;
    border-radius: 1px;
}

.raz-calc__phone-code {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
}

/* CF7 оборачивает phone-input в span — растягиваем его */
.raz-calc__phone-wrap .wpcf7-form-control-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.raz-calc__phone-inp {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    padding: 0 20px;
    outline: none;
    width: 100%;
}

.raz-calc__phone-inp::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Политика */
.raz-calc__policy-wrap {
    margin-bottom: 40px;
}

.raz-calc__policy-title {
    font-size: 14px;
    font-weight: 700;
    color: #363636;
    margin-bottom: 40px;
}

/* CF7 acceptance-поле */
.raz-calc__policy-wrap .wpcf7-form-control-wrap {
    display: block;
}

.raz-calc__policy-wrap .wpcf7-acceptance {
    display: block;
}

.raz-calc__policy-wrap .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.raz-calc__policy-wrap .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #e4745d;
    background: transparent;
    cursor: pointer;
    margin: 2px 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.raz-calc__policy-wrap .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #e4745d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.raz-calc__policy-wrap .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: 400;
    color: #363636;
    line-height: 1.4;
}

.raz-calc__policy-wrap .wpcf7-list-item-label a {
    color: inherit;
    text-decoration: underline;
}

/* Кнопка отправки (CF7 генерирует input[type=submit]) */
.raz-calc__submit {
    display: inline-block;
    width: 270px;
    height: 80px;
    border: none;
    border-radius: 100px;
    background: linear-gradient(90.36deg, #e05a4e 0%, #e78367 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    box-sizing: border-box;
    vertical-align: middle;
}

.raz-calc__submit:hover {
    opacity: 0.88;
}

.raz-calc__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* CF7 — статус отправки */
.raz-calc .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    border: none;
}

.raz-calc .wpcf7-mail-sent-ok {
    background: #eafaf1;
    color: #27ae60;
}

.raz-calc .wpcf7-mail-sent-ng {
    background: #fdf0ee;
    color: #e05a4e;
}

.raz-calc .wpcf7-validation-errors,
.raz-calc .wpcf7-acceptance-missing {
    background: #fdf0ee;
    color: #e05a4e;
}

/* CF7 spinner */
.raz-calc .wpcf7-spinner {
    margin: 0 0 0 12px;
    vertical-align: middle;
}

/* ── КАК НАМ УДАЕТСЯ (STEPS) ───────────────────────────────────────────────── */
.raz-how {
    background: #fff;
    padding: 45px 0 60px;
}

.raz-how__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.raz-how__heading {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0 0 30px;
}

/* Badge */
.raz-how__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 30px;
    background: linear-gradient(90.36deg, #e05a4e 0%, #e78367 100%);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #f8f8f8;
    margin-bottom: 25px;
    flex-shrink: 0;
}

/* ─── Шаг 1 — row ─────────────────────────────────────────────── */
.raz-how__row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

/* Левая карточка */
.raz-how__left {
    width: 570px;
    min-width: 570px;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.raz-how__step-title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0 0 20px;
}

.raz-how__step-desc {
    font-size: 20px;
    font-weight: 600;
    color: #363636;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    padding-bottom: 40px;
}

.raz-how__step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 60px;
    background: linear-gradient(90.36deg, #e05a4e 0%, #e78367 100%);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.raz-how__step-btn:hover {
    opacity: 0.88;
    color: #fff;
}

/* Правая карточка (слайдер) */
.raz-how__right {
    flex: 1;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    min-height: 505px;
    box-sizing: border-box;
}

/* Slides */
.raz-how__slide {
    display: none;
}

.raz-how__slide--active {
    display: block;
}

/* Картинка слайда */
.raz-how__slide-img {
    border-radius: 20px;
    overflow: hidden;
    height: 270px;
    margin-bottom: 16px;
}

.raz-how__slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Ряд с кнопкой воспроизведения */
.raz-how__play-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #d8cbff;
    border-radius: 15px;
    padding: 20px 18px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 1.3;
}

.raz-how__play-ico {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

/* Строка с чекмарком */
.raz-how__check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* без фиолетового фона — просто иконка + текст, как в оригинале */
    font-size: 15px;
    font-weight: 700;
    color: #363636;
    line-height: 1.3;
    margin-top: 16px;
}

.raz-how__check-row img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Примечание (слайд 4) */
.raz-how__slide-note {
    font-size: 13px;
    font-weight: 500;
    color: #888;
    line-height: 1.4;
    margin: 10px 0 0;
}

/* Навигационные стрелки */
.raz-how__nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.raz-how__nav-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.raz-how__nav-btn img {
    width: 32px;
    height: 32px;
    display: block;
}

/* ─── Шаг 2 ────────────────────────────────────────────────────── */
.raz-how__step2 {
    padding-top: 10px;
    padding-left: 40px;
}

.raz-how__step2-head {
    margin-bottom: 30px;
}

.raz-how__step-title--wide {
    max-width: 914px;
    margin-top: 15px;
}

.raz-how__features {
    display: flex;
    gap: 20px;
}

.raz-how__feature {
    flex: 1;
    background: #f8f8f8;
    border-radius: 20px;
    overflow: hidden;
}

.raz-how__feature-img {
    height: 298px;
    overflow: hidden;
}

.raz-how__feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.raz-how__feature-text {
    padding: 25px 30px 30px;
}

.raz-how__feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    line-height: 1.3;
    margin: 0 0 10px;
}

.raz-how__feature-desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 1.4;
    margin: 0;
}

/* ── ПРИМЕНЯЕМ ОПЫТ 300+ (NICHES) ────────────────────────────────────────── */
.raz-niches {
    background: #202020;
}

.raz-niches__container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 0 50px;
}

.raz-niches__top {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 60px;
}

.raz-niches__top-left {
    max-width: 840px;
}

.raz-niches__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 48px;
    margin: 0 0 20px;
}

.raz-niches__title-accent {
    color: #bda8ff;
}

.raz-niches__desc {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 20px;
    margin: 0;
}

.raz-niches__arrow {
    position: absolute;
    right: 0;
    top: 20px;
    width: 256px;
    pointer-events: none;
}

.raz-niches__grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 0;
    margin-bottom: 40px;
}

.raz-niches__group {
    margin-bottom: 30px;
}

.raz-niches__group-label {
    font-size: 30px;
    font-weight: 700;
    color: #f8f8f8;
    margin-bottom: 20px;
}

.raz-niches__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.raz-niches__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 24px;
    background: #f8f8f8;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: #363636;
    letter-spacing: -1.5px;
    text-decoration: none;
    white-space: nowrap;
    cursor: default;
}

.raz-niches__more-row {
    text-align: center;
}

.raz-niches__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 48px;
    background: linear-gradient(90.36deg, #e05a4e 0%, #e78367 100%);
    border: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.raz-niches__more-btn:hover {
    opacity: 0.88;
}

.raz-niches__full-row {
    text-align: center;
    margin-top: 30px;
}

.raz-niches__full-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 50px;
    border: none;
    border-radius: 100px;
    background: linear-gradient(0.25turn, #e05a4e 0%, #e98c6c 100%);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.raz-niches__full-link:hover {
    opacity: 0.9;
    color: #fff;
}

/* ===== FORECAST (Прогнозируем результаты) ===== */
.raz-forecast {
    background: #fff;
    padding: 30px 0;
}

.raz-forecast__container {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.raz-forecast__left {
    width: 570px;
    flex-shrink: 0;
    background: #faf5ef;
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.raz-forecast__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 42px;
    margin: 0;
}

.raz-forecast__desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 18px;
    margin: 20px 0 0;
}

.raz-forecast__desc + .raz-forecast__desc {
    margin-top: 18px;
}

.raz-forecast__check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 21px;
}

.raz-forecast__check-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.raz-forecast__check-text {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 18px;
}

.raz-forecast__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 80px;
    margin-top: 40px;
    background: linear-gradient(66deg, #e05a4e 60%, #e98c6c);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.raz-forecast__btn:hover {
    opacity: 0.85;
    color: #fff;
}

.raz-forecast__right {
    flex: 1;
    height: 600px;
    background-color: #bda8ff;
    background-repeat: no-repeat;
    background-position: 1.563% 48.889%;
    background-size: 156.14%;
    border-radius: 10px;
}

/* ===== FISHES (Современные фишки) ===== */
.raz-fishes {
    background: #fff;
}

.raz-fishes__container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 75px 0 0;
}

.raz-fishes__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 42px;
    margin: 0 0 30px;
}

.raz-fishes__cards {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
}

.raz-fishes__left {
    width: 570px;
    flex-shrink: 0;
    height: 500px;
    background: linear-gradient(50.04deg, #f0ecfe 0%, #fbf1f1 100%);
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.raz-fishes__card-title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 42px;
    margin: 0 0 20px;
}

.raz-fishes__desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 18px;
    margin: 0;
}

.raz-fishes__desc + .raz-fishes__desc {
    margin-top: 18px;
}

.raz-fishes__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 80px;
    margin-top: 40px;
    background: linear-gradient(66deg, #e05a4e 60%, #e98c6c);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.raz-fishes__btn:hover {
    opacity: 0.85;
    color: #fff;
}

.raz-fishes__right {
    flex: 1;
    height: 500px;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 42px 8px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.raz-fishes__video {
    width: 554px;
    height: 416px;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

/* ===== FISHES CARDS (Лид-магниты, Опросники, Виджеты, Видео-кнопки) ===== */
.raz-fishes-cards {
    background: #fff;
    padding: 0 0 30px;
}

.raz-fishes-cards__container {
    max-width: 1160px;
    margin: 0 auto;
}

.raz-fishes-cards__row {
    display: flex;
    gap: 20px;
    padding-top: 30px;
}

.raz-fishes-cards__row + .raz-fishes-cards__row {
    padding-top: 41px;
}

.raz-fishes-cards__col {
    width: 570px;
    flex-shrink: 0;
}

.raz-fishes-cards__img {
    width: 570px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.raz-fishes-cards__video-wrap {
    width: 570px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.raz-fishes-cards__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.raz-fishes-cards__title {
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    line-height: 24px;
    margin: 25px 0 0;
}

.raz-fishes-cards__desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 18px;
    margin: 15px 0 0;
    letter-spacing: -0.4px;
}

.raz-fishes-cards__desc + .raz-fishes-cards__desc {
    margin-top: 18px;
}

/* ===== STAGES (этапы разработки) ===== */
.raz-stages {
    background: #fff;
    padding: 70px 0 0;
}

.raz-stages__container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 140px;
    box-sizing: content-box;
}

.raz-stages__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 42px;
    margin: 0 0 5px;
}

/* Навигация вкладок */
.raz-stages__nav {
    display: flex;
    width: 100%;
    padding: 15px 0 30px;
}

.raz-stages__tab {
    flex: 1;
    height: 73px;
    font-size: 15px;
    font-weight: 700;
    color: #363636;
    background: rgb(243, 243, 243);
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    padding: 0 8px;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}

.raz-stages__tab:first-child { border-radius: 100px 0 0 100px; }
.raz-stages__tab:last-child  { border-radius: 0 100px 100px 0; }

.raz-stages__tab.active {
    background: rgb(226, 105, 90);
    color: #fff;
}

.raz-stages__tab:hover:not(.active) {
    background: rgba(226, 105, 90, 0.12);
}

/* Панели */
.raz-stages__panels {
    padding-top: 5px;
    padding-bottom: 20px;
}

.raz-stages__panel {
    display: none;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
}

.raz-stages__panel.active {
    display: flex;
}

/* Левая карточка */
.raz-stages__left {
    width: 570px;
    flex-shrink: 0;
    padding: 40px;
    border-radius: 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    min-height: 472px;
}

.raz-stages__left--beige {
    background: #faf5ef;
}

.raz-stages__panel-title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
}

.raz-stages__panel-text {
    font-size: 15px;
    font-weight: 600;
    color: #464646;
    line-height: 1.5;
    margin: 0;
}

.raz-stages__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.raz-stages__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.raz-stages__item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.raz-stages__item-text {
    font-size: 15px;
    font-weight: 600;
    color: #464646;
    line-height: 1.4;
}

.raz-stages__btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0 30px;
    height: 80px;
    line-height: 80px;
    border-radius: 100px;
    white-space: nowrap;
}

/* Правая карточка */
.raz-stages__right {
    flex: 1;
    border-radius: 20px;
    background-color: #f8f8f8;
    background-repeat: no-repeat;
}
/* Вкладка с видео (например, «Тестирование»): видео поверх фиолетовой панели */
.raz-stages__right--video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    box-sizing: border-box;
    overflow: hidden;
}
.raz-stages__video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
/* Вкладка с чатом («Релиз»): серия изображений (каркас + оверлеи) как на главной */
.raz-stages__right--chat {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}
.raz-stages__chat {
    width: 100%;
    max-width: 560px;
}
/* перенесено из карточки «Бережем ваши нервы» (page-home.css) */
.td-benefit-card__img-wrap { position: relative; overflow: hidden; }
.td-benefit-card__main-img { width: 100%; height: auto; display: block; border-radius: 14px; }
.td-benefit-card__overlay { position: absolute; pointer-events: none; }
.td-benefit-card__overlay--114 { top: 34%;   left: 3.5%;  width: 54%; }
.td-benefit-card__overlay--115 { top: 49%;   left: 3.5%;  width: 43%; }
.td-benefit-card__overlay--116 { top: 63.5%; left: 3.5%;  width: 46%; }
.td-benefit-card__overlay--60  { top: 75.7%; left: 62.8%; width: 34.2%; }

/* === DESIGN CAPS === */
.raz-caps {
    background: #fff;
}
.raz-caps__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 75px 140px 0;
    box-sizing: content-box;
}
.raz-caps__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
    max-width: 760px;
    letter-spacing: -2.2px;
}
.raz-caps__arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.raz-caps__arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raz-caps__arrow img {
    width: 40px;
    height: 40px;
    display: block;
}
.raz-caps__scroll {
    overflow: hidden;
}
.raz-caps__track {
    display: flex;
    gap: 40px;
    /* первая карточка выравнивается по левому краю центрированной колонки (как блок выше),
       карточки уходят вправо за край */
    padding: 30px 140px 25px max(140px, calc((100vw - 1160px) / 2));
    transition: transform 0.3s ease;
    will-change: transform;
}
.raz-caps__card {
    flex-shrink: 0;
    width: 260px;
}
.raz-caps__card-img {
    width: 260px;
    height: 163px;
    border-radius: 20px;
    background: #eee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 19px;
}
.raz-caps__card-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.raz-caps__card-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.raz-caps__card-text {
    font-size: 15px;
    font-weight: 700;
    color: #363636;
    line-height: 1.3;
    letter-spacing: -1px;
}

/* === MOBILE === */
.raz-mobile { background: #fff; }
.raz-mobile__inner {
    display: flex;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 140px;
    box-sizing: content-box;
}
.raz-mobile__left {
    width: 570px;
    height: 500px;
    background-color: #faf5ef;
    border-radius: 20px;
    padding: 40px 40px 62px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.raz-mobile__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.raz-mobile__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -2px;
}
.raz-mobile__points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.raz-mobile__point {
    display: flex;
    align-items: center;
    gap: 10px;
}
.raz-mobile__point-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.raz-mobile__point-text {
    font-size: 15px;
    font-weight: 600;
    color: #464646;
    line-height: 1.2;
    letter-spacing: -0.4px;
}
.raz-mobile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 290px;
    height: 80px;
    background: linear-gradient(66deg, #e05a4e 60%, #e98c6c);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.raz-mobile__btn:hover { opacity: 0.9; color: #fff; }
.raz-mobile__right {
    width: 570px;
    height: 500px;
    border-radius: 20px;
    background-image: url('/wp-content/uploads/razrabotka/mobile/phone-screens.jpg');
    background-size: 137.807%;
    background-position: 48.725% 46.794%;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* === INTEGRATIONS === */
.raz-int { background: #fff; }
.raz-int__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 140px 0;
    box-sizing: content-box;
}
.raz-int__title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
}
.raz-int__arrows { display: flex; gap: 10px; flex-shrink: 0; }
.raz-int__arrow {
    width: 40px; height: 40px; padding: 0; border: none;
    cursor: pointer; background: none; display: flex;
    align-items: center; justify-content: center;
}
.raz-int__arrow img { width: 40px; height: 40px; display: block; }
.raz-int__scroll { overflow: hidden; }
.raz-int__track {
    display: flex;
    gap: 20px;
    padding: 30px 140px 30px max(140px, calc((100vw - 1160px) / 2));
    transition: transform 0.3s ease;
    will-change: transform;
}
.raz-int__card {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.raz-int__card-icon {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    background-color: #faf5ef;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.raz-int__card-label {
    font-size: 15px;
    font-weight: 700;
    color: #363636;
    line-height: 18px;
}

/* === QUALITY === */
.raz-quality { background: #fff; }
.raz-quality__hdr {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 70px 140px 5px;
    box-sizing: border-box;
    height: 159px;
}
.raz-quality__hdr-title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
}
.raz-quality__hdr-accent { color: rgb(189, 168, 255); }
.raz-quality__cards {
    position: relative;
    height: 1160px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.raz-quality__card {
    position: absolute;
    width: 570px;
}
.raz-quality__card--1 { top: 30px; left: 140px; }
.raz-quality__card--2 { top: 30px; left: 730px; }
.raz-quality__card--3 { top: 576px; left: 140px; }
.raz-quality__card--4 { top: 576px; left: 730px; }
.raz-quality__card-img {
    width: 570px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}
.raz-quality__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 25px 0 0;
    letter-spacing: -0.5px;
}
.raz-quality__card-desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 1.2;
    margin: 15px 0 0;
    letter-spacing: -0.3px;
}
.raz-quality__card-list {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 1.6;
    margin: 15px 0 0;
    padding: 0;
    list-style: disc;
    padding-left: 20px;
    letter-spacing: -0.3px;
}

/* === EASY === */
.raz-easy { background: #fff; }
.raz-easy__hdr {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 97px 140px 5px;
    box-sizing: border-box;
    height: 159px;
}
.raz-easy__hdr-title {
    font-size: 35px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}
.raz-easy__hdr-accent { color: rgb(189, 168, 255); }
.raz-easy__inner {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 40px;
    padding: 30px 140px 45px;
    box-sizing: border-box;
    height: 473px;
}
.raz-easy__card {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.raz-easy__card-img {
    width: 360px;
    height: 250px;
    border-radius: 20px;
    background-size: cover;
    background-position: 50% 50%;
    flex-shrink: 0;
}
.raz-easy__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #363636;
    line-height: 1.2;
    margin: 20px 0 0;
    letter-spacing: -0.5px;
}
.raz-easy__card-desc {
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    line-height: 1.2;
    margin: 8px 0 0;
    letter-spacing: -0.4px;
}

/* ===== REVIEWS HEADER ===== */
.raz-reviews-hdr {
    background: #fff;
    height: 119px;
}
.raz-reviews-hdr__inner {
    width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.raz-reviews-hdr__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 0;
    letter-spacing: -0.5px;
}
.raz-reviews-hdr__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.raz-reviews-hdr__arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raz-reviews-hdr__arrow img {
    display: block;
    width: 40px;
    height: 40px;
}

/* ===== VIDEO REVIEWS ===== */
.raz-vreview {
    background: #fff;
    padding: 29px 0 21px;
}
.raz-vreview__slide {
    display: none;
}
.raz-vreview__slide--active {
    display: block;
}
.raz-vreview__inner {
    width: 1160px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}
.raz-vreview__photo-wrap {
    flex-shrink: 0;
    width: 300px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.raz-vreview__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
}
.raz-vreview__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 0;
}
.raz-vreview__play-btn img {
    width: 90px;
    height: 90px;
    display: block;
}
.raz-vreview__content {
    flex: 1;
    height: 500px;
    border-radius: 20px;
    background-image: url('/wp-content/uploads/video-reviews/mask-group3.svg');
    background-size: cover;
    background-position: center;
    background-color: #b9a9ff;
    position: relative;
    padding: 40px 0 0 39px;
    overflow: hidden;
}
.raz-vreview__quote-icon {
    position: absolute;
    top: 186px;
    right: 60px;
    width: 52px;
    height: 52px;
    display: block;
}
.raz-vreview__label {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0;
    width: 668px;
}
.raz-vreview__badge {
    margin-top: 21px;
    display: inline-block;
    font-size: 10px;
    font-weight: 100;
    line-height: 1.55;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background-color: #5b4c86;
    border: 1px solid #464646;
    border-radius: 30px;
    padding: 5px 16px;
    white-space: nowrap;
}
.raz-vreview__quote {
    margin: 23px 0 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
    color: #fff;
    width: 654px;
    max-height: 224px;
    overflow: hidden;
}
.raz-vreview__author-row {
    position: absolute;
    bottom: 34px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 19px;
}
.raz-vreview__divider {
    display: block;
    width: 80px;
    height: 1px;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}
.raz-vreview__author {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ===== WRITTEN REVIEWS HEADER ===== */
.raz-written-hdr {
    background: #fff;
    height: 88px;
    border-top: 1px solid #e4e4e4;
}
.raz-written-hdr__inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.raz-written-hdr__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: #363636;
    margin: 0;
}
.raz-written-hdr__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.raz-written-hdr__arrow {
    width: 37px;
    height: 37px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raz-written-hdr__arrow img {
    display: block;
    width: 37px;
    height: 37px;
}

/* ===== WRITTEN REVIEWS ===== */
.raz-written {
    background: #fff;
    overflow: hidden;
    padding-bottom: 61px;
}
.raz-written__track {
    display: flex;
    gap: 30px;
    padding-left: max(140px, calc((100vw - 1160px) / 2));
    transition: transform 0.5s ease;
}
.raz-written__card {
    flex-shrink: 0;
    width: 585px;
    height: 349px;
    background: #faf5ef;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}
.raz-written__card-left {
    width: 394px;
    padding: 31px 0 31px 30px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.raz-written__qtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1;
    color: #363636;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.raz-written__qbody {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    color: #363636;
    margin: 0;
    flex: 1;
    overflow: hidden;
    max-width: 340px;
    letter-spacing: -0.4px;
}
.raz-written__footer {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.raz-written__aname,
.raz-written__company {
    font-size: 13px;
    font-weight: 500;
    color: #363636;
    line-height: 1.4;
}
.raz-written__card-right {
    flex: 1;
    padding: 20px 20px 0 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.raz-written__doc {
    width: 155px;
    height: auto;
    max-height: 310px;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* ===== SOCIAL REVIEWS HEADER ===== */
.raz-social-hdr {
    background: #fff;
    height: 90px;
    border-top: 1px solid #e4e4e4;
}
.raz-social-hdr__inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.raz-social-hdr__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: #363636;
    margin: 0;
}
.raz-social-hdr__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.raz-social-hdr__arrow {
    width: 37px;
    height: 37px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raz-social-hdr__arrow img {
    display: block;
    width: 37px;
    height: 37px;
}

/* ===== SOCIAL REVIEWS ===== */
.raz-social {
    background: #fff;
    overflow: hidden;
    padding-bottom: 95px;
}
.raz-social__track {
    display: flex;
    gap: 31px;
    padding-left: max(140px, calc((100vw - 1160px) / 2));
    transition: transform 0.5s ease;
}
.raz-social__card {
    flex-shrink: 0;
    width: 585px;
    height: 285px;
    background: #faf5ef;
    border-radius: 15px;
    padding: 21px 30px 0 30px;
    position: relative;
    overflow: hidden;
}
.raz-social__qtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 0 0 0;
    letter-spacing: -0.3px;
    max-width: 330px;
}
.raz-social__qbody {
    margin: 19px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    color: #363636;
    overflow: hidden;
    max-height: 100px;
}
.raz-social__card-footer {
    position: absolute;
    bottom: 27px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.raz-social__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.raz-social__author-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.raz-social__author {
    font-size: 14px;
    font-weight: 400;
    color: #363636;
    line-height: 1.3;
}
.raz-social__link {
    font-size: 14px;
    font-weight: 600;
    color: #5181b8;
    text-decoration: none;
    line-height: 1.3;
}
.raz-social__link:hover {
    text-decoration: underline;
}

/* ===== NDA / LOGOS ===== */
.raz-nda {
    background: rgb(32, 32, 32);
}
.raz-nda__header {
    display: flex;
    align-items: flex-start;
    padding: 121px 0 40px max(140px, calc((100vw - 1160px) / 2));
}
.raz-nda__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    width: 447px;
    flex-shrink: 0;
    margin: 0;
    letter-spacing: -3.5px;
}
.raz-nda__notice {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 273px;
    padding-top: 38px;
    flex-shrink: 0;
}
.raz-nda__notice-icon {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
}
.raz-nda__notice-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(180, 180, 180);
    margin: 0;
    width: 392px;
    letter-spacing: -1.0px;
}
.raz-nda__logos {
    display: flex;
    flex-wrap: wrap;
    padding-left: max(140px, calc((100vw - 1160px) / 2));
    padding-bottom: 121px;
}
.raz-nda__logo {
    width: 146px;
    height: 100px;
    object-fit: fill;
    flex-shrink: 0;
    margin-right: -1px;
    margin-bottom: -1px;
}

/* ===== PRICING TYPES ===== */
.raz-pricing {
    background: #fff;
    padding: 75px 0 0 0;
}
.raz-pricing__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 0;
    padding: 0 0 0 max(140px, calc((100vw - 1160px) / 2));
    letter-spacing: -1.5px;
}
.raz-pricing__cards {
    display: flex;
    gap: 30px;
    padding: 30px 0 60px max(140px, calc((100vw - 1160px) / 2));
    align-items: flex-start;
}
/* Стрелки слайдера тарифов: на десктопе скрыты (3 карточки помещаются),
   показываются на планшете/мобильном (см. адаптив). */
.raz-pricing__nav { display: none; gap: 10px; }
.raz-pricing__arrow { width: 40px; height: 40px; padding: 0; border: none; background: none; cursor: pointer; flex-shrink: 0; }
.raz-pricing__arrow img { width: 40px; height: 40px; display: block; }
.raz-pricing__card {
    flex: 0 0 366px;
    width: 366px;
    height: 757px;
    border-radius: 20px;
    background-image: linear-gradient(0.139turn, rgba(240,236,254,1) 0%, rgba(251,241,241,1) 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.raz-pricing__card-image {
    width: 366px;
    height: 205px;
    border-radius: 20px 20px 0 0;
    background-repeat: no-repeat;
    border: 1px solid #d3d1d1;
    flex-shrink: 0;
    box-sizing: border-box;
}
.raz-pricing__card-body {
    padding: 33px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.raz-pricing__card-header {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin-bottom: 25px;
    flex-shrink: 0;
}
.raz-pricing__card-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 0;
    letter-spacing: -1.0px;
}
.raz-pricing__card-desc {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #363636;
    margin: 0;
    letter-spacing: -0.4px;
}
.raz-pricing__card-tasks {
    margin-bottom: 0;
    flex-shrink: 0;
}
.raz-pricing__tasks-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 0 0 10px 0;
    letter-spacing: -0.4px;
}
.raz-pricing__tasks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.raz-pricing__task-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.raz-pricing__check {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}
.raz-pricing__task-item span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #363636;
    letter-spacing: -0.4px;
}
.raz-pricing__card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.raz-pricing__duration {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #363636;
    margin: 0;
    letter-spacing: -0.4px;
}
.raz-pricing__price {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin: 10px 0 0 0;
}
.raz-pricing__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin-top: 25px;
    border-radius: 100px;
    background: linear-gradient(0.25turn, #e05a4e 0%, #e98c6c 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease-in-out;
    box-sizing: border-box;
    letter-spacing: -0.4px;
}
.raz-pricing__btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

/* ===== PACKAGE (СВЯЗКА САЙТОВ) ===== */
.raz-package {
    background: #202020;
}

/* Header part (243px) */
.raz-package__header {
    padding: 90px 0 32px max(140px, calc((100vw - 1160px) / 2));
}
.raz-package__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    max-width: 780px;
    letter-spacing: -1.5px;
}
.raz-package__accent {
    color: rgb(189, 168, 255);
}
.raz-package__subtitle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
}
.raz-package__check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.raz-package__subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    margin: 0;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

/* Items grid part (910px) */
.raz-package__items {
    background: #202020;
    padding: 40px 0 20px max(140px, calc((100vw - 1160px) / 2));
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Decorative vector arrows */
.raz-package__vector {
    position: absolute;
    pointer-events: none;
    display: none; /* временно скрыты — позже доработать связующие линии */
}
/* left привязан к началу контента (паддинг секции) + фикс. смещение,
   чтобы линии ехали вместе с колонками на широких экранах, а не оставались у края.
   На 1440px значения совпадают с прежними 274px / 802px. */
.raz-package__vector--27 {
    top: 173px;
    left: calc(max(140px, (100vw - 1160px) / 2) + 134px);
    width: 341px;
    height: 207px;
}
.raz-package__vector--28 {
    top: 202px;
    left: calc(max(140px, (100vw - 1160px) / 2) + 662px);
    width: 374px;
    height: 405px;
}

/* Left column */
.raz-package__left {
    width: 266px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 75px;
}
.raz-package__left-item {
    display: flex;
    flex-direction: column;
}
.raz-package__item-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(248, 248, 248);
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}
.raz-package__item-img {
    width: 266px;
    height: 184px;
    border-radius: 15px;
    overflow: hidden;
    background: rgb(248, 248, 248);
    flex-shrink: 0;
}
.raz-package__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.raz-package__item-desc {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(248, 248, 248);
    margin: 15px 0 0 0;
    letter-spacing: -0.4px;
}

/* Center big card */
.raz-package__center {
    width: 434px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.raz-package__center-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(248, 248, 248);
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}
.raz-package__center-img {
    width: 434px;
    height: 800px;
    border-radius: 15px;
    overflow: hidden;
    background: rgb(242, 236, 236);
    flex-shrink: 0;
}
.raz-package__center-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right column */
.raz-package__right {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}
.raz-package__right-header {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(248, 248, 248);
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}
.raz-package__right-item {
    display: flex;
    flex-direction: column;
}
.raz-package__right-item + .raz-package__right-item {
    margin-top: 40px;
}
.raz-package__item-img--wide {
    width: 340px;
    height: 184px;
}
.raz-package__material-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(248, 248, 248);
    margin: 15px 0 0 0;
    letter-spacing: -0.7px;
}

/* Copies part (556px) */
.raz-package__copies {
    background: #202020;
    padding: 20px 0 60px max(140px, calc((100vw - 1160px) / 2));
}
.raz-package__copies-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}
.raz-package__copies-desc {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 25px 0;
    letter-spacing: -0.4px;
}
.raz-package__copies-cards {
    display: flex;
    gap: 20px;
}
.raz-package__copy-card {
    width: 280px;
    height: 340px;
    border-radius: 15px;
    overflow: hidden;
    background: rgb(248, 248, 248);
    flex-shrink: 0;
}
.raz-package__copy-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== MARKETING (МАРКЕТИНГОВЫЕ УСЛУГИ) ===== */
.raz-marketing { background: #fff; padding-bottom: 20px; }

/* Header (159px) */
.raz-marketing__header { background: #fff; }
.raz-marketing__separator {
    height: 1px;
    background: rgb(228, 228, 228);
    background-clip: content-box;
    max-width: 1440px;
    margin: 17px auto 0;
    padding: 0 245px 0 327px;
    box-sizing: border-box;
}
.raz-marketing__header-inner {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 75px 140px 0;
}
.raz-marketing__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(54, 54, 54);
    margin: 0;
    letter-spacing: -1.5px;
}
.raz-marketing__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 44px;
}
.raz-marketing__arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raz-marketing__arrow img { width: 40px; height: 40px; display: block; }

/* Slider (444px) */
.raz-marketing__slider-wrap {
    background: #fff;
    height: 444px;
    overflow: hidden;
    padding-top: 50px;
    cursor: grab;
}
.raz-marketing__slider-wrap.is-dragging { cursor: grabbing; }
.raz-marketing__slider-wrap.is-dragging .raz-marketing__track { transition: none; }
.raz-marketing__slider-wrap.is-dragging a { pointer-events: none; }
.raz-marketing__track {
    display: flex;
    gap: 20px;
    padding-left: max(140px, calc((100vw - 1160px) / 2));
    height: 394px;
    transition: transform 0.4s ease;
    will-change: transform;
}
.raz-marketing__card {
    width: 373px;
    flex-shrink: 0;
    height: 394px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #faf5ef;
    border-radius: 20px;
    padding: 32px 28px;
}
.raz-marketing__card-title {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(54, 54, 54);
    margin: 0;
    flex-shrink: 0;
}
.raz-marketing__card-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    min-height: 0;
}
.raz-marketing__item {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(164, 150, 133);
    /* все пункты — плашки (как в оригинале), фон меняется при наведении */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
    background: rgb(244, 239, 232);          /* #f4efe8 */
    border-radius: 5px;
    padding: 6px 10px;
    white-space: normal;
    transition: background-color 0.2s ease-in-out;
}
.raz-marketing__item:hover {
    background: rgb(231, 221, 209);          /* #e7ddd1 — как в оригинале */
}
.raz-marketing__icon {
    height: 18px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
.raz-marketing__item--tag {
    white-space: nowrap;
}
.raz-marketing__item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.raz-marketing__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    flex-shrink: 0;
}
.raz-marketing__price {
    font-size: 17px;
    font-weight: 100;
    color: rgb(88, 88, 88);
    line-height: 1;
}
.raz-marketing__cta {
    font-size: 13px;
    font-weight: 700;
    color: rgb(233, 140, 108);
    text-decoration: none;
    line-height: 1;
    /* «Узнать подробнее» временно скрыты по просьбе (пока что). Вернуть — убрать строку ниже. */
    display: none;
}
.raz-marketing__cta:hover { text-decoration: underline; }

/* ===== FOUNDER (КТО ГАРАНТИРУЕТ РЕЗУЛЬТАТ) ===== */
.raz-founder {
    background: #161616;
    padding: 90px 0;
    color: #fff;
}
.raz-founder__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.raz-founder__title {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 32px 0;
}
.raz-founder__accent { color: #E98C6C; }
.raz-founder__lead {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 28px 0;
}
.raz-founder__text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0 0 18px 0;
}
.raz-founder__visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.raz-founder__photo {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    border: 2px solid #E98C6C;
    display: block;
}
.raz-founder__bubble {
    position: absolute;
    top: -30px;
    right: -10px;
    width: 50%;
    max-width: 320px;
    z-index: 2;
    pointer-events: none;
}

/* ===== TELEGRAM CTA ===== */
.raz-telegram {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 30px 140px;
}
.raz-telegram__card {
    position: relative;
    background: linear-gradient(50.04deg, rgb(240, 236, 254) 0%, rgb(251, 241, 241) 100%);
    border-radius: 20px;
    height: 340px;
    overflow: hidden;
}
.raz-telegram__title {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(54, 54, 54);
    margin: 0;
    letter-spacing: -1.5px;
    width: 399px;
}
.raz-telegram__desc {
    position: absolute;
    top: 144px;
    left: 40px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(54, 54, 54);
    margin: 0;
    width: 399px;
}
.raz-telegram__btn {
    position: absolute;
    top: 220px;
    left: 40px;
    width: 260px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(66deg, rgb(224, 90, 78) 60%, rgb(233, 140, 108));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 10px;
}
.raz-telegram__btn:hover { opacity: 0.9; }
.raz-telegram__phone {
    position: absolute;
    display: block;
}
.raz-telegram__phone--1 {
    top: 109px;
    left: 646px;
    width: 231px;
    height: auto;
    opacity: 0.85;
}
.raz-telegram__phone--2 {
    top: 45px;
    left: 790px;
    width: 260px;
    height: auto;
}

/* ===== Шаг 2: слайдеры изображений в карточках ===== */
.raz-s2-slider {
    position: relative;
    margin-bottom: 24px;
}
.raz-s2-slider__track {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    /* Выносим на отдельный слой — лечит мигание/пропадание скруглённого
       содержимого при прокрутке (баг Chrome border-radius + overflow:hidden). */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.raz-s2-slide { display: none; }
.raz-s2-slide.is-active { display: block; }
.raz-s2-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.raz-s2-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #e0664f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: background 0.15s, transform 0.15s;
}
.raz-s2-slider__arrow:hover { background: #d2543c; }
.raz-s2-slider__arrow:active { transform: translateY(-50%) scale(0.94); }
.raz-s2-slider__arrow--prev { left: 12px; }
.raz-s2-slider__arrow--next { right: 12px; }

@media (max-width: 768px) {
    .raz-s2-slider__arrow { width: 38px; height: 38px; }
    .raz-s2-slider__arrow--prev { left: 8px; }
    .raz-s2-slider__arrow--next { right: 8px; }
}

/* Выравнивание td-блоков по сетке razrabotka (1160px, левый край 140px).
   Глобальный .container = 1260px + padding 30px (border-box) → контент на 120px.
   1220px − 60px padding = 1160px контента, левый край ровно 140px, как у остальных секций.
   razrabotka.css грузится только на /razrabotka/, поэтому другие страницы не затрагиваются. */
.td-written .container,
.td-social .container,
.td-clients .container {
    max-width: 1220px;
}

/* ===== Письменные отзывы — блок с главной (td-written), перенесён сюда ===== */
.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-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; }
.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;
    box-sizing: border-box;
}
.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; }

/* ===== Отзывы в соц.сетях — блок с главной (td-social), перенесён сюда ===== */
.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; }
.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; box-sizing: border-box; }
.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; }

/* ===== Логотипы клиентов — блок с главной (td-clients), перенесён сюда ===== */
.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; background: #3d3d3d; border: 1px solid #3d3d3d; }
.td-clients__logo { background: #1f1f1f; 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; }

/* ===================== Лайтбокс-галерея «связки сайтов» ===================== */
.js-pkg-zoom { cursor: zoom-in; }
.pkg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    /* flex-start + scroll: картинку показываем крупно (по ширине), а если она
       выше экрана — попап прокручивается (как в оригинале), а не ужимается. */
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(15, 15, 15, 0.92);
    padding: 40px 72px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pkg-lightbox.is-open { display: flex; opacity: 1; }
.pkg-lightbox__stage {
    margin: auto;            /* центрирует, когда картинка влезает; безопасно при скролле */
    display: flex;
    align-items: center;
    justify-content: center;
}
.pkg-lightbox__img {
    display: block;
    max-width: 100%;         /* по ширине доступной области; выше экрана → скролл */
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
}
.pkg-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}
.pkg-lightbox__close::before,
.pkg-lightbox__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 2px;
    background: #fff;
    transform-origin: center;
}
.pkg-lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.pkg-lightbox__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.pkg-lightbox__arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}
.pkg-lightbox__arrow:hover { background: rgba(255, 255, 255, 0.25); }
.pkg-lightbox__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.pkg-lightbox__arrow--prev { left: 16px; }
.pkg-lightbox__arrow--next { right: 16px; }
.pkg-lightbox__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.pkg-lightbox__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.pkg-lightbox__counter {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .pkg-lightbox { padding: 16px; }
    .pkg-lightbox__arrow { width: 42px; height: 42px; }
    .pkg-lightbox__arrow--prev { left: 8px; }
    .pkg-lightbox__arrow--next { right: 8px; }
}
