@import url('./variables.css');

/* Info */
.info {
    margin-top: 12px;
    font-family: var(--main-font);
}

.info__bread-crumbs {
    padding: 12px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--main-font);
}

.info__bread-crumbs a {
    color: var(--white);
}

.info__bread-crumbs a:last-child {
    color: var(--lime-700);
}

.info__title {
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 600;
    padding: 24px 0px;
    color: var(--white);
    text-align: center;
}

.info__subtitle {
    line-height: 1.3;
    font-size: 20px;
    padding: 24px 0px;
    color: var(--white);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.info__cards-grid {
    margin: 76px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    max-width: 580px;
}

.info__cards-grid_item {
    position: relative;
    min-height: 144px;
    max-width: 280px;
    z-index: 0;
    font-family: var(--main-font);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info__cards-grid_item::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 14px;
    background: linear-gradient(to bottom right, #262729 48%, #B7B8B9 100%);
        -webkit-mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
                mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
}

.info__cards-grid_item span {
    padding: 8px 14px;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    width: fit-content;

    position: relative;
    z-index: 10;
}

.info__cards-grid_item span::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    padding: 1px;
    border-radius: 14px 0 14px 0;
    background: linear-gradient(to top left, #262729 48%, #B7B8B9 100%);
        -webkit-mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
                mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
}

.info__cards-grid_item p {
    font-size: 18px;
    line-height: 24px;
    color: var(--white);
    padding: 10px 15px 15px 15px;
}

@media (max-width: 992px){
    .info {
        background-image: url('../images/design_bg.png');
        background-repeat: no-repeat;
        background-position: top right;
    }

    .info__title {
        margin: 0 auto;
        font-size: 24px;
        max-width: 90%;
        line-height: 1.2;
    }
    
    .info__subtitle {
        font-size: 16px;
        max-width: 90%;   
        padding: 0px;
    }

    .info__cards-grid {
        margin: 24px auto 0 auto;
        max-width: 100%;
    }

    .info__cards-grid_item {
        max-width: 100%;
        width: 100%;
    }

    .info__cards-grid_item span {
        font-size: 20px;
    }

    .info__cards-grid_item p {
        font-size: 16px;
    }
}


/* Partnership */

.partnership {
    background-image: url('../../images/design_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top right;
    padding: 90px 0px;
    font-family: var(--main-font);
}

.partnership__title {
    margin: 0 auto;
    max-width: 960px;
    text-align: center;
    font-size: 32px;
    color: var(--white);
}

.partnership__title span {
    color: var(--lime-500);
}

.partnership__cards {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.partnership__cards-item {
    max-width: 275px;
    border-radius: 14px;
}

.partnership__cards-item img {
    width: 100%;
}

@media (max-width: 992px){
    .partnership {
        background: none;
        padding: 48px 0px;
    }

    .partnership__title {
        font-size: 20px;
    }

    .partnership__cards-item {
        max-width: 160px;
    }
}


/* Interest */

.interest {
    font-family: var(--main-font);
    padding-bottom: 40px;
}

.interest__title {
    text-transform: uppercase;
    padding-bottom: 24px;
    font-weight: 600;
    color: var(--white);
    font-size: 48px;
    text-align: center;
}

.interest_cards {
    margin: 0 auto;
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
}

.interest_cards-item {
    max-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.interest_cards-item img {
    width: 100%;
}

.interest_cards-item span {
    max-width: 200px;
    line-height: 1.2;
    font-size: 18px;
    text-align: center;
    padding-bottom: 20px;
}

@media (max-width: 992px){
    .interest {
        padding-bottom: 24px;
    }
    
    .interest__title {
        font-size: 24px;
    }
    
    .interest_cards {
        padding-top: 0px;
        gap: 16px;
        max-width: 100%;
    }
    
    .interest_cards-item {
        max-width: 160px;
        gap: 8px;
    }
    
    .interest_cards-item span {
        max-width: 160px;
        font-size: 14px;
        padding-bottom: 0px;
    }
}


/* Calc */

.calc {
    padding: 48px 0px 120px 0px;
    font-family: var(--main-font);
    background-image: url('../../images/map_bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top right;
}

.calc__price {
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc__price h5 {
    margin-bottom: 32px;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
    font-size: 32px;
}

.calc__price-content {
    width: 100%;
    max-width: 760px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

#calc_price_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#calc_price_form .form_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#calc_price_form .form_item label {
    font-family: 'Roboto Mono';
    color: var(--gray-scale-100);
    font-size: 14px;
}

#calc_price_form .form_item select {
    font-family: 'Roboto';
    color: var(--gray-scale-100);
    font-size: 14px;
    font-weight: 400;

    padding: 14px 16px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid var(--gray-scale-100);
}

#calc_price_form .form_item input {
    font-family: 'Roboto';
    color: var(--gray-scale-100);
    font-size: 14px;
    font-weight: 400;

    padding: 14px 16px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid var(--gray-scale-100);
}

#calc_price_form .form_item input::placeholder {
    font-family: 'Roboto';
    color: var(--gray-scale-400);
    font-size: 18px;
}

#calc_price_form button {
    margin-top: 8px;
}

#calc_submit_btn_mobile {
    display: none;
}

.calc_price_res {
    padding: 74px 32px;
    background-color: var(--gray-scale-600);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc_price_res h6 {
    color: var(--lime-500);
    font-weight: 600;
}

.calc_price_res-val {
    font-size: 18px;
    color: var(--gray-scale-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.calc_price_res-val span {
    color: var(--white);
}

.calc_price_res h6:first-child {
    font-size: 24px;
    margin-bottom: 6px;
}

.calc_price_res h6:last-child {
    margin-top: 10px;
    font-size: 20px;
}

.calc_price_res h6:last-child span {
    color: var(--lime-500);
}

.calc__request {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calc__request h6 {
    max-width: 950px;
    line-height: 1.2;
    padding: 48px 0px 32px 0px;
    color: var(--white);
    font-size: 32px;
    text-align: center;
}

.calc__request button{
    width: 500px;
}

@media (max-width: 992px){
    .calc {
        padding: 48px 0px 32px 0px;
        background-image: none;
    }
    
    .calc__price {
        margin-bottom: 48px;
    }
    
    .calc__price h5 {
        font-size: 20px;
    }
    
    .calc__price-content {
        max-width: 100%;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }
    
    #calc_price_form {
        width: 100%;
    }
    
    #calc_price_form button {
        display: none;
    }

    #calc_submit_btn_mobile {
        width: 100%;
        display: block;
    }

    .calc_price_res {
        width: 100%;
        padding: 24px;
        gap: 6px;
    }
    
    .calc_price_res h6:first-child {
        font-size: 18px;
    }
    
    .calc_price_res h6:last-child {
        font-size: 18px;
    }
    
    .calc__request h6 {
        max-width: 100%;
        padding: 0px 0px 32px 0px;
        font-size: 20px;
    }
    
    .calc__request button{
        width: 100%;
    }
}