/* ============================================================
   OPTICA — community.css (v10)
   Изменения:
     • Аккордеоны подвала — красиво оформлены, свёрнуты по умолчанию
     • Блок «О специалисте» — факты с иконками вместо разнобойного текста
     • Удалён блок CTA (не используется)
     • Плавающие элементы — единый чёрно-зелёный стиль
   ============================================================ */

/* Глобальная защита от горизонтального скролла */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   1. NAP-БЛОК (Контакты)
   ============================================================ */
.nap-block {
    background: #0b0b0b;
    color: #e5e5e5;
    border-radius: 22px;
    padding: 32px 30px;
    border: 1px solid #2a2a2a;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}
.nap-block::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(42,157,74,0.20), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.nap-block__title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0 0 24px;
    position: relative;
}
.nap-block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    position: relative;
}
.nap-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.nap-item__label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #2a9d4a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nap-item__label i { color: #2a9d4a; font-size: 0.95em; }
.nap-item__value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    word-break: break-word;
}
.nap-item__value a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(42,157,74,0.5);
    word-break: break-word;
}
.nap-item__value a:hover { color: #2a9d4a; border-bottom-color: #2a9d4a; }
.nap-item__hint { font-size: 12.5px; color: #888; }

.nap-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(42,157,74,0.15);
    position: relative;
}
.nap-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 60px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 52px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
.nap-action-btn i { font-size: 1.15em; flex-shrink: 0; position: relative; z-index: 1; }
.nap-action-btn--vk {
    background: linear-gradient(135deg, #4a76a8 0%, #3a5f8a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(74,118,168,0.35);
}
.nap-action-btn--vk:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74,118,168,0.5);
}
.nap-action-btn--phone {
    background: linear-gradient(135deg, #2a9d4a 0%, #1f7a36 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(42,157,74,0.4);
}
.nap-action-btn--phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(42,157,74,0.55);
}

/* ============================================================
   2. ИНФОРМАЦИОННЫЕ СТРАНИЦЫ
   ============================================================ */
.info-page { padding: 40px 0 60px; }

