/* Страница гарантии */

body {
    margin: 0;
    background: #F5F5F5;
    font-family: 'Roboto', Arial, sans-serif;
}

.guarantee-main {
    background: #F5F5F5;
}

.guarantee-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Хлебные крошки */
.guarantee-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 24px 0 30px;
}

.guarantee-breadcrumbs a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #767676;
    text-decoration: none;
    transition: color 0.2s;
}

.guarantee-breadcrumbs a:hover {
    color: #48924E;
}

.guarantee-breadcrumbs-sep {
    font-size: 16px;
    color: #767676;
    margin: 0 8px;
}

.guarantee-breadcrumbs-current {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #000000;
}

/* РЯД 1: две карточки */
.guarantee-row-top {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    align-items: stretch;
}

/* Левая карточка */
.guarantee-info-card {
    flex: 1;
    min-height: 260px;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Блок с картинкой руки */
.guarantee-info-image {
    flex-shrink: 0;
    width: 320px;
    align-self: stretch;
    position: relative;
    overflow: hidden;
}

.guarantee-hand-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    user-select: none;
}

/* Текст */
.guarantee-info-text {
    flex: 1;
    padding: 28px 32px 28px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guarantee-info-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #000000;
    margin: 0;
}

.guarantee-info-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

/* Правая карточка */
.guarantee-visit-card {
    flex: 0 0 calc((100% - 24px) / 3);
    min-height: 260px;
    background: #1D3A2A;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* Фоновая картинка дома (SVG) */
.guarantee-visit-bg {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 200px;
    height: auto;
    pointer-events: none;
    user-select: none;
}

/* Контент */
.guarantee-visit-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.guarantee-visit-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #FFFFFF;
    margin: 0;
    width: 250px;
}

.guarantee-visit-sub {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    margin: 0;
    opacity: 0.85;
}

.guarantee-visit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 305px;
    height: 50px;
    border-radius: 6px;
    border: none;
    background: #EA8F13;
    box-shadow: 0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset,
    0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.25s;
    margin-top: auto;
}

.guarantee-visit-btn:hover {
    background: #F5A030;
}

/* ТЕКСТ ПРИМЕЧАНИЕ */
.guarantee-note {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 24px;
}

/* 3 КАРТОЧКИ ДОКУМЕНТОВ */
.guarantee-docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.guarantee-doc-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 28px 24px 28px 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 146px;
    box-sizing: border-box;
}

