   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Inter', sans-serif;
            scroll-behavior: smooth;
         background: url(/img/bg.jpg) 30% #f3f8fb;
        }
               .gtt {display:flex; font-size: 12px !important; margin-top: 10px;}
          .gtt label {width: calc(100% - 30px); display: inline-block;font-size: 12px !important;}
        .gtt a{color:#000;font-size: 12px; text-decoration: underline;}
.recovery-note {
  font-size: 12px;
  color: #4b5563;
  margin-top: 16px;
  text-align: left;
  background: #eef7ff;
  padding: 8px;
  border-radius: 6px;
  line-height: 1.3;
  border-left: 5px solid #1e40af;
}
.text-soft {
            color: #4b5563;
        }
        .container-narrow {
            max-width: 1240px; background-color: #fff;
            margin-left: auto;
            margin-right: auto;
        }
        
          .faq-container {
   font-family: Montserrat !important;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 28px;
        }

        /* каждый пункт */
        .faq-item {
            border-bottom: 1px solid #eef2f8;
            transition: all 0.2s;
        }
        .faq-item:first-child {
            border-top: 1px solid #eef2f8;
        }

        /* кнопка вопроса */
        .faq-btn {
            width: 100%;
            background: white;
            border: none;
            padding: 1.2rem 1.5rem;
            text-align: left;
            font-size: 1.05rem;
            font-weight: 600;
            color: #0a2b44;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            cursor: pointer;
            transition: background 0.2s;
            border-radius: 0;
        }
        .faq-btn:hover {
            background-color: #f7faff;
        }
        .faq-btn:focus-visible {
            outline: 2px solid #1e6af5;
            background: #f5f9ff;
        }

        /* текст вопроса */
        .question-text {
            flex: 1; font-family: Montserrat !important;
            line-height: 1.35;
        }

        /* круглая иконка + / - */
        .icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            background: #eef3fe;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 500;
            color: #1e6af5;
            transition: 0.2s;
            line-height: 1;
        }
        .faq-btn:hover .icon {
            background: #e2eafc;
            transform: scale(1.02);
        }

        /* блок ответа — скрыт */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease-out, padding 0.2s;
            background: white;
            padding: 0 1.5rem;
        }

        /* внутренний текст ответа */
        .answer-content {
            padding-bottom: 1.3rem;
            font-size: 0.96rem;
            line-height: 1.5;
            color: #2c405e;font-family: Montserrat !important;
        }
.ok {
  padding: 10px;
  background: #daffd0;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 13px;
}


.flexy {display:flex; flex-wrap: wrap; justify-content: space-between;   box-sizing: border-box;}
.flexys {display:flex; flex-wrap: wrap; justify-content: left;   box-sizing: border-box;}

.myst {width: 30%; font-size: 14px;}
.myst p {padding: 5px 0;  font-size: 14px !important; }
.myst p a {text-decoration: underline; color: #0a2b44; }
.myst p b{font-weight: 700;}
.didpay {width: 30%;  font-size: 14px;}
.didpay a { display: block; padding: 10px 15px; background-color: #111111; font-family: Montserrat;
 color:#ffffff; text-align: center; border-radius: 10px;}
        /* активное состояние — открыто */
        .faq-item.open .faq-answer {
            max-height: 380px;   /* достаточно для обычных ответов */
            padding-bottom: 0;
        }
        .faq-item.open .answer-content {
            padding-bottom: 1.3rem;
            padding-top: 0.2rem;
        }

        /* при открытом состоянии меняем иконку на "минус" */
        .faq-item.open .icon {
            background: #1e6af5;
            color: white;
        }

        /* адаптив */
        @media (max-width: 580px) {
            .project-list {
  display: grid;
  grid-template-columns: 1fr !important;
            }
            .project-card {width: 100% !important;}
            .myst {width: 100%; font-size: 14px; margin-bottom: 10px;}
            .didpay {width: 100%; font-size: 14px;}
            .faq-btn {
                padding: 1rem 1.2rem;
                font-size: 0.96rem;
            }
            .answer-content {
                font-size: 0.9rem;
            }
            .icon {
                width: 26px;
                height: 26px;
                font-size: 20px;
            }
        }

        /* легкая анимация появления */
        .faq-container {
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(6px);}
            to { opacity: 1; transform: translateY(0);}
        }

        /* код внутри ответов — опционально */
        .answer-content code {
            background: #f0f4fa;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.85rem;
            color: #1e4663;
        }  .breadcrumbs {
            margin: 0px 0 10px;
            font-size: 0.85rem;
            color: #5b6e8c;
        }
        .breadcrumbs a {
            color: var(--primary-blue);
            text-decoration: none;
        }
        .breadcrumbs a:hover {
            text-decoration: underline;
        }
        .breadcrumbs span {
            margin: 0 8px;
        }
/* Полностью перекрываем сайт — никакого просвечивания */
#mobileMenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    background: #000000 !important;  /* глухой чёрный фон */
    z-index: 9999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
    overflow-y: auto !important;
}