.info-page__hero {
    background: linear-gradient(135deg, #0b0b0b 0%, #141414 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 38px 36px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42,157,74,0.3);
}
.info-page__hero::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(42,157,74,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.info-page__hero-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(42,157,74,0.15);
    color: #2a9d4a;
    border: 1px solid rgba(42,157,74,0.4);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
}
.info-page__hero h1 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0 0 10px;
    position: relative;
}
.info-page__hero p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0;
    max-width: 720px;
    position: relative;
}
.info-page__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 860px;
    margin: 0 auto;
}
.info-block {
    background: #f8f9fa;
    border: 1px solid #eaeef0;
    border-radius: 16px;
    padding: 26px 28px;
}
.info-block h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0b0b0b;
    letter-spacing: -0.3px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-block h2 i { color: #2a9d4a; }
.info-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 12px;
}
.info-block p:last-child { margin-bottom: 0; }
.info-block ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.info-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}
.info-block ul li i {
    color: #2a9d4a;
    flex-shrink: 0;
    margin-top: 5px;
    font-size: 0.9em;
}
.info-block b { color: #0b0b0b; }
.info-highlight {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    border-left: 5px solid #2a9d4a;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #065f46;
}
.info-highlight b { color: #065f46; }
.info-page__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

/* ============================================================
   3. ФОРМА ПАРТНЁРОВ
   ============================================================ */
.partner-form-wrap {
    background: #0b0b0b;
    border-radius: 22px;
    padding: 38px 36px;
    border: 1px solid rgba(42,157,74,0.35);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42,157,74,0.15);
    margin: 20px 0 40px;
}
.partner-form-wrap::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(42,157,74,0.22), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.partner-form-head { position: relative; margin-bottom: 28px; }
.partner-form-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}
.partner-form-head p {
    font-size: 15px;
    line-height: 1.6;
    color: #b0b0b0;
    margin: 0;
}
.partner-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}
.partner-form__field { display: flex; flex-direction: column; gap: 6px; }
.partner-form__field--full { grid-column: 1 / -1; }
.partner-form__field label {
    font-size: 12.5px;
    font-weight: 700;
    color: #a8e6c0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.partner-form__field input,
.partner-form__field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #141414;
    border: 1.5px solid #2a2a2a;
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.partner-form__field input::placeholder,
.partner-form__field textarea::placeholder { color: #5a5a5a; }
.partner-form__field input:focus,
.partner-form__field textarea:focus {
    border-color: #2a9d4a;
    box-shadow: 0 0 0 3px rgba(42,157,74,0.2);
}
.partner-form__field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.partner-form__submit {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #2a9d4a, #1f7a36);
    color: #ffffff;
    border: none;
    border-radius: 60px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(42,157,74,0.4);
}
.partner-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(42,157,74,0.55);
}
.partner-form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.partner-form__note {
    grid-column: 1 / -1;
    font-size: 12.5px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}
.partner-form__note a { color: #2a9d4a; }
.partner-form__status {
    grid-column: 1 / -1;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    display: none;
}
.partner-form__status.is-success {
    display: block;
    background: rgba(42,157,74,0.12);
    border: 1px solid rgba(42,157,74,0.4);
    color: #7fdc9c;
}
.partner-form__status.is-error {
    display: block;
    background: rgba(220,38,38,0.12);
    border: 1px solid rgba(220,38,38,0.4);
    color: #fca5a5;
}

/* ============================================================
   4. НАШИ РАБОТЫ
   ============================================================ */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.work-card {
    display: block;
    background: #ffffff;
    border: 1px solid #eaeef0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    color: inherit;
}
.work-card:hover {
    border-color: #2a9d4a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(42,157,74,0.15);
}
.work-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f7fa;
    overflow: hidden;
}
.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.work-card:hover .work-card__image img { transform: scale(1.05); }
.work-card__zoom {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    pointer-events: none;
}
.work-card:hover .work-card__zoom { opacity: 1; transform: scale(1); }
.work-card__body { padding: 16px 18px 18px; }
.work-card__title {
    font-size: 16px;
    font-weight: 800;
    color: #0b0b0b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    margin: 0 0 6px;
}
.work-card__desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}
.work-card--no-meta .work-card__image { aspect-ratio: 1 / 1; }

.works-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border: 1px dashed #e5e9f0;
    border-radius: 16px;
    margin-bottom: 30px;
}
.works-empty i {
    font-size: 3rem;
    color: #2a9d4a;
    opacity: 0.5;
    margin-bottom: 16px;
    display: block;
}
.works-empty h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0b0b0b;
    margin: 0 0 8px;
}
.works-empty p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   5. ОТЗЫВЫ
   ============================================================ */
.reviews-page { display: flex; flex-direction: column; gap: 36px; }
.reviews-form-wrap {
    background: #f8f9fa;
    border: 1px solid #e5e9f0;
    border-radius: 18px;
    padding: 28px 30px;
}
.reviews-login-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.reviews-login-notice > i {
    font-size: 2rem;
    color: #2a9d4a;
    flex-shrink: 0;
}
.reviews-login-notice > div { flex: 1; min-width: 200px; }
.reviews-login-notice h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0b0b0b;
    margin: 0 0 4px;
}
.reviews-login-notice p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}
.reviews-login-btn {
    padding: 12px 26px;
    background: #2a9d4a;
    color: #fff;
    border-radius: 60px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.reviews-login-btn:hover {
    background: #1f7a36;
    transform: translateY(-2px);
    color: #fff;
}
.reviews-form h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0b0b0b;
    margin: 0 0 20px;
}
.reviews-form__field { margin-bottom: 18px; }
.reviews-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0b0b0b;
    margin-bottom: 6px;
}
.reviews-form__field select,
.reviews-form__field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #ffffff;
    border: 1.5px solid #e5e9f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: #0b0b0b;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.reviews-form__field select:focus,
