/*
Theme Name: usteles
Author: Glorious Me
Version: 1.0
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    min-height:100%;
}

body{
    font-family:'Inter',sans-serif;
    background:#f3f3f3;
    color:#111;
    overflow-x:hidden;
}

.site{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.main{
    flex:1;
}


body.admin-bar .sidebar{
    top:32px;
    height:calc(100vh - 32px);
}



body.admin-bar .mobile-topbar{
    top:32px;
}

@media screen and (max-width:782px){

    body.admin-bar .sidebar{
        top:46px;
        height:calc(100vh - 46px);
    }

    body.admin-bar .mobile-topbar{
        top:46px;
    }

    body.admin-bar .page-content,
    body.admin-bar .footer{
        padding-top:46px;
    }
}

/* =========================
MOBILE TOPBAR
========================= */

.mobile-topbar{
    display:none;

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:74px;

    background:#102113;

    z-index:50;

    padding:0 18px;

    align-items:center;
    justify-content:space-between;

    border-bottom:1px solid rgba(255,255,255,.06);
}

.mobile-logo img{
    width:130px;
}

.burger{
    width:46px;
    height:46px;

    border:none;
    border-radius:12px;

    background:rgba(255,255,255,.06);

    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;

    padding:0 12px;

    cursor:pointer;
}

.burger span{
    width:100%;
    height:2px;

    background:#fff;

    border-radius:10px;
}

/* =========================
SIDEBAR
========================= */

.sidebar{
    position:fixed;
    left:0;
    top:0;

    width:255px;
    height:100vh;

    background:
        radial-gradient(circle at top left,#314e1d 0%,#072013 65%);

    color:#fff;

    padding:24px 22px;

    overflow-y:auto;
    z-index:40;

    transition:.35s;
}

.logo{
    margin-bottom:34px;
}

.logo img{
    width:100%;
}

.divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.1);
    margin:20px 0;
}

/* =========================
CONTACTS
========================= */

.contact{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:14px;

    text-decoration:none;
    color:#fff;

    transition:.2s;
}

.contact:hover{
    opacity:.9;
}

.contact-icon{
    width:34px;
    height:34px;

    border:1px solid #87af35;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#b5d84e;

    font-size:13px;

    flex-shrink:0;
}

.contact span{
    font-size:14px;
    font-weight:600;
}

/* =========================
BUY BUTTON
========================= */

