:root {
    --bg-color: #FAFAFA;
    --text-primary: #36454F;
    --text-secondary: #6B7280;
    --accent: #A16207;
    --border: #E5E7EB;
    --green: #4A5D3A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 72px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Шапка */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--bg-color);
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 60px; width: auto; object-fit: contain; display: block; }
.logo-text-block { display: flex; flex-direction: column; }
.logo-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--green);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    display: block;
}

/* Бургер */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
    width: 100%; height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* Боковое меню */
.nav-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 80px 32px 32px;
    overflow-y: auto;
}
.nav-menu.active { right: 0; }
.nav-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.nav-close:hover { background: #F3F4F6; }
.nav-list { list-style: none; }
.nav-list li {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}
.nav-list li:last-child { border-bottom: none; }
.nav-menu.active .nav-list li { opacity: 1; transform: translateX(0); }
.nav-menu.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu.active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
.nav-menu.active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
.nav-menu.active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
.nav-menu.active .nav-list li:nth-child(5) { transition-delay: 0.3s; }
.nav-link {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 16px 0;
}
.nav-link:hover { color: var(--accent); padding-left: 12px; }
.menu-contacts {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 0;
}
.menu-contact-link:hover { color: var(--accent); padding-left: 8px; }
.menu-contact-link span { white-space: nowrap; }
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    backdrop-filter: blur(3px);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* Главный экран */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px 24px;
    max-width: 900px;
    width: 100%;
    margin-top: -8vh;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 32px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    line-height: 1.6;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(74, 93, 58, 0.25);
}
.btn:hover {
    background: #3D4F2F;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 93, 58, 0.35);
}

/* Проекты */
.projects { padding: 40px 0 60px; background: white; }
.category-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
    margin-bottom: 24px;
}
.category-chips::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 24px;
    border: 1.5px solid var(--green);
    border-radius: 999px;
    background: transparent;
    color: var(--green);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.chip:hover { background: rgba(74, 93, 58, 0.08); transform: translateY(-1px); }
.chip.active {
    background: var(--green);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(74, 93, 58, 0.25);
}
.projects-group { margin-bottom: 40px; }
.projects-group:last-child { margin-bottom: 0; }
.projects-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: -0.01em;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}
.project-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-color);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.project-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.project-info { padding: 24px; }
.project-info h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.project-info p { color: var(--text-secondary); font-size: 0.95rem; }

