@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fc;
    color: #2d2d2d;
}

html, body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mainContent {
    flex: 1 1 auto;
}

section{
    width: 100%;
}

.sectionMain{
    margin-top: 25px;
}

.container {
    width: 1320px;
}

@media(min-width: 320px) and (max-width: 1320px){
    .container{
        width: 95%;
    }
}

header {
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    z-index: 100;
}

.headerContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.headerTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.headerTitle a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #5d5fef0d;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.headerTitle a:hover {
    background: #5d5fef38;
    filter: brightness(0) saturate(100%) invert(28%) sepia(84%) saturate(3668%) hue-rotate(235deg) brightness(95%) contrast(101%);
    color: #fff;
}

.headerTitle a img {
    height: 12px;
}

.headerTitle h1 {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
}

.headerLogo{
    display: flex;
    justify-content: center;
}

.headerLogo img{
    height: 45px;
}

/* нижнее меню */

.sectionMenu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

.menuContainer {
    display: flex;
    gap: 20px;
    background: #5d5fef0d;
    padding: 5px 10px;
    border-radius: 20px;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menuItem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.menuItem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #5d5fef;
    opacity: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s ease;
}

.menuItem:hover::before,
.menuItem.active::before {
    opacity: 0.1;
    transform: scale(1);
}

.menuItem:hover,
.menuItem.active {
    transform: translateY(-2px);
}

.menuIcon {
    width: 20px;
    height: 20px;
    /* filter: grayscale(100%) brightness(0) invert(0.5); */
    filter: brightness(0) saturate(100%) invert(28%) sepia(84%) saturate(3668%) hue-rotate(235deg) brightness(95%) contrast(101%);
    transition: filter 0.3s ease;
    pointer-events: none;
}

.menuItem:hover .menuIcon,
.menuItem.active .menuIcon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(84%) saturate(3668%) hue-rotate(235deg) brightness(95%) contrast(101%);
}

@media (min-width: 480px) {
    .menuContainer {
        gap: 20px;
        padding: 12px 20px;
    }
    
    .menuItem {
        width: 52px;
        height: 52px;
    }
    
    .menuIcon {
        width: 22px;
        height: 22px;
    }
}


.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btnMain {
    gap: 10px;
    background: #5d5fef;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnMain:hover {
    background: #4c4ed6;
    transform: translateY(-3px);
}

.btnArrow::after {
    content: "→";
    font-size: 18px;
    font-weight: bold;
}

.btnCancel {
    gap: 10px;
    background: #ef4444;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnCancel:hover {
    background: #dc2626;
    transform: translateY(-3px);
}

.btnGray {
    background: #e5e7eb;
    color: #374151;
    padding: 10px 20px;
    border-radius: 14px;
}

.btnGray:hover {
    background: #d1d5db;
    transform: translateY(-3px);
}

.btnOrange {
    background: #f59e0b;
    color: #fff;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnOrange:hover {
    background: #db8f0a;
    transform: translateY(-3px);
}

/* form */

.formContainer{
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eaeaea;
    height: fit-content;
    position: sticky;
    margin-top: 25px;
}

.formInput, .formTextarea, .formSelect {
    width: calc(100% - 30px);
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border 0.2s ease;
    background: #fff;
}

.formSelect{
    width: 100%;
}

.formInput:focus, .formTextarea:focus {
    outline: none;
    border-color: #5d5fef;
}

.formTextarea {
    min-height: 160px;
    resize: vertical;
}

.formActions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.formTitle {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.formGroup {
    margin-bottom: 16px;
}

.formLabel {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}


footer{
    display: flex;
    justify-content: center;
}

.footerContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 120px 0 20px 0;
    text-align: center;
}

.footerContainer p{
    color: #999;
}

.footerLogo{
    display: flex;
    justify-content: flex-end;
    transition: .4s;
    opacity: 0.5;
    /* margin-top: 10px; */
}

.footerLogo svg{
    width: 160px;
    height: auto;
}

.footerLogo:hover{
    opacity: 1;
    transform: translateY(-2px);
}