.guarantee-doc-icon {
    flex-shrink: 0;
    width: 83px;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-doc-icon img {
    width: 83px;
    height: 83px;
    object-fit: contain;
}

.guarantee-doc-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guarantee-doc-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.guarantee-doc-download {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #48924E;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}

.guarantee-doc-download:hover {
    opacity: 0.75;
}

/* АДАПТИВ — ПЛАНШЕТ (max 1024px) */
@media (max-width: 1100px) {

    .guarantee-info-card {
        flex: 1;
        max-width: none;
    }

    .guarantee-info-image {
        width: 200px;
    }

    .guarantee-info-title {
        font-size: 20px;
        line-height: 26px;
    }

    .guarantee-visit-title {
        font-size: 20px;
        line-height: 26px;
        width: 200px;
    }

    .guarantee-visit-btn {
        max-width: 100%;
    }

    .guarantee-note {
        font-size: 16px;
        line-height: 22px;
    }

    .guarantee-doc-card {
        padding: 20px 16px;
        gap: 14px;
    }

    .guarantee-doc-icon,
    .guarantee-doc-icon img {
        width: 64px;
        height: 64px;
    }

    .guarantee-doc-title {
        font-size: 15px;
    }

    .guarantee-visit-bg {
        right: -60px;
    }
}

/* АДАПТИВ — ПЛАНШЕТ средний (max 860px) */
@media (max-width: 860px) {

    .guarantee-info-image {
        width: 160px;
    }

    .guarantee-docs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .guarantee-doc-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
        min-height: auto;
    }

    .guarantee-doc-icon,
    .guarantee-doc-icon img {
        width: 56px;
        height: 56px;
    }

    .guarantee-visit-bg {
        right: -60px;
        top: -10px
    }
}

/* АДАПТИВ — МОБИЛКА (max 768px) */
@media (max-width: 768px) {

    .guarantee-container {
        padding: 0 16px 40px;
    }

    .guarantee-breadcrumbs {
        padding: 16px 0;
    }

    .guarantee-breadcrumbs a,
    .guarantee-breadcrumbs-sep,
    .guarantee-breadcrumbs-current {
        font-size: 14px;
    }

    /* Верхний ряд — вертикально */
    .guarantee-row-top {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    /* Левая карточка на мобилке: текст сверху, картинка снизу */
    .guarantee-info-card {
        flex-direction: column;
        max-width: none;
        min-height: auto;
        overflow: hidden;
        align-items: flex-start;
    }

    .guarantee-info-text {
        order: 1;
        padding: 20px 20px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .guarantee-info-image {
        order: 2;
        width: 100%;
        height: 240px;
        position: relative;
        flex-shrink: 0;
        overflow: hidden;
    }

    .guarantee-hand-img {
        position: absolute;
        top: 0;
        left: 30%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 30% top;
    }

    /* Правая карточка — полная ширина */
    .guarantee-visit-card {
        flex: none;
        width: 100%;
        min-height: 200px;
        display: flex;
        flex-direction: column;
    }

    .guarantee-visit-bg {
        top: -50px;
        right: -10px;
        width: 180px;
    }

    .guarantee-visit-content {
        padding: 24px 20px;
        width: 100%;
        flex: 1;
    }

    .guarantee-visit-title {
        font-size: 18px;
        line-height: 24px;
    }

    .guarantee-visit-btn {
        max-width: 100%;
        height: 44px;
    }

    /* Примечание */
    .guarantee-note {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    /* Документы — 1 колонка */
    .guarantee-docs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .guarantee-doc-card {
        flex-direction: row;
        align-items: center;
        padding: 20px 20px;
        min-height: auto;
        gap: 16px;
    }

    .guarantee-doc-icon,
    .guarantee-doc-icon img {
        width: 60px;
        height: 60px;
    }

    .guarantee-doc-title {
        font-size: 15px;
        line-height: 19px;
    }
}

/* АДАПТИВ — МОБИЛКА маленькая (max 480px) */
@media (max-width: 480px) {

    .guarantee-info-image {
        height: 180px;
    }

    .guarantee-breadcrumbs a,
    .guarantee-breadcrumbs-sep,
    .guarantee-breadcrumbs-current {
        font-size: 13px;
    }

    .guarantee-info-title {
        font-size: 18px;
        line-height: 24px;
    }

    .guarantee-info-desc {
        font-size: 13px;
        line-height: 18px;
    }

    .guarantee-visit-bg {
        width: 150px;
        top: -20px
    }

    .guarantee-visit-title {
        font-size: 16px;
        line-height: 22px;
    }

    .guarantee-visit-sub {
        font-size: 13px;
    }

    .guarantee-visit-btn {
        height: 42px;
        font-size: 15px;
    }

    .guarantee-note {
        font-size: 15px;
        line-height: 21px;
    }

    .guarantee-doc-card {
        padding: 16px;
        gap: 12px;
    }

    .guarantee-doc-icon,
    .guarantee-doc-icon img {
        width: 50px;
        height: 50px;
    }

    .guarantee-doc-title {
        font-size: 14px;
        line-height: 18px;
    }

    .guarantee-doc-download {
        font-size: 14px;
    }
}

/* СЕКЦИЯ: МЫ РАБОТАЕМ ПО СЛЕДУЮЩЕЙ СХЕМЕ */
.scheme-section {
    background: #F5F5F5;
    padding: 20px 0 0;
}

.scheme-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.scheme-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    color: #000000;
    margin: 0 0 28px;
}

/* Сетка: 2 колонки */
.scheme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
}

/* Карточка */
.scheme-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

/* Картинка */
.scheme-card-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.scheme-card-image img {
    width: 100%;
    height: 293px;
    object-fit: cover;
    display: block;
}

/* Нижняя часть: номер + текст */
.scheme-card-body {
    display: flex;
    align-items: flex-start;
    padding: 20px 0 12px;
    position: relative;
    gap: 50px;
}

/* Номер */
.scheme-card-num {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 120px;
    line-height: 100%;
    color: #E9E9E9;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    z-index: 0;
    user-select: none;
    line-height: 0.85;
}

/* Текст справа от номера */
.scheme-card-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.scheme-card-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin: 0 0 16px;
    width: 250px;
}

.scheme-card-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

/* ФОРМА (копия из faq) */
.faq-cta {
    margin-bottom: 0;
    overflow: visible;
    padding-top: 60px;
}

.faq-cta-inner {
    background: linear-gradient(100deg, #1D3A2A 55%, #A8A180 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: visible;
    min-height: 380px;
}

.faq-cta-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 100px;
    padding-bottom: 64px;
}

.faq-cta-photo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.faq-cta-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.faq-cta-decor {
    position: absolute;
    width: 320px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.faq-cta-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.faq-cta-person-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
}

.faq-cta-person-role {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
}

.faq-cta-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    margin-left: 120px;
}

.faq-cta-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 34.47px;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.faq-cta-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22.98px;
    color: #FFFFFF;
    margin: 0 0 24px;
}

.faq-cta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
}

.faq-cta-phone {
    width: 100%;
    height: 49px;
    border-radius: 6px;
    border: none;
    background: #FFFFFF;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
    0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
    padding: 0 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}

.faq-cta-phone::placeholder {
    color: #999;
}

.faq-cta-phone:focus {
    box-shadow: 0 0 0 2px #48924E,
    0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
    0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
}

.faq-cta-submit {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: none;
    background: #EA8F13;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
    0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.25s;
}