.reviews-form__field textarea:focus {
    border-color: #2a9d4a;
    box-shadow: 0 0 0 3px rgba(42,157,74,0.15);
}
.reviews-form__field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.reviews-form__field small { display: block; font-size: 12px; color: #9ca3af; margin-top: 5px; }
.reviews-stars-input {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}
.reviews-stars-input span {
    color: #d1d5db;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
    outline: none;
}
.reviews-stars-input span.active,
.reviews-stars-input span.hover { color: #f59e0b; }
.reviews-stars-input span:hover { transform: scale(1.15); }
.reviews-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #2a9d4a 0%, #1f7a36 100%);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(42,157,74,0.35);
}
.reviews-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(42,157,74,0.5); }
.reviews-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.reviews-form-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.reviews-form-status.is-success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}
.reviews-form-status.is-error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.reviews-no-orders { text-align: center; padding: 30px 20px; }
.reviews-no-orders i {
    font-size: 2.5rem;
    color: #2a9d4a;
    opacity: 0.5;
    display: block;
    margin-bottom: 14px;
}
.reviews-no-orders h3 { font-size: 17px; font-weight: 800; color: #0b0b0b; margin: 0 0 8px; }
.reviews-no-orders p { font-size: 14px; color: #6b7280; margin: 0 0 16px; line-height: 1.5; }
.reviews-loading { text-align: center; color: #9ca3af; font-size: 14px; padding: 20px; }
.reviews-list-head h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0b0b0b;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reviews-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 26px;
    padding: 0 12px;
    background: rgba(42,157,74,0.12);
    color: #2a9d4a;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.review-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    padding: 22px 24px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review-card:hover {
    border-color: rgba(42,157,74,0.4);
    box-shadow: 0 8px 24px rgba(42,157,74,0.08);
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a9d4a, #1f7a36);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.review-card__meta { min-width: 0; }
.review-card__author { font-size: 15px; font-weight: 800; color: #0b0b0b; line-height: 1.2; }
.review-card__date { font-size: 12.5px; color: #9ca3af; margin-top: 2px; }
.review-card__stars { display: flex; gap: 3px; color: #f59e0b; font-size: 0.95rem; }
.review-card__stars .star-empty { color: #e5e7eb; }
.review-card__text { font-size: 14.5px; line-height: 1.65; color: #374151; flex: 1; }
.review-card__order {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #2a9d4a;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
}
.review-card__order i { font-size: 0.9em; }
.reviews-empty {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
    color: #9ca3af;
}
.reviews-empty i { font-size: 2.5rem; opacity: 0.4; display: block; margin-bottom: 12px; }
.reviews-empty p { font-size: 15px; margin: 0; }
.reviews-more-wrap { text-align: center; margin-top: 26px; }

/* ============================================================
   6. ПЛАВАЮЩИЕ КНОПКИ VK
   ============================================================ */
.vk-float-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.vk-float-btn--club {
    background: #2a9d4a;
    font-size: 22px;
}
.vk-float-btn--club:hover {
    background: #1f7a36;
    box-shadow: 0 6px 30px rgba(42,157,74,0.55);
}

/* ============================================================
   7. ГЛАВНАЯ — СЕКЦИИ
   ============================================================ */
.hm-brands,
.hm-expert-section,
.hm-purchase-section,
.hm-wr-section,
.hm-comm-section {
    padding: 80px 0;
    position: relative;
}
.hm-brands,
.hm-expert-section,
.hm-wr-section {
    background: #ffffff;
    color: #0a0a0a;
}
.hm-purchase-section,
.hm-comm-section {
    background: #0b0b0b;
    color: #e5e5e5;
}

.hm-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 44px;
}
.hm-section-head__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: rgba(42,157,74,0.10);
    border: 1px solid rgba(42,157,74,0.35);
    color: #2a9d4a;
}
.hm-section-head__title {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0;
    line-height: 1.1;
    flex-shrink: 0;
    color: #0a0a0a;
    word-break: break-word;
}
.hm-section-head__line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
    min-width: 40px;
}
.hm-section-head--light .hm-section-head__title { color: #ffffff; }
.hm-section-head--light .hm-section-head__icon {
    background: rgba(42,157,74,0.14);
    border-color: rgba(42,157,74,0.45);
    color: #4ade80;
}
.hm-section-head--light .hm-section-head__line { background: rgba(255,255,255,0.10); }

/* --- БРЕНДЫ --- */
.hm-brands { padding: 56px 0; border-bottom: 1px solid #f0f2f5; }
.hm-brands__label {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 32px;
}
.hm-brands__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}
.hm-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 76px;
    padding: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    filter: grayscale(1);
    opacity: 0.7;
    box-sizing: border-box;
}
.hm-brand:hover {
    border-color: #2a9d4a;
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(42,157,74,0.12);
}
.hm-brand img { max-width: 100px; max-height: 44px; object-fit: contain; display: block; }

/* --- О СПЕЦИАЛИСТЕ --- */
.hm-expert-bio { max-width: 720px; margin: 0 auto; text-align: center; }
.hm-expert-bio__name {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    color: #0a0a0a;
    margin: 0 0 8px;
    line-height: 1.1;
}
.hm-expert-bio__role {
    font-size: 14.5px;
    color: #6b7280;
    margin: 0 0 24px;
    font-weight: 500;
}
.hm-expert-bio__role a {
    color: #2a9d4a;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}
.hm-expert-bio__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 32px;
}
.hm-expert-bio__lead b { color: #0a0a0a; font-weight: 700; }

/* ★ ФАКТЫ О СПЕЦИАЛИСТЕ — вместо разнобойного текста */
.hm-expert-bio__facts {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto 32px !important;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 560px;
    width: 100%;
}
.hm-expert-bio__facts li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
    font-weight: 500;
    transition: all 0.25s ease;
}
.hm-expert-bio__facts li:hover {
    border-color: rgba(42,157,74,0.4);
    background: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(42,157,74,0.08);
}
.hm-expert-bio__facts li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: linear-gradient(135deg, rgba(42,157,74,0.14), rgba(42,157,74,0.04));
    color: #2a9d4a;
    border: 1px solid rgba(42,157,74,0.2);
    border-radius: 10px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.25s ease;
}
.hm-expert-bio__facts li:hover i {
    background: linear-gradient(135deg, #35ffa1, #2a9d4a);
    color: #ffffff;
    border-color: #35ffa1;
    box-shadow: 0 0 18px rgba(42,157,74,0.45);
}
.hm-expert-bio__facts li span {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
}

.hm-expert-bio__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- УСЛУГИ --- */
.hm-purchase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hm-purchase-card {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: #141414;
    border: 1.5px solid #2a2a2a;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    min-height: 220px;
    overflow: hidden;
    box-sizing: border-box;
}
.hm-purchase-card::before {
    content: "";
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(42,157,74,0.22), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.hm-purchase-card:hover {
    border-color: #2a9d4a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(42,157,74,0.20);
}
.hm-purchase-card:hover::before { opacity: 1; }
.hm-purchase-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(42,157,74,0.12);
    color: #2a9d4a;
    border: 1px solid rgba(42,157,74,0.35);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}
.hm-purchase-card:hover .hm-purchase-card__icon {
    background: #2a9d4a;
    color: #ffffff;
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 0 26px rgba(42,157,74,0.5);
}
.hm-purchase-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
    line-height: 1.2;
    position: relative;
    word-break: break-word;
}
.hm-purchase-card__desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #909090;
    margin: 0;
    position: relative;
}

/* --- РАБОТЫ И ОТЗЫВЫ --- */
.hm-wr { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.hm-wr__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}
.hm-wr__head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
    margin: 0;
    letter-spacing: -0.4px;
}
.hm-wr__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2a9d4a;
    text-decoration: none;
    transition: gap 0.25s;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.hm-wr__link:hover { gap: 10px; }
.hm-wr__link i { font-size: 0.75em; }

.hm-works { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-work {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hm-work:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.hm-work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hm-work:hover img { transform: scale(1.05); }

.hm-reviews { display: flex; flex-direction: column; gap: 0; }
.hm-review {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.25s;
}
.hm-review:first-child { padding-top: 0; }
.hm-review:last-child  { border-bottom: 0; }
.hm-review:hover { padding-left: 10px; }
.hm-review__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.hm-review__avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a9d4a, #1f7a36);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}
.hm-review__meta { flex: 1; min-width: 0; }
.hm-review__author {
    font-size: 14px;
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.2;
}
.hm-review__stars {
    display: flex;
    gap: 2px;
    font-size: 0.72rem;
    color: #f59e0b;
    margin-top: 3px;
}
.hm-review__stars .star-empty { color: #e5e7eb; }
.hm-review__date { font-size: 12px; color: #9ca3af; flex-shrink: 0; }
.hm-review__text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}
.hm-empty {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}
.hm-empty p { margin: 0 0 12px; }
.hm-empty p:last-child { margin-bottom: 0; }
.hm-empty__btn {
    display: inline-block;
    padding: 10px 22px;
    background: #2a9d4a;
    color: #ffffff;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.hm-empty__btn:hover {
    background: #1f7a36;
    transform: translateY(-2px);
    color: #ffffff;
}
.hm-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 14px 20px;
    background: #f9fafb;
    color: #0a0a0a;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.hm-more-btn:hover {
    border-color: #2a9d4a;
    border-style: solid;
    background: rgba(42,157,74,0.06);
    color: #2a9d4a;
    gap: 14px;
}
.hm-more-btn i { font-size: 0.8em; }

/* ============================================================
   ★ СООБЩЕСТВО — карточки остаются «премиум-блоками»
   ============================================================ */
.hm-comm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.hm-comm__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px 32px;
    background: #141414;
    border: 1.5px solid #2a2a2a;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}
.hm-comm__card::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(42,157,74,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hm-comm__card:hover {
    border-color: #2a9d4a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(42,157,74,0.20);
}
.hm-comm__icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(42,157,74,0.12);
    color: #2a9d4a;
    border: 1px solid rgba(42,157,74,0.35);
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
    position: relative;
}
.hm-comm__card:hover .hm-comm__icon {
    background: #2a9d4a;
    color: #ffffff;
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 0 30px rgba(42,157,74,0.55);
}
.hm-comm__body {
    position: relative;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.hm-comm__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}
.hm-comm__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}
.hm-comm__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
    margin: 0 0 16px;
    overflow-wrap: break-word;
}
.hm-comm__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #2a9d4a;
    margin-top: auto;
    transition: gap 0.3s;
}
.hm-comm__card:hover .hm-comm__action { gap: 14px; }
.hm-comm__action i { font-size: 0.8em; }

/* ============================================================
   Кнопки hm-* (переиспользуемые)
   ============================================================ */
.hm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
    box-sizing: border-box;
}
.hm-btn i { font-size: 0.9em; }

