/* =========================================================
   PROPERĀ — B2B PAGE
   ========================================================= */

.propera-b2b {
    width: 100%;
    background: #ffffff;
    color: #063f63;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.propera-b2b__container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.propera-b2b__hero {
    padding: 80px 0 80px;
}


/* =========================================================
   HEADING
   ========================================================= */

.propera-b2b__heading {
    max-width: 850px;
    margin-bottom: 45px;
}


.propera-b2b__eyebrow {
    margin-bottom: 16px;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: 0.12em;

    color: rgba(6, 63, 99, 0.5);
}


.propera-b2b__title {
    margin: 0 !important;

    font-size: clamp(42px, 5vw, 64px) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;

    letter-spacing: -0.035em !important;

    color: #063f63 !important;
}


/* =========================================================
   INTRO
   ========================================================= */

.propera-b2b__intro {
    max-width: 760px;
    margin-bottom: 85px;
}


.propera-b2b__intro p {
    margin: 0 0 25px;

    font-size: 17px;
    line-height: 1.65;

    color: rgba(6, 63, 99, 0.72);
}


.propera-b2b__account-link {
    display: inline-flex;
    align-items: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 8px;

    background: #063f63;
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.propera-b2b__account-link:hover {
    background: #052f4a;
    transform: translateY(-1px);
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.propera-b2b__form-section {
    max-width: 900px;
}


.propera-b2b__form-heading {
    margin-bottom: 35px;
}


.propera-b2b__form-title {
    margin: 0 !important;

    font-size: 36px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;

    letter-spacing: -0.025em !important;

    color: #063f63 !important;
}


/* =========================================================
   CONTACT FORM 7
   ========================================================= */

.propera-b2b__form {
    width: 100%;
}


.propera-b2b__form .wpcf7-form {
    width: 100%;
}


/* Поля */

.propera-b2b__form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}


.propera-b2b__form input[type="text"],
.propera-b2b__form input[type="email"],
.propera-b2b__form input[type="tel"],
.propera-b2b__form input[type="url"],
.propera-b2b__form textarea {
    display: block;

    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid #d9e2e6;
    border-radius: 8px;

    background: #ffffff;

    color: #063f63;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.propera-b2b__form input[type="text"],
.propera-b2b__form input[type="email"],
.propera-b2b__form input[type="tel"],
.propera-b2b__form input[type="url"] {
    min-height: 52px;
}


.propera-b2b__form textarea {
    min-height: 130px;
    resize: vertical;
}


.propera-b2b__form input:focus,
.propera-b2b__form textarea:focus {
    border-color: #063f63;

    box-shadow:
        0 0 0 3px rgba(6, 63, 99, 0.08);
}


.propera-b2b__form input::placeholder,
.propera-b2b__form textarea::placeholder {
    color: rgba(6, 63, 99, 0.45);
}


/* =========================================================
   CHECKBOXES — РОД ДЕЯТЕЛЬНОСТИ
   ========================================================= */

.propera-b2b__form .wpcf7-checkbox {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px 30px;

    margin-top: 8px;
}


.propera-b2b__form .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
}


.propera-b2b__form .wpcf7-checkbox label {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    cursor: pointer;

    font-size: 15px;
    line-height: 1.4;

    color: #063f63;
}


.propera-b2b__form .wpcf7-checkbox input[type="checkbox"] {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 1px 0 0;

    accent-color: #063f63;
}


/* =========================================================
   LABELS / TEXT
   ========================================================= */

.propera-b2b__form p {
    margin: 0 0 20px;

    color: #063f63;

    font-size: 15px;
    line-height: 1.5;
}


.propera-b2b__form label {
    color: #063f63;
}


/* =========================================================
   BUTTON
   ========================================================= */

.propera-b2b__form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding: 0 42px !important;

    border: 0;
    border-radius: 10px !important;

    background: #063f63;
    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.propera-b2b__form input[type="submit"]:hover {
    background: #052f4a;
    transform: translateY(-1px);
}


/* =========================================================
   CF7 MESSAGES
   ========================================================= */

.propera-b2b__form .wpcf7-not-valid-tip {
    margin-top: 6px;

    font-size: 13px;
    line-height: 1.3;
}


.propera-b2b__form .wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 14px 16px;

    border-radius: 8px;

    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .propera-b2b__container {
        width: calc(100% - 48px);
    }

    .propera-b2b__hero {
        padding: 80px 0 90px;
    }

    .propera-b2b__intro {
        margin-bottom: 65px;
    }

    .propera-b2b__form-section {
        max-width: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .propera-b2b__container {
        width: calc(100% - 36px);
    }

    .propera-b2b__hero {
        padding: 30px 0 40px;
    }

    .propera-b2b__heading {
        margin-bottom: 32px;
    }

    .propera-b2b__eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .propera-b2b__title {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .propera-b2b__intro {
        margin-bottom: 55px;
    }

    .propera-b2b__intro p {
        font-size: 15px;
        line-height: 1.6;
    }

    .propera-b2b__form-title {
        font-size: 28px !important;
    }

    .propera-b2b__form-heading {
        margin-bottom: 28px;
    }

    .propera-b2b__form .wpcf7-checkbox {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .propera-b2b__form input[type="submit"] {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .propera-b2b__container {
        width: calc(100% - 24px);
    }

    .propera-b2b__hero {
        padding: 30px 0 40px;
    }

    .propera-b2b__title {
        font-size: 30px !important;
    }

    .propera-b2b__form-title {
        font-size: 25px !important;
    }

}




/* =========================================================
   PRIVACY POLICY
   ========================================================= */

.propera-b2b__form .wpcf7-acceptance {
    display: block;
    margin: 5px 0 25px;
}


.propera-b2b__form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 0;

    font-size: 14px;
    line-height: 1.5;

    color: rgba(6, 63, 99, 0.75);

    cursor: pointer;
}


.propera-b2b__form .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 1px 0 0;

    accent-color: #063f63;
}


.propera-b2b__form .wpcf7-acceptance a {
    color: #063f63;
    text-decoration: underline;
    text-underline-offset: 2px;
}


.propera-b2b__form .wpcf7-acceptance a:hover {
    text-decoration: none;
}