/* 
 * Kznukklforum - Основные стили сайта
 * Версия 1.0.0
 * Дата: 10.10.2025
 */

/* ======================================
 * Основные стили и сброс
 * ====================================== */
:root {
    --primary: #173F5F;
    --secondary: #20639B;
    --accent: #3CAEA3;
    --cta: #F6D55C;
    --danger: #ED553B;
    --bg-light: #F8F9FA;
    --bg-dark: #212529;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --border: #DEE2E6;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --header-height: 80px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover, a:focus {
    color: var(--primary);
    text-decoration: underline;
}

ul, ol {
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

section {
    padding: var(--space-lg) 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5, h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

/* ======================================
 * Утилиты
 * ====================================== */
.text-center {
    text-align: center;
}

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

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

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

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

.bg-primary {
    background-color: var(--primary);
    color: white;
}

.bg-secondary {
    background-color: var(--secondary);
    color: white;
}

.bg-accent {
    background-color: var(--accent);
    color: var(--text-primary);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.mb-1 {
    margin-bottom: var(--space-xs);
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-3 {
    margin-bottom: var(--space-md);
}

.mb-4 {
    margin-bottom: var(--space-lg);
}

.mt-1 {
    margin-top: var(--space-xs);
}

.mt-2 {
    margin-top: var(--space-sm);
}

.mt-3 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-lg);
}

.py-1 {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
}

.py-2 {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.py-3 {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.py-4 {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.px-1 {
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
}

.px-2 {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}

.px-3 {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.px-4 {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

/* ======================================
 * Кнопки
 * ====================================== */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    line-height: 1.5;
    text-decoration: none;
}

.btn:hover, .btn:focus {
    text-decoration: none;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #12324d;
    border-color: #12324d;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #184f7b;
    border-color: #184f7b;
    color: white;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-accent:hover, .btn-accent:focus {
    background-color: #309b90;
    border-color: #309b90;
    color: white;
}

.btn-cta {
    background-color: var(--cta);
    border-color: var(--cta);
    color: var(--text-primary);
}

.btn-cta:hover, .btn-cta:focus {
    background-color: #f3c93f;
    border-color: #f3c93f;
    color: var(--text-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: var(--space-md) 0;
}

/* ======================================
 * Заголовок страницы и навигация
 * ====================================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 var(--space-sm);
}

.menu a {
    display: block;
    padding: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.menu a:hover, .menu a:focus, .menu a.active {
    color: var(--primary);
}

.menu a:hover:after, .menu a:focus:after, .menu a.active:after {
    width: 100%;
}

.cta-button {
    margin-left: var(--space-md);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child):after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Page header */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-md);
}

.page-header h1 {
    color: white;
    margin-bottom: var(--space-sm);
}

.page-header .breadcrumbs li,
.page-header .breadcrumbs li:not(:last-child):after,
.page-header .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumbs li:last-child {
    color: white;
}

.page-header .breadcrumbs a:hover {
    color: white;
}

/* ======================================
 * Герой секция
 * ====================================== */
.hero {
    position: relative;
    color: white;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-lg);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: white;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: white;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ======================================
 * О нас секция (краткая)
 * ====================================== */
.about-brief {
    padding: var(--space-lg) 0;
}

.about-brief-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-brief .text-content {
    padding-right: var(--space-md);
}

.about-brief h2 {
    margin-bottom: var(--space-sm);
}

.about-brief p {
    margin-bottom: var(--space-sm);
}

.about-brief .image-content {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-brief .btn {
    margin-top: var(--space-sm);
}

/* ======================================
 * Услуги
 * ====================================== */
.services {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
    text-align: center;
}

.services h2 {
    margin-bottom: var(--space-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: var(--space-sm) var(--space-sm) 0;
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.service-card p {
    padding: 0 var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    flex-grow: 1;
}

.service-card .btn {
    align-self: center;
    margin: 0 var(--space-sm) var(--space-sm);
}

/* ======================================
 * Интерактивный калькулятор
 * ====================================== */
.interactive-calc {
    padding: var(--space-xl) 0;
    background-color: white;
}

.interactive-calc h2 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--space-md);
}

.calculator-inputs {
    padding: var(--space-md);
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.asset-class h3 {
    margin-bottom: var(--space-xs);
}

.asset-class p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.slider-wrapper {
    margin-bottom: var(--space-sm);
}

.slider-wrapper label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    margin-bottom: var(--space-xs);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.range-slider::-moz-range-thumb:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.value-display {
    font-weight: 600;
    color: var(--primary);
}

.total-allocation {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm);
    background-color: var(--bg-light);
    border-radius: var(--radius);
    margin-top: var(--space-sm);
    font-weight: 600;
}

#total-percentage {
    color: var(--primary);
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-md);
}

.chart-container {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: white;
    border-radius: var(--radius);
    padding: var(--space-sm);
    box-shadow: var(--shadow);
    height: 250px;
}

.risk-meter {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: white;
    border-radius: var(--radius);
    padding: var(--space-sm);
    box-shadow: var(--shadow);
}

.risk-meter h3 {
    margin-bottom: var(--space-sm);
    text-align: center;
}

.meter-container {
    margin-bottom: var(--space-sm);
}

.meter {
    position: relative;
    height: 40px;
    background: linear-gradient(to right, #4CAF50, #FFC107, #F44336);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.meter-scale {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%);
}

.meter-pointer {
    position: absolute;
    top: 0;
    left: 65%;
    width: 4px;
    height: 100%;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.risk-score {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

#risk-value {
    color: var(--primary);
}

.recommendations {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    background-color: white;
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow);
}

.recommendations h3 {
    margin-bottom: var(--space-sm);
}

.recommendations ul {
    margin-left: var(--space-sm);
    list-style-type: disc;
}

.calculator-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: var(--space-md);
}

/* ======================================
 * Карточки кейсов
 * ====================================== */
.cases-preview {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
    text-align: center;
}

.cases-preview h2 {
    margin-bottom: var(--space-xs);
}

.case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.case-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: var(--space-md);
    text-align: left;
}

.case-content h3 {
    margin-bottom: var(--space-xs);
}

.case-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.cases-cta {
    margin-top: var(--space-md);
}

/* ======================================
 * Подход к комплаенс
 * ====================================== */
.approach {
    padding: var(--space-xl) 0;
    background-color: white;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.approach .image-content {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.approach .text-content h2 {
    margin-bottom: var(--space-md);
}

.approach-list {
    list-style: none;
}

.approach-list li {
    display: flex;
    margin-bottom: var(--space-sm);
    align-items: flex-start;
}

.approach-list i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    margin-top: 0.2rem;
}

.approach-list h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.approach-list p {
    color: var(--text-secondary);
    margin: 0;
}

.approach .btn {
    margin-top: var(--space-md);
}

/* ======================================
 * Контактная форма
 * ====================================== */
.contact {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: var(--space-xs);
}

.contact-form {
    max-width: 800px;
    margin: var(--space-md) auto;
    background-color: white;
    border-radius: var(--radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(23, 63, 95, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: var(--space-xs);
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-form button {
    width: 100%;
    margin-top: var(--space-sm);
}

/* Стиль для intl-tel-input */
.iti {
    width: 100%;
}

/* ======================================
 * Футер
 * ====================================== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: var(--space-lg) 0 var(--space-sm);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer h3 {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.footer-nav ul,
.footer-legal ul,
.footer-contact ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li,
.footer-contact li {
    margin-bottom: var(--space-xs);
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: white;
    text-decoration: none;
}

.footer-contact i {
    margin-right: var(--space-xs);
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ======================================
 * Миссия и ценности
 * ====================================== */
.mission-values {
    padding: var(--space-xl) 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.mission-values .text-content {
    padding-right: var(--space-md);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.values-list {
    list-style: none;
    margin-top: var(--space-md);
}

.values-list li {
    display: flex;
    margin-bottom: var(--space-sm);
    align-items: flex-start;
}

.values-list i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    margin-top: 0.2rem;
}

.values-list h4 {
    margin-bottom: var(--space-xs);
}

.values-list p {
    color: var(--text-secondary);
    margin: 0;
}

.rounded-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ======================================
 * Подход и методология
 * ====================================== */
.approach-methodology {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
}

.approach-methodology h2 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-md) 0 var(--space-lg);
}

.process-step {
    background-color: white;
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: var(--space-xs);
}

.process-step h3 {
    margin-bottom: var(--space-sm);
}

.process-step p {
    color: var(--text-secondary);
    margin: 0;
}

.methodology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.feature-list {
    list-style-type: none;
    margin-top: var(--space-sm);
}

.feature-list li {
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ======================================
 * Комплаенс секция
 * ====================================== */
.compliance-section {
    padding: var(--space-xl) 0;
    background-color: white;
}

.compliance-section h2 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.compliance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-lg);
}

.compliance-areas {
    margin-top: var(--space-md);
}

.compliance-area {
    display: flex;
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

.compliance-area i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    margin-top: 0.2rem;
}

.compliance-area h4 {
    margin-bottom: var(--space-xs);
}

.compliance-area p {
    color: var(--text-secondary);
    margin: 0;
}

/* ======================================
 * CTA секция
 * ====================================== */
.cta-section {
    background-color: var(--primary);
    color: white;
    padding: var(--space-lg) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-section p {
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

/* ======================================
 * Корпоративные финансы
 * ====================================== */
.corporate-services {
    padding: var(--space-xl) 0;
}

.corporate-services h2 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.services-detail {
    margin-top: var(--space-lg);
}

.service-item {
    display: flex;
    margin-bottom: var(--space-lg);
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 0 var(--space-md);
    font-size: 2.5rem;
}

.service-content {
    padding: var(--space-md);
    flex: 1;
}

.service-content h3 {
    margin-bottom: var(--space-sm);
}

.service-content p {
    margin-bottom: var(--space-sm);
}

.service-content ul {
    list-style-type: disc;
    padding-left: var(--space-md);
    color: var(--text-secondary);
}

.service-content li {
    margin-bottom: var(--space-xs);
}

/* ======================================
 * Инструменты и отчеты
 * ====================================== */
.tools-reports {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
}

.tools-list {
    margin-top: var(--space-md);
}

.tool-item {
    display: flex;
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

.tool-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    margin-top: 0.2rem;
    background-color: rgba(32, 99, 155, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
}

.tool-item h3 {
    margin-bottom: var(--space-xs);
}

.tool-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ======================================
 * Процесс внедрения
 * ====================================== */
.implementation-process {
    padding: var(--space-xl) 0;
    background-color: white;
}

.implementation-process h2 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.process-flow {
    margin-top: var(--space-lg);
}

.process-stage {
    margin-bottom: var(--space-md);
}

.stage-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.stage-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    margin-right: var(--space-sm);
    font-size: 1.5rem;
}

.stage-header h3 {
    margin: 0;
}

.stage-content {
    display: flex;
    margin-left: 30px;
}

.stage-timeline {
    position: relative;
    padding: 0 var(--space-sm);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: -8px;
}

.timeline-line {
    position: absolute;
    top: 16px;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: var(--primary);
}

.stage-details {
    flex: 1;
    padding-bottom: var(--space-md);
}

.timeline-duration {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.stage-details ul {
    list-style-type: disc;
    padding-left: var(--space-md);
    color: var(--text-secondary);
}

.stage-details li {
    margin-bottom: var(--space-xs);
}

/* ======================================
 * Кейсы
 * ====================================== */
.cases-intro {
    padding: var(--space-xl) 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.cases-filter {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cases-filter h3 {
    margin-bottom: var(--space-sm);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn:focus {
    background-color: var(--border);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cases-list {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.case-item {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 300px 1fr;
}

.case-image {
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-tag {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background-color: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-content {
    padding: var(--space-md);
}

.case-content h3 {
    margin-bottom: var(--space-sm);
}

.case-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.summary-item {
    background-color: var(--bg-light);
    padding: var(--space-sm);
    border-radius: var(--radius);
}

.summary-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.summary-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

/* ======================================
 * Кейс страница
 * ====================================== */
.case-study {
    padding: var(--space-lg) 0;
}

.case-header {
    margin-bottom: var(--space-lg);
}

.case-header h1 {
    margin-bottom: var(--space-xs);
}

.case-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--text-secondary);
}

.case-category {
    background-color: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.case-date {
    font-style: italic;
}

.case-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: var(--space-lg);
}

.case-section {
    margin-bottom: var(--space-lg);
}

.case-section h2 {
    margin-bottom: var(--space-md);
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: var(--space-xs);
}

.case-section h3 {
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--secondary);
}

.case-section p {
    margin-bottom: var(--space-sm);
}

.case-section ul {
    list-style-type: disc;
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.case-section li {
    margin-bottom: var(--space-xs);
}

.case-navigation {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ======================================
 * Контактная страница
 * ====================================== */
.contact-info {
    padding: var(--space-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-details h2 {
    margin-bottom: var(--space-sm);
}

.contact-items {
    margin-top: var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(23, 63, 95, 0.1);
    color: var(--primary);
    border-radius: 50%;
    margin-right: var(--space-sm);
    font-size: 1.2rem;
}

.contact-item h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-image {
    margin-top: var(--space-md);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-form-section h2 {
    margin-bottom: var(--space-sm);
}

.map-section {
    padding: var(--space-lg) 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ======================================
 * Юридические страницы
 * ====================================== */
.legal-content {
    padding: var(--space-lg) 0;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.legal-section {
    margin-bottom: var(--space-lg);
}

.legal-section h2 {
    margin-bottom: var(--space-md);
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-xs);
}

.legal-section h3 {
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--secondary);
}

.legal-section p {
    margin-bottom: var(--space-sm);
}

.legal-section ul {
    list-style-type: disc;
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.legal-section li {
    margin-bottom: var(--space-xs);
}

.cookie-settings-button {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

/* ======================================
 * Страница благодарности
 * ====================================== */
.thank-you-section {
    padding: var(--space-xl) 0;
    background-color: white;
}

.thank-you-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    flex-direction: column;
}

.thank-you-image {
    width: 40%;
    height: 100%;
    object-fit: cover;
}

.thank-you-message {
    padding: var(--space-lg);
    flex: 1;
}

.thank-you-message i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.thank-you-message h1 {
    margin-bottom: var(--space-xs);
}

.thank-you-message .lead {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

.next-steps {
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.next-steps h2 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.next-steps i {
    color: var(--primary);
    margin-right: var(--space-xs);
    font-size: 1rem;
}

.thank-you-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ======================================
 * Cookie Consent
 * ====================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: white;
    padding: var(--space-md);
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin-bottom: var(--space-xs);
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-settings-panel {
    background-color: white;
    color: var(--text-primary);
    padding: var(--space-md);
    border-radius: var(--radius);
    max-width: var(--max-width);
    margin: var(--space-md) auto 0;
}

.cookie-settings-header {
    margin-bottom: var(--space-md);
}

.cookie-settings-header h3 {
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.cookie-settings-header p {
    color: var(--text-secondary);
    margin: 0;
}

.cookie-categories {
    margin-bottom: var(--space-md);
}

.cookie-category {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.category-header h4 {
    margin: 0;
}

.category-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.category-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: var(--primary);
}

input:disabled + .switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .switch-slider:before {
    transform: translateX(26px);
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    display: none;
}

.cookie-modal-content {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-md);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.cookie-modal-header h3 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.cookie-modal-close:hover {
    color: var(--primary);
}

/* ======================================
 * Медиа запросы
 * ====================================== */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-brief-content,
    .approach-content,
    .methodology-content,
    .compliance-content,
    .section-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about-brief .text-content,
    .mission-values .text-content {
        padding-right: 0;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .chart-container,
    .risk-meter,
    .recommendations {
        grid-column: 1;
    }
    
    .chart-container {
        grid-row: 1;
    }
    
    .risk-meter {
        grid-row: 2;
    }
    
    .recommendations {
        grid-row: 3;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .contact-grid,
    .contact-items {
        grid-template-columns: 1fr;
    }
    
    .case-item {
        grid-template-columns: 1fr;
    }
    
    .case-summary {
        grid-template-columns: 1fr;
    }
    
    .thank-you-content {
        flex-direction: column;
    }
    
    .thank-you-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }
    
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .menu li {
        margin: var(--space-xs) 0;
    }
    
    .cta-button {
        order: 2;
        margin-left: auto;
        margin-right: var(--space-sm);
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-icon {
        padding: var(--space-sm);
    }
}

@media (max-width: 576px) {
    :root {
        --space-sm: 0.75rem;
        --space-md: 1.25rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cookie-actions .btn {
        flex: 1;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}