/* Info: reset css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a:any-link{
    color: inherit;
    text-decoration: none;
}
img, picture, video, svg {
    max-width: 100%;
    height: auto;
}
input, textarea, select, button, select {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background-color: inherit;
    margin: 0em;
    padding: 0;
    border: unset;
}
html{
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    font-family:system-ui
}
h1,h2,h3,h4,h5,h6{
    display: block;
    margin:unset;
    font-weight: bold;
}

/* Info: better css */
@media screen and (max-height: 100vw) {
    .mobile{
        display: none !important;
    }
    .d-hidden{
        display: none !important;
    }
}
@media screen and (max-width: 100vh) {
    .desktop{
        display: none !important;
    }
    .m-hidden{
        display: none !important;
    }
}
.hidden{
    display: none !important;
}

/* -- */
:root{
    /* Background color */
    --color0: #f3f3f5;
    /* Foreground color */
    --color1: #111;
    /* Brand color */
    --color: #1a1;
    --__color0: #171;

    /* Border colors */
    --_color0: #dde;
    --_color1: #778;
    --_color2: #445;
    --_color3: #1124;

    /* Font Sizes */
    --size0: 17px;
    --size1: 24px;
    --size2: 71px;

    /* Object Sizes */
    --height0: 64px;
    --height1: 49px;

    /* body width */
    --width: 1250px;
    --_width: calc( (100vw - var(--width)) / 2);
}
html{
    font-size: var(--size0);
    font-family: 'Source Sans 3';
    color: var(--color1);
    background: var(--color0);
}

@media screen and (max-width:1720px){
    :root{
        --size2: 56px;
        --size1: 25px;
    }
}
@media screen and (max-width:1400px){
    :root{
        --width: 1050px;
        --_width: calc( (100vw - var(--width)) / 2);
        --size2: 52px;
    }
}
@media screen and (max-width:1150px){
    :root{
        --width: 800px;
        --_width: calc( (100vw - var(--width)) / 2);
    }
}
@media screen and (max-width:100vh){
    :root{
        --width: 100vw;
        --_width: 0;
        --size2: 38px;
        --size1: 22px;
    }
}
.header{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--height0);
    /* background: #fff4; */
    /* border-bottom: 1px solid var(--_color0); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 12px;
    z-index: 2;
    position: absolute;
}
.header > .brand{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 12px 0 9px 0;
}
.header > .brand > img{
    height: 100%;
    aspect-ratio: 1/1;
}
.header > .brand > h2{
    font-size: var(--size1);
    font-weight: 600;
    letter-spacing: 1px;
    background: #fff;
    padding: 4px 12px 3px 13px;
    border-radius: 22px;
    border: 1px solid #1114;
}
.header > .g{
    display: flex;
    align-items: center;
    height: 100%;
    gap: 9px;
}
.header nav{
    display: flex;
    align-items: center;
    height: 100%;
}
.header nav > a{
    font-size: var(--size0);
    font-weight: 400;
    padding: 0 12px 0 13px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.header nav > a:hover{
    background: var(--color0);
}
@media screen and (max-width:100vh) {
    .header{
        flex-direction: column;
        height: max-content;
    }
    .header > .brand{
        flex-direction: column;
        gap: 0;
        padding: 21px 0 17px 0;
    }
    .header > .brand > h2{
        font-size: 2.1rem;
        font-weight: 600;
        letter-spacing: 1px;
        border-radius: 12px;
        background: #fff4;
        backdrop-filter: blur(2px);

    }
    .header > .g{
        flex-direction: column;
    }
}


a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 1px solid #1117;
}
input::-webkit-input-placeholder,
input::-moz-placeholder,
input:-moz-placeholder,
input:-ms-input-placeholder,
textarea::-webkit-input-placeholder,
textarea::-moz-placeholder,
textarea:-moz-placeholder,
textarea:-ms-input-placeholder {
    color:#1119;
}

/* Info: module N2 css */
#N2.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, #fefdfc, #FFF);
    backdrop-filter: blur(8px);
    height: calc(42px + 1vh);
    z-index: 21;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #1114;
    padding: 0 21px;
    overflow-x: auto;
}
#N2.footer.scroll{
    justify-content: flex-start;
    overflow-x: auto;
}
#N2.footer > a > span {
    display: none;
}
#N2.footer > a{
    height: calc(100% - 2px);
    aspect-ratio: 1/1;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#N2.footer > a > img{
    opacity: 0.78;
}
#N2.footer > a:hover > img{
    opacity: 1;
}
#N2.footer > a:first-child{
}
#N2.footer > a:last-of-type{
}
#N2.footer > a:hover{
    background-color: #1111;
}
#N2.footer.close{
    height: 5px;
    border: none;
    justify-content: center;
    overflow: hidden;
}
#N2.footer.close > a{
    background-color: #111;
}
#N2.footer.close > a:first-child{
    border-radius: 100% 0 0 0;
}
#N2.footer.close > a:last-child{
    border-radius: 0 100% 0 0;
}
#N2.footer.close > a:hover{
    background-color: #1111;
}
#N2.footer.close > a > span,
#N2.footer.close > a > img{
    display: none;
}
#N2.footer.open{
    height: calc(calc(100vh - (60px + 2vh)));
    border: none;
    padding: 45px 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    border-top: 1px solid #1114;
}
#N2.footer.open > a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    width: 100%;
    max-width: 750px;
    height: 47px;
    border: unset;
    border-radius: 0;
    border-bottom: 1px solid #1114;
    position: relative;
}
#N2.footer.open > a:hover{
    box-shadow: unset;
    border: none;
    border-bottom: 1px solid #1114;
}
#N2.footer.open > a:hover > img{
    opacity: 1;
}
#N2.footer.open > a > img{
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 4px;
    margin: 0 4px;
    opacity: 0.78;
}
#N2.footer.open > a:after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    aspect-ratio: 1/1;
    background-image: url('/./img/1open.svg');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
}
#N2.footer.open > a:hover:after{
    transform: translate(4px, 0) rotate(90deg);
}
#N2.footer.open .action > a.open{
    display: none;
}
#N2.footer.open > a > span{
    display: block;
}


