@charset "utf-8";

/* Общие стили */



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #27ae60;
    --secondary-color: #2c3e50;
    --hover-color: #219a52;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* Шапка */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 5%;
    background: var(--light-bg);
    position: relative;
}

/* Стили для логотипа ВелоБанкрот */
.velobankrot-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: #27ae60;
    text-decoration: none;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.velobankrot-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.velobankrot-logo:hover::before {
    left: 100%;
}

.velobankrot-logo i {
    font-size: 28px;
    color: #ff6b35;
    animation: pedal 2s infinite linear;
    transform-origin: center 70%;
}

@keyframes pedal {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

.velobankrot-logo span {
    background: linear-gradient(135deg, #27ae60, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.header-phone {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.request-btn {
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.request-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Навигация */
nav {
    background: var(--secondary-color);
    padding: 5px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
    padding: 10px;
    color: white;
    font-size: 24px;
}

/* Основной контент */
.main-content {
    padding: 30px 5%;
    min-height: 80vh;
}

.content {
    width: 100%;
}

/* Секции */
section {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 90px;
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 32px;
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Банкротство */
.lead-text {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.info-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

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

.styled-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.styled-list i {
    color: var(--primary-color);
}

.cta-banner {
    text-align: center;
    background: linear-gradient(135deg, #27ae60, #2c3e50);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.cta-banner p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.advantage-card {
    padding: 25px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.advantage-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* СТИЛИ ИНТЕРАКТИВНОЙ КАРТЫ БАНКРОТСТВА */
#interactive-map {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: #fff;
    padding: 60px 20px;
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-header {
    text-align: center;
    padding: 0 0 30px;
    margin-bottom: 30px;
}

.map-header h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding-left: 0;
}

.map-header h2::before {
    display: none;
}

.map-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
    line-height: 1.6;
}

.map-container-inner {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.map-progress {
    position: relative;
    height: 120px;
    margin: 1px 0 1px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 4px;
    transition: width 1s ease;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50, #1a2a6c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.step:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.5);
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-color: rgba(255, 255, 255, 0.3);
}

.step.active {
    transform: translateY(15px) scale(1.15);
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.7);
    border-color: #fff;
}

.step-label {
    position: absolute;
    bottom: -40px;
    left: 60%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: center;
    display: none;
}

.step.active .step-label {
    display: block;
    color: #00c6ff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

.details-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    min-height: 300px;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.detail-content.active {
    display: block;
}

.detail-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00c6ff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.detail-info {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.info-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #00c6ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list {
    padding-left: 25px;
}

.info-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.map-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6);
}

.map-btn:active {
    transform: translateY(1px);
}

.map-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
}

.map-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.counter {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 15px;
    color: #e0e0e0;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 198, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0); }
}

/* Стили для карусели новостей */
#news {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.news-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 30px;
}

.news-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
    padding: 10px;
}

.news-slide {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 300px;
}

.news-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.news-item-content {
    padding: 25px;
}

.news-item-content h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
}

.news-item-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 14px;
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.details-link:hover {
    color: var(--hover-color);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--hover-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* Секция "Калькулятор" */
.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
}

.input-section, .result-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    border-color: #1a2a6c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 42, 108, 0.2);
}

.result-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.result-title {
    font-weight: 600;
    color: #1a2a6c;
    margin-bottom: 5px;
}

.result-value {
    font-size: 22px;
    font-weight: 700;
    color: #b21f1f;
}

