/* Базовые переменные (Новая премиальная палитра) */
:root {
    --color-primary: #0B2447; /* Глубокий синий */
    --color-secondary: #19376D; /* Светло-синий для градиентов */
    --color-accent: #C5A880; /* Благородный золотой/медный */
    --color-accent-hover: #b0936b;
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #2B2D42;
    --color-text-muted: #6C757D;
    --color-border: #E9ECEF;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(11, 36, 71, 0.05);
    --shadow-md: 0 10px 30px rgba(11, 36, 71, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1320px; /* Сделали чуть шире для современного вида */
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: #ef4444; /* Красный индикатор "онлайн/срочно" */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.top-bar-left strong {
    color: var(--color-accent);
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
    transition: var(--transition);
}

.top-bar-socials a:hover {
    color: var(--color-accent);
}

/* --- HEADER --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: padding 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--color-accent);
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-accent);
}

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

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Новая кнопка-контур */
.btn-outline {
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    background: transparent;
    padding: 10px 24px;
    border-radius: 4px; /* Прямые углы строже, чем скругленные */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Адаптивность хедера */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .top-bar { display: none; } /* Скрываем на мобильных для экономии места */
    .mobile-menu-btn { display: block; }
    .btn-outline { display: none; }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background-color: var(--color-primary);
    padding: 100px 0 120px;
    overflow: hidden;
    color: var(--color-bg-white);
}

/* Декоративный паттерн на фоне */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1.2;
}

.badge-accent {
    display: inline-block;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.hero-content h1 {
    font-size: 3.8rem;
    color: var(--color-bg-white);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--color-accent);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-bg-white);
    font-weight: 500;
}

.feature-item i {
    color: var(--color-accent);
}

