/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f0f23;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-green: #10b981;
    --primary-gold: #f59e0b;
    --primary-blue: #3b82f6;
    --dark-bg: #0f0f23;
    --card-bg: #1f2937;
    --border-color: #374151;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-primary); }

p {
    font-size: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}



/* Центрирование текста в кнопках */
.btn-primary, 
.btn-secondary, 
.btn-outline, 
.contact-btn, 
.cta-btn {
    display: inline-flex;          /* Flexbox для центрирования */
    align-items: center;           /* Вертикальное центрирование */
    justify-content: center;       /* Горизонтальное центрирование */
    text-align: center;            /* Дополнительное центрирование */
    line-height: 1.2;              /* Убираем лишние отступы */
    padding: 12px 24px;            /* Равные отступы */
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;           /* Текст не переносится */
}

/* Для больших кнопок */
.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Специально для hero кнопок */
.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;       /* Центрируем всю группу кнопок */
    flex-wrap: wrap;               /* На мобилках переносятся */
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.4);
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--border-color);
    border-color: var(--primary-green);
    color: var(--primary-green);
    outline: 1px solid var(--primary-gold);
    outline-offset: 1px;
}

.large { padding: 16px 32px; font-size: 1.1rem; }

/* Header - Mobile First */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.agent-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-contact {
    margin-top: 2px;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 1px;
    text-align: center;
    border-radius: 2px;
    font-weight: 500;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-bg);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--card-bg);
    color: var(--primary-green);
    border-left: 3px solid var(--primary-gold);
}

/* Desktop Header */
.desktop-header {
    display: none;
}