.savings-card {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.savings-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.savings-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.disclaimer {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Секция "Важно знать" */
.bankruptcy-info-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

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

.accordion-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.accordion-header {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #2c3e50;
}

.accordion-header h3 {
    margin: 0;
    flex: 1;
    padding: 0 20px;
    font-size: 18px;
}

.accordion-header i:first-child {
    color: #27ae60;
    font-size: 20px;
}

.accordion-header i:last-child {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 20px;
}

.accordion-content p,
.accordion-content ul,
.accordion-content ol {
    margin-bottom: 15px;
    line-height: 1.6;
}

.accordion-content ul,
.accordion-content ol {
    padding-left: 20px;
}

.accordion-content li {
    margin-bottom: 8px;
}

.accordion-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.accordion-content strong {
    color: #2c3e50;
}

/* Секция "Документы" */
.doc-list {
    margin: 20px 0;
    padding-left: 20px;
}

.doc-list li {
    margin-bottom: 10px;
    padding: 8px 0;
}

.download-box {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;

}

/* Стили для модального окна скачивания */
#downloadModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: auto;
}

.download-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 10vh auto;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    max-width: 520px;
    width: 90%;
    position: relative;
    border: 1px solid #e0e0e0;
    animation: modalAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(-60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-download {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 32px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-download:hover {
    color: #ff4757;
    background: #f8f9fa;
    transform: rotate(90deg);
}

.download-modal-content h2 {
    color: #128C7E;
    margin-bottom: 15px;
    text-align: center;
    font-size: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
}

.download-modal-content h2::before {
    display: none;
}

.modal-subtitle {
    color: #555;
    text-align: center;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.6;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

#downloadForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-form-group {
    margin-bottom: 22px;
    position: relative;
}

.download-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
    padding-left: 5px;
}

.download-form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.download-form-group input:focus {
    border-color: #25D366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.download-form-group input::placeholder {
    color: #aaa;
}

.error-message {
    color: #ff4757;
    font-size: 13.5px;
    margin-top: 8px;
    display: none;
    padding-left: 5px;
    font-weight: 500;
}

.privacy-notice {
    background: #e8f5e9;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 25px 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #2e7d32;
    line-height: 1.5;
    border-left: 4px solid #4caf50;
}

.privacy-notice i {
    color: #4caf50;
    font-size: 20px;
    margin-top: 3px;
}

.download-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
    margin-top: 5px;
}

.download-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.download-whatsapp-btn:active {
    transform: translateY(1px);
}

.fa-whatsapp {
    font-size: 24px;
}

/* Секция "Критические ошибки" */
#important .warning-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #fff5f5;
    border-radius: 12px;
    border-left: 4px solid #ff4757;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 15px rgba(255, 71, 87, 0.1);
}

.warning-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.15);
}

.warning-item i {
    font-size: 28px;
    color: #ff4757;
    min-width: 40px;
    text-align: center;
    margin-top: 5px;
}

.warning-content {
    flex: 1;
}

.warning-item h3 {
    color: #2d3436;
    margin-bottom: 8px;
    font-size: 18px;
}

.warning-item p {
    color: #636e72;
    line-height: 1.5;
    font-size: 15px;
}

.legal-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.legal-info p {
    color: #2d3436;
    font-size: 15px;
    line-height: 1.6;
}