/* Контакты */
.contacts { padding: 60px 0; background: #F5F2E9; text-align: center; }
.contacts-label {
    color: #2D8B5E;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-family: "Montserrat", sans-serif;
}
.contacts-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #5D4037;
    margin: 16px 0;
    line-height: 1.3;
}
.contacts-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 40px; }
.contacts-grid {
    display: grid;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
.contact-item { display: flex; align-items: center; gap: 20px; }
.contact-icon-box {
    width: 56px; height: 56px;
    background: #2D8B5E;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.contact-label { color: var(--text-secondary); font-size: 0.95rem; display: block; margin-bottom: 2px; }
.contact-value {
    color: #5D4037;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    text-decoration: none;
    transition: color 0.2s ease;
}
a.contact-value:hover { color: #2D8B5E; }

/* Подвал */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
footer a { color: var(--text-primary); text-decoration: none; }

@media (max-width: 768px) {
    .nav-menu { width: 280px; }
}

/* Ещё компактнее + без названий разделов */
.projects { padding: 24px 0 48px; }
.category-chips { margin-bottom: 16px; }
.projects-group { margin-bottom: 24px; }
.projects-group-title { display: none; }

/* Полная карточка проекта (модалка) */
.project-card { cursor: pointer; }
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
    background: #fff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.pm-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}
.pm-body { padding: 24px; }
.pm-section {
    display: inline-block;
    background: #F0F7F1;
    color: #4A5D3A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.pm-title { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.pm-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.pm-params {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.pm-params:empty { display: none; }
.pm-param {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
}
.pm-param span { color: var(--text-secondary); }
.pm-param span small { font-size: 0.8em; }
.pm-param b { color: var(--text-primary); font-weight: 600; text-align: left; }

/* Галерея в полной карточке */
.pm-gallery { position: relative; }
.pm-image { height: 300px; border-radius: 20px 20px 0 0; }
.pm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5D4037;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.pm-arrow:hover { background: #fff; }
.pm-prev { left: 12px; }
.pm-next { right: 12px; }
.pm-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}
.pm-thumbs {
    display: flex;
    gap: 10px;
    padding: 12px 24px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.pm-thumbs::-webkit-scrollbar { display: none; }
.pm-thumb {
    width: 76px; height: 58px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    flex-shrink: 0;
    transition: all 0.2s;
}
.pm-thumb.active { border-color: #4A5D3A; opacity: 1; }

/* Название раздела и заголовок как на референсе */
.pm-section {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: transparent;
    color: #2D8B5E;
    padding: 0;
    font-size: 0.8rem;
}
.pm-title { color: #5D4037; font-size: 1.6rem; }

/* Аккордеон характеристик */
.pm-accordion-head {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2D8B5E;
    padding: 16px 0;
    cursor: pointer;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
.pm-accordion-head svg { transition: transform 0.3s; }
.pm-accordion.open .pm-accordion-head svg { transform: rotate(180deg); }
.pm-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.pm-accordion.open .pm-accordion-body { max-height: 1200px; }
.pm-params { border-top: none; padding: 4px 0 12px; }

/* Кнопка "Обсудить проект" */
.pm-discuss {
    display: block;
    margin: 20px auto 0;
    padding: 14px 36px;
    border: 1.5px solid #5D4037;
    border-radius: 12px;
    color: #5D4037;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
.pm-discuss:hover { background: #5D4037; color: #fff; }

/* Bottom Sheet: шторка снизу */
    align-items: flex-end;
    padding: 0;
}
    max-width: 640px;
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    margin: 0 auto;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}
.pm-handle {
    width: 44px;
    height: 4px;
    background: #D1D5DB;
    border-radius: 2px;
    margin: 10px auto 0;
}
.pm-image { border-radius: 0; height: 280px; }
.pm-thumbs { padding: 12px 20px 0; }
.pm-body { padding: 20px 20px 28px; }

/* Слайдер: точки вместо стрелок */
.pm-arrow { display: none; }
.pm-counter { display: none !important; }
.pm-handle { display: none; }
.pm-image { border-radius: 24px 24px 0 0; }
.pm-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.pm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
}
.pm-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* Горизонтальная лента проектов */
.projects-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}
.projects-grid::-webkit-scrollbar { display: none; }
.project-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
}
@media (min-width: 768px) {
    .project-card { flex: 0 0 320px; }
}

/* Лента проектов: все группы горизонтально */
.category-chips {
    position: relative;
    z-index: 5;
    margin-bottom: 16px;
}
.projects-group-title { display: none; }
.projects-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-top: 0;
}
.project-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
}

/* ===== iOS MINIMALISM ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    background: #F2F2F7;
    color: #1C1C1E;
}

/* Шапка как навбар iOS: полупрозрачная с блюром */
header {
    background: rgba(249, 249, 249, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.29);
}
.logo-title { font-weight: 700; letter-spacing: 0.01em; }

/* Чипы как iOS-фильтр: без рамок */
.chip {
    border: none;
    background: rgba(120, 120, 128, 0.12);
    color: #1C1C1E;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
}
.chip:hover { background: rgba(120, 120, 128, 0.2); transform: none; }
.chip.active { background: #4A5D3A; color: #fff; box-shadow: none; }

/* Лента проектов на сером фоне */
.projects { background: #F2F2F7; }
.project-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.project-card:hover { transform: none; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.project-info h3 { font-weight: 600; color: #1C1C1E; font-size: 1.1rem; }
.project-info p { color: #8E8E93; font-size: 0.9rem; }

/* Шторка в стиле iOS */
.pm-title { color: #1C1C1E; font-weight: 700; }
.pm-section {
    color: #4A5D3A;
    background: rgba(74, 93, 58, 0.1);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
}
.pm-desc { color: #8E8E93; }
.pm-accordion-head { color: #4A5D3A; border-top: 0.5px solid rgba(60, 60, 67, 0.29); }
.pm-param { border-bottom: 0.5px solid rgba(60, 60, 67, 0.12); padding: 10px 0; }
.pm-param span { color: #8E8E93; }
.pm-param b { color: #1C1C1E; font-weight: 500; }
.pm-discuss {
    border: none;
    background: rgba(74, 93, 58, 0.12);
    color: #4A5D3A;
    border-radius: 12px;
    font-weight: 600;
}
.pm-discuss:hover { background: rgba(74, 93, 58, 0.2); color: #4A5D3A; }

/* Контакты как группированный список iOS */
.contacts { background: #F2F2F7; }
.contacts-label { color: #4A5D3A; }
.contacts-title { color: #1C1C1E; }
.contacts-grid {
    background: #fff;
    border-radius: 16px;
    padding: 4px 16px;
    gap: 0;
    max-width: 560px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
}
.contact-item {
    padding: 14px 0;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.29);
    gap: 14px;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon-box { width: 32px; height: 32px; border-radius: 8px; background: #4A5D3A; }
.contact-icon-box svg { width: 16px; height: 16px; }
.contact-label { font-size: 0.8rem; color: #8E8E93; }
.contact-value { color: #1C1C1E; font-weight: 500; font-size: 1rem; }
a.contact-value:hover { color: #4A5D3A; }

/* Подвал */
footer {
    border-top: 0.5px solid rgba(60, 60, 67, 0.29);
    background: #F2F2F7;
    color: #8E8E93;
}

/* Боковое меню с блюром */
.nav-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-link { color: #1C1C1E; font-weight: 500; }
.nav-list li { border-bottom: 0.5px solid rgba(60, 60, 67, 0.29); }
.menu-contact-link { color: #1C1C1E; font-weight: 500; }

/* Кнопки */
.btn { background: #4A5D3A; border-radius: 14px; box-shadow: none; font-weight: 600; }
.btn:hover { background: #3D4F2F; transform: none; }

/* Карточки как на референсе: фото + стеклянная панель */
.project-card {
    position: relative;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.project-card:hover { transform: none; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1); }
.pc-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 14px 12px;
    text-align: center;
}
.pc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.pc-desc {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.pc-params {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 0.5px solid rgba(60, 60, 67, 0.2);
    padding-top: 10px;
}
.pc-param {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3A3A3C;
    background: rgba(120, 120, 128, 0.12);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.pc-param svg { width: 13px; height: 13px; color: #8E8E93; flex-shrink: 0; }

/* Карточки как на референсе: фото + стеклянная панель */
.project-card {
    position: relative;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.project-card:hover { transform: none; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1); }
.pc-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 14px 12px;
    text-align: center;
}
.pc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.pc-desc {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.pc-params {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 0.5px solid rgba(60, 60, 67, 0.2);
    padding-top: 10px;
}
.pc-param {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3A3A3C;
    background: rgba(120, 120, 128, 0.12);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.pc-param svg { width: 13px; height: 13px; color: #8E8E93; flex-shrink: 0; }

/* Фото на всю карточку (перебивает старое правило height: 240px) */
.project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Карточки: компактный текст, описание по ширине */
.pc-overlay {
    text-align: left;
    padding: 14px 16px 12px;
}
.pc-title {
    font-size: 1.25rem;
    text-align: left;
    margin-bottom: 6px;
}
.pc-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    text-align: left;
    margin-bottom: 10px;
    color: #6B7280;
}
.pc-params { justify-content: flex-start; }
.pc-param {
    font-size: 0.72rem;
    padding: 3px 8px;
}
.pc-param svg { width: 12px; height: 12px; }

/* Карточка: фото целиком сверху, описание снизу */
.project-card {
    display: flex;
    flex-direction: column;
    height: auto;
}
.project-card img,
.project-card .pc-img {
    position: static;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}
.pc-overlay {
    position: static;
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0 0 24px 24px;
    padding: 14px 16px 16px;
}

/* Иконка "Поделиться" на карточке */
.project-card { position: relative; }
.pc-share {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1C1E;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}
.pc-share:hover { background: #FFFFFF; transform: scale(1.05); }
.pc-share svg { width: 16px; height: 16px; }
.pc-share.copied { background: #34C759; color: #fff; }
/* Кнопка "Поделиться" в шторке (перед крестиком) */
.pm-share {
    position: absolute;
    top: 16px;
    right: 56px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1C1E;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.2s;
}
.pm-share:hover { background: #FFFFFF; transform: scale(1.05); }
.pm-share.copied { background: #34C759; color: #fff; }
/* Плашка с названием на фото (слева сверху) */
.pc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1C1C1E;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.01em;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Выравнивание: единая сетка отступов, без горизонтальных смещений */
html, body { overflow-x: hidden; }
.hero { width: 100%; }
.projects-grid {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
}
.project-card {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 48px);
    max-width: 340px;
}
.category-chips { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }


/* Бейдж этажности в карточке */
.pc-floors { background: rgba(74, 93, 58, 0.12); color: #4A5D3A; }


/* Плашка названия на фото в шторке (как на главной) */
.pm-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1C1C1E;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.01em;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pm-title { display: none; }

/* Все нижние ярлыки одного цвета */
.pc-param.pc-floors {
    background: rgba(120, 120, 128, 0.12);
    color: #3A3A3C;
}
.pc-param.pc-floors svg { color: #8E8E93; }

/* ===== PREMIUM GLASS UPGRADE ===== */

/* 1+2. Плашки на фото: глубокое тёмное стекло, белый контрастный текст */
.pc-badge, .pm-badge, .pc-share, .pm-share {
    background: rgba(17, 24, 17, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}
.pc-badge, .pm-badge {
    font-weight: 600;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.pc-share.copied, .pm-share.copied { background: #34C759; border-color: rgba(255,255,255,0.3); }

/* 4. Панель описания: градиент сверху вниз + глубокое стекло */
.pc-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.80) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 0 20px rgba(255, 255, 255, 0.35);
}

/* 3. Типографика: веса, интервалы, межстрочный */
.pc-badge, .pm-badge, .pc-title { font-weight: 600; }
.pc-desc {
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.2px;
}
.pc-param {
    font-weight: 500;
    letter-spacing: 0.2px;
}
.pm-param span, .pm-param b { letter-spacing: 0.2px; }
.pm-desc { line-height: 1.45; letter-spacing: 0.2px; }

/* Кнопка закрытия в тёмном премиальном стекле */
    background: rgba(17, 24, 17, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}
    background: rgba(17, 24, 17, 0.7);
    color: #FFFFFF;
}

/* Компактные преимущества на главном экране */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
    width: 100%;
    max-width: 560px;
}
.hero-feature {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    background: rgba(17, 24, 17, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.hero-feature svg {
    width: 20px;
    height: 20px;
    color: #A3C585;
    flex-shrink: 0;
    margin-top: 2px;
}
.hero-feature b {
    display: block;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.hero-feature span {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    margin-top: 2px;
    line-height: 1.35;
    letter-spacing: 0.2px;
}
@media (max-width: 480px) {
    .hero-features { gap: 8px; }
    .hero-feature { padding: 10px; }
}
/* Преимущества в одну строку (горизонтальная прокрутка) */
.hero-features {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 4px;
}
.hero-features::-webkit-scrollbar { display: none; }
.hero-feature {
    flex: 0 0 auto;
    min-width: 210px;
}

/* ===== HERO ПО СПЕЦИФИКАЦИИ ===== */

/* 1. Логотип + слоган сверху, по центру, воздух 14px */
.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.hero-brand img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.hero-brand span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 2. Заголовок: 2 строки, 600, 27px, чистый белый с тенью */
.hero h1, .hero-content h1 {
    font-size: 27px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.25;
    max-width: 480px;
    margin: 18px auto 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    text-wrap: balance;
}

/* 3. Описание: 15.5px, 85%, 2–3 строки */
.hero p, .hero-content p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 440px;
    margin: 0 auto 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* 4. Кнопка: 100% ширины, 50px, стекло + белая обводка */
.hero .btn, .hero-content .btn {
    width: 100%;
    max-width: 440px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 2px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}
.hero .btn:hover, .hero-content .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: none;
}

/* 5. Преимущества: 2 ряда, иконка сверху, текст снизу, 120px */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 10px;
    margin-top: 24px;
}
.hero-feature {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 120px;
    padding: 13px;
    background: rgba(17, 24, 17, 0.55);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.hero-feature svg {
    margin: 0 0 10px 0;
    width: 22px;
    height: 22px;
}
/* Преимущества: вместить в ширину контейнера */
.hero-feature { min-width: 0; }
.hero-features {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}
.hero-feature b { font-size: 0.9rem; }
.hero-feature span { font-size: 0.72rem; }
/* ===== Услуги: одна строка после проектов ===== */
.services { padding: 40px 0 8px; background: #F2F2F7; }
.services-head { text-align: center; margin-bottom: 20px; }
.services-label {
    color: #4A5D3A;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.services-title { font-size: 1.6rem; font-weight: 700; color: #1C1C1E; margin: 8px 0 6px; }
.services-sub { color: #8E8E93; font-size: 0.95rem; }
.services-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}
.services-row::-webkit-scrollbar { display: none; }
.service-card {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: center;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(74, 93, 58, 0.12);
    color: #4A5D3A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: #1C1C1E; margin-bottom: 6px; }
.service-card p { font-size: 0.85rem; color: #8E8E93; line-height: 1.45; letter-spacing: 0.2px; }

/* О компании: белый фон, стиль как у услуг */
.about { padding: 40px 0 8px; background: #FFFFFF; }
/* Плитки преимуществ переехали в "О компании" — убираем дубль с hero */
.hero .hero-features { display: none; }

/* Общий фон — как у карточек (белый) */
body, .projects, .about, .services, #contacts { background: #FFFFFF; }
.project-card, .service-card { border: 1px solid rgba(0, 0, 0, 0.06); }

/* Фон темнее — карточки хорошо видны */
body, .projects, .about, .services, #contacts { background: #DDE1E6; }
.project-card, .service-card {
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* === Arcticwood: стили === */
section { padding-top: 30px !important; padding-bottom: 30px !important; }
h2, h3 { margin-bottom: 10px !important; }
p { margin-bottom: 8px !important; }
.about p, #about p, .services-sub { text-align: left !important; text-justify: inter-word; line-height: 1.5; }
strong { font-weight: 700 !important; }
.services-head { margin-bottom: 15px !important; }
.service-card { margin-bottom: 15px !important; }

/* === Максимальное уменьшение интервалов === */
section { padding-top: 20px !important; padding-bottom: 20px !important; }
.container { padding-top: 10px !important; padding-bottom: 10px !important; }
.services-head { margin-bottom: 10px !important; }
.services-title { margin-bottom: 8px !important; }
.services-sub { margin-bottom: 15px !important; }
.services-row { gap: 10px !important; margin-top: 10px !important; }
.service-card { margin-bottom: 10px !important; padding: 15px !important; }
h2 { margin-bottom: 8px !important; }
h3 { margin-bottom: 5px !important; }
p { margin-bottom: 5px !important; }

/* === Ещё меньше интервалов === */
section { padding-top: 10px !important; padding-bottom: 10px !important; }
.container { padding-top: 5px !important; padding-bottom: 5px !important; }
.services-head { margin-bottom: 5px !important; }
.services-row { gap: 8px !important; }
.service-card { padding: 10px !important; }

/* === Шапка всегда белая, без прозрачности === */
header, .header, .site-header, nav, .navbar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Убираем прозрачность у всех элементов шапки */
header *, .header *, .site-header *, nav *, .navbar * {
    background-color: transparent !important;
}

/* Возвращаем белый фон самой шапке */
header, .header, .site-header, nav, .navbar {
    background-color: #ffffff !important;
}

/* === Шапка всегда белая и непрозрачная === */
header {
    background-color: #ffffff !important;
    background: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important; /* Легкая тень для отделения от контента */
}
.projects-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Убираем лишние отступы у контейнера проектов */
#projects .container,
.projects .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Синхронизируем с другими секциями */
.service-card,
.about .service-card,
.projects .service-card {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* === Карточки проектов: 3 в ряд, без отступов у фото === */
.projects-row,
.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.project-card {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* Убираем отступы у изображения в карточке */
.project-card img,
.project-card .project-image,
.project-card .project-img {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Убираем внутренние отступы у карточки */
.project-card > div:first-child {
    padding: 0 !important;
    margin: 0 !important;
}

/* Адаптивность: на планшетах 2 в ряд, на мобильных 1 */
@media (max-width: 992px) {
    .projects-row,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .projects-row,
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === Горизонтальный слайдер карточек проектов === */
.projects-row,
.projects-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 15px !important;
    padding: 15px !important;
    margin: 0 !important;
}

/* Скрываем скроллбар */
.projects-row::-webkit-scrollbar,
.projects-grid::-webkit-scrollbar {
    display: none !important;
}

.projects-row,
.projects-grid {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Карточка проекта */
.project-card {
    flex: 0 0 calc(33.333% - 10px) !important;
    min-width: calc(33.333% - 10px) !important;
    max-width: calc(33.333% - 10px) !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* Убираем отступы у фото */
.project-card img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Адаптивность */
@media (max-width: 992px) {
    .project-card {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
}

@media (max-width: 576px) {
    .project-card {
        flex: 0 0 calc(95% - 10px) !important;
        min-width: calc(95% - 10px) !important;
        max-width: calc(95% - 10px) !important;
    }
}

/* === Секция контактов === */
.contacts {
    padding: 40px 0 !important;
    background: #f8f9fa !important;
}

.section-head {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.section-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    color: #4a6741 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

.section-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 10px !important;
}

.section-sub {
    font-size: 15px !important;
    color: #666 !important;
    margin-bottom: 0 !important;
}

/* Сетка контактов */
.contacts-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    align-items: start !important;
}

/* Контактная информация */
.contacts-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.contact-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    background: #4a6741 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

.contact-icon svg {
    width: 22px !important;
    height: 22px !important;
}

.contact-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.contact-label {
    font-size: 8px !important;
    color: #888 !important;
    font-weight: 500 !important;
}

.contact-value {
    font-size: 16px !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.contact-value:hover {
    color: #4a6741 !important;
}

/* Форма */
.contacts-form-wrapper {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

.contact-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.form-group {
    margin: 0 !important;
}

.form-input {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    background: #fafafa !important;
    color: #1a1a1a !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.form-input:focus {
    border-color: #4a6741 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1) !important;
}

.form-input::placeholder {
    color: #999 !important;
}

.form-textarea {
    resize: vertical !important;
    min-height: 100px !important;
}

.form-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 16px !important;
    background: #4a6741 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 5px !important;
}

.form-submit:hover {
    background: #3d5636 !important;
    transform: translateY(-1px) !important;
}

.form-submit:active {
    transform: translateY(0) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .contacts-form-wrapper {
        padding: 20px !important;
    }
}
.contacts { padding: 40px 0 !important; background: #f8f9fa !important; }
.section-head { text-align: center !important; margin-bottom: 30px !important; }
.section-label { display: block !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 2px !important; color: #4a6741 !important; text-transform: uppercase !important; margin-bottom: 10px !important; }
.section-title { font-size: 28px !important; font-weight: 700 !important; color: #1a1a1a !important; margin-bottom: 10px !important; }
.section-sub { font-size: 15px !important; color: #666 !important; }
.contacts-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 30px !important; align-items: start !important; }
.contacts-info { display: flex !important; flex-direction: column !important; gap: 20px !important; }
.contact-item { display: flex !important; align-items: center !important; gap: 15px !important; }
.contact-icon { font-size: 24px !important; width: 48px !important; height: 48px !important; background: #4a6741 !important; border-radius: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.contact-text { display: flex !important; flex-direction: column !important; gap: 3px !important; }
.contact-label { font-size: 8px !important; color: #888 !important; }
.contact-value { font-size: 16px !important; color: #1a1a1a !important; font-weight: 600 !important; text-decoration: none !important; }
.contacts-form-wrapper { background: #fff !important; border-radius: 20px !important; padding: 30px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; }
.contact-form { display: flex !important; flex-direction: column !important; gap: 15px !important; }
.form-input { width: 100% !important; padding: 14px 18px !important; border: 1.5px solid #e5e7eb !important; border-radius: 12px !important; font-size: 15px !important; background: #fafafa !important; color: #1a1a1a !important; outline: none !important; box-sizing: border-box !important; }
.form-input:focus { border-color: #4a6741 !important; background: #fff !important; }
.form-textarea { resize: vertical !important; min-height: 100px !important; }
.form-submit { width: 100% !important; padding: 16px !important; background: #4a6741 !important; color: #fff !important; border: none !important; border-radius: 12px !important; font-size: 16px !important; font-weight: 600 !important; cursor: pointer !important; }
.form-submit:hover { background: #3d5636 !important; }
@media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr !important; } }

/* === Компактная секция контактов === */
.contacts { padding: 0 !important; }
.section-head { margin-bottom: 15px !important; }
.section-title { font-size: 22px !important; margin-bottom: 5px !important; }
.section-sub { font-size: 8px !important; }
.contacts-grid { gap: 20px !important; }
.contacts-info { gap: 12px !important; }
.contact-icon { width: 36px !important; height: 36px !important; min-width: 36px !important; border-radius: 8px !important; }
.contact-icon svg { width: 18px !important; height: 18px !important; }
.contact-label { font-size: 11px !important; }
.contact-value { font-size: 14px !important; }
.contacts-form-wrapper { padding: 20px !important; border-radius: 12px !important; }
.contact-form { gap: 10px !important; }
.form-input { padding: 10px 14px !important; font-size: 14px !important; border-radius: 8px !important; }
.form-textarea { min-height: 70px !important; }
.form-submit { padding: 12px !important; font-size: 14px !important; border-radius: 8px !important; }

/* === Ещё компактнее отступы в контактах === */
.contacts { padding: 10px 0 !important; }
.section-head { margin-bottom: 10px !important; }
.section-title { font-size: 20px !important; margin-bottom: 3px !important; }
.section-sub { font-size: 12px !important; margin-bottom: 0 !important; }
.contacts-grid { gap: 15px !important; }
.contacts-info { gap: 8px !important; }
.contact-item { padding: 6px 0 !important; border-bottom: none !important; }
.contact-icon { width: 32px !important; height: 32px !important; min-width: 32px !important; }
.contact-icon svg { width: 16px !important; height: 16px !important; }
.contact-label { font-size: 11px !important; }
.contact-value { font-size: 8px !important; }
.contacts-form-wrapper { padding: 15px !important; margin-top: 10px !important; }
.contact-form { gap: 8px !important; }
.form-input { padding: 10px 12px !important; font-size: 8px !important; }
.form-textarea { min-height: 60px !important; }
.form-submit { padding: 10px !important; font-size: 8px !important; }

/* === Унификация шрифтов по всему сайту === */
/* Заголовки секций */
h2, .section-title, .services-title, .hero h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Подзаголовки и метки */
h3, .service-card h3, .section-label, .services-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Основной текст описаний */
p, .services-sub, .section-sub, .service-card p, .pc-desc, .pm-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
}

/* Текст в карточках проектов */
.pc-title, .pm-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.pc-param, .pm-param {
    font-size: 8px !important;
    font-weight: 500 !important;
}

/* Логотип в шапке */
.logo-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #4A5D3A !important;
}


/* === Возврат шрифта слогана и выравнивание по ширине === */

/* Выравнивание по ширине для описания в секции "О компании" */
.about p, #about p, .services-sub, .section-sub {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* Уменьшаем слоган */

/* Слоган по ширине как название */

/* Слоган 7px */

/* Слоган 7px */


/* === Фикс шапки: название и слоган === */
header .logo-title {
    display: block !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #4A5D3A !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}


header .logo-text-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    overflow: hidden !important;
}


/* === Финальные стили шапки === */
header .logo-title {
    display: block !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #4A5D3A !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}


header .logo-text-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

header .logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Слоган уже — по ширине названия */

    font-size: 7px !important;
    letter-spacing: 3px !important;
    color: #4A5D3A !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    display: block !important;
    max-width: 200px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Слоган — помещается полностью, без обрезания */
    font-size: 7px !important;
    letter-spacing: 1px !important;
    color: #4A5D3A !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    display: block !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.2 !important;
}

/* Иконка меню — стильная, зелёная */


/* Слоган — ещё уже и меньше */
    font-size: 6px !important;
    letter-spacing: 0.5px !important;
    max-width: 160px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Слоган — полностью видимый */
    font-size: 5px !important;
    letter-spacing: 0.3px !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Слоган — по ширине названия */
    font-size: 5px !important;
    letter-spacing: 0.3px !important;
    color: #4A5D3A !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-align: justify !important;
    text-align-last: justify !important;
    text-justify: distribute-all-lines !important;
    overflow: visible !important;
    line-height: 1.2 !important;
}

/* Текст описания на главном изображении — белый */
.hero p, .hero-content p, .hero .description {
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}

/* Карточка контактов — в стиле остальных карточек сайта */
.contacts-info, .contacts-form-wrapper {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.contacts-info {
    gap: 10px !important;
}

.contact-item {
    gap: 10px !important;
    padding: 6px 0 !important;
}

.contact-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
}

.contact-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.contact-label {
    font-size: 12px !important;
    color: #8E8E93 !important;
}

.contact-value {
    font-size: 14px !important;
    color: #1C1C1E !important;
    font-weight: 600 !important;
}

.contacts-form-wrapper {
    padding: 16px !important;
    margin-top: 10px !important;
}

.contact-form {
    gap: 10px !important;
}

.form-input {
    padding: 12px 14px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: #F8F9FA !important;
}

.form-textarea {
    min-height: 70px !important;
}

.form-submit {
    padding: 14px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    background: #4A5D3A !important;
}

/* Подпись формы — по центру, в две строки */
.contacts .section-sub {
    text-align: center !important;
    max-width: 320px !important;
    margin: 0 auto 15px !important;
    line-height: 1.4 !important;
}

/* Подпись формы контактов — по центру, в две строки */
#contacts .section-sub,
.contacts .section-sub {
    text-align: center !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
}

/* Характеристики — такой же шрифт как значения */
.pm-section-title,
.project-details h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Значения параметров */
.pm-param-value,
.project-param-value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Названия параметров */
.pm-param-name,
.project-param-name {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #8E8E93 !important;
}

/* Характеристики проекта — единый шрифт */
.modal-title,
.pm-title-block h2,
.pm-title-block h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Названия параметров в шторке */
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #8E8E93 !important;
}

/* Значения параметров в шторке */
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Заголовок секции "Характеристики проекта" */
.pm-group-title,
.pm-section-title,
.pm-params-title,
.pm-body h3,
.pm-body h4,
.pm-body .pm-section-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
    margin-bottom: 10px !important;
}

/* Строка параметра */
.pm-param {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #E5E5EA !important;
    gap: 10px !important;
}

/* Название параметра (левая часть) */
.pm-param .pm-param-name,
.pm-param span:first-child,
.pm-param-name {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #8E8E93 !important;
    flex: 1 !important;
}

/* Значение параметра (правая часть) */
.pm-param .pm-param-value,
.pm-param span:last-child,
.pm-param-value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
    text-align: right !important;
}

/* Кнопка полного размера в правом нижнем углу */


/* Overlay для полного изображения */



/* Overlay для полного изображения */




/* Фикс заставки — текст всегда виден */
.hero, .hero-content {
    position: relative !important;
    z-index: 1 !important;
}

.hero h1, .hero-content h1,
.hero p, .hero-content p,
.hero .btn, .hero-content .btn {
    position: relative !important;
    z-index: 2 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero h1 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

.hero p {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5) !important;
}

/* === ГАРАНТИРОВАННЫЙ ФИКС ЗАСТАВКИ (HERO) === */
.hero {
    position: relative !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #2d3748 !important; /* Резервный цвет, если нет картинки */
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.55) !important; /* Затемнение для читаемости */
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    color: #FFFFFF !important;
    width: 100% !important;
}

.hero-content h1 {
    color: #FFFFFF !important;
    font-size: clamp(28px, 5vw, 48px) !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: clamp(16px, 2.5vw, 20px) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 25px !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-content .btn {
    background: #4A5D3A !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    z-index: 3 !important;
}
.hero-content .btn:hover {
    background: #3d5636 !important;
}

/* ========== СОВРЕМЕННЫЕ ЭФФЕКТЫ ========== */

/* Прелоадер */
#aw-preloader { position: fixed; inset: 0; background: #fff; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity .5s, visibility .5s; }
#aw-preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-logo svg { width: 64px; height: 64px; color: #4A5D3A; animation: awPulse 1.2s ease infinite; }
.preloader-text { margin-top: 12px; font-weight: 800; letter-spacing: 4px; color: #4A5D3A; font-size: 14px; font-family: 'Montserrat', sans-serif; }
.preloader-bar { width: 120px; height: 3px; background: #e5e7eb; border-radius: 2px; margin: 14px auto 0; overflow: hidden; }
.preloader-bar span { display: block; width: 40%; height: 100%; background: #4A5D3A; border-radius: 2px; animation: awLoad 1s ease infinite; }
@keyframes awLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes awPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* Прогресс-бар прокрутки */
#aw-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #4A5D3A, #7a9b6a); z-index: 99998; width: 0; }

/* Кнопка наверх */
#aw-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: #4A5D3A; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(74,93,58,.35); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 999; }
#aw-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#aw-top:hover { transform: translateY(-3px); background: #3d5636; }
#aw-top svg { width: 22px; height: 22px; }

/* Шапка при скролле */
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1) !important; }

/* Появление при скролле */
.aw-animate { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.aw-animate.aw-visible { opacity: 1; transform: translateY(0); }

/* Счётчики */
.aw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 25px; }
.aw-stat { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 16px 8px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.aw-stat-num { font-size: 26px; font-weight: 800; color: #4A5D3A; font-family: 'Montserrat', sans-serif; }
.aw-stat-plus { font-size: 18px; font-weight: 800; color: #4A5D3A; }
.aw-stat-label { display: block; font-size: 11px; color: #8E8E93; margin-top: 4px; line-height: 1.3; }
@media (max-width: 640px) { .aw-stats { grid-template-columns: repeat(2, 1fr); } }

/* Ripple */
.aw-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: awRipple .6s ease-out; pointer-events: none; }
@keyframes awRipple { to { transform: scale(2.5); opacity: 0; } }

/* Слова заголовка hero */
.aw-word { display: inline-block; opacity: 0; transform: translateY(24px); animation: awWordIn .6s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes awWordIn { to { opacity: 1; transform: translateY(0); } }

/* Активный пункт меню */
.nav-link.aw-active { color: #4A5D3A !important; font-weight: 700 !important; }

/* Убираем общую рамку вокруг контактов и формы */
.contacts-grid,
.contacts-card,
.contacts-wrapper,
.contacts-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Текст — по левому краю (убираем растяжку по ширине) */
.about p, #about p, .services-sub, .section-sub,
.contacts p, .service-card p, p {
    text-align: left !important;
    text-justify: auto !important;
}

/* Фон сайта — светлее */
body, .projects, .about, .services,
#contacts, .contacts {
    background: #F4F6F8 !important;
}

/* Кнопки — без белого обрамления */
.hero .btn, .hero-content .btn, .btn, .form-submit {
    border: none !important;
    outline: none !important;
}

/* Кнопка "Наверх" — всегда видна, крупнее */
#aw-top {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 52px !important;
    height: 52px !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 9999 !important;
    box-shadow: 0 6px 20px rgba(74,93,58,.4) !important;
}
#aw-top svg {
    width: 24px !important;
    height: 24px !important;
}

/* Кнопка наверх — появляется только после прокрутки */
#aw-top {
    opacity: 1 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
}
#aw-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Плоские карточки — без теней */
.service-card,
.project-card,
.chip,
.contacts-info,
.contacts-form-wrapper,
.contact-item,
.contacts-grid,
.hero-feature,
.pm-thumb,
.pm-thumbs img,
.project-card img,
.service-card .service-icon,
.contact-icon {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Лёгкая граница вместо тени, чтобы карточки не сливались с фоном */
.service-card,
.project-card,
.contacts-info,
.contacts-form-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

/* Контакты в меню — компактно, без больших интервалов */
.menu-contacts {
    gap: 4px !important;
    margin-top: 10px !important;
    padding: 0 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
}
.menu-contact-link {
    padding: 6px 0 !important;
    margin: 0 !important;
    gap: 12px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}
.menu-contact-link svg {
    width: 18px !important;
    height: 18px !important;
}

/* Контакты в меню — красивые ровные интервалы */
.menu-contacts {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 18px !important;
    padding: 16px 20px 24px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.menu-contact-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1C1C1E !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}

.menu-contact-link:active {
    background: rgba(74, 93, 58, 0.08) !important;
}

.menu-contact-link svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.menu-contact-link span {
    line-height: 1.3 !important;
}

/* Контакты в меню — по левой линии с пунктами меню */
.nav-menu .menu-contacts {
    padding: 16px 24px 24px 24px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.nav-menu .menu-contact-link {
    padding: 10px 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    text-align: left !important;
}

.nav-menu .menu-contact-link svg {
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}
✓ Контакты выровнены по левой линии с пунктами менюcat
✓ Контакты выровнены по левой линии с пунктами менюcat

/* Контакты — точно по левому краю, как пункты меню */
.nav-menu .menu-contacts {
    padding: 16px 0 24px 0 !important;
    margin: 0 !important;
}

.nav-menu .menu-contact-link {
    padding: 10px 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.nav-menu .menu-contact-link svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Футер — по центру */
footer .container,
footer p {
    text-align: center !important;
}

/* Значения в характеристиках проекта — шрифт немного крупнее */
.pm-param span:last-child,
.pm-param-value {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Значения характеристик — усиленное правило */
.pm-params .pm-param > *:last-child,
.pm-param > *:last-child,
.pm-param .pm-param-value,
.pm-param b, .pm-param strong {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1C1C1E !important;
}

/* Контакты в меню — строка значков */
.menu-contact-link span {
    display: none !important;
}
.menu-contact-link svg {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
}
.menu-contact-link:active {
    background: #e2e8dd !important;
}

/* Полный просмотр изображения — ширина 70% */

/* ПК-версия: контент 75% ширины экрана, по центру */


/* ПК: модальное окно по центру вместо шторки */


/* Ширина >= 1024px (ПК / полный просмотр): модальное окно по центру */

}

/* Ширина < 1024px (телефон/планшет): шторка снизу как раньше */
@media (max-width: 899px) {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(0) !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92vh !important;
        border-radius: 20px 20px 0 0 !important;
    }
}

/* Полная версия: все элементы 90% ширины */


/* Полная версия: правильное отображение всех элементов */


/* Полная версия (≥900px): модальное окно по центру */

        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 880px !important;
        max-width: 92vw !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35) !important;
        margin: 0 !important;
    }
}

/* Мобильная версия (<900px): шторка снизу */
@media (max-width: 899px) {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: translateY(0) !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92vh !important;
        border-radius: 20px 20px 0 0 !important;
    }
}

/* Полная версия: аккуратная раскладка */


/* Модалка поверх ВСЕХ элементов */
.project-modal {
    z-index: 99990 !important;
}
.project-modal-box {
    z-index: 99991 !important;
    background: #FFFFFF !important;
}

/* Шапка: 100% ширины, компактная высота */


/* Модалка поверх ВСЕХ элементов */
.project-modal {
    z-index: 99990 !important;
}
.project-modal-box {
    z-index: 99991 !important;
    background: #FFFFFF !important;
}

/* Шапка: 100% ширины, компактная высота */


/* Мобильная шторка: аккуратное появление и нормальный вид */
@media (max-width: 899px) {
    .project-modal {
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        background: rgba(0, 0, 0, 0.55) !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 99990 !important;
        display: block !important;
    }
    .project-modal.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .project-modal-box {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
        background: #FFFFFF !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
        transform: translateY(100%) !important;
        transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1) !important;
        margin: 0 !important;
    }
    .project-modal.active .project-modal-box {
        transform: translateY(0) !important;
    }
    /* Ручка-полоска сверху шторки */
    .project-modal-box::before {
        content: '';
        display: block;
        width: 44px;
        height: 4px;
        border-radius: 2px;
        background: #D1D5DB;
        margin: 10px auto 0;
    }
    .pm-image {
        border-radius: 12px !important;
        margin: 8px 12px 0 !important;
        height: 260px !important;
    }
    .project-modal-close {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        z-index: 5 !important;
    }
    .pm-body {
        padding: 16px 16px 24px !important;
    }
}

/* Мобильная шторка: фото без отступов, язычок на фото, крестик как кнопка "поделиться" */
@media (max-width: 899px) {
    /* Фото во всю ширину шторки, без отступов и скруглений */
    .pm-image {
        margin: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    /* Убираем старый язычок над фото */
    .project-modal-box::before {
        display: none !important;
    }

    /* Язычок-ручка ПОВЕРХ фото, по центру сверху */
    .pm-gallery::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 4px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.85);
        z-index: 6;
        pointer-events: none;
    }

    /* Крестик — круглый, в стиле кнопки "поделиться" */
    .project-modal-close {
        top: 12px !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: rgba(62, 70, 55, 0.75) !important;
        color: #FFFFFF !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        line-height: 1 !important;
        padding: 0 !important;
    }
}

/* Единый размер кнопок и одинаковая прозрачность (как у крестика) */
.project-modal-close,
.project-modal [class*="share"],
.project-modal [class*="fullscreen"]:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close),

/* Табличка с названием проекта — та же прозрачность */
.project-modal [class*="badge"],
.pc-badge, .pm-badge {
    background: rgba(62, 70, 55, 0.75) !important;
    color: #FFFFFF !important;
}

/* Кнопка полного экрана — чуть больше, но та же прозрачность */

/* Кнопки в шторке: выровнены, одинаковые отступы и прозрачность */
.project-modal-close,
.project-modal [class*="share"] {
    top: 12px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(62, 70, 55, 0.7) !important;
    color: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}
.project-modal-close {
    right: 12px !important;
    left: auto !important;
}
.project-modal [class*="share"] {
    right: 66px !important;
    left: auto !important;
}
.project-modal [class*="badge"],
.pc-badge, .pm-badge {
    top: 12px !important;
    left: 12px !important;
    background: rgba(62, 70, 55, 0.7) !important;
    color: #fff !important;
}

/* Заметная прозрачность + матовое стекло для всех кнопок и таблички */
.project-modal-close,
.project-modal [class*="share"],
.project-modal [class*="fullscreen"]:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close),
.project-modal [class*="badge"],
.pc-badge, .pm-badge {
    background: rgba(30, 38, 28, 0.45) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Ещё прозрачнее и без размытия */
.project-modal-close,
.project-modal [class*="share"],
.project-modal [class*="fullscreen"]:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close),
.project-modal [class*="badge"],
.pc-badge, .pm-badge {
    background: rgba(30, 38, 28, 0.3) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Прозрачность 60% */
.project-modal-close,
.project-modal [class*="share"],
.project-modal [class*="fullscreen"]:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close),
.project-modal [class*="badge"],
.pc-badge, .pm-badge {
    background: rgba(30, 38, 28, 0.6) !important;
}

/* Та же прозрачность 60% на карточках главной страницы */
.project-card [class*="badge"],
.project-card [class*="share"],
.pc-badge,
.project-card .share-btn {
    background: rgba(30, 38, 28, 0.6) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #FFFFFF !important;
}

/* Полный просмотр: фото на всю ширину экрана */

/* Запрет принудительного увеличения шрифтов браузером (Chrome Android) */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ЕДИНЫЙ размер логотипа и слогана во всех версиях и браузерах */
header .logo-img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
}
header .logo-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
    line-height: 1.4 !important;
    width: auto !important;
    white-space: nowrap !important;
    text-align: left !important;
}

/* Значения характеристик (в т.ч. Материалы) — по правой стороне */
.pm-param b {
    text-align: right !important;
}

/* Изображение в шторке: вписывается полностью, без обрезки */
.pm-image {
    object-fit: contain !important;
    height: auto !important;
    max-height: 60vh !important;
    background: #FFFFFF !important;
}

/* Админка: поля ввода не выезжают за пределы контейнера */
.aw-disabled form input, .aw-disabled form textarea, .aw-disabled form select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.aw-disabled form [class*="param"],
.aw-disabled form [class*="row"],
.aw-disabled form [class*="group"] {
    max-width: 100% !important;
    overflow: hidden;
}

/* Текст «О компании» — по центру во всех версиях */
.about .services-head p.services-sub,
.about p.services-sub,
p.services-sub {
    text-align: center !important;
}

/* Центр текста «О компании» — максимальная специфичность */
.about .container .services-head p.services-sub,
.about .services-head p.services-sub,
section.about p.services-sub {
    text-align: center !important;
}

/* Центр текста «О компании» — через ID (сильнее всех прошлых правил) */
#about .container .services-head p.services-sub,
#about .container > div:first-child p.services-sub,
#about p.services-sub,
#about p {
    text-align: center !important;
}

/* Карточки «О компании»: текст по левому краю (центр только у вступления) */
#about .services-row .service-card p,
#about .service-card p,
#about .container .services-row p {
    text-align: left !important;
}

/* Слоган: по левому краю, чуть крупнее, без растягивания слов */
    display: block !important;
    width: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
    word-spacing: 0 !important;
    white-space: nowrap !important;
    letter-spacing: 1px !important;
    font-size: 11px !important;
}

/* Слоган: финальное правило максимальной силы */
    display: block !important;
    width: auto !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    word-spacing: 0 !important;
    text-align: left !important;
    text-align-last: left !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
}

/* Слоган невидим до подгонки размера (только при работающем JS) */

/* Фиксированный слоган: стабильный размер, без скачков */
    font-size: 8px !important;
    letter-spacing: 1.2px !important;
    word-spacing: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
    text-align-last: left !important;
    display: block !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Слоган: фиксированный размер, без скачков */
    font-size: 8px !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
}

/* Слоган: фиксированный 8px */
    font-size: 8px !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
}

/* Слоган: нормальный размер и цвет */
    font-size: 10px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Слоган: компактный */
    font-size: 9px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Бургер-кнопка: всегда видна в шапке */
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
}
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background: #4A5D3A !important;
    margin: 5px 0 !important;
}

/* Слоган: 8px */
    font-size: 8px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Бургер-кнопка: зелёный фон как на оригинале */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 56px !important;
    height: 56px !important;
    background: #4A5D3A !important;
    border-radius: 16px !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    position: relative !important;
}
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    background: #ffffff !important;
    margin: 3px 0 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}
    transform: rotate(45deg) translate(5px, 5px) !important;
}
    opacity: 0 !important;
}
    transform: rotate(-45deg) translate(5px, -5px) !important;
}

/* Кнопка меню: меньше + белые линии */
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    background: #4A5D3A !important;
    border-radius: 14px !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 1000 !important;
}
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
/* Убираю старые правила, скрывающие линии */
    display: block !important;
    opacity: 1 !important;
    background-color: #ffffff !important;
}

/* Кнопка меню: ещё меньше + линии ближе */
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    background: #4A5D3A !important;
    border-radius: 12px !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    z-index: 1000 !important;
}
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Нормальная бургер-кнопка: тонкие линии, правильные отступы */
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    background: #4A5D3A !important;
    border-radius: 14px !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000 !important;
}
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    margin: 3px 0 !important;
    border-radius: 1px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Слоган: 7px */
    font-size: 7px !important;
}

/* Бургер-кнопка: нормальная */

/* === БУРГЕР-КНОПКА: зелёный квадрат с белыми линиями === */

/* === БУРГЕР-КНОПКА === */
.hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    background: #4A5D3A !important;
    border-radius: 14px !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 1100 !important;
    position: relative !important;
}
.hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) !important; }
.hamburger.active span:nth-child(2) { opacity: 0 !important; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) !important; }

/* === МЕНЮ === */
.nav-menu {
    position: fixed !important;
    top: 70px !important;
    right: -300px !important;
    width: 280px !important;
    height: calc(100vh - 70px) !important;
    background: #fff !important;
    z-index: 1050 !important;
    transition: right 0.3s ease !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1) !important;
    overflow-y: auto !important;
    padding: 0 !important;
}
.nav-menu.active { right: 0 !important; }

.nav-list {
    list-style: none !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
}
.nav-list li { border-bottom: 1px solid #f0f0f0 !important; }
.nav-list li a {
    display: block !important;
    padding: 16px 24px !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

/* Кнопка закрытия */
.nav-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    background: #4A5D3A !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    color: #fff !important;
}

/* Оверлей */
.nav-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1040 !important;
    opacity: 0 !important; visibility: hidden !important;
    transition: all 0.3s ease !important;
}
.nav-overlay.active { opacity: 1 !important; visibility: visible !important; }

/* Слоган */
.logo-slogan {
    font-size: 7px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}
/* === БУРГЕР-КНОПКА === */
.hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    background: #4A5D3A !important;
    border-radius: 14px !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 1100 !important;
}
.hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) !important; }
.hamburger.active span:nth-child(2) { opacity: 0 !important; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) !important; }

/* === МЕНЮ: как оригинал, но с отступом сверху === */
.nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 1050 !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1) !important;
    overflow-y: auto !important;
    padding-top: 80px !important; /* Отступ под шапку */
}
.nav-menu.active { right: 0 !important; }

/* Список пунктов */
.nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-list li { 
    border-bottom: 1px solid #f0f0f0 !important;
    opacity: 0 !important;
    transform: translateX(20px) !important;
    transition: all 0.3s ease !important;
}
.nav-menu.active .nav-list li {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
.nav-menu.active .nav-list li:nth-child(1) { transition-delay: 0.1s !important; }
.nav-menu.active .nav-list li:nth-child(2) { transition-delay: 0.15s !important; }
.nav-menu.active .nav-list li:nth-child(3) { transition-delay: 0.2s !important; }
.nav-menu.active .nav-list li:nth-child(4) { transition-delay: 0.25s !important; }
.nav-menu.active .nav-list li:nth-child(5) { transition-delay: 0.3s !important; }

.nav-list li a {
    display: block !important;
    padding: 16px 24px !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Кнопка закрытия внутри меню */
.nav-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
    background: #4A5D3A !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    color: #fff !important;
    z-index: 1060 !important;
}
.nav-close svg { stroke: #fff !important; }

/* Оверлей */
.nav-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1040 !important;
    opacity: 0 !important; visibility: hidden !important;
    transition: all 0.3s ease !important;
}
.nav-overlay.active { opacity: 1 !important; visibility: visible !important; }

/* Контакты внизу меню */
.menu-contacts {
    display: flex !important;
    gap: 16px !important;
    padding: 24px !important;
    margin-top: auto !important;
    justify-content: flex-start !important;
}
.menu-contact-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
}
.menu-contact-link svg { stroke: #A16207 !important; }

/* Слоган */
.logo-slogan {
    font-size: 7px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    text-align: left !important;
    white-space: nowrap !important;
    display: block !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}
/* Шапка всегда поверх меню (виден логотип + слоган) */
header {
    position: relative !important;
    z-index: 1200 !important;
}

/* Меню начинается ПОД шапкой */
.nav-menu {
    top: 76px !important;
    height: calc(100vh - 76px) !important;
    padding-top: 0 !important;
}

/* Кнопка закрытия — под шапкой, в правом верхнем углу панели */
.nav-close {
    top: 16px !important;
    right: 16px !important;
}

/* Отступ для пунктов меню сверху */
.nav-list {
    margin-top: 56px !important;
}

/* Иконки контактов: отступ слева как у текста */
.menu-contacts {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* === КРАСИВОЕ МЕНЮ: финальная настройка === */

/* В шапке — только бургер, без второго крестика */
header .nav-close {
    display: none !important;
}

/* Бургер-кнопка в шапке: зелёный квадрат, три линии */
.hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    background: #4A5D3A !important;
    border-radius: 14px !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 1200 !important;
}
.hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
}
/* При открытом меню бургер превращается в крестик (анимация) */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) !important; }
.hamburger.active span:nth-child(2) { opacity: 0 !important; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) !important; }

/* Панель меню: под шапкой, аккуратные отступы */
.nav-menu {
    top: 76px !important;
    right: -100% !important;
    width: 300px !important;
    max-width: 82vw !important;
    height: calc(100vh - 76px) !important;
    background: #fff !important;
    z-index: 1050 !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08) !important;
    overflow-y: auto !important;
    padding: 24px 0 !important;
    border-radius: 16px 0 0 16px !important;
}
.nav-menu.active { right: 0 !important; }

/* Единственный крестик закрытия — в правом верхнем углу панели */
.nav-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    background: #f5f5f7 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    color: #1a1a1a !important;
    z-index: 1060 !important;
    transition: background 0.2s !important;
}
.nav-close:hover { background: #eaeaec !important; }
.nav-close svg { stroke: #1a1a1a !important; width: 18px !important; height: 18px !important; }

/* Список пунктов: чистые отступы, тонкие разделители */
.nav-list {
    list-style: none !important;
    margin: 48px 0 0 0 !important;
    padding: 0 !important;
}
.nav-list li { 
    border-bottom: 1px solid #f0f0f0 !important;
    opacity: 0 !important;
    transform: translateY(8px) !important;
    transition: all 0.3s ease !important;
}
.nav-list li:last-child { border-bottom: none !important; }
.nav-menu.active .nav-list li {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.nav-menu.active .nav-list li:nth-child(1) { transition-delay: 0.05s !important; }
.nav-menu.active .nav-list li:nth-child(2) { transition-delay: 0.1s !important; }
.nav-menu.active .nav-list li:nth-child(3) { transition-delay: 0.15s !important; }
.nav-menu.active .nav-list li:nth-child(4) { transition-delay: 0.2s !important; }
.nav-menu.active .nav-list li:nth-child(5) { transition-delay: 0.25s !important; }

.nav-list li a {
    display: block !important;
    padding: 18px 28px !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s, background 0.2s !important;
}
.nav-list li a:hover,
.nav-list li a:active {
    color: #4A5D3A !important;
    background: #fafafa !important;
}

/* Иконки контактов: ровный ряд с отступом как у текста */
.menu-contacts {
    display: flex !important;
    gap: 20px !important;
    padding: 28px !important;
    margin-top: 8px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    border-top: 1px solid #f0f0f0 !important;
}
.menu-contact-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    transition: transform 0.2s !important;
}
.menu-contact-link:hover { transform: scale(1.1) !important; }
.menu-contact-link svg { stroke: #A16207 !important; }
.menu-contact-link span { display: none !important; } /* прячем текст, только иконки */

/* Оверлей затемнения */
.nav-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 1040 !important;
    opacity: 0 !important; visibility: hidden !important;
    transition: all 0.3s ease !important;
}
.nav-overlay.active { opacity: 1 !important; visibility: visible !important; }

/* Шапка прижата к верху, без пустой зоны сверху */
header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    z-index: 1200 !important;
}

/* Убираем любые отступы у body/html сверху */
body, html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Меню по-прежнему под шапкой */
.nav-menu {
    top: 76px !important;
}

/* === ФИНАЛЬНАЯ НАСТРОЙКА === */

/* Крестик внутри панели — убрать полностью */
.nav-menu .nav-close {
    display: none !important;
}

/* Бургер-кнопка в шапке: меньше, при открытии = крестик */
.hamburger {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background: #4A5D3A !important;
    border-radius: 12px !important;
    gap: 4px !important;
}
.hamburger span {
    width: 18px !important;
    height: 2px !important;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px) !important; }
.hamburger.active span:nth-child(2) { opacity: 0 !important; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px) !important; }

/* Панель меню: без своего крестика, с нормальным отступом сверху */
.nav-menu {
    padding-top: 24px !important;
}
.nav-list {
    margin-top: 0 !important;
}

/* Иконки контактов: отступ справа */
.menu-contacts {
    padding-right: 40px !important;
    justify-content: flex-start !important;
    gap: 24px !important;
}

/* === ФИНАЛ: без верхнего отступа, иконки с отступом справа === */

/* Панель меню: убираем пустой отступ сверху */
.nav-menu {
    padding-top: 0 !important;
}
.nav-list {
    margin-top: 16px !important; /* компактный отступ до первого пункта */
}

/* Иконки контактов: отступы слева и справа симметричные */
.menu-contacts {
    padding-left: 28px !important;
    padding-right: 28px !important;
    gap: 20px !important;
    justify-content: flex-start !important;
}

/* === ФИНАЛ: без верхнего отступа, иконки с большим отступом справа === */

/* Панель меню: убираем пустой отступ сверху */
.nav-menu {
    padding-top: 0 !important;
}
.nav-list {
    margin-top: 16px !important; /* компактный отступ до первого пункта */
}

/* Иконки контактов: симметричные поля (справа больше) */
.menu-contacts {
    padding-left: 28px !important;
    padding-right: 48px !important; /* увеличенный отступ справа */
    gap: 24px !important;
    justify-content: flex-start !important;
}

/* === ИСПРАВЛЕНИЕ КОНТАКТОВ В МЕНЮ === */

/* Растягиваем иконки по ширине панели с симметричными полями */
.menu-contacts {
    display: flex !important;
    justify-content: space-between !important; /* распределяем равномерно */
    align-items: center !important;
    padding: 24px 32px !important; /* одинаковые отступы слева и справа */
    margin-top: 8px !important;
    gap: 16px !important;
}

/* Каждая иконка занимает равное пространство */
.menu-contact-link {
    flex: 0 0 auto !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease !important;
}
.menu-contact-link:hover {
    transform: scale(1.15) !important;
}
.menu-contact-link svg {
    stroke: #A16207 !important;
    width: 20px !important;
    height: 20px !important;
}
.menu-contact-link span {
    display: none !important; /* прячем текст, только иконки */
}

/* Убираем пустой отступ сверху у списка пунктов */
.nav-list {
    margin-top: 12px !important;
}

/* === УБИРАЕМ ВЕРХНИЙ ОТСТУП МЕНЮ === */

/* Панель без внутренних отступов сверху */
.nav-menu {
    padding-top: 0 !important;
}

/* Список пунктов — вплотную к верхнему краю панели */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый пункт — без лишнего отступа сверху */
.nav-list li:first-child a {
    padding-top: 20px !important;
}

/* Пункты идут ровно, с компактным внутренним отступом */
.nav-list li a {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* === ФИНАЛЬНОЕ РЕШЕНИЕ: ПАНЕЛЬ ВПЛОТНУЮ ПОД ШАПКОЙ === */

/* Панель меню начинается сразу после шапки (без зазора) */
.nav-menu {
    top: 76px !important; /* высота шапки */
    padding-top: 0 !important;
}

/* Список пунктов — без внутренних отступов сверху */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый пункт — компактный отступ только внутри себя */
.nav-list li:first-child a {
    padding-top: 16px !important;
}

/* === ФИНАЛЬНОЕ РЕШЕНИЕ: ПАНЕЛЬ ВПЛОТНУЮ ПОД ШАПКОЙ === */

/* Панель меню начинается сразу после шапки (без зазора) */
.nav-menu {
    top: 76px !important; /* высота шапки */
    padding-top: 0 !important;
}

/* Список пунктов — без внутренних отступов сверху */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый пункт — компактный отступ только внутри себя */
.nav-list li:first-child a {
    padding-top: 16px !important;
}

/* === ФИКСАЦИЯ ВЕРХНЕЙ ПАНЕЛИ МЕНЮ === */

/* Панель меню: без скруглений и теней, вплотную к шапке */
.nav-menu {
    top: 76px !important;
    padding-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Список пунктов: без отступов сверху */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый пункт: минимальный внутренний отступ */
.nav-list li:first-child a {
    padding-top: 12px !important;
}

/* Все пункты: компактные отступы */
.nav-list li a {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* === ФИКСАЦИЯ ВЕРХНЕЙ ПАНЕЛИ МЕНЮ === */

/* Панель меню: начинается сразу после шапки (без зазора) */
.nav-menu {
    top: 0 !important; /* начинаем от самого верха экрана */
    padding-top: 76px !important; /* компенсируем высоту шапки внутри панели */
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Список пунктов: без дополнительных отступов */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый пункт: компактный внутренний отступ */
.nav-list li:first-child a {
    padding-top: 12px !important;
}

/* Все пункты: равномерные отступы */
.nav-list li a {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* === ШАПКА ЗАКРЕПЛЕНА СВЕРХУ (логотип + название всегда видны) === */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 76px !important;
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

/* Контент страницы уходит под фиксированную шапку */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 76px !important;
}

/* === ПАНЕЛЬ МЕНЮ НА ВСЮ ВЫСОТУ ЭКРАНА === */
.nav-menu {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    right: -100% !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #ffffff !important;
    z-index: 1100 !important; /* ниже шапки, но выше контента */
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    padding: 76px 0 0 0 !important; /* отступ только под шапку, остальное вплотную */
}
.nav-menu.active {
    right: 0 !important;
}

/* Оверлей затемнения — тоже на всю высоту */
.nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    background: rgba(0,0,0,0.45) !important;
    z-index: 1090 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}
.nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Список пунктов вплотную к шапке */
.nav-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.nav-list li:first-child a {
    padding-top: 16px !important;
}

/* === КОМПАКТНАЯ ШАПКА === */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    min-height: 64px !important;
    padding: 12px 20px !important;
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Логотип + название внутри шапки */
header .logo-wrapper,
header .logo-text-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
header img.logo-img,
header .logo-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
}
header .logo-title {
    font-size: 22px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.5px !important;
}
header .logo-slogan {
    font-size: 7px !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
}

/* Бургер-кнопка в шапке — компактная */
.hamburger {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    gap: 4px !important;
}
.hamburger span {
    width: 18px !important;
    height: 2px !important;
}

/* Контент уходит под шапку (высота ~68px) */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 68px !important;
}

/* Панель меню: отступ только под новую высоту шапки */
.nav-menu {
    padding-top: 68px !important;
}

/* === ШАПКА: логотип слева, компактная высота === */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important; /* высота как у логотипа + небольшой запас */
    padding: 8px 16px !important; /* минимальные отступы по бокам */
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Блок с лого + названием: прижат к левому краю */
header .logo-wrapper,
header .logo-container,
header > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    flex-shrink: 0 !important;
}

/* Логотип — фиксированный размер, без растяжения */
header img.logo-img,
header .logo-img,
header .logo-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Название ARCTICWOOD */
header .logo-title,
header h1,
header .brand-name {
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Слоган под названием */
header .logo-slogan {
    font-size: 7px !important;
    margin-top: 1px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    text-align: left !important;
}

/* Бургер справа — компактный */
.hamburger {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    gap: 4px !important;
    margin-right: 0 !important;
}
.hamburger span {
    width: 18px !important;
    height: 2px !important;
}

/* Контент уходит под шапку (56px) */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 56px !important;
}

/* Панель меню: отступ под новую высоту шапки */
.nav-menu {
    padding-top: 56px !important;
}

/* === ШАПКА: лого слева | название центр | бургер справа === */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 72px !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Левый блок — только логотип (увеличен) */
header .logo-wrapper > img,
header .logo-wrapper a:first-child,
header .logo-icon,
header img.logo-img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Разделяем лого и текст: лого отдельно слева */
header .logo-wrapper {
    display: contents !important; /* children становятся прямыми элементами header */
}

/* Центральный блок — название + слоган, выровнены по центру */
header .logo-text-block {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    pointer-events: none !important;
}

header .logo-title {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    color: #4A5D3A !important;
    font-weight: 700 !important;
}

header .logo-slogan {
    font-size: 8px !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Бургер справа — компактный квадрат */
.hamburger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    gap: 5px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
.hamburger span {
    width: 20px !important;
    height: 2px !important;
}

/* Контент уходит под шапку (72px) */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 72px !important;
}

/* Панель меню: отступ под новую высоту шапки */
.nav-menu {
    padding-top: 72px !important;
}

/* === ШАПКА: финальная правильная раскладка === */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 72px !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Логотип слева — крупный */
header .logo-wrapper img,
header .logo-wrapper a > img,
header img.logo-img,
header .logo-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Блок логотипа занимает своё место слева */
header .logo-wrapper {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

/* Название + слоган — строго по центру экрана */
header .logo-text-block {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    max-width: 60vw !important;
}

header .logo-title {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    color: #4A5D3A !important;
    font-weight: 700 !important;
}

header .logo-slogan {
    font-size: 8px !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Бургер — строго справа, не перекрывает ничего */
.hamburger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    gap: 5px !important;
    margin-left: auto !important; /* прижимает к правому краю */
    flex-shrink: 0 !important;
    order: 3 !important;
    position: relative !important;
    z-index: 2 !important;
}
.hamburger span {
    width: 20px !important;
    height: 2px !important;
}

/* Контент уходит под шапку */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 72px !important;
}
.nav-menu {
    padding-top: 72px !important;
}

/* === ШАПКА: абсолютная раскладка (работает при любой структуре HTML) === */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 72px !important;
    background: #ffffff !important;
    z-index: 1200 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}

/* Логотип — жёстко слева */
header img.logo-img,
header .logo-icon,
header .logo-wrapper > a:first-child,
header .logo-wrapper > img,
header .logo-wrapper img:first-of-type {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
    z-index: 2 !important;
}

/* Название + слоган — по центру экрана */
header .logo-text-block {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    max-width: 55vw !important;
    z-index: 1 !important;
}

header .logo-title {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    color: #4A5D3A !important;
    font-weight: 700 !important;
}

header .logo-slogan {
    font-size: 8px !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Бургер — жёстко справа */
.hamburger {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    background: #4A5D3A !important;
    border-radius: 12px !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    z-index: 3 !important;
}
.hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #ffffff !important;
    margin: 0 !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) !important; }
.hamburger.active span:nth-child(2) { opacity: 0 !important; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) !important; }

/* Контент уходит под шапку */
main, body > *:not(header):not(.nav-menu):not(.nav-overlay) {
    margin-top: 72px !important;
}
.nav-menu {
    padding-top: 72px !important;
}

/* === ЭФФЕКТЫ ПОЯВЛЕНИЯ === */
.fade-in, .reveal, [data-animate]{opacity:0;transform:translateY(24px);transition:all .7s cubic-bezier(.4,0,.2,1)}
.aw-visible{opacity:1!important;transform:none!important}

/* === СТРЕЛКА НАВЕРХ === */
.aw-to-top{
    position:fixed; right:18px; bottom:24px;
    width:46px; height:46px; border-radius:14px;
    background:#4A5D3A; color:#fff; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 18px rgba(74,93,58,.35);
    opacity:0; visibility:hidden; transform:translateY(12px);
    transition:all .3s ease; z-index:1100;
}
.aw-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.aw-to-top:hover{background:#3d4e30;transform:translateY(-2px)}

/* === JS-эффекты === */
.aw-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.aw-reveal.aw-in { opacity: 1; transform: none; }
header.aw-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); backdrop-filter: blur(8px); }
.aw-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: aw-rip .6s linear; pointer-events: none; }
@keyframes aw-rip { to { transform: scale(4); opacity: 0; } }

/* ============ МЕНЮ: чистые правила ============ */
/* Мобильная версия: ящик справа */
@media (max-width: 899px) {
    .nav-menu {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: min(320px, 86vw); height: 100%;
        background: #F7F8F8; border-radius: 20px 0 0 20px;
        box-shadow: -14px 0 44px rgba(0,0,0,0.25);
        transform: translateX(105%); visibility: hidden;
        transition: transform 0.34s cubic-bezier(.22,.8,.36,1), visibility 0s linear 0.34s;
        display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
        padding: 96px 18px 22px; overflow-y: auto; z-index: 9980;
    }
    .nav-menu.active, .nav-menu.open {
        transform: translateX(0); visibility: visible;
        transition: transform 0.34s cubic-bezier(.22,.8,.36,1), visibility 0s;
    }
    .nav-menu .nav-close {
        position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
        display: flex; align-items: center; justify-content: center;
        background: #4A5F45; color: #fff; border: none; border-radius: 12px; cursor: pointer;
    }
    .nav-list { display: flex; flex-direction: column; gap: 2px; width: 100%; margin: 0; padding: 0; list-style: none; }
    .nav-list li { width: 100%; text-align: center; }
    .nav-link {
        display: block; padding: 12px 8px; font-size: 16px; font-weight: 600;
        color: #1c1c1e; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.07);
        border-radius: 10px; transition: background .2s, color .2s;
    }
    .nav-list li:last-child .nav-link { border-bottom: none; }
    .nav-link.current, .nav-link.active { background: #E4EDDF; color: #3E5A34; }
    .menu-contacts, .aw-contacts-bar {
        display: flex; flex-direction: row; flex-wrap: nowrap;
        justify-content: center; align-items: center; gap: 26px;
        width: 100%; margin-top: 16px; padding: 0; border: none; background: transparent; position: static;
    }
    .menu-contact-link { width: auto; margin: 0; display: inline-flex; align-items: center; justify-content: center; }
    .menu-contact-link span { display: none; }
    .aw-menu-tab { display: none; }
    body.menu-active > *:not(header):not(.nav-menu):not(script):not(style):not(link) {
        filter: blur(6px) brightness(0.8); transition: filter 0.3s ease;
    }
    header { z-index: 9995; }
}
/* ПК: компактный дропдаун сверху по центру */
@media (min-width: 900px) {
    .nav-menu {
        position: fixed; top: 0; left: 0; right: 0; bottom: auto;
        width: 100%; height: auto; max-height: calc(100vh - 120px);
        background: #F7F8F8; border-radius: 0 0 18px 18px;
        box-shadow: 0 16px 44px rgba(0,0,0,0.18);
        transform: translateY(-120%); visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
        display: flex; flex-direction: column; align-items: center;
        padding: 18px 20px 22px; z-index: 9980;
    }
    .nav-menu.active, .nav-menu.open {
        transform: translateY(0); visibility: visible;
        transition: transform 0.3s ease, visibility 0s;
    }
    .nav-menu .nav-close { display: none; }
    .nav-list { display: flex; flex-direction: row; gap: 8px; width: auto; margin: 0; padding: 0; list-style: none; }
    .nav-list li { width: auto; }
    .nav-link {
        display: block; padding: 8px 18px; font-size: 15px; font-weight: 600;
        color: #1c1c1e; text-decoration: none; border-radius: 10px; transition: background .2s, color .2s;
    }
    .nav-link:hover { background: #EEF2EA; }
    .nav-link.current, .nav-link.active { background: #E4EDDF; color: #3E5A34; }
    .menu-contacts, .aw-contacts-bar {
        display: flex; flex-direction: row; justify-content: center; align-items: center;
        gap: 20px; margin-top: 12px; padding-top: 12px; border: none;
        border-top: 1px solid rgba(0,0,0,0.08); background: transparent; position: static; width: auto;
    }
    .menu-contact-link span { display: none; }
    header { z-index: 9995; }
}

/* === Меню: ссылки слева с отступом + заметная подсветка === */
@media (max-width: 899px) {
    .nav-list li { text-align: left !important; }
    .nav-list .nav-link {
        text-align: left !important;
        padding: 14px 16px 14px 26px !important;
        border-radius: 12px !important;
        position: relative;
    }
    .nav-list .nav-link.current,
    .nav-list .nav-link.active {
        background: #E4EDDF !important;
        color: #3E5A34 !important;
    }
    .nav-list .nav-link.current::before,
    .nav-list .nav-link.active::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 24px;
        border-radius: 3px;
        background: #4A5F45;
    }
}
@media (min-width: 900px) {
    .nav-link.current, .nav-link.active {
        background: #E4EDDF !important;
        color: #3E5A34 !important;
    }
}

/* === Меню: без обводок ссылок === */
@media (max-width: 899px) {
    .nav-list .nav-link,
    .nav-list li {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

/* === Полная версия: без точки-язычка и крестика в меню === */
.aw-menu-tab { display: none !important; }
@media (min-width: 900px) {
    .nav-menu .nav-close { display: none !important; }
    .aw-menu-tab, .aw-menu-tab span { display: none !important; }
}

/* === Замутление экрана под полноэкранным просмотром фото === */
.aw-blur {
    filter: blur(8px) brightness(0.75) !important;
    transition: filter 0.3s ease !important;
}

/* === Полный просмотр фото: без чёрного фона, только блюр === */
.aw-blur {
    filter: blur(10px) !important;
}
[class*="fullscreen"]:not(button):not(a):not(svg):not(path):not(polyline):not(line),
[class*="lightbox"],
[class*="fs-overlay"],
[class*="fs-view"] {
    background: transparent !important;
    backdrop-filter: blur(16px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
}
[class*="fullscreen"] [class*="backdrop"],
[class*="fullscreen"] [class*="bg"],
[class*="lightbox"] [class*="backdrop"],
[class*="lightbox"] [class*="bg"] {
    background: transparent !important;
}

/* === Полный просмотр: изображение по центру экрана === */
[class*="fullscreen"]:not(button):not(a):not(svg):not(path):not(polyline):not(line),
[class*="lightbox"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
[class*="fullscreen"] > div,
[class*="lightbox"] > div {
    margin: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 94vw !important;
}
[class*="fullscreen"] img,
[class*="lightbox"] img {
    max-width: 92vw !important;
    max-height: 86vh !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
    object-fit: contain !important;
}

/* === Полный просмотр: шапка скрыта, фото крупнее === */
body:has([class*="fullscreen"]:not(button):not(a):not(svg):not(path)) header {
    display: none !important;
}
[class*="fullscreen"] img,
[class*="lightbox"] img {
    max-width: 96vw !important;
    max-height: 92vh !important;
}

/* === Полный просмотр: весь экран, без шапки, фото по центру === */
.aw-fs-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}
.aw-fs-overlay img {
    max-width: 94vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

/* === Финал: полный просмотр без чёрного фона, с блюром, без шапки === */

/* === Полный просмотр: блюр всего контента, шапка скрыта === */

/* === БЛЮР ПОЛНОСТЬЮ УБРАН ВЕЗДЕ === */
.aw-blur,
html.aw-fs-on body > *:not(.pm-fullscreen-overlay),
body.menu-active > *:not(header):not(.nav-menu):not(script):not(style):not(link),
[class*="blur"] {
    filter: none !important;
}
*, *::before, *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* Полный просмотр: ровный светлый фон вместо блюра */

/* === Полный просмотр: окно и картинка на всю площадь экрана === */

/* === Полный просмотр: единственный видимый слой поверх всего === */

/* === Стрелки листания проектов (ПК) === */
.aw-proj-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    color: #3E5A34;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: background .2s, opacity .2s;
    padding: 0;
}
.aw-proj-arrow:hover { background: rgba(255, 255, 255, 0.85); }
.aw-proj-arrow.aw-left { left: 12px; }
.aw-proj-arrow.aw-right { right: 12px; }
@media (max-width: 899px) {
    .aw-proj-arrow { display: none !important; }
}

/* === Стрелки листания проектов (ПК) === */
.aw-proj-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    color: #3E5A34;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: background .2s, opacity .2s;
    padding: 0;
}
.aw-proj-arrow:hover { background: rgba(255, 255, 255, 0.85); }
.aw-proj-arrow.aw-left { left: 12px; }
.aw-proj-arrow.aw-right { right: 12px; }
@media (max-width: 899px) {
    .aw-proj-arrow { display: none !important; }
}

/* === Стрелки листания: нормальное отображение === */
.aw-proj-wrap { position: relative !important; }
.aw-proj-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #3E5A34 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18) !important;
    z-index: 30 !important;
    opacity: 0.85;
}
.aw-proj-arrow.aw-left { left: 10px !important; }
.aw-proj-arrow.aw-right { right: 10px !important; }
.aw-proj-arrow:hover { background: rgba(255, 255, 255, 1) !important; opacity: 1; }
@media (pointer: coarse) {
    .aw-proj-arrow { display: none !important; }
}

/* === Возврат ширины карточек + стрелки внутри видимой области === */
.project-card {
    width: auto !important;
    flex: 0 0 auto !important;
}
.aw-proj-arrow {
    left: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    opacity: 0.9;
}
.aw-proj-arrow.aw-left { left: 18px !important; right: auto !important; }
.aw-proj-arrow.aw-right { right: 18px !important; left: auto !important; }

/* === Возврат ширины карточек + стрелки внутри видимой области === */
.project-card {
    width: auto !important;
    flex: 0 0 auto !important;
}
.aw-proj-arrow {
    left: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    opacity: 0.9;
}
.aw-proj-arrow.aw-left { left: 18px !important; right: auto !important; }
.aw-proj-arrow.aw-right { right: 18px !important; left: auto !important; }

/* === Проекты: карточки 2 в ряд + стрелки в полях страницы === */
.project-card {
    width: calc((100% - 24px) / 2) !important;
    flex: 0 0 auto !important;
}
.aw-proj-arrow {
    position: absolute !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #3E5A34 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.16) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 30 !important;
    padding: 0 !important;
    transition: background .2s, opacity .2s;
}
.aw-proj-arrow.aw-left  { left: 6px !important;  right: auto !important; }
.aw-proj-arrow.aw-right { right: 6px !important; left: auto !important; }
.aw-proj-arrow:hover { background: #ffffff !important; opacity: 1 !important; }
@media (pointer: coarse) {
    .aw-proj-arrow { display: none !important; }
}

/* === ПОЛНЫЙ ПРОСМОТР: стабильно, без скачков (чистый CSS, без JS-таймеров) === */


/* === Кнопка возврата наверх === */
#awToTop {
    position: fixed; right: 18px; bottom: 22px;
    width: 52px; height: 52px; border-radius: 14px;
    border: none; background: #4A5F45; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 9500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background .2s;
}
#awToTop.aw-show {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s, background .2s;
}
#awToTop:hover { background: #3E5A34; }
#awToTop svg { width: 24px; height: 24px; }

/* ===== ПОЛНОЭКРАННОЕ ФОТО: плотный фон + картинка строго по центру вьюпорта ===== */


/* ===== ПОЛНОЭКРАННОЕ ФОТО — ЕДИНСТВЕННЫЙ КАНОН ===== */
body:has(.pm-fullscreen-overlay) header,
html.aw-fs-on header { display: none !important; }
body:has(.pm-fullscreen-overlay) > *:not(.pm-fullscreen-overlay),
html.aw-fs-on body > *:not(.pm-fullscreen-overlay) { display: none !important; }
body:has(.pm-fullscreen-overlay),
html.aw-fs-on body { overflow: hidden !important; }

.pm-fullscreen-overlay.pm-fullscreen-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important; height: 100dvh !important;
    margin: 0 !important; padding: 0 !important;
    z-index: 2147483647 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: #ECEEE9 !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    filter: none !important; transform: none !important; opacity: 1 !important;
    cursor: zoom-out; overflow: hidden !important;
}
.pm-fullscreen-overlay.pm-fullscreen-overlay img.pm-fullscreen-overlay-img,
.pm-fullscreen-overlay.pm-fullscreen-overlay img {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    margin: auto !important;
    width: auto !important; height: auto !important;
    max-width: 94vw !important; max-height: 90vh !important; max-height: 90dvh !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.30) !important;
    filter: none !important; transform: none !important;
    z-index: 2 !important;
}
.pm-fullscreen-close.pm-fullscreen-close {
    position: fixed !important;
    top: 14px !important; right: 14px !important;
    left: auto !important; bottom: auto !important;
    width: 46px !important; height: 46px !important;
    border-radius: 50% !important; border: none !important;
    background: #4A5F45 !important; color: #fff !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    cursor: pointer !important; z-index: 5 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28) !important;
    transition: background .2s !important;
}
.pm-fullscreen-close.pm-fullscreen-close:hover { background: #3E5A34 !important; }
.pm-fullscreen-close.pm-fullscreen-close svg { width: 22px !important; height: 22px !important; }

/* === Мобильная модалка проекта: убрать наезжающую шапку + скролл миниатюр === */
@media (max-width: 899px) {
    body:has(.project-modal.active) header { display: none !important; }
    .pm-thumbs {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .pm-thumbs::-webkit-scrollbar { display: none !important; }
}

/* === Мобильная модалка = окно; кнопка развернуть как все === */
html.aw-pm-open header { display: none !important; }
@media (max-width: 899px) {
    .project-modal {
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        display: flex !important; align-items: flex-start !important; justify-content: center !important;
        background: rgba(20, 24, 20, 0.45) !important;
        z-index: 99990 !important; overflow-y: auto !important; padding: 14px !important;
    }
    .project-modal-box {
        position: relative !important;
        width: min(560px, 100%) !important;
        margin: auto !important;
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 22px 64px rgba(0,0,0,0.32) !important;
    }
    /* кнопка «развернуть» — круглая, как × и шаринг, правый нижний угол */
    #pmFullscreen, .pm-fullscreen:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close) {
        position: absolute !important;
        top: auto !important; left: auto !important;
        right: 12px !important; bottom: 12px !important;
        width: 44px !important; height: 44px !important;
        border-radius: 50% !important;
        border: none !important;
        background: rgba(255,255,255,0.18) !important;
        color: #fff !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
        cursor: pointer !important; z-index: 6 !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.28) !important;
        transition: background .2s !important;
    }
    #pmFullscreen:hover, .pm-fullscreen:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close):hover {
        background: rgba(255,255,255,0.32) !important;
    }
    #pmFullscreen svg, .pm-fullscreen:not(.pm-fullscreen-overlay):not(.pm-fullscreen-close) svg {
        width: 20px !important; height: 20px !important;
    }
}

/* === Карточки проектов: одинаковая высота фото === */ .project-card img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;max-height:none!important;display:block!important;border-radius:inherit}