@media (min-width: 768px) {
    .mobile-header { display: none; }
    .desktop-header { display: block; }
    
    .desktop-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    
    .logo-section {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .main-nav {
        display: flex;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.2s ease;
        color: var(--text-secondary);
        white-space: nowrap;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-green);
        background: rgba(16, 185, 129, 0.1);
        border-bottom: 2px solid var(--primary-gold);
    }
    
    .header-contact {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .contact-info-desktop {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .contact-phone-desktop {
        font-weight: 500;
        color: var(--text-secondary);
        font-size: 0.95rem;
    }
    
    .whatsapp-desktop {
        padding: 8px 16px;
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid var(--primary-green);
        border-radius: 20px;
        color: var(--primary-green);
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .whatsapp-desktop:hover {
        background: var(--primary-green);
        color: white;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 15, 35, 0.8), rgba(15, 15, 35, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="happy-people" width="1200" height="800" patternUnits="userSpaceOnUse"><image href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAIAAoDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAhEAACAQMDBQAAAAAAAAAAAAABAgMABAUGIWGRkqGx0f/EABUBAQEAAAAAAAAAAAAAAAAAAAMF/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAECEgMRkf/aAAwDAQACEQMRAD8AltVZ5Y8hW7jH6Q3t1xN8gK4O8N2Y9zY6M9uX1J4MhU4Yh2jOQ2sK2o3b4M4H/2Q==" x="0" y="0" width="1200" height="800"/><image href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAIAAoDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAhEAACAQMDBQAAAAAAAAAAAAABAgMABAUGIWGRkqGx0f/EABUBAQEAAAAAAAAAAAAAAAAAAAMF/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAECEgMRkf/aAAwDAQACEQMRAD8AltVZ5Y8hW7jH6Q3t1xN8gK4O8N2Y9zY6M9uX1J4MhU4Yh2jOQ2sK2o3b4M4H/2Q==" x="400" y="200" width="800" height="600"/></pattern></defs><rect width="1200" height="800" fill="url(%23happy-people)"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 58, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(245, 158, 11, 0.2) 50%, 
        rgba(59, 130, 246, 0.2) 100%);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--card-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--dark-bg);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-green);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-blue), var(--primary-gold));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-icon.savings { 
    background: linear-gradient(135deg, var(--primary-green), #059669); 
}
.service-icon.protection { 
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8); 
}
.service-icon.health { 
    background: linear-gradient(135deg, var(--primary-green), #10b981); 
}
.service-icon.pension { 
    background: linear-gradient(135deg, var(--primary-gold), #d97706); 
}
.service-icon.travel { 
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6); 
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-green);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.service-link:hover {
    color: var(--primary-gold);
}

/* Service Sections */
.service-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.service-section.alternate {
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-gold), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-green);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.product-icon.savings { background: linear-gradient(135deg, var(--primary-green), #e2aa0f); }
.product-icon.protection { background: linear-gradient(135deg, var(--primary-blue), #148354); }
.product-icon.health { background: linear-gradient(135deg, var(--primary-green), #fc81ba); }
.product-icon.pension { background: linear-gradient(135deg, var(--primary-gold), #0649d9); }
.product-icon.travel { background: linear-gradient(135deg, var(--primary-blue), #dfff96); }

.product-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr 1fr;
    }
}

.calculator-form {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--dark-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.calculator-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.calculator-results {
    background: var(--dark-bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-item h3 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.result-item.full-width .result-value {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
}

.result-description {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* Vacancy Section */
.vacancy-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}

.vacancy-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .vacancy-content {
        grid-template-columns: 2fr 1fr;
        gap: 64px;
    }
}

.vacancy-info h3,
.vacancy-requirements h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: var(--dark-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 10px;
    position: relative;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-blue));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-icon::after {
    opacity: 1;
}

.benefit-icon.career { background: linear-gradient(135deg, var(--primary-gold), #d97706); }
.benefit-icon.money { background: linear-gradient(135deg, var(--primary-green), #10b981); }
.benefit-icon.training { background: linear-gradient(135deg, var(--primary-blue), #3b82f6); }
.benefit-icon.support { background: linear-gradient(135deg, var(--primary-gold), #f59e0b); }
.benefit-icon.growth { background: linear-gradient(135deg, var(--primary-green), #059669); }
.benefit-icon.stable { background: linear-gradient(135deg, var(--primary-blue), #1d4ed8); }

.benefit-card h4 {
    margin-bottom: 12px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.requirements-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.vacancy-action {
    text-align: center;
    padding: 24px;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.vacancy-action h3 {
    margin-bottom: 12px;
    color: var(--primary-gold);
}

.vacancy-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .vacancy-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .vacancy-buttons .btn-primary,
    .vacancy-buttons .btn-secondary {
        width: 100%;
        max-width: 200px;
    }
}

/* Consultation Section */
.consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
}

.consultation-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.consultation-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .consultation-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: var(--dark-bg);
}

.contacts-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-gold));
    flex-shrink: 0;
    position: relative;
}

.agent-avatar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-blue));
    border-radius: 50%;
    z-index: -1;
}

.agent-details h3 {
    margin-bottom: 4px;
}

.agent-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: var(--border-color);
    border-color: var(--primary-green);
    transform: translateX(4px);
}

.contact-item a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item:hover a {
    color: var(--primary-green);
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    flex-shrink: 0;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-blue));
    border-radius: 7px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon::after {
    opacity: 1;
}

.contact-icon.phone { 
    background-color: var(--primary-green); 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>'); 
}

.contact-icon.email { 
    background-color: var(--primary-blue); 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>'); 
}

.contact-icon.whatsapp { 
    background-color: #25d366; 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"/></svg>'); 
}

.contact-icon.telegram { 
    background-color: #005079; 
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

.footer-agent h3 {
    margin-bottom: 8px;
}

.footer-agent p {
    color: var(--text-muted);
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 60px; }
    .service-section, .consultation, .contacts { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.nav-link:focus,
.contact-btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}


/* Hero Background Image */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8), rgba(16, 185, 129, 0.1)), 
                url('back.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(16, 185, 129, 0.1));
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        background-position: center 20%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
}

/* Альтернативный вариант - если back.jpg слишком тяжелый */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.3; /* Прозрачность изображения */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8), rgba(16, 185, 129, 0.1));
    z-index: 1;
}