/* Секция "Кейсы" */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.case-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.case-header {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.debt-amount {
    font-weight: 700;
}

.case-result {
    background: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.case-body {
    padding: 20px;
    background: white;
}

.case-details {
    background: var(--light-bg);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

.case-details:hover {
    background: #e2e6ea;
}

/* Секция "FAQ" */
.faq-grid {
    display: grid;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f1f3f5;
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-question i {
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-answer p {
    padding: 15px 0;
    margin: 0;
}

/* Секция "Контакты" */
.whatsapp {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.whatsapp-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background: #25D366;
    color: white;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.whatsapp-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 40px);
    z-index: 0;
}

.whatsapp-logo {
    font-size: 64px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.whatsapp-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: white;
    border: none;
    padding-left: 0;
}

.whatsapp-header h2::before {
    display: none;
}

.whatsapp-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.whatsapp-content {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h3 i {
    color: #25D366;
}

.contact-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 24px;
    color: #25D366;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.whatsapp-form {
    flex: 1;
    min-width: 300px;
}

.form-header {
    background: #128C7E;
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #25D366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(1px);
}

.benefits {
    background: #f0f7ff;
    padding: 30px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.benefit-card i {
    font-size: 40px;
    color: #25D366;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.whatsapp-footer {
    background: #075E54;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.whatsapp-footer a {
    color: #25D366;
    text-decoration: none;
}

/* Футер */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

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

.modal-scrollable {
    overflow-y: auto;
    max-height: 60vh;
    padding-right: 10px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.modal-scrollable::-webkit-scrollbar {
    width: 8px;
}

.modal-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-scrollable::-webkit-scrollbar-thumb {
    background: #27ae60;
    border-radius: 4px;
}

.modal-scrollable::-webkit-scrollbar-thumb:hover {
    background: #219a52;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff0000;
}

.modal h2 {
    margin-top: 0;
    color: #2c3e50;
    border: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.modal p {
    margin-bottom: 20px;
    color: #666;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

.privacy {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
}

.privacy input {
    margin-top: 4px;
    margin-right: 10px;
}

.privacy label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.privacy a {
    color: #27ae60;
    text-decoration: none;
}

.privacy a:hover {
    text-decoration: underline;
}

.form-note {
    background: #f8fafc;
    border-left: 3px solid #27ae60;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
    font-size: 14px;
    color: #555;
}

.form-note i {
    color: #27ae60;
    margin-right: 5px;
}
/* Стили для плавающей кнопки WhatsApp и улучшения форм */
.whatsapp-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Улучшение валидации форм */
.form-group input:valid,
.form-group textarea:valid {
  border-color: #27ae60;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ff4757;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  background: #128C7E;
  transform: translateY(-2px);
  color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .burger {
        display: block;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calculator-container {
        padding: 25px 20px;
    }
    
    #interactive-map {
        padding: 40px 20px;
        margin: 30px 0;
    }
    
    .warning-block {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bankruptcy-info-section {
        padding: 25px 20px;
    }
    
    .steps {
    flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto; /* Добавляем горизонтальную прокрутку если не помещается */
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
    
    .step-label {
    bottom: -30px;
    font-size: 0.8rem;
    white-space: normal; /* Разрешаем перенос текста */
    text-align: center;
    width: 80px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .progress-line {
    display: none; /* Скрываем линию прогресса на мобильных */
  }
  .map-progress {
    height: 100px;
    margin: 20px 0 40px;
  }
    
    .step {
    width: 60px;
    height: 60px;
    margin-bottom: 40px; /* Уменьшаем отступ для метки */
    flex-shrink: 0; /* Запрещаем уменьшение размера */
  }
    
    .map-header h2 {
        font-size: 1.8rem;
    }
    
    .detail-title {
        font-size: 1.4rem;
    }
    
    .news-slide {
        flex: 0 0 calc(100% - 10px);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    #news {
        padding: 25px 20px;
    }
    
    .whatsapp-content {
        padding: 25px;
    }
    
    .whatsapp-header h2 {
        font-size: 26px;
    }
    
    .contact-card, .form-container {
        padding: 20px;
    }
    
    .download-modal-content {
        padding: 30px 25px;
        margin: 5vh auto;
    }
    
    .download-modal-content h2 {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 15px;
        max-width: 95%;
    }
    
    .download-form-group input {
        padding: 14px 18px;
    }
    
    .download-whatsapp-btn {
        padding: 16px 20px;
        font-size: 17px;
    }
    
    .privacy-notice {
        padding: 14px 18px;
    }
}

@media (max-width: 480px) {
    .header-phone, .request-btn {
        font-size: 14px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .main-content {
        padding: 15px 10px;
    }
    
    section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .calculator-container {
        padding: 20px 15px;
    }
    
    #interactive-map {
        padding: 30px 15px;
    }
    
    .whatsapp-header {
        padding: 20px;
    }
    
    .whatsapp-header h2 {
        font-size: 22px;
    }
    
    .whatsapp-header p {
        font-size: 16px;
    }
    
    .whatsapp-content {
        padding: 20px;
    }
    
    .velobankrot-logo {
        font-size: 18px;
        gap: 8px;
    }
    
    .velobankrot-logo i {
        font-size: 20px;
    }
    
    .download-modal-content {
        padding: 25px 20px;
    }
    
    .download-modal-content h2 {
        font-size: 22px;
    }
    
    .close-download {
        top: 12px;
        right: 15px;
        font-size: 28px;
    }
	.steps {
     gap: 5px;
   
  }
  .map-container-inner {
    padding: 10px; /* Увеличиваем отступы */
    
  }
  
  .step {
    width: 30px;
    height: 30px;
    font-size: 1.4rem;
  }
  .step-label {
    font-size: 0.7rem;
    width: 70px;
    bottom: -25px;
  }
  
  .map-progress {

	height: 40px; /* Увеличиваем высоту контейнера */
    
  }
}
/* Дополнительные стили для горизонтальной прокрутки */
.steps::-webkit-scrollbar {
  height: 4px;
}

.steps::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.steps::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.steps::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}


/* Стиль плавающей кнопки */
  .messenger-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: ; /* Цвет фона кнопки (можно изменить) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
  }

  .messenger-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .messenger-button img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  /* Адаптивность для мобильных устройств */
  @media (max-width: 768px) {
    .messenger-button {
      width: 50px;
      height: 50px;
      bottom: 15px;
      right: 15px;
    }

    .messenger-button img {
      width: 25px;
      height: 25px;
    }
  }