.hm-btn--dark {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #0a0a0a;
}
.hm-btn--dark:hover {
    background: #2a9d4a;
    border-color: #2a9d4a;
    color: #ffffff;
    transform: translateY(-2px);
}
.hm-btn--outline-dark {
    background: transparent;
    color: #0a0a0a;
    border-color: rgba(10,10,10,0.25);
}
.hm-btn--outline-dark:hover {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #0a0a0a;
    transform: translateY(-2px);
}
.hm-btn--vk {
    background: linear-gradient(135deg, #4a76a8, #3a5f8a);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(74,118,168,0.35);
}
.hm-btn--vk:hover {
    background: linear-gradient(135deg, #5a8ac0, #4a76a8);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74,118,168,0.5);
    color: #ffffff;
}
.hm-btn--primary {
    background: #ffffff;
    color: #1f7a36;
}
.hm-btn--primary:hover {
    background: #0a0a0a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.hm-btn--ghost-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.55);
}
.hm-btn--ghost-light:hover {
    background: #ffffff;
    color: #1f7a36;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hm-btn--primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #ffffff;
    color: #1f7a36;
    border: 1.5px solid transparent;
    border-radius: 60px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    align-self: flex-start;
    box-sizing: border-box;
}
.hm-btn--primary-sm:hover {
    background: #0a0a0a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* Reveal */
.hm-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(.16, 1, .3, 1), transform 0.9s cubic-bezier(.16, 1, .3, 1);
}
.hm-reveal.hm-reveal--in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .hm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   LED
   ============================================================ */
.led-marquee,
.led-placeholder {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    border-radius: 60px;
    background: linear-gradient(90deg, #120000 0%, #cc0000 50%, #120000 100%);
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
    padding: 4px 0;
    margin-top: 16px;
}
.led-marquee-track {
    display: flex;
    width: max-content;
    animation: ledScroll 30s linear infinite;
}
.led-slide { flex-shrink: 0; padding: 0 40px; }
.led-text {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #ff3333;
    letter-spacing: 3px;
    text-shadow: 0 0 8px #ff0000, 0 0 16px #ff0000;
    white-space: nowrap;
}
@keyframes ledScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   МОДАЛЬНЫЕ ОКНА
   ============================================================ */
.o-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.o-modal.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}
.o-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.o-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    color: #0a0a0a;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(.16, 1, .3, 1);
    z-index: 1;
    box-sizing: border-box;
}
.o-modal.is-open .o-modal__dialog { transform: translateY(0) scale(1); }
.o-modal__dialog--wide { max-width: 960px; }
.o-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
    color: #0a0a0a;
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s;
    z-index: 3;
}
.o-modal__close:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    transform: rotate(90deg);
}
.o-modal__content { padding: 40px 40px 36px; }