/* === ФИНАЛЬНОЕ ПЕРЕКРЫТИЕ: полноэкранное изображение поверх ВСЕГО === */
.pm-fullscreen-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999999 !important; /* Максимально возможный z-index */
    background: rgba(0, 0, 0, 0.85) !important; /* Темный фон с прозрачностью */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Изображение по центру, вписано целиком */
.pm-fullscreen-overlay img {
    max-width: 95% !important;
    max-height: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    display: block !important;
    margin: auto !important;
}

/* Кнопка закрытия в правом верхнем углу */
.pm-fullscreen-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 48px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 1000000000 !important;
    transition: background 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pm-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Скрываем шапку и другие элементы при открытом полноэкранном просмотре */
body:has(.pm-fullscreen-overlay) header,
body:has(.pm-fullscreen-overlay) nav,
body:has(.pm-fullscreen-overlay) .nav-menu,
body:has(.pm-fullscreen-overlay) footer,
body:has(.pm-fullscreen-overlay) #awToTop {
    display: none !important;
}

/* Блокируем прокрутку body при открытом полноэкранном просмотре */
body:has(.pm-fullscreen-overlay) {
    overflow: hidden !important;
}

/* === ФИНАЛЬНОЕ ПЕРЕКРЫТИЕ: полноэкранное изображение поверх ВСЕГО === */
.pm-fullscreen-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999999 !important; /* Максимально возможный z-index */
    background: rgba(0, 0, 0, 0.85) !important; /* Темный фон с прозрачностью */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Изображение по центру, вписано целиком */
