/*@import url("/assets/fonts/Inter/stylesheet.css");*/
:root {
    --light-grey: #F5F6FA;
    --grey-hover: #ECECF4;
    --near-black: #1E1E1E;
    --blue-corp: #324682;
    --yellow-corp: #F7D80A;
    --yellow-hover: #F7C00A;
    --orange-corp: #F0731E;
    --light-blue: #197DD1;
    --font-roboto: "Roboto";
    /*--font-inter: "Inter";*/
    --border-radius: 8px;
    --line-height: 24px;
    --section-padding: 52px 0;
    --grey: #A4A4A4;
}
#main-content-block {
    margin: 0 !important;
    padding-top: 20px;
    padding-left: 0;
    padding-right: 0;
}
#logo-block {
    padding: 0;
}
/*===Форма сеошников в услугах===*/
.callback-form { 
    color: #1E1E1E; 
    line-height: 1.6; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 45px 40px; 
    background-color: #F5F6FA; 
    box-sizing: border-box; 
    border-radius: 10px;
}
.callback-form *, .callback-form *::before, .callback-form *::after { 
    box-sizing: border-box; 
}
.callback-form h2, .callback-form p { 
    margin: 0; padding: 0; 
}
.callback-form .its-cta-section { 
    margin: 50px 0; 
    padding: 45px 40px; 
    background: #F5F6FA; 
    border-radius: 14px; 
}
.callback-form__main {
    width: 490px;
}
.callback-form__footer {
    align-items: end;
}
.callback-form__footer .button {
    font-weight: bold;
    max-width: 490px;
    width: 100%;
    white-space: normal !important;
}
.checkbox-new__content a {
    border-bottom: none !important;
}
@media (min-width: 1350px) {
    .container {
        max-width: 1320px;
    }
}
@media(max-width: 1349px) {
    .callback-form__main {
        width: 100%;
        max-width: 362px;
    }
    .callback-form__footer .button {
        font-weight: bold;
        max-width: 362px;
        width: 100%;
    }
    .container {
        max-width: 960px !important;
    }
}
@media(max-width: 768px) {
    .callback-form__footer .button, .callback-form__main {
        max-width: 100%;
    }
}
/*=END Форма сеошников в услугах=*/

/*======Портфолио======*/

.portfolio-block {
    display: flex;
    width: 100%;
    max-width: 648px;
}

.portfolio-block h3 {
    font-weight: 700;
    font-size: 19px;
    line-height: 26px;
}

.portfolio-block p {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #646464;
    margin-bottom: 0;
}

.portfolio-block-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 21px;
}

.protfolio-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 52px 0;
}

.portfolio-block__pic {
    width: auto;
    height: 337px;
}

.experience-review-order {
    display: flex;
    gap: 10px;
}
@media only screen and (min-width: 1351px) {
    .portfolio-row {
        margin-left: 15.5px;
    }
}

@media only screen and (max-width: 1351px) {
    .portfolio-block:first-child {
        margin-bottom: 40px;
    }
}

.portfolio-block-description {
    display: flex;   
}

.portfolio-block-description > p {
    margin-top: 3px;
    margin-left: 4px;
}

.portfolio-block-link {
    border: none;
    padding: 16px;
    width: 100%;
    max-width: 300px;
    background-color: var(--yellow-corp);
    color: var(--near-black);
    transition: .5s;
    font-family: var(--font-roboto);
    font-weight: bold;
    border-radius: var(--border-radius);
    margin-top: 64px;
}

.portfolio-block-image > a {
    display: block;
    position: relative;
    border-radius: 5px;
    border: none !important;
}

.portfolio-block-image > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-block-image > a:hover::before {
    opacity: 0.3;
}

.portfolio-block-image > a:hover .protfolio-block-icon {
    opacity: 1;
}

.protfolio-block-icon {
    position: absolute;
    top: calc(50% - 29px);
    left: calc(50% - 29px);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}
/*======END Портфолио======*/
@media screen {
    .portfolio-block-link:hover {
        background-color: var(--yellow-hover);
    }
}
@media (max-width: 1350px) {
    .portfolio-block__pic {
         height: auto;
    }
    .portfolio-block-link {
        max-width: 220px;
    }
    .portfolio-block:nth-child(2) .portfolio-block-link {
        bottom: 20px;
        position: relative;
    }
}
@media (max-width: 991px) {
	section.section-footer{
		padding: 30px 0;
	}
    .container {
        max-width: 902px !important;
    }
    .row{
        margin: 0 !important;
    }
    .portfolio-block-link {
        right: 0;
        margin-top: 30px;
    }
    .portfolio-block:nth-child(2) .portfolio-block-link {
        bottom: unset;
    }
}
@media (max-width: 870px) {
    .protfolio-content {
        flex-direction: column;
    }
    .portfolio-block-link{
        align-self: self-start;
    }
}
@media (max-width: 480px) {
    .container {
        max-width: 454px !important;
    }
}
@media (max-width: 400px) {
    .portfolio-block__pic {
        width: 100%;
    }
    .portfolio-block {
        flex-direction: column;
        gap: 20px;
    }
    .portfolio-block-info {
        margin-left: 0;
    }
    .portfolio-block-link {
        max-width: 100%;
    }
}
@media (max-width: 320px) {
    .container {
        max-width: 340px !important;
    }
}