@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Playfair+Display:wght@600;700;900&display=swap');

:root {
    --color-navy: #0F172A;
    --color-gold: #C5A059;
    --color-gold-light: #d4b882;
    --color-white: #ffffff;
    --border-radius-large: 40px; /* Фишка Jurmetrica - большие скругления */
    --border-radius-card: 16px;
}

body { font-family: 'Manrope', sans-serif; background: #f3f4f6; color: #1f2937; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--color-navy); }


/* =========================================
   ИДЕАЛЬНЫЙ ТЕМНЫЙ NAVBAR (NAVY)
   ========================================= */
.zanshi-navbar-wrap {
    background-color: var(--color-navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Едва заметная светлая линия снизу */
}

/* Тень при скролле делаем чуть насыщеннее для темного фона */
.uk-navbar-sticky .zanshi-navbar-wrap {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5) !important; 
    border-bottom: none !important;
}

.zanshi-nav-links > li > a {
    font-family: 'Manrope', sans-serif;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #ffffff !important; /* Текст теперь БЕЛЫЙ */
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.zanshi-nav-links > li:hover > a,
.zanshi-nav-links > li.uk-active > a {
    color: var(--color-gold) !important; /* Золотой при наведении */
}
/* =========================================
   ПЕРВЫЙ ЭКРАН (HERO / SLIDER)
   ========================================= */
.zanshi-hero-section {
    background-color: var(--color-navy);
    padding-top: 60px;
    padding-bottom: 100px;
    /* Ключевая фишка: массивные скругления снизу */
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
    position: relative;
}

/* Сетка карточек справа */
.hero-bento-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hero-bento-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Золотая карточка с цифрами */
.hero-card-gold {
    background-color: var(--color-gold);
    color: var(--color-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

/* Карточка с фото юриста */
.hero-card-photo {
    background-size: cover;
    background-position: top center;
}
/* Мощный градиент снизу для идеальной читаемости текста */
.hero-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, transparent 100%);
    z-index: 1;
}
.hero-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    z-index: 2;
    color: #ffffff;
}

/* Адаптив для мобильных: убираем огромные скругления, чтобы не "съедало" место */
@media (max-width: 640px) {
    .zanshi-hero-section { border-radius: 0 0 20px 20px; padding-top: 30px; padding-bottom: 40px; }
    .hero-bento-grid { margin-top: 40px; }
}
/* =========================================
   БЛОК "РЕШИТЬ ПРОБЛЕМУ" (Изящные карточки)
   ========================================= */
.zanshi-problem-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.03);
    text-decoration: none !important;
}

.zanshi-problem-card i {
    color: var(--color-gold); /* Иконки всегда золотые */
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.zanshi-problem-card span {
    color: var(--color-navy); /* Текст темно-синий */
    transition: color 0.3s ease;
}

/* Эффект при наведении (Hover) */
.zanshi-problem-card:hover {
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(197, 160, 89, 0.3); /* Едва заметная золотая рамка */
    transform: translateY(-5px);
}

.zanshi-problem-card:hover i {
    transform: scale(1.15); /* Иконка слегка увеличивается */
}

.zanshi-problem-card:hover span {
    color: var(--color-gold); /* Текст становится золотым */
}
/* =========================================
   БЛОК "НАПРАВЛЕНИЯ РАБОТЫ" (Bento Grid)
   ========================================= */
.zanshi-service-tile {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
}

/* Эффект наведения для светлых карточек */
.zanshi-service-tile:hover {
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    transform: translateY(-5px);
}

/* Темная акцентная карточка (Слева) */
.zanshi-service-tile-dark {
    background-color: var(--color-navy);
    color: #ffffff;
    border: none;
}

.zanshi-service-tile-dark:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    transform: translateY(-5px);
}

.zanshi-service-tile-dark h3 {
    color: #ffffff !important;
}

/* Иконки внутри карточек */
.zanshi-service-tile i {
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.zanshi-service-tile:hover i {
    transform: scale(1.1);
}
/* =========================================
   БЛОК "ПОЧЕМУ ВЫБИРАЮТ НАС" (Split Card)
   ========================================= */
.zanshi-trust-wrapper {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    background-color: var(--color-navy);
}

.zanshi-trust-content {
    padding: 60px;
}

/* Иконки в списке преимуществ */
.zanshi-trust-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.1); /* Полупрозрачный золотой фон */
    border-radius: 12px;
    color: var(--color-gold);
    margin-right: 20px;
    flex-shrink: 0;
}

/* Настройка для планшетов и мобильных */
@media (max-width: 959px) {
    .zanshi-trust-content { padding: 30px 20px; }
    .zanshi-trust-wrapper { border-radius: 20px; }
}
/* =========================================
   БЛОК "НАШИ ЮРИСТЫ" (Слайдер)
   ========================================= */
.zanshi-lawyer-card {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    background-color: var(--color-navy);
}

/* Навигация слайдера (Стрелки) */
.zanshi-slider-nav {
    color: var(--color-navy) !important;
    background: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
}

.zanshi-slider-nav:hover {
    background: var(--color-gold);
    color: #ffffff !important;
    transform: scale(1.1);
}

/* Иконки фактоидов юриста */
.zanshi-lawyer-icon {
    color: var(--color-gold);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

@media (max-width: 959px) {
    .zanshi-lawyer-card { border-radius: 20px; }
}
/* =========================================
   БЛОК "ДЕЛА ИЗ ПРАКТИКИ" (Кейсы)
   ========================================= */
.zanshi-case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.zanshi-case-card:hover {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}

.zanshi-case-tag {
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.zanshi-case-result {
    margin-top: auto; /* Прижимает результат к низу карточки */
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

/* =========================================
   БАННЕР ПРИЗЫВА К ДЕЙСТВИЮ (CTA)
   ========================================= */
.zanshi-cta-banner {
    background-color: var(--color-navy);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

/* Золотой узор/блик на фоне баннера */
.zanshi-cta-banner::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

@media (max-width: 640px) {
    .zanshi-cta-banner { padding: 30px 20px; border-radius: 20px; text-align: center; }
}