/* action */
.n2.action {
    position: fixed;
    right: 0;
    bottom: calc(42px + 1vh);
    height: 32px;
    width: 100%;
}
.n2.action.close{
    bottom: 0;
}
.n2.action.close > a.close{
    display: none;
}

.n2.action.open{
    top: 0;
    height: calc(100vh - 90vh - 20px);
    top: calc(60px + 2vh) ;
    z-index: 22;
    height: 42px;
}
.n2.action.open > a.open{
    display: none;
}
.n2.action a.open{
    border-radius: 0 4px 0 0;
}
.n2.action.open > a.close{
    right: 50%;
    transform: translate(50%, 0);
    border-bottom: 1px solid #1114;
    border-left: 1px solid #1114;
    border-right: 1px solid #1114;
    border-radius: 0 0 4px 4px;
}
.n2.action a.close{
    border-radius: 4px 0 0 0;
}
.n2.action > a{
    height: 100%;
    aspect-ratio: 3/2;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 22;
}
.n2.action > a.close{
    top: 0;
    right: 0;
    position: absolute;
}
.n2.action > a > img{
    opacity: 0.78;
}
.n2.action > a:hover > img{
    opacity: 1;
}
.n2.action > a.close > img{
    transform: rotate(180deg);
}
.n2.action > a.close:hover > img{
    transform: translate(0, 1px) rotate(180deg);
}
.n2.action > a.open{
    top: 0;
    left: 0;
    position: absolute;
}
.n2.action > a.open:hover > img{
    transform: translate(0, -1px);
}
.n2.action > a > img {
    height: 100%;
    aspect-ratio: 1/1;
}
.n2.action.close > a.close{
    right: 50%;
    transform: translate(50%, 0);
}