#mobileMenu.menu-open {
    transform: translateX(0) !important;
}

/* Внутренний контейнер */
#mobileMenu > div {
    background: transparent !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 60px 24px 40px !important;
    gap: 24px !important;
}

/* Крестик закрытия */
.menu-close-btn {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    transition: all 0.2s !important;
}

.menu-close-btn:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: scale(1.05) !important;
}

.menu-close-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: white !important;
    stroke-width: 2 !important;
}

/* Ссылки */
#mobileMenu a {
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    width: 100% !important;
    text-align: center !important;
    max-width: 280px !important;
}

#mobileMenu a:last-of-type {
    border-bottom: none !important;
}

/* Кнопки */
#mobileMenu button {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 40px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

#mobileMenu button:hover {
    background: rgba(255,255,255,0.25) !important;
}

/* Блок с кнопками */
#mobileMenu .pt-6 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin-top: 20px !important;
}

/* Иконка крестика — белая, чёткая */
.menu-close-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: white !important;
    stroke-width: 2.5 !important;
    fill: none !important;
}

/* Альтернативный вариант — если SVG не работает, просто текст "✕" */
.menu-close-btn span {
    color: white !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

    .btner {
            width: 100%;
            background: #1e40af;
            color: white;
            border: none;font-family: Montserrat !important;
            padding: 10px 14px;
            font-size: 1rem;  
            font-weight: 500;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 6px;
        }

        .btner:hover {
            background: #1e3a8a;
        }
        main {min-height: 700px;}
        /* кастомные улучшения */
        .hero-bg {
            background: radial-gradient(ellipse at 20% 30%, #fef9e8 0%, #ffffff 90%); position: relative;
        }
           .hero-bg:after {content: ""; position: absolute; z-index: 0;  top: 0; width: 100%; height: 100%; opacity: 0.3;}
        .card-hover {
            transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
        }
        .cacro {position: relative; z-index: 10;}
        .card-hover:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.1);
        }
        .table-modern th {
            font-weight: 600;
            letter-spacing: -0.01em;
            background-color: #f9fafb;
        }
        .table-modern td, .table-modern th {
            padding: 1rem 1rem;
            border-bottom: 1px solid #edf2f7;
        }
        .table-wrapper {
            overflow-x: auto;
            border-radius: 1.25rem;
        }
        @media (max-width: 640px) {
            .table-modern td, .table-modern th {
                padding: 0.75rem 0.75rem;
                font-size: 0.8rem;
            }
        }
        html {
            scroll-padding-top: 90px;
        }
        /* мобильное меню анимация */
        .mobile-menu-open {
            overflow: hidden;
        }
        .menu-transition {
            transition: transform 0.3s ease-in-out, opacity 0.2s;
        }

        