/* --- HERO ACTION CARD (Правая плавающая карточка) --- */
.hero-action-card {
    flex: 0.8;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pulse-icon-small {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(197, 168, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.hero-action-card h3 {
    color: var(--color-bg-white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.hero-action-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.quick-action-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-input {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-bg-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.quick-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.quick-input:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-solid {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-solid:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.card-footer-text {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* --- TRUST BANNER --- */
.trust-banner {
    background-color: #f1f4f8; /* Очень светлый серо-синий */
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.trust-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 0;
}

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

.section-label {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 30px;
}

.quote-box {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-accent);
    padding: 30px;
    position: relative;
}

.quote-box i {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(197, 168, 128, 0.1);
}

.quote-box p {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-accent);
}

.experience-badge .text {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Адаптивность для 2 и 3 блоков */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-action-card {
        width: 100%;
        max-width: 500px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .experience-badge {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .about-text h2 { font-size: 2.2rem; }
    .trust-logos { justify-content: center; }
}
/* --- СЕРВИСНЫЕ КЛАССЫ И ЗАГОЛОВКИ --- */
.bg-light-gray {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 15px 0 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
    display: inline-block;
}

/* --- SERVICES (BENTO GRID) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 24px;
}

.bento-card {
    background-color: var(--color-bg-white);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.bento-content {
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.bento-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--color-bg-white);
}

.bento-icon.accent {
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-accent);
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 700;
}

.bento-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Специфичные размеры Bento */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* Оформление карточки с фоном (Large) */
.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.bento-card:hover .bento-bg {
    transform: scale(1.05);
}

.dark-overlay {
    background: linear-gradient(to top, rgba(11, 36, 71, 0.95) 0%, rgba(11, 36, 71, 0.4) 100%);
    color: var(--color-bg-white);
}

.dark-overlay h3 { color: var(--color-bg-white); font-size: 2rem; }
.dark-overlay p { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; }

.bento-list {
    list-style: none;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 20px;
}

.bento-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-list i { color: var(--color-accent); }

/* Оформление темной широкой карточки (Wide) */
.dark-theme {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-color: var(--color-primary);
}

.dark-theme h3 { color: var(--color-bg-white); font-size: 1.5rem; }
.dark-theme p { color: rgba(255, 255, 255, 0.7); }

.bento-wide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.bento-stats {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    min-width: 150px;
    text-align: center;
}

.stat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- EMERGENCY CTA --- */
.emergency-cta {
    background-color: #991b1b; /* Строгий темно-красный цвет тревоги */
    padding: 60px 0;
    color: white;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 40px);
}

.emergency-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pulse-icon-large {
    font-size: 3rem;
    color: #fca5a5;
    animation: pulse-red 2s infinite;
    border-radius: 50%;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); text-shadow: 0 0 0 rgba(252, 165, 165, 0.7); }
    70% { transform: scale(1.1); text-shadow: 0 0 20px rgba(252, 165, 165, 0); }
    100% { transform: scale(0.95); text-shadow: 0 0 0 rgba(252, 165, 165, 0); }
}

.emergency-text {
    flex: 1;
}

.emergency-text h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.emergency-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.emergency-text strong {
    color: #fca5a5;
    font-weight: 700;
}

.white-btn {
    background-color: white;
    color: #991b1b;
    padding: 18px 30px;
    font-size: 1.1rem;
}

.white-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Адаптивность для Bento Grid и CTA */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large { grid-column: span 2; }
    .bento-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide { grid-column: span 1; grid-row: span 1; }
    .bento-list { flex-direction: column; gap: 10px; }
    .bento-wide-inner { flex-direction: column; text-align: center; }
    
    .emergency-container {
        flex-direction: column;
        text-align: center;
    }
    .emergency-text h2 { font-size: 1.6rem; }
}
/* --- PROCESS SECTION (TIMELINE) --- */
.process-section {
    padding: 120px 0;
    background-color: var(--color-bg-white);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.process-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.timeline-wrapper {
    position: relative;
    padding-left: 40px;
}

/* Вертикальная линия */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 19px;
    height: 100%;
    width: 2px;
    background-color: rgba(11, 36, 71, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 0 5px var(--color-bg-white);
    transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    transform: scale(1.1);
}

.timeline-content {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 25px 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(197, 168, 128, 0.5);
    box-shadow: var(--shadow-sm);
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- CASES SECTION (DOSSIER STYLE) --- */
.dossier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dossier-card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dossier-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-accent);
}

.dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--color-border);
    margin-bottom: 20px;
}

.case-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-type i {
    color: var(--color-accent);
}

.case-time {
    background-color: rgba(11, 36, 71, 0.05);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dossier-amount {
    margin-bottom: 25px;
}

.dossier-amount h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.amount-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #166534; /* Темно-зеленый (цвет успеха/денег) */
    font-weight: 900;
    letter-spacing: -1px;
}

.dossier-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.dossier-body strong {
    color: var(--color-primary);
}

/* Адаптивность для блоков 6 и 7 */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-text {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }

    .dossier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dossier-grid {
        grid-template-columns: 1fr;
    }

    .timeline-wrapper {
        padding-left: 30px;
    }

    .timeline-wrapper::before {
        left: 9px;
    }

    .timeline-marker {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 20px;
    }
}
/* --- FAQ SECTION --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 10px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header h4 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.faq-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header h4 {
    color: var(--color-accent);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content p {
    padding-bottom: 25px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- CONTACT SECTION (SPLIT SCREEN) --- */
.contact-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

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

.contact-info h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-features {
    list-style: none;
    margin: 30px 0;
}

.contact-features li {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-features i {
    color: #166534; /* Зеленый цвет для гарантий */
    font-size: 1.2rem;
}

.contact-direct {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--color-bg-white);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-top: 40px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(11, 36, 71, 0.05);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-direct span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.contact-direct strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
}

/* Стилизация формы */
.contact-form-wrapper {
    background-color: var(--color-bg-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--color-primary);
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.premium-form .form-group {
    margin-bottom: 20px;
}

.premium-form .form-group.full-width {
    grid-column: span 2;
}

.premium-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.restora-input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: var(--transition);
}

.restora-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.1);
}

.premium-form .reg-btn {
    padding: 18px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.form-secure-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 15px;
}

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

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: var(--color-bg-white);
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 80%;
}

.main-footer h4 {
    color: var(--color-bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 12px;
}

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

.footer-links-group a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-accent);
    margin-top: 5px;
}

.footer-legal {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-policies a:hover {
    color: var(--color-bg-white);
}

/* --- SCROLL TOP BTN --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    color: var(--color-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
}

.scroll-top:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    transform: translateY(-3px);
}

/* Адаптивность для блоков 8, 9, 10 */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .premium-form .form-row {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

@media (max-width: 576px) {
    .hero-form-row {
        grid-template-columns: 1fr;
    }
}