@media screen and (max-width:100vh) {
    #N2.footer{
        padding: 0 3px;
        width: 100vw;
        overflow-x: scroll;
        justify-content: flex-start;
    }
    #N2.footer > a{
        width: auto;
        aspect-ratio: unset;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        min-width: max-content !important;
        padding: 0 7px 0 0;
    }
    #N2.footer > a > img{
        height: 100%;
        aspect-ratio: 1/1;
        display: block;
    }
    #N2.footer > a > span{
        white-space: nowrap;
        display: block;
        font-size: 13px;
    }
}
/*---*/
main{
    padding: 0 0 82px 0;
}
main > div{
    width: 100%;
}
main > .start{
    display: flex;
    height: 100vh;
    width: 100%;
}
main > .start > img{
    height: 100%;
    width: 100%;
    max-width: 64%;
    object-fit: cover;
}
main > .start > section{
    min-width: 36%;
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #fff;
}
main > .start > section > h1{
    font-size: var(--size2);
    font-weight: 600;
    padding: 0 12px 24px 23px;
    line-height: 0.7;
    letter-spacing: 1px;
}
main > .start > section > h6{
    font-size: var(--size1);
    font-weight: 400;
    padding: 0 12px 0 23px;
    line-height: 1em;
}
main > .start > section > h5{
    font-size: var(--size1);
    font-weight: 300;
    padding: 0 12px 0 23px;
    line-height: 1em;
}
main > .start > section > .actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 9px 12px 9px 17px;
    position: absolute;
    bottom: 0;

}
main > .start > section > .actions > .action{
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 17px 9px 19px;
    border-radius: 42px;
    color: #fff;
    font-size: var(--size1);
    font-weight: 400;
    cursor: pointer;
}
main > .start > section > .actions > .action[href="#contacts"]{
    background: var(--color);
}
main > .start > section > .actions > .action[href="https://t.me/psypolyclinic"]{
    background: rgb(29, 122, 209);
}
main > .start > section > .actions > .action[href="https://t.me/psypolyclinic"]:hover{
    background: rgb(0, 57, 148);
}
main > .start > section > .actions > .action[href="#contacts"]:hover{
    background: var(--__color0);
}
main > .start > section > nav{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    overflow-x: auto;
}
main > .start > section > nav > a{
    font-size: var(--size0);
    font-weight: 400;
    padding: 19px 16px 18px 17px;
    height: 100%;
    width: max-content;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
}
main > .start > section > nav > a:hover{
    background: #efefef;
}
@media screen and (max-width:100vh) {
    main > .start{
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
    }
    main > .start > img{
        max-width: 100%;
        height: 54%;
    }
    main > .start > section{
        width: 100%;
        min-width: 100%;
        padding: 0;
        height: 46%;
        min-height: max-content;
        justify-content: space-between;
    }
    main > .start > section > nav{
        position: relative;
        padding: 2px 0 0 0 ;
        justify-self: flex-end;
    }
    main > .start > section > h1{
        font-size: var(--size2);
        padding: 12px 7px 12px 11px;
        letter-spacing: -2px;
        text-align: center;
    }
    main > .start > section > h6{
        font-size: var(--size0);
        padding: 2px 9px 4px 12px;
        text-align: center;
    }
    main > .start > section > h5{
        display: none;
    }
    main > .start > section > .actions{
        padding: 9px 0 24px 0;
        position: relative;
        margin: 0 auto;
        width: 100%;
        gap: 4px;
    }
    main > .start > section > .actions > .action{
        width: 96%;
        justify-content: center;
        padding: 9px 0 9px 0;
        border-radius: 42px;
        font-size: var(--size0);
        font-weight: 400;
        cursor: pointer;
        margin: 0 auto;
    }
}
.about{
    display: flex;
    justify-content: space-between;
    margin: 91px auto 31px auto;
    border: 1px solid var(--_color0);
    width: var(--width);
    border-radius: 17px;
    background: #fff;
}
.about > section{
    width: 75%;
}
.about > section > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 7px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
}
.about > section > p{
    font-size: var(--size0);
    font-weight: 400;
    margin: 9px 12px 9px 19px;
    line-height: 1.2em;
    line-height: 1.3em;
    white-space: pre-line;
}
.about > img{
    width: 25%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0 16px 16px 0;
    border-left: 1px solid var(--_color0);
}
@media screen and (max-width:100vh){
    .about > section{
        width: 100%;
    }
    .about{
        flex-direction: column;
        margin: 0px auto 0px auto;
        width: 100%;
        border-radius: 0;
    }
    .about > img{
        width: 100%;
        height: 46vh;
        border-radius: 0;
        border-left: none;
    }
}