/* ============================================================
   ★ АККОРДЕОНЫ ПОДВАЛА — премиум-стиль
   ============================================================ */

.site-footer .footer-col {
    position: relative;
    min-width: 0;
}

.footer-col__title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #2a9d4a);
    border-radius: 2px;
}

/* Кнопка-toggle — только на мобиле */
.footer-col__toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(42,157,74,0.08) 0%, rgba(42,157,74,0.02) 100%);
    border: 1px solid rgba(42,157,74,0.25);
    border-radius: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}
.footer-col__toggle:hover {
    background: linear-gradient(135deg, rgba(42,157,74,0.14) 0%, rgba(42,157,74,0.04) 100%);
    border-color: rgba(74,222,128,0.45);
}
.footer-col__toggle > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.footer-col__toggle > span:first-child::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #4ade80, #2a9d4a);
    border-radius: 2px;
    flex-shrink: 0;
}
.footer-col__toggle i {
    color: #4ade80;
    font-size: 12px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.footer-col__toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(42,157,74,0.16) 0%, rgba(42,157,74,0.05) 100%);
    border-color: rgba(74,222,128,0.5);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 20px rgba(42,157,74,0.15);
}
.footer-col__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* --- Мобильные аккордеоны --- */
@media (max-width: 768px) {
    .footer-col__title { display: none !important; }
    .footer-col__toggle { display: flex !important; }

    /* Тело колонки — свёрнуто по умолчанию */
    .footer-col__body {
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0;
        margin: 0 !important;
        padding: 0 18px !important;
        border: 1px solid rgba(42,157,74,0.25);
        border-top: none;
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
        background: linear-gradient(180deg, rgba(42,157,74,0.05) 0%, transparent 100%);
        box-sizing: border-box;
        transition:
            max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            padding 0.3s ease;
        pointer-events: none;
    }
    .footer-col.is-open .footer-col__body {
        max-height: 1400px !important;
        opacity: 1;
        padding: 18px !important;
        pointer-events: auto;
    }

    /* Скрываем брендовую колонку на мобиле — она не сворачивается */
    .footer-col--brand { grid-column: 1 / -1; }

    .site-footer .container {
        gap: 12px !important;
    }
    .footer-col[data-footer-accordion] {
        min-width: 0;
        width: 100%;
    }

    /* Менюшки внутри подвала */
    .footer-col__body .footer-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .footer-col__body .footer-menu li a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        color: #d0d0d0;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }
    .footer-col__body .footer-menu li a:hover {
        background: rgba(42,157,74,0.12);
        color: #4ade80;
        border-color: rgba(74,222,128,0.3);
        transform: translateX(3px);
    }

    /* Контактный список */
    .footer-col__body .contact-info {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer-col__body .contact-info li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 13.5px;
        color: #b8b8b8;
        line-height: 1.5;
    }
    .footer-col__body .contact-info li i {
        color: #4ade80;
        width: 18px;
        text-align: center;
        flex-shrink: 0;
        margin-top: 3px;
    }
    .footer-col__body .contact-info a {
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px dashed rgba(74,222,128,0.4);
    }
    .footer-col__body .contact-info a:hover {
        color: #4ade80;
    }
}