.pm-fullscreen-overlay img {
    max-width: 95% !important;
    max-height: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    display: block !important;
    margin: auto !important;
}

/* Кнопка закрытия в правом верхнем углу */
.pm-fullscreen-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 48px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 1000000000 !important;
    transition: background 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pm-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Скрываем шапку и другие элементы при открытом полноэкранном просмотре */
body:has(.pm-fullscreen-overlay) header,
body:has(.pm-fullscreen-overlay) nav,
body:has(.pm-fullscreen-overlay) .nav-menu,
body:has(.pm-fullscreen-overlay) footer,
body:has(.pm-fullscreen-overlay) #awToTop {
    display: none !important;
}

/* Блокируем прокрутку body при открытом полноэкранном просмотре */
body:has(.pm-fullscreen-overlay) {
    overflow: hidden !important;
}

/* === Полноэкранная галерея: усиление стилей === */ .aw-gallery{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;background:#000!important;z-index:2147483647!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.aw-gallery img.aw-g-img{max-width:94vw!important;max-height:88dvh!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px!important;box-shadow:0 24px 70px rgba(0,0,0,.6)!important}.aw-gallery .aw-g-close{position:fixed!important;top:12px!important;right:12px!important;width:56px!important;height:56px!important;border-radius:50%!important;border:none!important;background:rgba(255,255,255,.9)!important;color:#000!important;font-size:32px!important;line-height:56px!important;text-align:center!important;cursor:pointer!important;z-index:5!important;box-shadow:0 4px 12px rgba(0,0,0,.5)!important;display:flex!important;align-items:center!important;justify-content:center!important}.aw-gallery .aw-g-close:hover{background:#fff!important}.aw-gallery .aw-g-prev,.aw-gallery .aw-g-next{position:fixed!important;top:50%!important;transform:translateY(-50%)!important;width:52px!important;height:52px!important;border-radius:50%!important;border:none!important;background:rgba(255,255,255,.2)!important;color:#fff!important;font-size:32px!important;cursor:pointer!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important}.aw-gallery .aw-g-prev{left:10px!important}.aw-gallery .aw-g-next{right:10px!important}.aw-gallery .aw-g-prev:hover,.aw-gallery .aw-g-next:hover{background:rgba(255,255,255,.35)!important}.aw-gallery .aw-g-count{position:fixed!important;bottom:14px!important;left:50%!important;transform:translateX(-50%)!important;color:#fff!important;font-size:14px!important;opacity:.8!important;z-index:5!important}

/* === Стрелки карусели проектов (ПК) === */ .aw-proj-arrow{position:absolute;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:none;background:#4A5F45;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:20;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:background .2s}.aw-proj-arrow:hover{background:#3E5A34}.aw-proj-arrow.aw-left{left:10px}.aw-proj-arrow.aw-right{right:10px}.aw-proj-arrow svg{width:22px;height:22px}@media(max-width:899px){.aw-proj-arrow{display:none!important}}

.pm-fullscreen-overlay{display:none!important}