.advantages{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 71px auto 61px auto;
    border: 1px solid var(--_color0);
    width: var(--width);
    border-radius: 17px;
    background: #fff;
}
.advantages > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 9px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
    width: 100%;
}
.advantage{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 12px 12px 18px;
    border-right: 1px solid var(--_color0);
    width: 25%;
}
.advantage:last-of-type{
    border-right: none;
}
.advantage > img{
    width: var(--height0);
    height: var(--height0);
    object-fit: cover;
    border-radius: 16px;
}
.advantage > h3{
    font-size: var(--size1);
    font-weight: 600;
    padding: 4px 0 9px 0;
}
.advantage > p{
    font-size: var(--size0);
    font-weight: 400;
    line-height: 1.1em;
    padding: 0 0 7px 0;
}
@media screen and (max-width:100vh){
    .advantages{
        flex-direction: column;
        margin: 0px auto 0px auto;
        width: 100%;
        border-radius: 0;
    }
    .advantage{
        border-right: none;
        width: 100%;
        padding: 12px 12px 12px 18px;
        border-bottom: 1px solid var(--_color0);
    }
    .advantage:last-of-type{
        border-bottom: none;
    }
    .advantage > img{
        width: var(--height0);
        height: var(--height0);
        border-radius: 0;
    }
}
.ticker{
    width: 100%;
    height: max-content;
    gap: 12px;
    background: #151;
    color: #fff;
    padding: 7px 0 6px 0;
    position: relative;
    z-index: 3;
    border: 1px solid #1114;
    overflow-x: scroll;
    max-width: 100vw;
    margin: 21px 0 44px 0;
}
.ticker::-webkit-scrollbar {
    display: none;
}
.ticker > .g{
    display: flex;
    gap: 12px;
    animation: ticker 17s linear infinite;
    width: 100%;
    justify-content: space-between;
    height: max-content;
    display: flex;

}
.ticker > .g > span{
    font-size: var(--size1);
    font-weight: 600;
    padding: 7px 12px 6px 13px;
    line-height: 1.1em;
    width: max-content;
    text-align: left;
    white-space: nowrap;
}
@keyframes ticker {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(-50%);
    }
}
.service#first{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px auto 0 auto;
    border: 1px solid var(--_color0);
    width: 100%;
    max-width: calc(var(--width) / 2);
    border-radius: 17px;
    background: #fff;
    position: relative;
}
.service#first > h2{
    font-size: 1.4rem;
    font-weight: 600;
    padding: 17px 12px 12px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
    width: 100%;
    text-align: left;
}
.service#first > h3{
    font-size: var(--size0);
    font-weight: 600;
    padding: 12px 12px 2px 18px;
    line-height: 1em;
    width: 100%;
    text-align: left;
}
.service#first > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 16px 16px 0 0;
}
.service#first > ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 12px 12px 41px;
    border-bottom: 1px solid var(--_color0);
    list-style: number;
}
.service#first > ul > li{
    font-size: var(--size0);
    font-weight: 400;
    padding: 4px 0 7px 0;
    line-height: 1.2em;
    width: 100%;
    text-align: left;
}
.service#first > p{
    font-size: var(--size0);
    font-weight: 400;
    padding: 4px 12px 7px 12px;
    line-height: 1.2em;
    width: 100%;
    text-align: center;
}
@media screen and (max-width:100vh) {
    .service#first{
        max-width: 100%;
        border-radius: 0;
    }
    .service#first > img{
        border-radius: 0;
    }
}
.descriptions{
    display: flex;
    flex-wrap: wrap;
    margin: 71px auto 0 auto;
    border: 1px solid var(--_color0);
    max-width: var(--width);
    border-radius: 17px;
    background: #fff;
}
.descriptions > .description{
    width: max-content;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid var(--_color0);
}
.descriptions > .description > h3{
    font-size: var(--size1);
    font-weight: 600;
    padding: 9px 12px 9px 13px;
    line-height: 1.1em;
    border-bottom: 1px solid var(--_color0);
    width: 100%;
    text-align: left;
}
.descriptions > .description > ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 12px 12px 41px;
}
.descriptions > .description:first-of-type{
    width: 40%;
}
.descriptions > .description:last-of-type{
    border-right: none;
    width: 60%;
}
@media screen and (max-width:100vh) {
    .descriptions > .description:first-of-type{
        width: 100%;
    }
    .descriptions > .description:last-of-type{
        border-right: none;
        width: 100%;
    }
}
.instructions{
    display: flex;
    flex-wrap: wrap;
    margin: 71px auto 0 auto;
    border: 1px solid var(--_color0);
    width: calc(var(--width) / 2);
    border-radius: 17px;
    background: #fff;
}
.instructions > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 9px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
    width: 100%;
    text-align: left;
}
.instructions > ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 12px 12px 41px;
}
.instructions > ul > li{
    font-size: var(--size0);
    font-weight: 400;
    padding: 4px 0 7px 0;
    line-height: 1.2em;
    width: 100%;
    text-align: left;
}
.instructions > p{
    font-size: var(--size0);
    font-weight: 400;
    padding: 4px 12px 7px 12px;
    line-height: 1.2em;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--_color0);
}
@media screen and (max-width:100vh) {
    .instructions{
        width: 100%;
        border-radius: 0;
    }
}
.services{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 71px auto 0 auto;
    width: var(--width);
    position: relative;
}
.services > h2{
    font-size: 2.1rem;
    font-weight: 600;
    padding: 17px 12px 12px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
    width: 100%;
    text-align: center;
    background: #fff;
    border-radius: 24px;
}
.services > .service{
    width: calc(100 / 2 * 1%);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--_color0);
    border-radius: 12px 12px 24px 24px;
    background: #fff;
    margin: 24px 0 0 0;
}
.services > .service > h3{
    font-size: 1.8rem;
    font-weight: 600;
    padding: 9px 12px 9px 13px;
    line-height: 1.1em;
    width: 100%;
    text-align: left;
}
.services > .service > .imgs{
    width: 100%;
    display: flex;
    overflow-x: auto;
}
.services > .service > .imgs > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 12px 12px 0 0;
}
.services > .service > .g{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}
.services > .service > .g > h3{
    font-size: 29px;
    font-weight: 300;
    padding: 9px 12px 1px 13px;
    line-height: 1.1em;
    width: 100%;
    text-align: left;
}
.services > .service > .g > h3 > .val{
    font-weight: 600;
    padding: 0 2px 0 7px;
    border-radius: 21px;

}
.services > .service > .g > .price{
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--_color0);

}
.services > .service > .g > .price > h4{
    font-weight: 300;
    font-size: 24px;
    padding: 3px 2px 4px 13px;
}
.services > .service > .g > .price > h4 > .val{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2em;
    width: max-content;
    color: #1a1;
    padding: 0 2px 0 0;
    letter-spacing: -1px;
}
.services > .service > .g > .price > h5{
    font-size: 24px;
    font-weight: 300;
}
.services > .service > .g > .price > h5 > .val{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2em;
    width: max-content;
    color: #1a1;
    padding: 0 4px 0 0;
    letter-spacing: -1px;
}
.services > .service > .g > p {
    font-size: var(--size0);
    font-weight: 400;
    padding: 4px 12px 7px 12px;
    line-height: 1.2em;
    width: 100%;
    text-align: left;
}
.services > .service > .g > ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 12px 0 31px;
    list-style:circle;
}
.services > .service >  .actions{
    width: max-content;
    display: flex;
    flex-direction: row-reverse;
    padding: 0 0 0 0;
    margin: 12px 21px 13px 24px;
    justify-content: flex-start;
    background: var(--color);
    border-radius: 27px;
    align-self: flex-end;
    border: 1px solid #1114;
}
.services > .service >  .actions > .action{
    font-size: 17px;
    font-weight: 400;
    padding: 12px 9px 13px 24px;
    border-radius: 27px;
    line-height: 1.1em;
    width: max-content;
    text-align: left;
    color: var(--color0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.services > .service >  .actions > .action:last-of-type{
    font-size: 19px;
}
.services > .service >  .actions > .action:last-of-type:hover{
    color: #FFF9;
}
.services > .service >  .actions > .action.main{
    background: #1112;
    border-left: 1px solid #1114;
    font-size: 24px;
    font-weight: 400;
    padding: 12px 25px 13px 24px;
    border-radius: 27px;
    line-height: 1.1em;
    width: max-content;
    text-align: left;
    color: var(--color0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.services > .service >  .actions > .action.main:hover{
    background: #1113;
}
@media screen and (max-width:100vh) {
    .services{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .services > h2{
        border-radius: 0;
    }
    .services > .service{
        width: 100%;
        flex-direction: column;
    }
}
.portfolio{
    display: flex;
    flex-direction: column;
    border-radius: 17px;
    border: 1px solid var(--_color0);
    width: 100%;
    max-width: var(--width);
    margin: 71px auto 0 auto;

}
.portfolio > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 7px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color0);
    background: #fff;
    border-radius: 17px 17px 0 0;
}
.gallery{
    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: auto;
    margin: 0 auto;
    height: 375px;
    border: 1px solid var(--_color0);
}
.gallery > img{
    height: 100%;
    object-fit: contain;
}
#contacts{
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 0;
    margin: 71px auto 0 auto;
    position: relative;
}
#contacts > .g > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 7px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color1);
    background: #fff;
    border-radius: 17px 17px 0 0;
}
#contacts > .g > h2 > span{
    color: #111a;
    font-size: 0.7em;
}
#contacts > .g{
    height: max-content;
    width: 96%;
    max-width: var(--width);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--_color1);
    border-radius: 17px;
    padding: 0;
}
#contacts > .g > .g{
    display: flex;
    background: #fff;
}
#contacts > .g > .g > .contacts{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 9px 7px 4px 7px;
    height: min-content;
    gap: 7px;
}
#contacts > .g > .g > .contacts > .contact{
    font-size: 18px;
    font-weight: 400;
    padding: 3px 12px 4px 13px;
    border-radius: 41px;
    width: max-content;

    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid var(--_color0);
}
#contacts > .g > .g > .contacts > .contact:has(img){
    padding: 3px 12px 4px 3px;
}
#contacts > .g > .g > .contacts > .contact:hover{
    background: var(--color0);
}
#contacts > .g > .g > .contacts > .contact > img{
    height: 39px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
