@import url('variables.css');

/*BASE_CSS*/
html {
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background-color: var(--menu-color2);
}

html::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: var(--main-color);
}

body {
    width: 100vw;
    display: flex;
    margin: 0px;
    padding-top: 80px !important;
    justify-content: center;
    font-family: var(--main-font);
    background-color: var(--white-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
    overflow-y: auto;
    color: #114878;
}

.main-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== ИСПРАВЛЕННЫЙ HEADER ===== */
.main-page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 72, 120, 0.1);
    z-index: 1000;
    padding: 8px 0 !important; /* Было 15px */
    height: 60px !important; /* Фиксируем высоту */
}

.main-page-header-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px !important; /* Уменьшаем боковые отступы */
    height: 100% !important;
    box-sizing: border-box;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.header-logo img:first-child {
    width: 56px;
    height: 56px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #114878;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d3a5c;
}

.nav-link.cta-button {
    background: #114878;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.cta-button:hover {
    background: #0d3a5c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 72, 120, 0.2);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #114878;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 30px 20px;
    box-sizing: border-box;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: #114878;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(17, 72, 120, 0.1);
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 72, 120, 0.1);
}

.mobile-phone,
.mobile-email {
    color: #114878;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Адаптивность */
@media screen and (max-width: 1023px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-brand {
        gap: 15px;
    }
    
}

@media screen and (max-width: 767px) {
    .main-page-header-container {
        padding: 0 15px;
    }
    
    .header-divider {
        display: flex;
    }
    
}

/* ===== НОВЫЙ HERO-БЛОК ===== */
.services-choice-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ← ДВЕ колонки вместо 1 */
    gap: 20px;
    flex: 0 0 60%; /* Занимает 60% ширины */
    margin-top: -300px;
}

.hero-main-content {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    align-items: center; /* ← ВАЖНО: выравниваем по центру по вертикали */
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(17, 72, 120, 0.2);
    height: 350px;
    width: 435px;
    box-sizing: border-box;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(17, 72, 120, 0.15);
    border-color: #114878;
}

.implementation-card {
    background: rgba(17, 72, 120, 0.05);
}

.support-card {
    background: rgba(17, 72, 120, 0.05);
}

.service-card-icon {
    margin-bottom: 20px;
}

.service-card-title {
    color: #114878;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
}

.service-card-desc {
    color: #114878;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 25px;
    opacity: 0.9;
}

.service-card-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #114878;
    font-weight: 600;
    font-size: 18px;
    margin-top: auto;
}

/* ФИКС для trust-badge */
.trust-section {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: -300px !important;
    margin-bottom: 20px;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
}

.trust-badge {
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 15px 30px !important;
    background: rgba(17, 72, 120, 0.1) !important;
    border-radius: 50px !important;
    color: #114878 !important;
    font-weight: 500 !important;
    max-width: 800px !important;
    box-shadow: 0 5px 15px rgba(17, 72, 120, 0.1) !important;
}

.hero-visual-collage {
    display: flex;
    gap: 20px;
    height: 350px; /* Такая же высота как у service-card */
    min-height: 350px;
    align-items: stretch;
    box-sizing: border-box;
    
}

.collage-left, .collage-right {
    position: relative;
    flex: 0 0 45%; /* Занимает 45% ширины */
    margin-top: 298px; /* Опускаем блок вниз */
    align-self: stretch; /* Растягиваем по высоте */
    width: 100%;
    height: 347px; /* ← ИЗМЕНИТЕ НА 350px */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(17, 72, 120, 0.15);
    border: 0px solid rgba(17, 72, 120, 0.1);
    margin-left: 20px !important;
}

