/* ==========================================
   1. СБРОС СТИЛЕЙ И БАЗОВЫЕ ПЕРЕМЕННЫЕ
   ========================================== */
:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.2);

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1100px;
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Доступность для клавиатурной навигации */
.skip {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-color);
    color: #fff;
    padding: 10px 16px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip:focus {
    top: 0;
}

/* ==========================================
   2. СЕТКА И СТРУКТУРА
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section__head {
    margin-bottom: 40px;
    text-align: center;
}

.section__head h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-note {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.muted {
    color: var(--text-muted);
}

.list-plain {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    line-height: 1.6;
}

.price-tag {
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

/* ==========================================
   3. ШАПКА И НАВИГАЦИЯ
   ========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.topbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 0;
    width: 100%;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    /* Зеленый индикатор "На связи" */
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: brand-pulse 2s infinite ease-in-out;
}

@keyframes brand-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 10px 4px rgba(16, 185, 129, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.brand__name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.navlinks {
    display: flex;
    gap: 20px;
}

.navlink {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navlink:hover,
.navlink.active {
    color: #fff;
    font-weight: 600;
}

/* ==========================================
   4. HERO БЛОК
   ========================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr auto 320px;
    gap: 40px;
    align-items: center;
    padding: 60px 0 80px;
}

.kicker {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.hero__text h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero__text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.lead {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.hero__divider {
    width: 1px;
    height: 100%;
    background: var(--card-border);
}

.hero__photo img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
}

.location-badge {
    padding-left: 8px;
}

@media (max-width: 600px) {
    .location-badge {
        padding-left: 0;
    }
}

.meta {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.meta__label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta__value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================
   5. КНОПКИ
   ========================================== */
.cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn--ghost {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--card-border);
}

.btn--ghost:hover {
    background-color: var(--card-bg);
    border-color: var(--card-hover-border);
}

/* Элегантная текстовая ссылка-кнопка для прайс-листа (Вариант №2) */
.link-btn {
    background: transparent;
    border: none;
    color: var(--text-muted, #9ca3af);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.link-btn:hover {
    color: #fff;
    transform: translateX(2px);
}

/* ==========================================
   6. ПЛИТКИ И КАРТОЧКИ (TILES & CARDS)
   ========================================== */
.tile,
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tile:hover,
.card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
}

.tile h3,
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.tile p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.tile__hint {
    font-size: 0.85rem !important;
    color: #10b981 !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

/* ==========================================
   7. ПРАЙС-ЛИСТ (ВАРИАНТ №2)
   ========================================== */
.price-card {
    background: #131927;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    margin-bottom: 24px;
    overflow: hidden;
}

.price-card__header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.price-card__header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

.price-card__list {
    padding: 8px 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 16px;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row__name {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.price-row__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.price-row__val {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Контейнер для названия и подписи */
.price-row__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* небольшое расстояние между названием и подписью */
}

/* Стили для серой подписи */
.price-row__note {
    font-size: 0.85rem;
    /* уменьшенный размер шрифта */
    color: #8a8d93;
    /* мягкий серый цвет */
    font-weight: 400;
    transition: color 0.2s ease;
}

/* Контейнер для названия и подписи */
.price-row__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* небольшое расстояние между названием и подписью */
}

/* Ссылка-подпись */
.price-row__note-link {
    text-decoration: none;
    display: inline-block;
}

.price-row__note-link:hover .price-row__note {
    color: #fff;
}

/* Выделение звездочки */
.price-row__note .req {
    color: #ef4444;
    /* Акцентная красная звездочка */
    font-weight: bold;
}

/* ==========================================
   8. ФОРМЫ И МОДАЛЬНОЕ ОКНО
   ========================================== */
.contact-card {
    max-width: 650px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px;
}

#lead-form {
    display: grid;
    gap: 16px;
}

form input[type="text"],
form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

form input[type="text"]:focus,
form textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

form input[type="tel"],
form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

form input[type="tel"]:focus,
form textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

form textarea {
    resize: vertical;
    min-height: 90px;
    max-height: 200px;
}

.label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.req {
    color: #ef4444;
    margin-left: 2px;
    font-weight: bold;
}

.opt {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: normal;
    margin-left: 4px;
}

/* Разделение блока контактов */
.field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .field-group {
        grid-template-columns: 1fr;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal__container {
    background: #131927;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 28px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal__close:hover {
    color: #fff;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.modal__form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 8px;
}

/* ==========================================
   9. ПОДВАЛ (FOOTER)
   ========================================== */
.footer {
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer__item .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer__item a,
.footer__item div:not(.label) {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
}

.footer__item a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   10. АДАПТИВНОСТЬ (MOBILE RESPONSIVE)
   ========================================== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__divider {
        display: none;
    }

    .hero__photo {
        order: -1;
    }

    .hero__photo img {
        height: auto;
    }

    .hero__text h1 {
        font-size: 2.1rem;
    }

    .meta {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .price-card__list {
        padding: 8px 16px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .price-row__right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================
   11. УВЕДОМЛЕНИЕ (TOAST)
   ========================================== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #131927;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toast__icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.toast__title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast__message {
    color: var(--text-muted, #9ca3af);
    font-size: 0.85rem;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

.status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.status-dot--green {
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.status-dot--yellow {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.status-dot--red {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.card:hover .status-dot--green,
.status-dot--green:hover {
    animation: pulse-green 1.2s infinite ease-in-out;
}

.card:hover .status-dot--yellow,
.status-dot--yellow:hover {
    animation: pulse-yellow 1.2s infinite ease-in-out;
}

.card:hover .status-dot--red,
.status-dot--red:hover {
    animation: pulse-red 1.2s infinite ease-in-out;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.25);
        box-shadow: 0 0 14px 6px rgba(16, 185, 129, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulse-yellow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    50% {
        transform: scale(1.25);
        box-shadow: 0 0 14px 6px rgba(245, 158, 11, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        transform: scale(1.25);
        box-shadow: 0 0 14px 6px rgba(239, 68, 68, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.telegram-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #229ED9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 90;
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: tg-pulse 2.5s infinite ease-in-out;
}

.telegram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.6);
    color: #fff;
}

.telegram-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 2px;
}

@keyframes tg-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(34, 158, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 158, 217, 0);
    }
}

@media (max-width: 600px) {
    .telegram-float {
        bottom: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }

    .telegram-float svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   Мобильное бургер-меню
   ========================================================================== */

.burger-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    z-index: 101;
    margin-left: auto;
}

.burger-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .burger-toggle {
        display: block;
    }

    .navlinks {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navlinks.is-open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.g-recaptcha-text {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
}

.g-recaptcha-text a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.g-recaptcha-text a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.footer__bottom p {
    margin-bottom: 6px;
}

.footer__bottom a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer__bottom a:hover {
    color: var(--accent-color);
}

/* --- Карусель отзывов --- */
.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-card {
    flex: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.review-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.review-slide.active {
    display: block;
    opacity: 1;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    user-select: none;
}

.carousel-btn:hover {
    background: var(--accent-color, #10b981);
    border-color: var(--accent-color, #10b981);
    color: #111;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color, #10b981);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .carousel-btn {
        display: none;
    }
}

/* --- КНОПКИ ФИЛЬТРОВ КЕЙСОВ --- */
.cases-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted, #94a3b8);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: var(--accent-color, #38bdf8);
    background: rgba(56, 189, 248, 0.1);
}

.filter-btn.active {
    background: var(--accent-color, #38bdf8);
    border-color: var(--accent-color, #38bdf8);
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* ==========================================
   Специфические стили для страницы CASES.HTML
   ========================================== */

.cases-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: #131927;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius, 16px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card.hide {
    display: none !important;
}

.case-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.case-card__visual {
    position: relative;
    background: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 280px;
}

.case-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Слайдер карточки */
.case-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-slider__slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.case-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    position: absolute;
}

.case-card__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
    border-radius: 4px;
}

.case-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 5;
    transition: background 0.2s ease;
}

.case-slider__btn:hover {
    background: #38bdf8;
    color: #0f172a;
}

.case-slider__btn--prev {
    left: 10px;
}

.case-slider__btn--next {
    right: 10px;
}

.case-slider__dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}

.case-slider__dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.case-slider__dots .dot.active {
    background: #38bdf8;
    width: 18px;
    border-radius: 10px;
}

/* Контент карточки */
.case-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-card__number {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    font-weight: 600;
}

.case-card__title {
    font-size: 20px;
    color: #fff;
    margin: 4px 0 16px 0;
    line-height: 1.3;
}

.case-card__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-item__label {
    font-size: 12px;
    color: #94a3b8;
}

.metric-item--before .metric-item__value {
    color: #f87171;
    font-size: 13px;
    font-weight: 500;
}

.metric-item--after .metric-item__value {
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
}

.case-card__details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.case-card__block h4 {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.case-card__block p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
}

.case-card__block ul {
    list-style-type: disc;
    padding-left: 18px;
    color: #94a3b8;
    font-size: 14px;
}

.case-card__block li {
    margin-bottom: 4px;
}

.case-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
    flex-wrap: wrap;
}

.case-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #cbd5e1;
}

@media (max-width: 900px) {
    .case-card {
        grid-template-columns: 1fr;
    }

    .case-card__visual {
        min-height: 280px;
    }
}

@media (max-width: 600px) {
    .case-card__metrics {
        grid-template-columns: 1fr;
    }

    .case-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .case-card__footer .btn {
        width: 100%;
    }
}