.editor-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Основной тулбар */
.toolbar {
    background: white;
    padding: 12px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Второстепенный тулбар */
.toolbar-secondary {
    background: #f8f9fa;
    padding: 10px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Кнопки */
.btn, .btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: inherit;
}

.btn {
    background: #f0f0f0;
    color: #333;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
}

.btn-secondary {
    background: white;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f0f0f0;
    border-color: #667eea;
}

.btn-secondary.danger:hover {
    background: #fee;
    border-color: #f44336;
    color: #f44336;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #667eea;
    color: white;
    font-weight: 500;
}

.btn-small:hover {
    background: #5a67d8;
}

/* Селекты и инпуты */
.template-select, .title-input, .font-select, .size-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.template-select:focus, .title-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.title-input {
    min-width: 250px;
}

/* Основная область */
.editor-area {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Сайдбар */
.sidebar {
    width: 300px;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-count {
    font-size: 12px;
    color: #667eea;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 20px;
}

.blocks-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.blocks-list-item {
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.blocks-list-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.blocks-list-item.active {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #667eea;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 20px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

.tip {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Канвас для редактирования */
.canvas {
    flex: 1;
    overflow-y: auto;
    background: #f5f7fa;
    padding: 30px;
}

.editable-blocks {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 600px;
    padding: 20px;
}

/* Блоки */
.block {
    position: relative;
    margin-bottom: 24px;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: move;
    background: white;
}

.block:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.block.selected {
    border-color: #4CAF50;
    background: #f0fff4;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Элементы управления блоком */
.block-controls {
    position: absolute;
    top: -14px;
    right: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
    z-index: 10;
    gap: 4px;
    padding: 4px;
}

.block:hover .block-controls {
    display: flex;
}

.block-controls button {
    padding: 6px 10px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.block-controls button:hover {
    background: #667eea;
    color: white;
}

/* Редактируемый текст */
.text-editable {
    min-height: 60px;
    outline: none;
    cursor: text;
    line-height: 1.6;
}

.text-editable:focus {
    background: #fffef7;
}

/* Изображения */
.block-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.block-image:hover {
    opacity: 0.9;
}

/* Плейсхолдер */
.placeholder {
    text-align: center;
    padding: 60px 20px;
}

.placeholder-content {
    max-width: 400px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.placeholder h3 {
    color: #333;
    margin-bottom: 10px;
}

.placeholder p {
    color: #999;
}

/* Инфо текст */
.info-text {
    font-size: 12px;
    color: #888;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .toolbar, .toolbar-secondary {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-group {
        justify-content: center;
    }
}

/* Модальное окно предпросмотра */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    margin: 0;
}

.modal-close {
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

.preview-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    padding: 15px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Ползунок ширины */
.width-value {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    min-width: 45px;
}

input[type="range"] {
    -webkit-appearance: none;
    background: #e0e0e0;
    height: 4px;
    border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
}

.btn-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}/* Обертка блока с ресайзером */
.block-wrapper {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.block {
    position: relative;
    background: white;
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.block.selected {
    border-color: #4CAF50;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.2);
}

/* Ресайзер - за который тянем мышкой */
.resizer {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background: #667eea;
    border-radius: 20px;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.block-wrapper:hover .resizer {
    opacity: 1;
}

.resizer:hover {
    background: #4CAF50;
    transform: translateY(-50%) scale(1.05);
}

/* Стили для редактирования текста */
.text-editable {
    outline: none;
    cursor: text;
    line-height: 1.6;
}

.text-editable:focus {
    background: #fffef7;
}

.text-editable [contenteditable="true"]:focus {
    outline: none;
}

/* Убираем лишние отступы в редактируемых блоках */
.text-editable p {
    margin: 0 0 1em 0;
}

.text-editable p:last-child {
    margin-bottom: 0;
}

.text-editable h1, 
.text-editable h2, 
.text-editable h3, 
.text-editable h4 {
    margin: 0 0 0.5em 0;
}.block-wrapper {
    position: relative;
}

.resizer {
    width: 14px;
    height: 14px;
    background: #667eea;
    position: absolute;
    right: 4px;
    bottom: 4px;
    cursor: nwse-resize;
    border-radius: 3px;
}

.text-editable {
    outline: none;
    min-height: 50px;
    cursor: text;
}
.menu-close-btn { background: unset !important; border: 0px !important;}
#burgerBtn {padding: 0 !important; margin: 0 !important;}