.faq-cta-submit:hover {
    background: #FFA326;
}

.faq-cta-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    cursor: pointer;
}

.faq-cta-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #48924E;
    cursor: pointer;
    flex-shrink: 0;
}

.faq-cta-consent span {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #D1E2D5;
}

.faq-cta-consent a {
    color: #D1E2D5;
    text-decoration: underline;
    transition: color 0.2s;
}

.faq-cta-consent a:hover {
    color: #FFFFFF;
}

.faq-cta-right {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
}

.faq-cta-house {
    width: 410px;
    height: auto;
    display: block;
}

/* АДАПТИВ СХЕМА — ПЛАНШЕТ (max 1024px) */
@media (max-width: 1024px) {

    .scheme-title {
        font-size: 26px;
        line-height: 32px;
    }

    .scheme-card-image img {
        height: 230px;
    }

    .scheme-card-num {
        font-size: 100px;
    }

    .scheme-card-title {
        font-size: 16px;
        line-height: 20px;
    }

    /* Форма */
    .faq-cta-left {
        margin-left: 55px;
    }

    .faq-cta-center {
        margin-left: 85px;
    }

    .faq-cta-form {
        max-width: 270px;
    }

    .faq-cta-house {
        width: 385px;
    }
}

/* АДАПТИВ СХЕМА — ПЛАНШЕТ средний (max 860px) */
@media (max-width: 860px) {

    .scheme-card-image img {
        height: 200px;
    }

    .scheme-card-num {
        font-size: 80px;
    }

    .scheme-card-title {
        font-size: 15px;
    }

    .scheme-card-desc {
        font-size: 13px;
        line-height: 18px;
    }

    /* Форма */
    .faq-cta-left {
        margin-left: 55px;
    }

    .faq-cta-photo {
        width: 150px;
        height: 150px;
    }

    .faq-cta-decor {
        width: 300px;
    }

    .faq-cta-center {
        margin-left: 45px;
    }

    .faq-cta-title {
        font-size: 22px;
    }

    .faq-cta-subtitle {
        font-size: 16px;
    }

    .faq-cta-form {
        max-width: 250px;
    }

    .faq-cta-house {
        width: 325px;
    }
}

/* АДАПТИВ СХЕМА — МОБИЛКА (max 768px) */
@media (max-width: 768px) {

    .scheme-section {
        padding: 16px 0 0;
    }

    .scheme-container {
        padding: 0 16px;
    }

    .scheme-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    /* 1 колонка на мобилке */
    .scheme-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .scheme-card-image img {
        height: 220px;
    }

    .scheme-card-num {
        font-size: 80px;
    }

    .scheme-card-body {
        align-items: center;
    }

    .scheme-card-text {
        padding-top: 0;
    }

    .scheme-card-title {
        font-size: 16px;
        line-height: 20px;
    }

    .scheme-card-desc {
        font-size: 14px;
        line-height: 19px;
    }

    /* Форма мобилка */
    .faq-cta {
        padding-top: 0;
    }

    .faq-cta-inner {
        flex-direction: column !important;
        align-items: center !important;
        padding: 30px 0 0 0 !important;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        overflow: hidden !important;
        min-height: unset !important;
        position: relative !important;
    }

    .faq-cta-left {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 0 20px 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }

    .faq-cta-photo-wrapper {
        margin-bottom: 12px;
    }

    .faq-cta-photo {
        width: 150px;
        height: 150px;
    }

    .faq-cta-decor {
        width: 320px;
    }

    .faq-cta-person {
        align-items: center;
    }

    .faq-cta-person-name {
        font-size: 18px;
    }

    .faq-cta-person-role {
        font-size: 14px;
    }

    .faq-cta-center {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        margin: 0 !important;
        padding: 0 20px 30px 20px !important;
        box-sizing: border-box;
    }

    .faq-cta-title {
        font-size: 22px;
        line-height: 28px;
        text-align: center;
    }

    .faq-cta-subtitle {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }

    .faq-cta-form {
        max-width: 100%;
        width: 100%;
    }

    .faq-cta-phone {
        height: 46px;
    }

    .faq-cta-submit {
        height: 46px;
        font-size: 15px;
    }

    .faq-cta-consent {
        justify-content: center;
    }

    .faq-cta-right {
        order: 3;
        position: static !important;
        display: block;
        width: 100% !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        overflow: hidden;
        height: 300px;
    }

    .faq-cta-house {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center 0%;
        display: block;
        margin: 0;
    }
}

/* АДАПТИВ СХЕМА — МОБИЛКА маленькая (max 480px) */
@media (max-width: 480px) {

    .scheme-title {
        font-size: 20px;
        line-height: 26px;
    }

    .scheme-card-image img {
        height: 190px;
    }

    .scheme-card-num {
        font-size: 64px;
    }

    .scheme-card-title {
        font-size: 15px;
        line-height: 19px;
    }

    .scheme-card-desc {
        font-size: 13px;
        line-height: 18px;
    }
}

.guarantee-form-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}
