* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #1e2a3e;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ШАПКА ========== */
header {
    background-color: #0b2b3b;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
}

.logo p {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #cddfe7;
}

.nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.nav ul li a:hover {
    color: #f0b27a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-header a {
    color: #f0b27a;
    text-decoration: none;
    font-weight: bold;
}

.account-btn {
    background-color: transparent;
    border: 1.5px solid #e67e22;
    color: #e67e22;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.account-btn:hover {
    background-color: #e67e22;
    color: white;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
    transform: scale(1.02);
}

.btn-submit {
    background: #e67e22;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background: #d35400;
}

.btn-cancel {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-cancel:hover {
    background: #dee2e6;
}

.btn-save {
    background: #e67e22;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-save:hover {
    background: #d35400;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* ========== СЕКЦИИ ========== */
section {
    padding: 70px 0;
    border-bottom: 1px solid #eef2f5;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #0b2b3b;
}

/* ========== УСЛУГИ ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: #f9fbfd;
    border-radius: 20px;
    padding: 25px;
    transition: 0.2s;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
    border-color: #e67e2240;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0b2b3b;
}

/* ========== ПРОЕКТЫ ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: 0.2s;
    border: 1px solid #eef2f5;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-more {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}

/* ========== КОМАНДА ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-card {
    background: #f9fbfd;
    border-radius: 20px;
    padding: 25px 20px;
    transition: 0.3s;
    border: 1px solid #eef2f5;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #e67e2240;
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e67e22;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e67e22;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

.team-badge {
    display: inline-block;
    background: #eef2f5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #e67e22;
    margin-top: 10px;
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0b2b3b;
}

.team-card p {
    color: #e67e22;
    font-weight: 500;
    font-size: 0.9rem;
}

.team-contacts {
    margin-top: 12px;
    font-size: 0.8rem;
}

.team-contacts a {
    color: #7f8c8d;
    text-decoration: none;
    transition: 0.2s;
}

.team-contacts a:hover {
    color: #e67e22;
}

/* Модальное окно для команды */
.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.team-modal.active {
    display: flex;
}

.team-modal-content {
    background: white;
    padding: 35px;
    border-radius: 30px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: 0.2s;
}

.team-modal-close:hover {
    color: #e67e22;
}

.team-modal-content::-webkit-scrollbar {
    width: 8px;
}

.team-modal-content::-webkit-scrollbar-track {
    background: #eef2f5;
    border-radius: 10px;
}

.team-modal-content::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 10px;
}

/* ========== ИСТОРИЯ (ТАЙМЛАЙН) ========== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #e67e22, #0b2b3b, #e67e22);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #e67e22;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e67e22;
    z-index: 2;
}

.timeline-date {
    position: absolute;
    top: -5px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #e67e22;
    background: white;
    padding: 0 10px;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 30px);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eef2f5;
    transition: 0.3s;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #e67e2240;
}

.timeline-content h3 {
    color: #0b2b3b;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #4a5b6e;
    line-height: 1.5;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}

/* Блок достижений */
.achievements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    padding: 40px 20px;
    background: #0b2b3b;
    border-radius: 30px;
}

.achievement-item {
    text-align: center;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 8px;
}

.achievement-text {
    color: #cddfe7;
    font-size: 0.9rem;
}

/* ========== КОНТАКТЫ ========== */
.contacts-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.contact-form {
    flex: 1;
    background: #f9fbfd;
    padding: 30px;
    border-radius: 30px;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce4ec;
    border-radius: 30px;
    font-family: inherit;
    font-size: 15px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #e67e22;
}

textarea {
    border-radius: 20px;
    resize: vertical;
}

.map {
    margin-top: 40px;
    border-radius: 30px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ========== ПОДВАЛ ========== */
footer {
    background-color: #0b2b3b;
    color: #cddfe7;
    padding: 30px 0;
    text-align: center;
}

/* ========== СТРАНИЦА ВХОДА (LOGIN) ========== */
.login-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5f9;
    padding: 40px 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.login-box h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0b2b3b;
}

.login-box input {
    width: 100%;
    padding: 14px 18px;
    margin: 10px 0;
    border: 1px solid #dce4ec;
    border-radius: 30px;
    font-size: 16px;
}

.login-box input:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.error-message {
    background: #fee;
    color: #e74c3c;
    padding: 12px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.register-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef2f5;
}

.register-link a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
}

.back-home:hover {
    color: #e67e22;
}