.buy-btn{
    width:100%;

    margin-top:18px;
    margin-bottom:24px;

    border:none;
    border-radius:14px;

    background:linear-gradient(135deg,#87af35,#9cc33d);

    padding:18px 16px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    cursor:pointer;

    color:#fff;

    transition:
        background .25s,
        box-shadow .25s,
        filter .25s;
}

.buy-btn:hover{

    background:
        linear-gradient(135deg,#94be3c,#abd447);


}

.buy-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.buy-icon{
    width:42px;
    height:42px;

    border-radius:50%;
    border:1px solid rgba(255,255,255,.35);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:16px;

    flex-shrink:0;
	background: azure;
}

.buy-title{
    font-size:15px;
    line-height:1;

    font-weight:800;
}

.buy-sub{
    margin-top:6px;

    font-size:11px;
    opacity:.9;
}

/* =========================
MENU
========================= */

.menu{
    margin-top:10px;
}

.menu-item{
    display:flex;
    align-items:center;
    justify-content:space-between;

    text-decoration:none;
    color:#fff;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:.2s;
}

.menu-item:hover{
    padding-left:4px;
}

.menu-text{
    font-size:15px;
    font-weight:600;
}

.menu-arrow{
    opacity:.6;
    font-size:14px;
}

/* =========================
BOTTOM
========================= */

.sidebar-bottom{
    margin-top:24px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.socials{
    display:flex;
    gap:10px;
}

.social{
    width:36px;
    height:36px;

    border-radius:50%;
    border:1px solid rgba(255,255,255,.12);

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.25s;

    background:rgba(255,255,255,.02);
}

.social img{
    width:16px;
    height:16px;

    object-fit:contain;

    filter:
        brightness(0)
        saturate(100%)
        invert(77%)
        sepia(59%)
        saturate(522%)
        hue-rotate(28deg)
        brightness(94%)
        contrast(88%);
}

.social:hover{
    border-color:#9cc33d;

    transform:translateY(-2px);

    background:rgba(255,255,255,.05);
}

.lang{
    font-size:16px;
    font-weight:700;
}

/* =========================
PAGE
========================= */

.page-content{
    margin-left:255px;
    padding:42px 60px 120px;
}

.mainpage{
	padding: 0;
}

.breadcrumbs{
    font-size:13px;
    color:#666;
    margin-bottom:18px;
}

.breadcrumbs span{
    color:#95bb3c;
}

.page-title{
    font-size:48px;
    font-weight:700;
	display: flex;
  align-items: last baseline;
}


h1.page-title::before {
  content: url("https://usteles.ru/wp-content/themes/usteles/images/tag.png");
  margin-right: 15px;
  display: flex;
  flex-shrink: 0;
}

/* =========================
FOOTER
========================= */

.footer{
    margin-left:255px;

    background:
        linear-gradient(90deg,#314e1d 0%, #284718 100%);

    min-height:78px;

    display:flex;
    align-items:center;
}

.footer-inner{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;

    padding:18px 42px;
}

.footer-cta{
    position:relative;

    border:none;

    background:rgba(255,255,255,.04);

    min-width:180px;
    height:52px;

    padding:0 26px;

    cursor:pointer;

    color:#fff;

    font-size:14px;
    font-weight:600;
}

.footer-cta-corners{
    position:absolute;

    width:14px;
    height:14px;
}

.corner-tl{
    left:0;
    top:0;

    border-left:4px solid #b0cc18;
    border-top:4px solid #b0cc18;
}

.corner-tr{
    right:0;
    top:0;

    border-right:4px solid #b0cc18;
    border-top:4px solid #b0cc18;
}

.corner-bl{
    left:0;
    bottom:0;

    border-left:4px solid #b0cc18;
    border-bottom:4px solid #b0cc18;
}

.corner-br{
    right:0;
    bottom:0;

    border-right:4px solid #b0cc18;
    border-bottom:4px solid #b0cc18;
}

.footer-center{
    flex:1;

    display:flex;
    justify-content:center;
}

.footer-link{
    color:rgba(255,255,255,.82);

    text-decoration:none;

    font-size:13px;
}

.footer-copy{
    color:rgba(255,255,255,.7);

    font-size:13px;
}

/* =========================
OVERLAY
========================= */

.form-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);
    backdrop-filter:blur(4px);

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:60;
}

.form-overlay.active{
    opacity:1;
    visibility:visible;
}

/* =========================
FORM PANEL
========================= */

.form-panel{
    position:absolute;

    top:0;
    right:-520px;

    width:520px;
    max-width:100%;

    height:100%;

    background:#fff;

    padding:38px;

    transition:.45s cubic-bezier(.77,0,.18,1);

    overflow-y:auto;
}

.form-overlay.active .form-panel{
    right:0;
}

.close{
    position:absolute;

    right:22px;
    top:18px;

    font-size:38px;

    cursor:pointer;
}

.form-title{
    font-size:36px;
    line-height:1;

    font-weight:800;

    margin-bottom:18px;
}

.form-desc{
    font-size:16px;
    line-height:1.5;

    color:#666;

    margin-bottom:34px;
}

/* =========================
FIELDS
========================= */

.form-group{
    margin-bottom:18px;
}

.form-group > label{
    display:block;

    margin-bottom:8px;

    font-size:14px;
    font-weight:600;
}

.form-control{
    width:100%;

    border:1px solid #ddd;
    border-radius:12px;

    padding:15px 16px;

    font-size:15px;

    outline:none;
}

textarea.form-control{
    min-height:110px;
    resize:vertical;
}

/* =========================
CHECKBOX
========================= */

.form-checkbox{
    margin-top:24px;
    margin-bottom:24px;
}

label.checkbox{
    display:flex !important;

    align-items:center;

    gap:12px;

    cursor:pointer;

    user-select:none;

    line-height:1.4;

    margin:0 !important;
}

.checkbox input{
    display:none;
}

.checkbox-custom{
    width:22px;
    min-width:22px;
    height:22px;

    border:1px solid #cfcfcf;
    border-radius:6px;

    position:relative;

    flex-shrink:0;

    transition:.2s;
}

.checkbox input:checked + .checkbox-custom{
    background:#87af35;
    border-color:#87af35;
}

.checkbox input:checked + .checkbox-custom:after{
    content:'';

    position:absolute;

    left:7px;
    top:3px;

    width:5px;
    height:10px;

    border:solid #fff;
    border-width:0 2px 2px 0;

    transform:rotate(45deg);
}

.checkbox-text{
    display:block;

    font-size:13px;
    line-height:1.45;

    color:#666;
}

.checkbox-text a{
    color:#87af35;
    text-decoration:none;
}

.checkbox-text a:hover{
    text-decoration:underline;
}

/* =========================
BUTTON
========================= */

.submit-btn{
    width:100%;

    border:none;
    border-radius:12px;

    padding:18px;

    background:linear-gradient(135deg,#2f6b23,#4d962f);

    color:#fff;

    font-size:15px;
    font-weight:700;

    cursor:pointer;
}

.submit-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
}

/* =========================
MOBILE OVERLAY
========================= */

.mobile-overlay{
    display:none;

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);

    z-index:35;
}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

    .mobile-topbar{
        display:flex;
    }

    .sidebar{
        left:-100%;
        width:290px;
        padding-top:90px;
    }

    .sidebar.active{
        left:0;
    }

    .mobile-overlay.active{
        display:block;
    }

    .page-content{
        margin-left:0;
        padding:110px 18px 80px;
    }

    .footer{
        margin-left:0;
    }

    .footer-inner{
        flex-direction:column;

        align-items:center;

        text-align:center;

        padding:24px 18px;
        gap:18px;
    }

    .footer-center{
        justify-content:center;
    }

    .form-panel{
        width:100%;
        padding:28px 22px;
    }

    .form-title{
        font-size:28px;
    }

    .page-title{
        font-size:34px;
    }

}