/* ============================================================
   ★ МОБИЛЬНАЯ АДАПТАЦИЯ — мягкая и аккуратная
   ============================================================ */

@media (max-width: 1100px) {
    .hm-purchase { grid-template-columns: repeat(2, 1fr); }
    .hm-wr { gap: 40px; }
}

@media (max-width: 900px) {
    .hm-brands,
    .hm-expert-section,
    .hm-purchase-section,
    .hm-wr-section,
    .hm-comm-section { padding: 56px 0; }

    .hm-wr { grid-template-columns: 1fr; gap: 48px; }

    .hm-comm {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hm-comm__card {
        padding: 28px 24px;
        gap: 18px;
    }
    .hm-comm__icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    .hm-comm__title { font-size: 19px; }
    .hm-comm__desc { font-size: 13.5px; }

    .hm-section-head { gap: 12px; margin-bottom: 32px; }
    .hm-section-head__icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .hm-section-head__title { font-size: 26px; }

    .nap-block { padding: 26px 22px; }
    .nap-block__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .nap-actions { flex-direction: column; gap: 10px; }
    .nap-action-btn { width: 100%; justify-content: center; }

    .partner-form-wrap { padding: 28px 24px; }
    .partner-form { grid-template-columns: 1fr; gap: 16px; }
    .partner-form-head h2 { font-size: 22px; }
    .partner-form__submit { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
    .hm-brands,
    .hm-expert-section,
    .hm-purchase-section,
    .hm-wr-section,
    .hm-comm-section { padding: 48px 0; }
    .hm-brands { padding: 36px 0; }

    .hm-section-head { gap: 12px; margin-bottom: 28px; }
    .hm-section-head__icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
    .hm-section-head__title { font-size: 24px; }

    .hm-brands__label { font-size: 10.5px; letter-spacing: 2px; margin-bottom: 22px; }
    .hm-brands__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hm-brand { height: 64px; padding: 12px; border-radius: 12px; }
    .hm-brand img { max-width: 84px; max-height: 36px; }

    /* О специалисте */
    .hm-expert-bio__name { font-size: 26px; margin-bottom: 6px; }
    .hm-expert-bio__role { font-size: 13.5px; margin-bottom: 18px; }
    .hm-expert-bio__facts { gap: 8px; margin-bottom: 24px !important; }
    .hm-expert-bio__facts li { padding: 13px 15px; font-size: 14px; gap: 12px; border-radius: 12px; }
    .hm-expert-bio__facts li i {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
        border-radius: 9px;
    }
    .hm-expert-bio__facts li span { padding-top: 3px; }
    .hm-expert-bio__actions { flex-direction: column; gap: 10px; }
    .hm-expert-bio__actions .hm-btn {
        width: 100%;
        justify-content: center;
        min-height: 50px;
        font-size: 14px;
        padding: 14px 20px;
    }

    /* Услуги */
    .hm-purchase { grid-template-columns: 1fr; gap: 12px; }
    .hm-purchase-card {
        padding: 22px 20px;
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        min-height: 0;
    }
    .hm-purchase-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 14px;
        border-radius: 12px;
    }
    .hm-purchase-card__title { font-size: 16px; margin-bottom: 6px; }
    .hm-purchase-card__desc { font-size: 13px; line-height: 1.5; }

    /* Работы и отзывы */
    .hm-wr { gap: 36px; }
    .hm-wr__head { padding-bottom: 12px; margin-bottom: 18px; }
    .hm-wr__head h3 { font-size: 17px; }
    .hm-wr__link { font-size: 11px; }
    .hm-works { gap: 10px; }
    .hm-work { border-radius: 12px; }
    .hm-more-btn {
        padding: 13px 16px;
        font-size: 12px;
        border-radius: 12px;
        margin-top: 12px;
    }
    .hm-review { padding: 16px 0; }
    .hm-review__avatar { width: 36px; height: 36px; font-size: 13px; }
    .hm-review__author { font-size: 13.5px; }
    .hm-review__date { font-size: 11.5px; }
    .hm-review__text { font-size: 13.5px; line-height: 1.6; }
    .hm-empty { padding: 32px 18px; font-size: 13.5px; }
    .hm-empty__btn { padding: 10px 20px; font-size: 12.5px; }

    /* Сообщество */
    .hm-comm { grid-template-columns: 1fr; gap: 14px; }
    .hm-comm__card {
        padding: 24px 20px 22px;
        border-radius: 18px;
        gap: 16px;
    }
    .hm-comm__card:hover { transform: translateY(-2px); }
    .hm-comm__icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 14px;
    }
    .hm-comm__label {
        font-size: 10.5px;
        letter-spacing: 1.3px;
        margin-bottom: 8px;
    }
    .hm-comm__title {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
    }
    .hm-comm__desc {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 14px;
    }
    .hm-btn--primary-sm {
        padding: 10px 20px;
        font-size: 12.5px;
        min-height: 42px;
        gap: 7px;
        margin-top: 6px;
    }

    /* Инфо-страницы */
    .info-page__hero { padding: 24px 20px; }
    .info-page__hero h1 { font-size: 24px; }
    .info-page__hero p { font-size: 14.5px; }
    .info-block { padding: 22px 20px; border-radius: 14px; }
    .info-block h2 { font-size: 17.5px; }
    .info-block p, .info-block ul li { font-size: 14.5px; }
    .info-page__actions { flex-direction: column; margin-top: 28px; }
    .info-page__actions .btn-primary { width: 100%; justify-content: center; }

    /* Форма партнёров */
    .partner-form-wrap { padding: 24px 20px; border-radius: 18px; }
    .partner-form-head h2 { font-size: 20px; }
    .partner-form-head p { font-size: 13.5px; }
    .partner-form__field input,
    .partner-form__field textarea {
        font-size: 14.5px;
        padding: 12px 14px;
    }

    /* NAP */
    .nap-block { padding: 24px 20px; border-radius: 18px; }
    .nap-block__title { font-size: 18px; margin-bottom: 20px; }
    .nap-block__grid { grid-template-columns: 1fr; gap: 18px; }
    .nap-action-btn { padding: 14px 22px; font-size: 14px; min-height: 50px; }

    /* Модалки темы */
    .o-modal { padding: 0; align-items: flex-end; }
    .o-modal__dialog {
        max-height: 94vh;
        max-width: 100%;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }
    .o-modal.is-open .o-modal__dialog { transform: translateY(0); }
    .o-modal__content { padding: 26px 20px 28px; }
    .o-modal__close { top: 10px; right: 10px; width: 40px; height: 40px; }

    /* Модалка — контент */
    .hm-modal-title { font-size: 21px; }
    .hm-modal-subtitle { font-size: 13px; margin-bottom: 20px; }
    .hm-modal-text { font-size: 14.5px; line-height: 1.65; }
    .hm-modal-facts { gap: 14px; padding: 16px 0; margin-top: 18px; }
    .hm-modal-fact b { font-size: 21px; }
    .hm-modal-fact span { font-size: 11.5px; }
    .hm-modal-list__item { padding: 14px 16px; gap: 14px; border-radius: 13px; }
    .hm-modal-list__item > i { width: 42px; height: 42px; font-size: 1rem; border-radius: 12px; }
    .hm-modal-list__item b { font-size: 14px; }
    .hm-modal-list__item span { font-size: 12.5px; }
    .hm-modal-docs { margin-top: 26px; padding-top: 22px; gap: 18px; }
    .hm-modal-docs__grid { grid-template-columns: repeat(2, 1fr); }
    .hm-modal-works { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hm-modal-actions { flex-direction: column; gap: 10px; }
    .hm-modal-actions .hm-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
        font-size: 14px;
        min-height: 50px;
    }
}

@media (max-width: 400px) {
    .hm-section-head__title { font-size: 22px; }
    .hm-comm__title { font-size: 17px; }
    .hm-comm__card { padding: 22px 18px 20px; }
}