.screen-placeholder {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.screen-header {
    height: 20px;
    background: #114878;
    border-radius: 5px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.screen-content .line {
    height: 12px;
    background: #e0e5eb;
    border-radius: 3px;
    margin-bottom: 15px;
}

.screen-content .line.short {
    width: 70%;
}

.support-placeholder {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #114878;
    border-radius: 50%;
    opacity: 0.7;
}

.message {
    height: 20px;
    background: #e0e5eb;
    border-radius: 10px;
}

.message.user {
    align-self: flex-end;
    width: 70%;
}

@media screen and (max-width: 1023px) {
    .services-choice-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-page-container-base {
        flex-direction: column;
    }
    
    .hero-visual-collage {
        margin-top: 40px;
        min-height: 300px;
    }
}

@media screen and (max-width: 767px) {
    .service-card {
        padding: 20px;
        min-height: 240px;
    }
    
    .service-card-title {
        font-size: 20px;
    }
    
    .service-card-desc {
        font-size: 15px;
    }
}

.pains-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.pains-section-container {
    width: var(--c-full-width);
    margin: 0 auto;
    max-width: 1200px;
}

.pains-section-title {
    color: #114878;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.2;
}

.pains-section-subtitle {
    color: #666;
    font-size: 20px;
    text-align: center;
    margin: 0 0 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.pains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.pain-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f7;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(17, 72, 120, 0.1);
}

.pain-card-icon {
    margin-bottom: 25px;
    height: 48px;
}

.pain-card-title {
    color: #114878;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
}

.pain-card-desc {
    color: #555;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.pains-conclusion {
    background: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    border: 2px solid #114878;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #114878, transparent);
    width: 80%;
    margin: 0 auto 40px;
}

.conclusion-text {
    color: #114878;
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 40px;
}

.conclusion-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.conclusion-button {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 240px;
    text-align: center;
}

.conclusion-button.primary {
    background: white;
    color: #114878;
    border: 2px solid #114878;
}

.conclusion-button.primary:hover {
    background: #114878;
    color: white;
}

.conclusion-button.secondary {
    background-color: transparent;
    color: #114878;
    border: 2px solid #114878;
}

.conclusion-button.secondary:hover {
    background-color: #114878;
    color: white;
    transform: translateY(-2px);
}

@media screen and (max-width: 1023px) {
    .pains-section {
        padding: 70px 20px;
    }
    
    .pains-section-title {
        font-size: 32px;
    }
    
    .pains-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pains-conclusion {
        padding: 40px 20px;
    }
    
    .conclusion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .conclusion-button {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 767px) {
    .pains-section-title {
        font-size: 28px;
    }
    
    .pain-card {
        padding: 30px 20px;
    }
    
    .pain-card-title {
        font-size: 22px;
    }
}

.scenarios-wrapper {
    padding: 100px 0;
    background: white;
}

.scenario-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.scenario-section:last-child {
    margin-bottom: 0;
}

.scenario-header {
    text-align: center;
    margin-bottom: 80px;
}

.scenario-badge {
    display: inline-block;
    padding: 10px 25px;
    background-color: #114878;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 25px;
}

.support-scenario .scenario-badge {
    background-color: #2c7a5c;
}

.scenario-title {
    color: #114878;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

.support-scenario .scenario-title {
    color: #2c7a5c;
}

.scenario-subtitle {
    color: #666;
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.scenario-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.scenario-visual {
    background: #f8fafc;
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    border: 2px solid #eef2f7;
}

.process-diagram {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #114878;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #114878;
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 700;
}

.step-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.support-scheme {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.support-level {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.level-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: rgba(44, 122, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-level h4 {
    color: #2c7a5c;
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 700;
}

.support-level p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.scenario-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-title {
    color: #114878;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.support-scenario .features-title {
    color: #2c7a5c;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #114878;
    font-weight: bold;
    font-size: 20px;
}

.support-scenario .features-list li:before {
    color: #2c7a5c;
}

.scenario-cta {
    margin-top: auto;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid #114878; /* ← СИНЯЯ РАМКА всегда */
    cursor: pointer;
    background: white;
    color: #114878;
}

/* Основная кнопка */
.cta-button.primary {
    background: white !important;
    color: #114878 !important;
    border: 2px solid #114878 !important;
}

.cta-button.primary:hover {
    background: #114878; /* Синий фон при наведении */
    color: white; /* Белый текст при наведении */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 72, 120, 0.15);
    border-color: #114878; /* Рамка остается синей */
}

.cta-button.secondary {
    background-color: #2c7a5c;
    color: white;
    border-color: #2c7a5c;
}

.cta-button.secondary:hover {
    background-color: #236347;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(44, 122, 92, 0.2);
}

/* Увеличиваем специфичность */
.cta-button.primary:hover,
a.cta-button.primary:hover,
button.cta-button.primary:hover {
    background: #114878 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 72, 120, 0.15);
    border-color: #114878 !important;
}

.cta-note {
    color: #888;
    font-size: 16px;
    margin: 15px 0 0;
    font-style: italic;
}


@media screen and (max-width: 1023px) {
    .scenarios-wrapper {
        padding: 70px 0;
    }
    
    .scenario-section {
        margin-bottom: 80px;
    }
    
    .scenario-title {
        font-size: 32px;
    }
    
    .scenario-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .scenario-visual {
        order: 2;
    }
    
    .cta-button {
        width: 100%;
        min-width: auto;
    }
}

@media screen and (max-width: 767px) {
    .scenario-title {
        font-size: 28px;
    }
    
    .scenario-subtitle {
        font-size: 18px;
    }
    
    .scenario-visual {
        padding: 30px 20px;
    }
    
    .process-step,
    .support-level {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .features-list li {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 18px 30px;
        font-size: 18px;
    }
}

.expertise-section {
    padding: 100px 0;
    background-color: #f8fafc;
    background-image: radial-gradient(circle at 20% 80%, rgba(17, 72, 120, 0.05) 0%, transparent 50%);
}

.expertise-container {
    width: var(--c-full-width);
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-title {
    color: #114878;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.expertise-subtitle {
    color: #666;
    font-size: 22px;
    text-align: center;
    margin: 0 0 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.expertise-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 72, 120, 0.15);
    border-color: rgba(17, 72, 120, 0.2);
}

.partner-card:hover {
    border-color: #114878;
}

.knowledge-card:hover {
    border-color: #2c7a5c;
}

.team-card:hover {
    border-color: #8a2c7a;
}

.dev-card:hover {
    border-color: #d4a017;
}

.expertise-card-icon {
    margin-bottom: 30px;
    height: 56px;
}

.expertise-card-title {
    color: #114878;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.3;
}

.knowledge-card .expertise-card-title {
    color: #2c7a5c;
}

.team-card .expertise-card-title {
    color: #8a2c7a;
}

.dev-card .expertise-card-title {
    color: #d4a017;
}

.expertise-card-desc {
    color: #555;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 30px;
    flex-grow: 1;
}

.expertise-card-proof {
    margin-top: auto;
}

.proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.proof-check {
    color: #114878;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.knowledge-card .proof-check {
    color: #2c7a5c;
}

.team-card .proof-check {
    color: #8a2c7a;
}

.dev-card .proof-check {
    color: #d4a017;
}

.proof-item span:last-child {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

.expertise-cta {
    background: linear-gradient(135deg, #114878 0%, #0d3a5c 100%);
    border-radius: 30px;
    padding: 60px;
    color: white;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(17, 72, 120, 0.3);
}

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

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px;
}

.cta-desc {
    font-size: 20px;
    opacity: 0.9;
    margin: 0 0 40px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
}

.cta-button.phone {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.cta-button.primary {
    background: white;
    color: #114878;
    border: 2px solid white;
}

.cta-button.primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

@media screen and (max-width: 1023px) {
    .expertise-section {
        padding: 70px 20px;
    }
    
    .expertise-title {
        font-size: 32px;
    }
    
    .expertise-subtitle {
        font-size: 20px;
        margin-bottom: 60px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }
    
    .expertise-card {
        padding: 30px;
    }
    
    .expertise-cta {
        padding: 50px 30px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 767px) {
    .expertise-title {
        font-size: 28px;
    }
    
    .expertise-subtitle {
        font-size: 18px;
    }
    
    .expertise-card-title {
        font-size: 22px;
    }
    
    .expertise-cta {
        padding: 40px 25px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-desc {
        font-size: 18px;
    }
}
/* ===== ФОРМА ЗАХВАТА КОНТАКТОВ ===== */

.contact-form-section {
    padding: 100px 0;
    background: white;
}

.contact-form-container {
    width: var(--c-full-width);
    max-width: 1200px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 80px;
}

.form-title {
    color: #114878;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
}

.form-subtitle {
    color: #666;
    font-size: 22px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Левая колонка: Преимущества */
.form-benefits {
    padding-right: 40px;
}

.benefits-title {
    color: #114878;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 40px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 5px;
}

.benefit-content h4 {
    color: #114878;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.benefit-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-direct {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #eef2f7;
}

.direct-text {
    color: #114878;
    font-weight: 600;
    margin: 0 0 20px;
    font-size: 18px;
}

.direct-phone,
.direct-email {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #114878;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.direct-phone:hover,
.direct-email:hover {
    color: #0d3a5c;
    text-decoration: underline;
}

/* Правая колонка: Форма */
.project-form {
    background: #f8fafc;
    border-radius: 25px;
    padding: 50px;
    border: 2px solid #eef2f7;
}

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

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

.form-label {
    display: block;
    color: #114878;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #d1d9e6;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #114878;
    box-shadow: 0 0 0 3px rgba(17, 72, 120, 0.1);
}

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

/* Кнопки выбора типа запроса */
.request-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.request-type-label {
    display: block;
    cursor: pointer;
}

.request-type-input {
    display: none;
}

.request-type-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid #d1d9e6;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.request-type-input:checked + .request-type-button {
    border-color: #114878;
    background: rgba(17, 72, 120, 0.05);
    box-shadow: 0 5px 15px rgba(17, 72, 120, 0.1);
}

.button-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.button-text {
    color: #114878;
    font-weight: 600;
    font-size: 16px;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    margin-top: 4px;
    flex-shrink: 0;
}

.checkbox-text {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-text a {
    color: #114878;
    text-decoration: underline;
}

.checkbox-text a:hover {
    text-decoration: none;
}

/* Кнопка отправки */
.submit-button {
    width: 100%;
    padding: 20px;
    background: #114878;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 20px;
}

.submit-button:hover {
    background: #3f9ece;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(17, 72, 120, 0.3);
}

.form-note {
    color: white;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* Адаптивность */
@media screen and (max-width: 1023px) {
    .contact-form-section {
        padding: 70px 20px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .form-subtitle {
        font-size: 20px;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-benefits {
        padding-right: 0;
    }
    
    .project-form {
        padding: 40px 30px;
    }
    
    .request-type-buttons {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .form-title {
        font-size: 28px;
    }
    
    .form-header {
        margin-bottom: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .submit-button {
        padding: 18px;
        font-size: 18px;
    }
}
/* ===== ИСПРАВЛЕНИЕ РАЗМЕРА РАДИОКНОПОК ===== */

.request-type-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Уменьшаем отступ между кнопками */
    margin-top: 8px;
}

.request-type-button {
    padding: 10px 8px !important; /* Уменьшаем внутренние отступы */
    min-height: 20px; /* Фиксированная высота */
    border-radius: 12px !important;
}

.button-icon {
    font-size: 22px !important; /* Уменьшаем иконки */
    margin-bottom: 6px !important;
}

.button-text {
    font-size: 14px !important; /* Уменьшаем текст */
    line-height: 1.2;ы
    text-align: center;
}

/* Чтобы всё точно влезло */
.form-group.request-type-group {
    margin-bottom: 30px !important; /* Уменьшаем отступ снизу */
}

/* Для мобильных */
@media screen and (max-width: 1023px) {
    .request-type-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .request-type-button {
        min-height: 70px;
        padding: 10px !important;
    }
}
/* ===== ИСПРАВЛЕНИЕ КНОПКИ ===== */

/* 1. Делаем текст ВИДИМЫМ всегда */
.submit-button .button-text {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2. Убираем любые эффекты скрытия */
.submit-button {
    color: white !important;
}

/* 3. Проверяем, нет ли где-то такого правила */
.button-text {
    color: inherit !important; /* Отменяем все переопределения */
}

/* 4. Ядерный вариант - перебиваем все стили */
.submit-button > * {
    color: white !important;
    fill: white !important;
    stroke: white !important;
}
/* ===== ОБНОВЛЁННЫЙ ФУТЕР ===== */

.main-page-footer {
    background: #114878;
    color: white;
    padding: 70px 0 40px;
    width: 100vw; /* На всю ширину экрана */
    margin-left: calc(-50vw + 50%); /* Центрирование */
    margin-right: calc(-50vw + 50%);
}

.footer-container {
    width: var(--c-full-width); /* Используем вашу переменную */
    max-width: 1200px; /* Но ограничиваем контент */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

/* Бренд */
.footer-brand {
    grid-column: span 4;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.footer-logo img:first-child {
    width: 56px;
    height: 56px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Навигация */
.footer-nav {
    grid-column: span 2;
}

.nav-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Контакты */
.footer-contacts {
    grid-column: span 3;
}

.contacts-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.contact-link svg {
    flex-shrink: 0;
}

.contact-link.address {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.4;
}

/* Мета-информация */
.footer-meta {
    grid-column: span 12;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-docs {
    display: flex;
    gap: 30px;
}

.doc-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.doc-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: right;
}

/* Адаптивность */
@media screen and (max-width: 1023px) {
    .main-page-footer {
        padding: 50px 20px 30px;
    }
    
    .footer-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 6;
    }
    
    .footer-nav {
        grid-column: span 2;
    }
    
    .footer-contacts {
        grid-column: span 4;
    }
    
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-copyright {
        text-align: left;
    }
}

@media screen and (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand,
    .footer-nav,
    .footer-contacts {
        grid-column: span 1;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
}
.main-page-container-base-l-1 {
    font-size: 54px !important; /* Было 60px */
    line-height: 1.1 !important;
}
/* Переопределяем выравнивание для всех секций */
.main-page-container-base {
    justify-content: flex-start !important; /* Выравниваем по левому краю */
    margin-left: 30px !important;
    margin-right: auto !important;
}

/* Для хедера и футера тоже */
.main-page-header-container {
    justify-content: space-between !important;
    padding-left: 0px !important;
    padding-right: 50px !important;
}
/* Увеличиваем расстояние между логотипом и текстом в хедере */
.header-brand {
    align-items: flex-start; /* Выравниваем по верху */
}

.header-logo {
    margin-bottom: 5px; /* Отступ снизу от логотипа */
}
/* ===== УБИРАЕМ ВСЕ ВЕРХНИЕ ОТСТУПЫ ===== */

.pains-section,
.scenarios-wrapper,
.expertise-section,
.contact-form-section {
    padding-top: 40px !important; /* Было 100px */
    padding-bottom: 40px !important;
}

/* Уменьшаем отступы внутри блоков */
.pains-section-container,
.scenario-section,
.expertise-container,
.contact-form-container {
    padding-top: 0 !important;
}

/* Уменьшаем отступы заголовков */
.pains-section-title,
.scenario-title,
.expertise-title,
.form-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ===== КАРТИНКИ В HERO-БЛОКЕ ===== */

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-image.active {
    opacity: 1;
    z-index: 2;
}

/* Подпись к картинке */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 40px 15px 50px; /* ↑ больше сверху, меньше снизу */
    /* Убираем flex: */
    display: block;
    z-index: 10;
    font-size: 14px;
}

.caption-text {
    margin: 0;
    text-align: center;
    opacity: 0.9;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4; /* Межстрочный интервал */
}

/* Адаптивность */
@media screen and (max-width: 1023px) {
    .hero-visual-container {
        height: 300px;
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .hero-visual-container {
        height: 250px;
    }
}
/* ===== ПОЗИЦИОНИРОВАНИЕ HERO-ВИЗУАЛА ===== */

.main-page-container-base {
    position: relative;
    display: flex;
    align-items: flex-start; /* Измените с center на flex-start */
    min-height: 700px; /* Увеличьте минимальную высоту */
}

/* Правый блок с картинкой */
.main-page-container-base-r {
    position: relative;
    flex: 0 0 35%; /* Занимает 45% ширины */
    margin-top: 298px; /* Опускаем блок вниз */
    align-self: stretch; /* Растягиваем по высоте */
    width: 100%;
    height: 347px; /* ← ИЗМЕНИТЕ НА 350px */
    border: 0px solid rgba(17, 72, 120, 0.1);
    margin-left: 20px !important;
}
/* ФИКС для отображения картинок */
.hero-visual-container {
    position: relative !important;
    width: 100% !important;
    height: 347px !important; /* Высота контейнера */
    min-height: 347px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(17, 72, 120, 0.15) !important;
    border: 2px solid rgba(17, 72, 120, 0.1) !important;
    display: block !important;
    margin-top: -300px;
    margin-left: -20px !important;
}

.main-page-container-base-r {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
}

/* Убедитесь, что картинки видны */
.hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* ← Вместо cover, показывает всю картинку без обрезки */
    object-position: top center; /* ← Поднимаем картинку к верху */
}

.hero-image.active {
    opacity: 1 !important;
    z-index: 2 !important;
}
/* 1. Меняем cover на contain для полного отображения */
.hero-image {
    object-fit: contain; /* ← ПОКАЗЫВАЕМ ВСЮ картинку */
    object-position: top center; /* ← К ВЕРХУ контейнера */
    position: absolute;
    top: 0; /* ← К самому верху контейнера */
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* 2. Для второй картинки если нужно выровнять */
.support-image {
    object-position: top center; /* Такое же выравнивание */
    /* Если все равно выше, добавьте: */
    /* top: -10px; или object-position: center 5%; */
}

.hero-image.active {
    opacity: 1;
    z-index: 2;
}

/* 3. Подпись опускаем ВНУТРИ своего блока */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 100px;
    background: linear-gradient(
        to top, 
        rgba(17, 72, 120, 0.95) 0%, 
        rgba(17, 72, 120, 0.85) 40%,
        rgba(17, 72, 120, 0.6) 70%, 
        rgba(17, 72, 120, 0.3) 90%, 
        transparent 100%
    );
    display: flex;
    align-items: flex-end; /* ← Текст внизу блока подписи */
    justify-content: center;
    padding-bottom: 25px; /* ← ОТСТУП текста от нижнего края блока */
    box-sizing: border-box;
}

/* 4. Текст подписи с дополнительным отступом */
.caption-text {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px; /* ← Дополнительный отступ снизу для текста */
}
/* Для первой картинки (внедрение) - растягиваем по высоте */
.implementation-image {
    object-fit: cover; /* ← Растягиваем чтобы заполнить высоту */
    object-position: center 15%; /* ← Начинаем показ с 20% от верха исходной картинки */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-title {
    color: #114878;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
    line-height: 1.2;
}

.hero-subtitle {
     color: #666;
    font-size: 20px;
    text-align: center;
    margin: 0 0 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}