/* style.css */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    scroll-padding-top: 70px; /* Уменьшено расстояние при скролле до блоков */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

section {
    padding: 60px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

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

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 2px;
}

.section-title p {
    max-width: 800px;
    margin: 20px auto 0;
    color: var(--gray);
    font-size: 1.6rem;
}

/* ==================== */
/* HEADER - FIXED */
/* ==================== */

header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Логотип */
.logo-container {
	display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo {
    width: 48px; /* Увеличено на 20% (было 40px) */
    height: 48px; /* Увеличено на 20% (было 40px) */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.3);
}

.logo-svg {
    width: 32px; /* Увеличено на 20% (было 26px) */
    height: 32px; /* Увеличено на 20% (было 26px) */
    object-fit: contain;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem; /* Увеличено на 20% (было 1.2rem) */
    color: var(--primary);
    transition: var(--transition);
    white-space: nowrap;
}

.logo-text span {
    color: var(--secondary);
}

/* Desktop Navigation - Enhanced hover effects */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
    color: var(--dark);
    transition: var(--transition);
    display: inline-block;
}

.nav-links a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    transition: var(--transition);
    border-radius: 1.5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

/* Активное состояние пункта меню */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active:before {
    width: 100%;
}

.nav-links a.active:after {
    opacity: 1;
    bottom: -10px;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a:hover:before {
    width: 100%;
}

.nav-links a:hover:after {
    opacity: 1;
    bottom: -10px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 48px; /* Увеличено на 20% */
    height: 48px; /* Увеличено на 20% */
    border-radius: var(--radius);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
    background: rgba(30, 58, 138, 0.1);
    flex-shrink: 0;
    margin-left: 15px;
}

.mobile-menu-btn:hover {
    background: rgba(30, 58, 138, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn i {
    font-size: 1.5rem; /* Увеличено на 20% */
    color: var(--primary);
    transition: var(--transition);
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Hero Section - Adjusted for increased header */
.hero {
	padding-top: 120px; /* Было 160px */
    padding-bottom: 60px; /* Добавить нижний отступ */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    overflow: hidden;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* About Section */
.about {
    background-color: white;
    scroll-margin-top: 50px; /* Уменьшено расстояние при скролле */
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Было 25px */
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Legal Placeholder */
.legal-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-placeholder:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ffffff" opacity="0.1" d="M50,20 L80,50 L50,80 L20,50 Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.legal-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.legal-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.legal-placeholder .subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.legal-elements {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.legal-elements i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.legal-elements i:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* Services Section */
.services {
    background-color: #f8fafc;
    position: relative;
    scroll-margin-top: 50px; /* Уменьшено расстояние при скролле */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Было 30px */
}

.service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 25px 20px; /* Было 35px 25px */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Process Section */
.process {
    background-color: white;
    scroll-margin-top: 50px; /* Уменьшено расстояние при скролле */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Было 30px */
    counter-reset: step;
}

.step {
    text-align: center;
    position: relative;
    padding: 25px 15px; /* Было 30px 20px */
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px; /* Было 70px */
    height: 60px; /* Было 70px */
    margin: 0 auto 15px; /* Было 25px */
    background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 35px;
    right: -30px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0.3;
}

/* Benefits Section */
.benefits {
    background-color: #f8fafc;
    scroll-margin-top: 50px; /* Уменьшено расстояние при скролле */
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 20px; /* Было 25px */
    margin-bottom: 20px; /* Было 30px */
    background-color: white;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Specialization Section */
.specialization {
    background-color: white;
    scroll-margin-top: 50px; /* Уменьшено расстояние при скролле */
}

.specialization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.specialization-tag {
    position: relative;
    padding: 15px 25px 15px 50px;
    border-left: 4px solid var(--primary);
    background: white;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    user-select: none;
}

.specialization-tag:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
}

.specialization-tag .tag-icon {
    font-size: 1.3rem;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.specialization-tag .tag-text {
    font-weight: 500;
}

/* Tooltip */
.tag-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: linear-gradient(135deg, var(--dark) 0%, #2d3748 100%);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
    pointer-events: none;
    min-width: 180px;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
}

.tag-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--dark);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.specialization-tag:hover .tag-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Contact Form Section */
#contact.contact-form-section
.contact-form-section {
    background-color: white;
    position: relative;
	padding-top: 15px;        /* вместо 60px */
    scroll-margin-top: 10px;  /* вместо 50px */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ffffff" opacity="0.1" d="M50,20 L80,50 L50,80 L20,50 Z"/></svg>');
    background-size: 200px;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-info p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.contact-details {
    margin-top: 35px;
    position: relative;
    z-index: 1;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-bottom: 15px; /* Было 25px */
    padding: 12px; /* Было 15px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-detail:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-detail i {
    color: var(--secondary);
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-container h3 {
    margin-bottom: 25px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Form Messages */
.form-message {
    padding: 20px;
    margin-top: 25px;
    border-radius: var(--radius);
    font-size: 15px;
    line-height: 1.6;
    display: none;
    animation: slideIn 0.3s ease-out;
    border: 1px solid transparent;
    position: relative;
    padding-left: 60px;
    backdrop-filter: blur(5px);
}

.form-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.3);
}

.form-message:before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.form-message.success:before {
    content: "\f058";
    color: #10b981;
}

.form-message.error:before {
    content: "\f057";
    color: #ef4444;
}

.form-message.show {
    display: block;
}

/* Loading Button Animation */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    color: white;
    padding: 50px 0 25px; /* Было 70px 0 30px */
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px; /* Было 50px */
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: var(--secondary);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

/* Mobile Menu - Modern */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        transform: translateX(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 1000;
        gap: 8px;
    }
    
    .nav-links.show {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.show li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.show li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.show li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.show li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.show li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.show li:nth-child(5) { transition-delay: 0.3s; }

    .nav-links li a {
        display: flex;
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark);
        border-radius: var(--radius);
        transition: var(--transition);
        justify-content: center;
        margin: 1px 0;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Активное состояние для мобильного меню */
    .nav-links li a.active {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
        color: white;
        border-color: transparent;
    }
    
    .nav-links li a:hover {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
        color: white;
        transform: translateX(5px);
        border-color: transparent;
    }
    
    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }
    
    /* Hero Mobile Optimization */
    .hero {
        padding-top: 100px; /* Было 140px */
        padding-bottom: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    /* Section Spacing Mobile */
    section {
        padding: 40px 0;
        scroll-margin-top: 40px; /* Уменьшено для мобильных */
    }
    
    .section-title {
        margin-bottom: 30px; /* Было 40px */
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* About Mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    /* Legal Placeholder Mobile */
    .legal-placeholder {
        height: 300px;
    }
    
    .legal-placeholder i {
        font-size: 2.5rem;
    }
    
    .legal-placeholder p {
        font-size: 1.1rem;
    }
    
    .legal-elements i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    /* Process Mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Benefits Mobile */
    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
		margin-bottom: 15px;
    }
    
    .benefit-icon {
        margin: 0 auto 15px;
    }
    
    /* Specialization Mobile */
    .specialization-tags {
        gap: 10px;
    }
    
    .specialization-tag {
        padding: 12px 20px 12px 45px;
        font-size: 0.9rem;
        margin: 3px;
    }
    
    .tag-tooltip {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 85vw;
        max-width: 85vw;
        min-width: auto;
        max-height: 70vh;
        overflow-y: auto;
        white-space: normal;
        text-align: center;
        padding: 20px;
        font-size: 1rem;
        z-index: 99999;
    }
    
    .tag-tooltip:after {
        display: none;
    }
    
    /* Contact Mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .form-container {
        padding: 25px;
    }

	#contact.contact-form-section,
    .contact-form-section {
        padding-top: 18px;
        scroll-margin-top: 14px;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    /* Touch-friendly Buttons */
    .btn {
        min-height: 50px;
        padding: 15px 25px;
    }
    
    /* Better Form Inputs for Mobile */
    .form-control {
        font-size: 16px;
        min-height: 50px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        text-align: center;
        width: 100%;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .contact-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 42px;
        height: 42px;
    }
    
    .logo-svg {
        width: 28px;
        height: 28px;
    }
    
    .legal-placeholder {
        height: 250px;
    }
    
    .legal-placeholder i {
        font-size: 2rem;
    }
    
    .legal-placeholder p {
        font-size: 1rem;
    }
    
    .legal-elements {
        gap: 10px;
    }
    
    .legal-elements i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .specialization-tag {
        padding: 10px 15px 10px 40px;
        font-size: 0.85rem;
    }
    
    /* Mobile Menu further adjustments */
    .nav-links li a {
        padding: 16px;
        font-size: 1rem;
        margin: 1px 0;
    }
    
    .nav-links {
        gap: 8px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

.scroll-indicator.show {
    opacity: 1;
    visibility: visible;
}

.scroll-indicator:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

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

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .mobile-menu-btn,
    .scroll-indicator,
    .btn:hover::before {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    header {
        position: static;
    }
    
    .hero {
        padding-top: 50px;
    }
}


.nav-links a:focus {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a:focus:before {
    width: 100%;
}

.nav-links a:focus:after {
    opacity: 1;
    bottom: -10px;
}