#contacts > .g > .g > form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    border-left: 1px solid var(--_color1);
    width: 100%;
    max-width: calc(var(--width) / 2);
}
#contacts > .g > .g > form > h3{
    font-size: var(--size1);
    font-weight: 600;
    padding: 17px 12px 9px 12px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color1);
    background: #fff;
    border-radius: 17px 17px 0 0;
    width: 100%;
}
#contacts > .g > .g > form > input{
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.4px;
    padding: 9px 9px 4px 4px;
    margin: 0 11px 0 12px;
    width: calc(100% - 23px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--_color0);
    display: block;
    position: relative;

}
#contacts > .g > .g > form > input[readonly]{
    border-bottom: 1px solid var(--_color0);
}
#contacts > .g > .g > form > input[readonly][value=""]{
    display: none;
}
#contacts > .g > .g > form > textarea{
    font-size: 18px;
    font-weight: 400;
    padding: 7px 9px 5px 4px;
    margin: 0 11px 0 12px;
    width: calc(100% - 23px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    resize: none;
}
#contacts > .g > .g > form > .actions{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 0 0 0;
}
#contacts > .g > .g > form > .actions > button.action{
    font-size: 18px;
    font-weight: 400;
    padding: 7px 21px 8px 24px;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color);
    border: 1px solid var(--_color3);
    font-weight: 700;
    color: #fff;
    border-radius: 21px;
    margin: 0 7px 9px 8px;
}
#contacts > .g > .g > form > .actions > button.action:hover{
    background: var(--__color0);
}
#contacts > .g > .g > form > .actions > p{
    font-size: 14px;
    font-weight: 400;
    padding: 7px 9px 8px 10px;
    width: 100%;
    line-height: 14px;
}
#contacts > .g > .g > form > p > a{
    color: var(--color);
}
#contacts > .g > .g > form > p > a:hover{
    color: var(--__color0);
    text-decoration: underline;
}
#contacts > .g > iframe{
    height: 400px;
    width: 100%;
    border: unset;
    border-radius: 0 0 17px 17px;
    border-top: 1px solid var(--_color1);
}

