/*
Theme Name: OTIUM 2026
Theme URI: https://wordpress.org/themes/andreev
Author: bokhan7
Author URI: https://wordpress.org
Description: Machinery documentation
Requires at least: 6.1
Tested up to: 6.5
Requires PHP: 5.6
Version: 2025.05.23
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root{
    --purple: #5F64D6;
    --white-80: #ffffffd0;
    --bgblur: blur(36px);
    --smooth: all ease .15s;
    --gradient: linear-gradient(to right, var(--purple), #858AFF);
    --gradient-light: linear-gradient(to right, #F2F3FFd0, #FFFFFFd0);
    --shadow: 0px 10px 36px 0px #00000010;
}

body{
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    background: url(assets/img/bg.png) center top repeat-y;
    background-size: 100%;
}

html{
    overflow-x: hidden;
}

body *{
    box-sizing: border-box;
}

a, button{
    all: unset;
    cursor: pointer;
}

input{
    all: unset;
}

.wrapper{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,h2,h4,h5,h6{
    padding: 0;
    margin: 0;
    font-weight: 800;
}

h3{
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.bold{
    font-weight: 600;
}

.row{
    display: flex;
    flex-direction: row;
}

.col{
    display: flex;
    flex-direction: column;
}

.center{
    align-items: center;
}

.g4{
    gap: 4px;
}
.g8{
    gap: 8px;
}
.g12{
    gap: 12px;
}
.g24{
    gap: 24px;
}
.g36{
    gap: 36px;
}
.g48{
    gap: 48px;
}
.g96{
    gap: 96px;
}
.jcsb{
    justify-content: space-between;
}
.jcc{
    justify-content: center;
}

.btn{
    text-align: center;
    justify-content: center;
    padding: 9px 18px;
    background: var(--purple);
    color: white;
    border-radius: 36px;
    transition: var(--smooth);
    font-weight: 600;
    width: fit-content;
    border: 1px solid var(--purple);

}

.download .btn{
    width: unset;
}

.btn__black{
    background: black;
}

.btn__outline{
    background: none;
    border: 1px solid var(--purple);
    color: var(--purple);
}

.btn:hover{
    background: #2c2c2c;
}

.btn__black:hover{
    background: white;
    color: black;
}

.btn__outline:hover{
    background: var(--purple);
    color: white;
}

.menu li{
    list-style-type: none;
}

.menu a{
    opacity: .7;
    transition: var(--smooth);
}

.menu a:hover{
    opacity: 1;
}

.header{
    z-index: 99;
    position: fixed;
    top: 12px;
    left: 0;
    width: 100%;
}

.header__content{
    width: 100%;
    padding: 8px 16px 8px 24px;
    background: var(--white-80);
    border-radius: 36px;
    backdrop-filter: var(--bgblur);
    box-shadow: 0px 10px 36px 0px #00000010;
}

.grid-2{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.grid-3{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
}
.grid-4{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.welcome__content{
    padding-top: 150px;
}

p{
    margin: 0;
    padding: 0;
}

.welcome__img{
    width: 100%;
    max-width: 450px;
}

h1{
    font-size: 64px;
}

.subh1{
    color: var(--purple);
    font-size: 32px;
    width: 600px;
}

.subh2{
    color: var(--purple);
    font-size: 24px;
    width: 600px;
    width: fit-content;
}

.web{
    grid-column: span 3;
}

.download .btn img{
    width: 16px;
    height: 16px;
}

.offer{
    width: 520px;
}

.links{
    margin-top: 36px;
}

.links a{
    width: 100%;
    background: var(--white-80);
    backdrop-filter: var(--bgblur);
    border-radius: 36px;
    padding-bottom: 12px;
    transition: var(--smooth);
}

.links a img{
    width: 80px;
}

.links a:hover{
    background: var(--purple);
    color: white;
}

section{
    margin-top: 128px;
}

.welcome{
    margin-top: 0;
}

section.gradient{
    background: var(--gradient);
    color: white;
    padding: 56px 0;
}

h2{
    font-size: 42px;
}

.scroller{
    max-width: 100%;
    overflow-x: scroll;
    padding-bottom: 16px;
}

.sect__head{
    width: 100%;
    margin-bottom: 24px;
}

.promo__big{
    border-radius: 36px;
    width: 100%;
    aspect-ratio: calc(1920/540);
    background: #00000010;
    background-size: cover;
    background-position: center center;
    transition: var(--smooth);
}

.promo__small{
    background: #00000010;
    border-radius: 36px;
    min-width: 270px;
    aspect-ratio: calc(270 / 360);
    background-size: cover;
    background-position: center center;
    transition: var(--smooth);

}

.promo__big:hover{
    transform: scale(1.02);
}

.promo__small:hover{
    transform: translateY(3%);
}

.blog__the__list {
    display: none;
}

.blog__the__list.active {
    display: grid;
}

.best__the__list {
    display: none;
}

.best__the__list.active {
    display: grid;
}

.category__item{
    background: var(--gradient-light);
    border-radius: 36px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.category__item img{
    width: 128px;
}

.best__list{
    width: 100%;
    background: var(--gradient);
    border-radius: 36px;
    padding: 24px;
}

.best__list__head, .blog__list__head{
    flex-wrap: wrap;
    justify-content: center;
}

.option{
    padding: 8px 12px;
    border-radius: 36px;
    border: 1px solid #fff;
    color: white;
    transition: var(--smooth);
    font-size: 14px;
    text-align: center;
}

.option.active{
    background: white;
    color: black;
}

.blog__list__head .option{
    border: 1px solid var(--purple);
    color: var(--purple);

}

.blog__list__head .option.active{
    background: var(--purple);
    color: white;
}

.option:hover{
    background: #ffffff2e;
}

.best__item{
    width: 100%;
    background: white;
    border-radius: 24px;
    padding: 24px;
    padding-bottom: 12px;
}

.best__item img{
    width: 100%;
}

.best__item__info{
    transform: translateY(-12px);
}

.brand__tag{
    padding: 4px 8px;
    background: #8E8E8E30;
    color: black;
    backdrop-filter: var(--bgblur);
    width: fit-content;
    font-size: 12px;
    border-radius: 36px;
}

.small{
    font-size: 12px;
    opacity: .5;
}

.big{
    font-size: 48px;
}

.card__sect{
    width: 100%;
    padding: 64px 48px;
    background: white;
    border-radius: 36px;
    position: relative;
    clip-path: border-box;
}

.opt__img{
    position: absolute;
    bottom: 0;right: 0;
    width: 50%;
    max-width: 420px;
    transition: var(--smooth);
}

.bag__img{
    width: 50%;
    max-width: 380px;
}

.bullet3d{
    width: 48px;
}

.bullettick{
    width: 24px;
}

.otium__offer__card{
    aspect-ratio: calc(1920/1080);
    background: var(--purple);
    min-width: 290px;
    border-radius: 24px;
}

.supplier__item{
    aspect-ratio: calc(1920/1080);
    min-width: 320px;
    border-radius: 24px;
    transition: all ease .15s;
    background-position: center !important;
    background-size: cover !important;
}

.otium__offer__card{
    background-position: center !important;
    background-size: cover !important;

}

.supplier__item img{
    width: 100%;
}

.supplier__item:hover{
    transform: translateY(3%);
}

.footer{
    background: #F1F2FF;
    margin-top: 96px;
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer__left{
    max-width: 512px;
}

.footer__content{
    align-items: flex-end;
    margin-bottom: 36px;
}

.footer__right{
    align-items: flex-end;
    text-align: right;
}

.footer__logo{
    width: 320px;
}

.social__link img{
    width: 64px;
}

.underline{
    text-decoration: underline;
}

.clients__img{
    width: 50%;
    max-width: 380px;
}

.supply__img{
    width: 50%;
    max-width: 420px;
}

.whyotium__card{
    background: var(--gradient-light);
    padding: 24px;
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.whyotium__card img{
    width: 54px;
}

.form{
    background: var(--gradient-light);
    border-radius: 36px;
    padding: 24px;
    box-shadow: var(--shadow);
}

input{
    padding: 24px;
    background: #E4E6FF;
    width: 100%;
    border-radius: 36px;
    box-sizing: border-box;
}

.stats__img{
    width: 50%;
    max-width: 520px;
}

.howto__img{
    width: 72px;
}

.target__img{
    width: 50%;
    max-width: 360px;
}

.timeline{
    border-left: 1px solid var(--purple);
}

.timeline img{
    width: 24px;
    height: 24px;
}

.post__card{
    width: 100%;
    background: var(--white-80);
    border-radius: 36px;
    position: relative;
    transition: all ease .15s;
    clip-path: border-box;
}

.post__card:hover{
    background: var(--purple);
    color: white;
}

.post__card__category{
    padding: 4px 8px;
    background: var(--purple);
    border-radius: 24px;
    color: white;
}

.post__card img{
    width: 100%;
}

.post__card__info{
    padding: 24px;
}

.mobile-menu{
    display: none;
    z-index: 98;
    font-size: 12px;
}

.mobile-menu a img{
    width: 36px;
}

.jcsa{
    justify-content: space-around;
}






@media screen and (max-width: 1240px) {
    .wrapper{
        max-width: 1040px;
    }
    
    h1{
        font-size: 48px;
    }
    .subh1{
        font-size: 24px;
    }

    .opt .col.g36{
        max-width: 530px;
    }

    .bag__img{
        width: 300px;
    }
}


@media screen and (max-width: 1060px) {
    .wrapper{
        max-width: 920px;
    }

    .offer{
        max-width: 500px;
    }

    h1{
        font-size: 42px;
    }

    .welcome__img{
        max-width: 330px;
    }

    
}


@media screen and (max-width: 940px) {
    .wrapper{
        max-width: 750px;
    }

    h2{text-align: center;}

    .welcome__content{
        flex-direction: column;
    }

    .welcome__img, .supply__img, .clients__img{
        display: none;
    }

    .stats__content .row.center.jcsb.g24{
        flex-direction: column-reverse;
    }

    .welcome__content .col.g36{
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .stats .grid-2{
        grid-template-columns: repeat(2,1fr);
    }

    .footer__content{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__left{
        align-items: center;
    }

    .footer__right{
        align-items: center;
        text-align: center;
    }

    .footer__bottom{
        flex-direction: column;
        align-items: center;
    }

    .grid-4{
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3{
        grid-template-columns: repeat(2, 1fr);
    }

    .howto__content .row.center.jcsb.g24{
        flex-direction: column;
    }

    .menu{
        display: none;
    }

    .mobile-menu{
        display: flex;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        background: var(--gradient);
        color: white;
        padding: 12px;
    }

    .footer{
        padding-bottom: 100px;
    }

    .card__sect{
        flex-direction: column;
        padding: 24px;
    }

    .card__sect .col.g36{
        align-items: center;
    }

    .opt__img{
        display: none;
    }

    .option{
        padding: 4px 6px;
        font-size: 12px;
    }

    .offer{
        width: 100%;
        max-width: unset;
    }

    .grid-2{
        grid-template-columns: repeat(1, 1fr);
    }

    .promo__small{
        min-width: 180px;
    }
}


@media screen and (max-width: 770px) {
    .wrapper{
        max-width: 520px;
    }

    h1{
        font-size: 32px;
        width: 100%;
    }

    .subh1{
        font-size: 20px;
        width: 100%;
    }

    .welcome__content .col.g36 .col{
        width: 100%;
    }

    .logo__link{
        width: 54px;
        overflow: hidden;
    }

    .links a img{
        width: 64px;
    }

    .download .btn__black{
        font-size: 0px;
        order: 9;
    }

    h2{
        font-size: 28px;
        text-align: center;
        width: 100%;
    }

    body{
        font-size: 14px;
    }

    .sect__head h2{
        text-align: left;
    }

    .sect__head .btn{
        width: fit-content;
        text-wrap-mode: nowrap;
    }

    .grid-4{
        grid-template-columns: repeat(1, 1fr);
    }

    .links{
        grid-template-columns: repeat(2, 1fr);
    }

    .btn__wrapper{
        flex-direction: column;
        align-items: center;
    }

    .process__content .row.center.jcsb.g48{
        flex-direction: column;
    }

    .grid-3{
        grid-template-columns: repeat(1, 1fr);
    }

    .blog__content h1{
        text-align: center;
    }

    .download{
        gap: 4px;
        grid-template-columns: repeat(3, 1fr);
    }

    .promo__big, .promo__small{
        border-radius: 24px;
    }

    .promo__big{
        height: 260px;
    }

    .subh2{
        text-align: center;
        font-size: 18px;
    }
}


@media screen and (max-width: 540px) {
    .wrapper{
        max-width: 360px;
    }

    .stats .grid-2{
        grid-template-columns: repeat(1,1fr);
    }

    .stats__img{
        width: 100%;
    }

    
}

@media screen and (max-width: 365px) {
    .wrapper{
        max-width: 300px;
    }
}


.single-post {
    padding: 40px 0 80px;
}

.article__content {
    max-width: 100%;
    margin: 0 auto;
}

.article__head h1 {
    margin: 0;
}

.back-link {
    text-decoration: none;
}

.article__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.article__body {
    width: 100%;
    line-height: 1.6;
}

.article__body h2,
.article__body h3,
.article__body h4,
.article__body h5,
.article__body h6 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.article__body p {
    margin-bottom: 16px;
}

.article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 24px 0;
}

.article__body ul,
.article__body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.article__body a {
    text-decoration: underline;
}

.related-posts {
    margin-top: 80px;
}



/* чекбокс */
.form__checkbox {
    position: relative;
    align-items: flex-start;
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form__checkbox .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid #000;
    border-radius: 4px;
    position: relative;
    margin-top: 2px;
    transition: 0.2s ease;
}

.form__checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form__checkbox.error .checkmark {
    border-color: red;
}

.form__checkbox p {
    margin: 0;
}


/* cookies */

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    max-width: 420px;
    width: calc(100% - 32px);
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: .25s ease;
}
.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cookie-banner__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.cookie-banner__text {
    margin: 0;
    color: #666;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .cookie-banner {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}