/* ========== ЛИЧНЫЙ КАБИНЕТ (DASHBOARD) ========== */
.dashboard-page {
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-card {
    background: #0b2b3b;
    color: white;
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-card h1 {
    font-size: 1.8rem;
}

.logout-link {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.2s;
}

.logout-link:hover {
    background: #e67e22;
}

.form-card, .leads-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-card h2, .leads-card h2 {
    color: #0b2b3b;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid .full-width {
    grid-column: span 2;
}

.form-card input, .form-card textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #dce4ec;
    border-radius: 30px;
    font-family: inherit;
    font-size: 15px;
}

.form-card textarea {
    border-radius: 20px;
}

.success {
    background: #d5f4e6;
    color: #27ae60;
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.error {
    background: #fee;
    color: #e74c3c;
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* ========== КАРТОЧКИ ЗАЯВОК ========== */
.leads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.lead-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    border: 1px solid #eef2f5;
}

.lead-card:hover {
    transform: translateY(-3px);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #eef2f5;
    background: #fafcfd;
}

.card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.lead-number {
    font-size: 0.75rem;
    color: #7f8c8d;
    background: #eef2f5;
    padding: 2px 8px;
    border-radius: 20px;
}

.card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0b2b3b;
}

.service-type {
    display: inline-block;
    background: #eef2f5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #4a5b6e;
}

.card-body {
    padding: 15px 20px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.status-new { background: #e9ecef; color: #6c757d; }
.status-work { background: #cce5ff; color: #004085; }
.status-approval { background: #fff3cd; color: #856404; }
.status-ready { background: #d4edda; color: #155724; }
.status-completed { background: #d1fae5; color: #065f46; }

.dates-mini {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.date-mini { color: #4a5b6e; }
.date-mini strong { color: #0b2b3b; }

/* Вкладки */
.card-tabs {
    display: flex;
    border-top: 1px solid #eef2f5;
    background: #fafcfd;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: #7f8c8d;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #e67e22;
    border-bottom-color: #e67e22;
    background: white;
}

.tab-btn:hover:not(.active) {
    color: #e67e22;
    background: #fef5e8;
}

.tab-content {
    padding: 15px 20px;
    background: white;
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.85rem;
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.detail-row {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}

.detail-label {
    width: 140px;
    font-weight: 600;
    color: #4a5b6e;
}

.detail-value {
    flex: 1;
    color: #1e2a3e;
}

.history-item {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eef2f5;
}

.history-date {
    font-size: 0.7rem;
    color: #7f8c8d;
    margin-bottom: 3px;
}

.history-text { font-size: 0.85rem; }

.history-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-left: 8px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f5;
}

.doc-info { flex: 1; }
.doc-name { font-weight: 500; margin-bottom: 3px; }
.doc-meta { font-size: 0.7rem; color: #7f8c8d; }

.doc-download {
    background: #e67e22;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
}

.doc-download:hover { background: #d35400; }

.empty-tab {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

.empty-leads {
    text-align: center;
    padding: 60px 20px;
    background: #f9fbfd;
    border-radius: 30px;
    color: #7f8c8d;
}

/* ========== СВОРАЧИВАЕМЫЙ БЛОК ФОРМЫ ========== */
.new-lead-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    margin-bottom: 30px;
    border: 2px solid #e67e22;
    overflow: hidden;
}

.new-lead-header {
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f5;
}

.new-lead-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #0b2b3b;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: #e67e22;
}

.new-lead-block.open .toggle-icon {
    transform: rotate(180deg);
}

.new-lead-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.new-lead-block.open .new-lead-body {
    max-height: 800px;
    padding: 25px;
}

/* ========== СТРАНИЦА ПРОФИЛЯ ========== */
.profile-page {
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.profile-card h2 {
    color: #0b2b3b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delete-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.code-input {
    font-family: monospace;
    letter-spacing: 2px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #e67e22;
    text-decoration: none;
}

hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #eef2f5;
}

/* ========== РЕГИСТРАЦИЯ ========== */
.register-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5f9;
    padding: 40px 20px;
}

.register-box {
    background: white;
    padding: 40px;
    border-radius: 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.register-box h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0b2b3b;
}

.register-box > p {
    color: #666;
    margin-bottom: 25px;
}

.register-box input {
    width: 100%;
    padding: 14px 18px;
    margin: 10px 0;
    border: 1px solid #dce4ec;
    border-radius: 30px;
    font-size: 16px;
    font-family: inherit;
    transition: 0.2s;
}

.register-box input:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.register-box .btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
}

.login-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef2f5;
}

.login-link a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 800px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
    }
    .nav ul {
        justify-content: center;
    }
    .header-actions {
        justify-content: center;
        width: 100%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .leads-grid {
        grid-template-columns: 1fr;
    }
    .detail-row {
        flex-direction: column;
    }
    .detail-label {
        width: 100%;
        margin-bottom: 4px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .full-width {
        grid-column: span 1;
    }
    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        justify-content: flex-start;
        padding-left: 45px;
    }
    .timeline-dot {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        right: auto;
    }
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .achievements {
        gap: 20px;
    }
    .achievement-number {
        font-size: 1.8rem;
    }
}

/* Супер компактная шапка на мобильных */
@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }
    
    .header-flex {
        gap: 5px;
    }
    
    .logo h1 {
        font-size: 14px;
        margin: 0;
    }
    
    .logo p {
        display: none;
    }
    
    .nav ul {
        gap: 6px;
    }
    
    .nav ul li a {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .contact-header {
        display: none;
    }
    
    .account-btn {
        font-size: 10px;
        padding: 2px 6px;
    }
}

.status-doc {
    background: #e3f2fd;
    color: #0b5e7e;
}
 .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: #2d6a4f;
            margin: 16px auto 0;
            border-radius: 4px;
        }

        /* Сетка проектов */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 32px;
            margin-top: 20px;
        }

        /* Карточка проекта с картинкой */
        .project-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
        }

        /* Блок с картинкой */
        .project-image {
            width: 100%;
            height: 220px;
            overflow: hidden;
            background-color: #e2e8f0;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
            display: block;
        }

        .project-card:hover .project-image img {
            transform: scale(1.05);
        }

        /* Информация о проекте */
        .project-info {
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex: 1;
        }

        .project-info h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.4;
        }

        .project-info p {
            color: #475569;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        .project-more {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #2d6a4f;
            font-weight: 600;
            text-decoration: none;
            margin-top: 8px;
            transition: gap 0.2s, color 0.2s;
            font-size: 0.9rem;
        }

        .project-more:hover {
            gap: 10px;
            color: #1b4d3e;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            .projects-grid {
                gap: 20px;
            }
            .project-info h3 {
                font-size: 1.2rem;
            }
        }