#contacts > .g > .g > form > input[required][value=""]{
    background-image: url(https:/rohh.ru/i/5/asterisk.svg);
    background-repeat: no-repeat;
    background-position: right 0 center;
}
#contacts > .g > .g > form > textarea[required][value=""]{
    background-image: url(https:/rohh.ru/i/5/asterisk.svg);
    background-repeat: no-repeat;
    background-position: right 0 center;
}
#contacts > .g > .g > form > input:focus{
    outline: none;
    border-bottom: 1px solid var(--_color1);
}
#contacts > .g > .g > form > textarea:focus{
    outline: none;
}
@media screen and (max-width:100vh) {
    #contacts > .g > .g{
        flex-direction: column;
    }
    #contacts > .g > .g > .contacts{
        padding: 14px 7px 17px 9px;
    }
    #contacts > .g > .g > form{
        max-width: 100%;
        padding: 0 0 12px 0;
        border-left: none;
        border-top: 1px solid var(--_color1);
    }
    #contacts > .g > .g > form > .actions{
        align-self: flex-end;
    }
}
#other{
    width: 96%;
    max-width: var(--width);
    margin: 71px auto 0 auto;
    border: 1px solid var(--_color1);
    border-radius: 17px;
    background: #fff;
}
#other > h2{
    font-size: var(--size1);
    font-weight: 600;
    padding: 12px 12px 7px 18px;
    line-height: 1em;
    border-bottom: 1px solid var(--_color1);
    background: #fff;
    border-radius: 17px 17px 0 0;
}
#other > .actions{
    padding: 9px 9px 8px 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
#other > .actions > .action{
    font-size: 18px;
    font-weight: 300;
    padding: 7px 21px 8px 24px;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--_color1);
    font-weight: 700;
    color: #000;
    border-radius: 21px;
}
#other > .actions > .action:hover{
    background: var(--color0);
}
@media screen and (max-width:100vh) {
    #other > .actions{
        gap: 0;
        padding: 0;
    }
    #other > .actions > .action{
        border-radius: unset;
        border: unset;
        border-bottom: 1px solid var(--_color1);
        width: 100%;
        font-weight: 400;

    }
    #other > .actions > .action:last-child{
        border-bottom: none;
    }
}