/* Дополнительные стили для сайта юридической компании */



/* Пользовательские шрифты */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
}

/* Стили для активных ссылок в навигации */
nav a.active {
    color: #1e40af;
    font-weight: 600;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Кастомизация полосы прокрутки */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Стили для выделения формы */
#consultation-form input:focus, 
#consultation-form select:focus, 
#consultation-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Адаптивные улучшения */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

/* Эффекты при наведении на карточки услуг */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* ===== УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ФУТЕРА ===== */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 4px solid #3b82f6;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}

footer .container {
    position: relative;
    z-index: 10;
}

/* Логотип и название в футере */
footer .company-logo {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

footer h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Заголовки разделов футера */
footer h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f8fafc;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #60a5fa;
}

/* Ссылки в футере */
footer a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

footer a:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

/* Иконки в списках футера */
footer ul li {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding-bottom: 0.75rem;
}

footer ul li:last-child {
    border-bottom: none;
}

/* Иконки контактов */
footer .contact-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

footer .contact-icon:hover {
    transform: scale(1.1);
}

/* Реквизиты - моноширинный шрифт */
footer .font-mono {
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    font-size: 0.85rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Социальные иконки */
footer .social-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

footer .social-icon:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Нижняя часть футера */
footer .border-t {
    border-color: rgba(148, 163, 184, 0.2);
}

footer .text-gray-500 {
    color: #64748b;
}

/* Ссылки на legal документы */
footer a.text-xs {
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
    padding-bottom: 1px;
}

footer a.text-xs:hover {
    border-bottom-style: solid;
    border-bottom-color: #60a5fa;
}

/* Адаптивность футера */
@media (max-width: 768px) {
    footer .grid-cols-5 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer .lg\:col-span-2 {
        grid-column: span 1;
    }
    
    footer h3 {
        margin-bottom: 1rem;
    }
}

/* Улучшения для карточек реквизитов */
footer .requisite-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

footer .requisite-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(3px);
}

/* Часы работы и лицензия */
footer .license-info {
    background: rgba(15, 23, 42, 0.6);
    border-left: 3px solid #3b82f6;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
}

/* Иконки Lucide в футере */
footer [data-lucide] {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: #60a5fa;
}

/* Эффект подсветки для активных элементов */
footer .highlight-text {
    color: #f8fafc;
    font-weight: 600;
}


.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}



/* плашка свящаться в max */


.sv-max {
    display: flex;
    align-items: center;
}

.sv-max img {
    margin-left: 10px;
}

.top-sv-max {
   margin-right:10px;
   display: flex;
}


/* Мобильная версия */
@media (max-width: 768px) {
  .block-contacts-max {
    display: flex;
    flex-direction: column;
  }

  .top-sv-max {
    justify-content: center;
    margin-top: 20px;
    }

  .sv-max {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
}