.error {
    border-color: red !important;
}

.error-text {
    color: red;
    font-size: 13px;
    margin-top: 5px;
}

.form-success {
    margin-top: 20px;
    font-size: 14px;
}


.success-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,.55);

    opacity: 0;
    visibility: hidden;

    transition: .25s;

    z-index: 9999;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-modal__content {
    width: 100%;
    max-width: 420px;

    padding: 40px 30px;

    border-radius: 20px;

    background: #fff;

    text-align: center;

    transform: translateY(20px);

    transition: .25s;
}

.success-modal.active .success-modal__content {
    transform: translateY(0);
}

.success-modal__icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;
    font-weight: 700;

    background: linear-gradient(135deg,#87af35,#9cc33d);
    color: #fff;
}

.success-modal__title {
    font-size: 28px;
    font-weight: 700;

    margin-bottom: 10px;
}

.success-modal__text {
    font-size: 16px;
    line-height: 1.5;

    color: #666;

    margin-bottom: 25px;
}

.success-modal__btn {
    height: 54px;

    padding: 0 30px;

    border: none;
    border-radius: 12px;

    background: linear-gradient(135deg,#87af35,#9cc33d);
    color: #fff;

    cursor: pointer;

    font-size: 15px;
    font-weight: 600;

    transition: .2s;
}

.success-modal__btn:hover {
    opacity: .9;
}


.privacy-policy {
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.75;
    color: #222;
}

.privacy-policy h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: 24px;
}

.privacy-policy p {
    margin-bottom: 18px;
}
