/* about */

.home-choice-expert,
.calculate-home-wrapper,
.home-expert-reviews-wrapper {
    padding: 70px 0 70px 0;
}
.about-home {
    padding: 0 0 70px 0;
}

.searchForm{
    max-width: 300px;
    width: 100%;
}
.searchForm.mobile_show{
    display: none;
    @media (max-width: 980px) {
        display: block;
    }
}

.searchForm-label{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 10px;
    padding: 10px;
    background: #f0f4f8;
    border: 2px solid transparent;
}
.searchForm-label:has(input:focus){
    border: 2px solid var(--green);
}
.searchForm-input{
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: rgba(0, 0, 0);
    background: transparent;
    outline: none;
    width: 100%;
    border: none;
}
.searchForm-input::placeholder{
    color: rgba(0, 0, 0, 0.3);
}

.home-choice-expert {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.homeTitleWrapper{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.home-title {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #000;
}
.about-group {
    display: grid;
    grid-template-columns: 1fr 530px;
    gap: 24px;
    margin-bottom: 24px;
}

.home-img {
    position: absolute;
    right: 0;
    bottom: 0;
    min-height: 218px;
    max-height: 320px;
    width: 100%;
    object-fit: contain;
    object-position: right;
}
.about-card-home {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--green);
    padding: 20px;
    padding-top: 45px;
    border-radius: 10px;
    min-height: 218px;
    overflow: hidden;
}
.about-card-home-else-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-card-home-else {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: #f0f4f8;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    overflow: hidden;
}
.home-card-img {
    position: absolute;
    top: 0;
    right: 0;
}
.about-card-home-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-card-home-title {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 500;
    color: #fff;
    line-height: 120%;
}
.about-card-home-title-else {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 500;
    z-index: 10;
}
.about-card-home-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    opacity: 0.8;
    line-height: 100%;
}
.about-card-home-title-else {
    color: #00000099;
    font-size: clamp(12px, 3vw, 16px);
}
.expertsSelectText {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}
.aboutLinkHome {
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.aboutLinkHome:active {
    color: var(--green);
}
.aboutLinkGroup {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.aboutLinkIcon {
    min-width: 10px;
}
/* lawyers */
.lawyersInfoContent {
    background: var(--green-6);
    border-radius: 10px;
    padding: 9px 24px;
    box-shadow: 0px 16px 32px -4px #919eab30;
}
.lawyersInfoText {
    display: flex;
    align-items: center;
    place-content: center;
    gap: 10px;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
}

.lawyersInfoSpan {
    font-size: clamp(16px, 2vw, 32px);
    font-weight: 700;
    line-height: 36px;
    color: var(--green);
    white-space: nowrap;
}
.lawyersInfoGroup {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.lawyersContent {
    margin-top: -50px;
    margin-bottom: 45px;
}
.lawyersContentTopHome {
    display: flex;
    flex-direction: column;
    gap: 38px;
    padding: 105px 45px 35px 45px;
    background-color: #fff;
    border-radius: 25px 25px 0 0;
}
/* form */

.home-form {
    background: #f0f4f8;
    padding: 70px 0 70px 0;
}
.home-form-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--green);
    padding: 40px;
    border-radius: 10px;
}
.home-form-img {
    position: absolute;
    right: 0;
    bottom: 0;
}
.home-form-title {
    font-size: clamp(18px, 3vw, 32px);
    color: #fff;
    line-height: 120%;
    font-weight: 500;
}
.home-form-list {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}
.home-form-item {
    font-size: clamp(14px, 3vw, 16px);
    color: #fff;
    opacity: 0.8;
    list-style-type: disc;
}
.home-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.home-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}
.home-form-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 425px;
    z-index: 10;
}
.home-form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.home-form-input {
    padding: 15px 20px;
    border-radius: 8px;
    outline: none;
    border: 2px solid transparent;
}
.home-form-input:focus {
    border: 2px solid #ffe100;
}
.home-form-btn {
    background: #ffe100 !important;
}
.home-form-login {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
/* experts */
.expertsHome {
    padding: 70px 0 70px 0;
}
.expertsSelectHome {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}
.expertsCardsHome {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.experts-home-btn {
    background: var(--green) !important;
    color: #fff;
    margin: 0 auto;
}
.findExpertHome {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 50px;
}
.expertsCardsMore {
    display: grid;
    gap: 20px;
}

.inlineSelect {
    display: inline-block;
    vertical-align: baseline;
    margin-left: 4px;
}
.home-choice-expert-btn {
    background: var(--green) !important;
    color: #fff !important;
}
/* find */
.findContent {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 45px;
    background-color: #fff;
    border-radius: 25px 25px 0 0;
    margin-bottom: 30px;
}
.findGroupContent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.findGroupTitle {
    display: flex;
    align-items: center;
    gap: 5px;
}
.findGroupSubtitle {
    font-size: 14px;
    font-weight: 700;
}
.findGroupList {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.findGroupItem {
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease-in-out;
}
.findGroup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-content: space-between;
}
.findTitle{
    margin-top: 75px;
    margin-bottom: 40px ;
}

.guideArticlesList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.banner-home {
    width: 100% !important;
    flex-direction: row !important;
}

.home-card-points-mobile {
    display: none;
}
.calculate-home {
    background: #f0f4f8;
}
.home-expert-reviews-wrapper {
    display: flex;
    flex-direction: column;
}
.home-expert-review {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.home-expert-review-link {
    margin: 0 auto;
}
.site {
    padding: 60px 0 60px 0;
    background: #f0f4f8;
}
.site-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-wrapper {
    display: flex;
    flex-direction: column;
    gap: 45px;
}
.home-card-btn {
    z-index: 10;
}
.button-question {
    position: sticky;
    top: 70%;
    left: 95%;
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 50%;
    z-index: 10;
}
.about-group-slider {
    cursor: grab;
    height: 100%;
    width: 100%;
    min-width: 0;
}
.home-slider {
    border-radius: 10px;
}
.slider-bars {
    position: absolute;
    top: 5%;
    left: 2%;
    display: flex;
    align-items: center;
    z-index: 10;
}
.home-slider .swiper-pagination {
    position: static;
    display: flex;
    justify-content: flex-start;
}
.chooseRegionQues{
    position: absolute;
    top: 30px;
    left: 70px;
    box-shadow: 0 11px 15px -15px rgba(0, 0, 0, 0.25);
    background: #f0f4f8;
    border-radius: 10px;
    padding: 10px 20px;
    z-index: 1000;
    width: 290px;
    @media (max-width: 500px) {
        position: fixed;
        padding: 10px;
        max-width: 250px;
        top: 10px;
        left: 50%;
        transform: translate(-50%);
    }
}
.chooseRegionQues-title{
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
}
.btnWrapper{
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
.setRegion{
    background: #00b129;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    @media (max-width: 500px) {
        padding: 10px;
        font-size: 12px;
    }
}

.changeRegion{
    border: 1px solid #00b129;
    border-radius: 10px;
    padding: 15px 20px;
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #000 !important;
    @media (max-width: 500px) {
        padding: 10px;
        font-size: 12px;
    }
}
.home-slider .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border-radius: 50%;
    transition: 0.3s;
}

.home-slider .swiper-pagination-bullet-active {
    width: 5px;
    height: 5px;
    border-radius: 16px;
    background: #fff;
}

@media (min-width: 920px) {
    .aboutLinkHome:hover {
        color: var(--green);
    }
    .findGroupItem:hover {
        color: #2457fe;
    }
}
@media (max-width: 1600px) {
    .button-question {
        display: none;
    }
    .about-home {
        padding: 70px 0 70px 0;
    }
}
@media (max-width: 1200px) {
    .site-list {
        flex-direction: column;
    }
}
@media (max-width: 1120px) {
    .aboutTitleGroup {
        flex-direction: column;
        gap: 10px;
    }
    .aboutLinkGroup {
        gap: 20px;
    }
    .findExpertHome {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .expertsMap {
        height: 400px;
    }
    .lawyersInfoGroup {
        gap: 15px;
    }
}
@media (max-width: 1024px) {
    .about-group {
        grid-template-columns: 1fr 1fr;
    }
    .lawyersInfo {
        flex-direction: column;
        gap: 20px;
    }
    .lawyersInfoGroup {
        gap: 15px;
    }
    .expertsCardsHome,
    .expertsSelectHome {
        padding: 0;
    }
    .guideArticlesList {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .about-group {
        display: flex;
        flex-direction: column;
    }
    .home-card-btn,
    .home-card-points {
        display: none;
    }
    .home-card-points-mobile {
        display: flex;
    }
    .home-img {
        bottom: -15%;
    }
    .about-card-home-else-group {
        flex-direction: row;
    }

    .banner-home {
        flex-direction: column !important;
    }
    .home-form-wrapper {
        padding: 15px 24px;
    }
    .home-form-img img {
        width: 310px;
    }
    .lawyersInfoText {
        font-size: 12px;
    }
    .experts-home-btn {
        width: 100% !important;
    }
    .home-choice-expert-btn {
        width: 100% !important;
    }
    .slider-bars {
        top: 82%;
    }
}
@media (max-width: 768px) {
    .about-card-home-else-group {
        flex-direction: column;
    }
    .mobile-hidden {
        display: none;
    }
    .aboutLinkList {
        display: flex;
        flex-direction: column;
    }
    .aboutTitleLine {
        display: none;
    }
    .lawyersContentTopHome {
        padding: 60px 15px 30px 15px;
        gap: 25px;
    }
    .lawyersContent {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 35px;
    }
    .moreExpertsHome {
        gap: 30px;
        padding: 25px;
        border-radius: 0;
    }

    .expertsValueHome {
        flex-direction: column;
        gap: 2px;
    }

    .findGroupButton {
        color: #2aabee;
        font-size: 12px;
        text-align: left;
    }
    .findContent {
        padding: 20px;
    }
    .findGroup {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .calculate-home {
        margin-bottom: 30px;
    }
    .expertsCardsHome:has(> :nth-child(4)) {
        grid-template-columns: 1fr;
    }

    .expertsCardsHome:not(:has(> :nth-child(4))) {
        grid-template-columns: 1fr;
        justify-content: start;
    }
    .about-card-home-group {
        gap: 12px;
    }
    .lawyersInfoText {
        justify-content: center;
    }
    .lawyersInfoGroup {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    .lawyersInfoGroup > :first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .lawyersInfoGroup > :nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .lawyersInfoGroup > :nth-child(3) {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
    .lawyersInfoContent {
        padding: 5px;
    }
    .site-wrapper {
        gap: 25px;
        text-align: center;
    }
}
@media (max-width: 500px) {

    .home-img {
        bottom: 0;
        width: 150px;
        min-height: auto;
    }
    .home-img.small {
        bottom: -25%;
        width: unset;
        min-height: 218px;
    }
    .home-card-img img {
        width: 88px;
    }
    .home-card-img {
        top: 10%;
    }
    .home-card-else-btn {
        display: none;
    }
    .about-card-home-else {
        padding: 10px;
    }
    .home-form-img img {
        width: 210px;
    }
    .lawyersInfoContent {
        padding: 10px;
    }
}
