/* Исправленные стили для стрелок табов */

.tabs-nav-arrow {
    position: absolute;
    top: 0 !important;
    transform: none !important;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #2160FE;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 15;
    padding: 0;
    margin: 0;
}

.tabs-nav-arrow:hover {
    background: #0052a3;
    transform: scale(1.05) !important;
}

.tabs-nav-arrow:active {
    transform: scale(0.98) !important;
}

.tabs-nav-arrow-prev {
    left: -50px !important;
}

.tabs-nav-arrow-next {
    right: -50px !important;
}

/* Скрываем стрелки на мобильных устройствах */
@media (max-width: 768px) {
    .tabs-nav-arrow {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .tabs-nav-arrow {
        display: none !important;
    }
}

/* Правильные стили для скролла табов */
.tagsNav::-webkit-scrollbar {
    height: 0px;
    display: none;
}

.tagsNav {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Кнопки табов - нормальные стили */
.tagNavItem {
    background: none !important;
    border: none !important;
}

/* Анимация появления карточек */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tcItem.visible {
    animation: fadeIn 0.3s ease-in-out;
}

.tagsContent[style*="display: grid"] {
    animation: fadeIn 0.3s ease-in-out;
}

/* Блок маркетплейсов внутри каталога - 3 колонки */
.catalog-marketplaces {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    padding: 30px 40px;
    background: #f8f9fb;
    border-radius: 12px;
}

.marketplaces-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.marketplaces-text {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.marketplaces-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.marketplaces-logos-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.marketplaces-action {
    display: flex;
    justify-content: flex-end;
}

.marketplaces-button {
    padding: 14px 32px;
    background: #2160FE;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.marketplaces-button:hover {
    background: #0052a3;
    transform: scale(1.02);
}

.marketplaces-button:active {
    transform: scale(0.98);
}

/* Адаптивность для маркетплейсов */
@media (max-width: 992px) {
    .catalog-marketplaces {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .marketplaces-info {
        order: 1;
    }
    
    .marketplaces-logos {
        order: 2;
        justify-content: center;
    }
    
    .marketplaces-action {
        order: 3;
        width: 100%;
    }
    
    .marketplaces-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .catalog-marketplaces {
        padding: 25px 20px;
        margin-top: 40px;
        gap: 20px;
    }
    
    .marketplaces-text {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .marketplaces-logos {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .marketplaces-logos-image {
        height: 35px;
    }
    
    .marketplaces-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .catalog-marketplaces {
        padding: 20px 15px;
        margin-top: 30px;
        gap: 15px;
    }
    
    .marketplaces-text {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .marketplaces-logos {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .marketplaces-logos-image {
        height: 30px;
    }
    
    .marketplaces-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 360px) {
    .catalog-marketplaces {
        padding: 15px 10px;
        margin-top: 25px;
        gap: 12px;
    }
    
    .marketplaces-text {
        font-size: 13px;
        line-height: 1.2;
    }
    
    .marketplaces-logos {
        gap: 6px;
    }
    
    .marketplaces-logos-image {
        height: 25px;
    }
    
    .marketplaces-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Секция Законодательство */
.law-section {
    padding: 160px 0;
    background: url('../landing/assets/law/section-bg.jpg') no-repeat right center;
    background-size: contain;
    position: relative;
}

.law-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.law-header {
    margin-bottom: 40px;
}

.law-badge {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #2160FE;
    border-radius: 50px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2160FE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.law-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 16px;
    max-width: 800px;
}

.law-title-highlight {
    color: #2160FE;
}

.law-description {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.law-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.law-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.law-card {
    background: linear-gradient(180deg, #E4ECFF 0%, #C7D6F9 100%);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.law-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.law-card-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.3;
    padding-top: 5rem;
    padding-left: 3rem;
}

.law-card-body {
    display: flex;
        gap: 16px;
        align-items: flex-end;
        height: 100%;
        justify-content: space-between;
}

.law-card-ticks {
    display: flex;
    height: 100%;
    padding-left: 2rem;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}

.law-card-ticks img {
    width: 50px;
    height: 50px;
}

.law-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.law-cta {
    grid-column: 1 / -1;
    padding: 20px 40px;
    background: #2160FE;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 8px 24px #2160fe83;
}

.law-cta-sub {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.law-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

.law-cta:active {
    transform: translateY(0);
}

/* Правая колонка с аккредитациями */
.law-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #2160fe38;
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.law-accreditation {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.law-accreditation:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateX(4px);
}

.law-accreditation-badge {
    flex-shrink: 0;
}

.law-accreditation-badge svg {
    display: block;
}

.law-accreditation-text {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .law-section {
        background-position: center bottom;
        background-size: cover;
    }

    .law-badge {
        text-align: left !important;
    }
    
    .law-title {
        font-size: 32px;
        text-align: left !important;
    }

    .law-content {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 30px;
    }

    .law-left {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .law-section {
        padding: 60px 0;
    }

    .law-badge {
        text-align: left !important;
    }
    
    .law-title {
        font-size: 28px;
        text-align: left !important;
    }

    .law-description {
        font-size: 16px;
    }

    .law-cta {
        font-size: 16px;
        padding: 18px 32px;
    }

    .law-accreditation {
        padding: 16px;
    }

    .law-accreditation-badge svg {
        width: 50px;
        height: 50px;
    }

    .law-accreditation-text {
        font-size: 13px;
    }
    
    .law-right {
        order: -1 !important;
    }
    
    .law-card-title {
        font-size: 25px;
    }
}

/* Секция О компании */
.about-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    height: calc(100% - 60px);
    background: linear-gradient(180deg, #2F313B 0%, #21222C 100%);
    border-radius: 24px;
    z-index: 1;
}

.about-overlay {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    height: calc(100% - 60px);
    background: url('../landing/assets/about/globe-overlay.png') no-repeat center;
    background-size: cover;
    border-radius: 24px;
    z-index: 2;
    opacity: 0.4;
}

.about-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 60px 0px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-badge {
    display: inline-block;
    width: fit-content;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #2160FE;
    border-radius: 50px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2160FE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.about-brand {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-brand::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../landing/assets/about/globe-icon.svg') no-repeat center;
    background-size: contain;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
}

.about-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-point-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.about-point-content {
    flex: 1;
}

.about-point-content h3 {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.about-link {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2160FE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-link:hover {
    color: #4A9EFF;
    text-decoration: none;
}

.about-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.about-person {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about-person-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    position: relative;
}

.about-person-info {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: right;
}

.about-person-name {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.about-person-position {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 40px;
    }

    .about-badge {
        text-align: left !important;
    }
    
    .about-title {
        font-size: 28px;
        text-align: left !important;
    }

    .about-person-image {
        margin-top: 0;
        max-width: 350px;
    }

    .about-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-container {
        padding: 0 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .about-left {
        order: 2;
        padding: 2rem;
    }

    .about-right {
        order: 1;
        display: flex;
        justify-content: center;
        background: white;
        border-radius: 32px;
    }

    .about-badge {
        text-align: left !important;
    }
    
    .about-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: left !important;
    }

    .about-points {
        gap: 20px;
    }

    .about-point {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .about-point-icon {
        flex-shrink: 0;
    }

    .about-point-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .about-point-content p {
        font-size: 14px;
        line-height: 1.4;
    }

    .about-person {
        position: relative;
        margin: 0 auto;
    }

    .about-person-image {
        max-width: 280px;
        width: 100%;
        height: auto;
    }

    .about-person-info {
        position: absolute;
        bottom: 20px;
        right: 10px;
        padding: 16px 20px;
        max-width: 200px;
    }

    .about-person-name {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .about-person-position {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }

    .about-container {
        padding: 0 15px;
    }

    .about-content {
        gap: 30px;
    }

    .about-title {
        font-size: 22px;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .about-points {
        gap: 15px;
    }

    .about-point {
        gap: 12px;
    }

    .about-point-content h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .about-point-content p {
        font-size: 13px;
        line-height: 1.3;
    }

    .about-person-image {
        max-width: 250px;
    }

    .about-person-info {
        bottom: 15px;
        right: 5px;
        padding: 12px 16px;
        max-width: 180px;
    }

    .about-person-name {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .about-person-position {
        font-size: 13px;
    }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 360px) {
    .about-section {
        padding: 30px 0;
    }

    .about-container {
        padding: 0 10px;
    }

    .about-content {
        gap: 25px;
    }

    .about-title {
        font-size: 20px;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .about-points {
        gap: 12px;
    }

    .about-point {
        gap: 10px;
    }

    .about-point-content h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .about-point-content p {
        font-size: 12px;
        line-height: 1.2;
    }

    .about-person-image {
        max-width: 220px;
    }

    .about-person-info {
        bottom: 10px;
        right: 5px;
        padding: 10px 12px;
        max-width: 160px;
    }

    .about-person-name {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .about-person-position {
        font-size: 12px;
    }
}

/* Адаптивные стили для секции сравнения */
@media (max-width: 1200px) {
    .comparison-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 0 !important;
    }
    
    .comparison-container {
        padding: 0 20px !important;
    }
    
    .comparison-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 40px !important;
        text-align: left !important;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .comparison-card {
        border-radius: 12px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    }
    
    .comparison-card-header {
        padding: 20px 20px 12px 20px !important;
    }
    
    .comparison-card-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    
    .comparison-card-content {
        padding: 0 20px 20px 20px !important;
    }
    
    .comparison-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .comparison-section {
        padding: 40px 0 !important;
    }
    
    .comparison-container {
        padding: 0 15px !important;
    }
    
    .comparison-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    .comparison-cards {
        gap: 15px !important;
    }
    
    .comparison-card {
        border-radius: 10px !important;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06) !important;
    }
    
    .comparison-card-header {
        padding: 16px 16px 10px 16px !important;
    }
    
    .comparison-card-title {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
    
    .comparison-card-content {
        padding: 0 16px 16px 16px !important;
    }
    
    .comparison-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 360px) {
    .comparison-section {
        padding: 30px 0 !important;
    }
    
    .comparison-container {
        padding: 0 10px !important;
    }
    
    .comparison-title {
        font-size: 24px !important;
        line-height: 1.1 !important;
        margin-bottom: 25px !important;
        text-align: left !important;
    }
    
    .comparison-cards {
        gap: 12px !important;
    }
    
    .comparison-card {
        border-radius: 8px !important;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
    }
    
    .comparison-card-header {
        padding: 14px 14px 8px 14px !important;
    }
    
    .comparison-card-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
    
    .comparison-card-content {
        padding: 0 14px 14px 14px !important;
    }
    
    .comparison-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    padding: 80px 0;
    background: #ffffff;
}

.comparison-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.comparison-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2F313B;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.comparison-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.comparison-card-header {
    padding: 24px 24px 16px 24px;
}

.comparison-card-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.comparison-card:nth-child(odd) .comparison-card-title {
    color: #E53E3E;
}

.comparison-card:nth-child(even) .comparison-card-title {
    color: #2160FE;
}

.comparison-card-content {
    padding: 0 24px 24px 24px;
}

.comparison-text {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
}

/* Секция Калькулятор */
.calc-section {
    padding: 100px 0;
    background: #ffffff url('../landing/assets/calc/bg.svg') no-repeat top center;
    background-size: 100% auto;
    position: relative;
}

.calc-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.calc-header {
    text-align: center;
    margin-bottom: 60px;
}

.calc-content {
    display: flex;
        gap: 40px;
        align-items: center;
}

.calc-left {
    flex: 0 0 400px;
    position: relative;
}

.calc-center {
    flex: 1;
    position: relative;
    z-index: 2;
}

.calc-right {
    flex: 0 0 300px;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.calc-person-image {
    width: 100%;
    height: auto;
    position: relative;
    top: -15px;
    display: block;
}

.calc-person-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-top: -230px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.calc-person-name {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.calc-person-description {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
}

.calc-person-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2160FE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.calc-contact-phone:hover {
    color: #1850d9;
    text-decoration: none;
}

.calc-contact-messengers {
    display: flex;
    gap: 12px;
}

.calc-contact-messengers .messenger-btn {
    background: #2AABEE;
}

.calc-contact-messengers .messenger-btn:hover {
    background: #229ED9;
}

.calc-contact-messengers .icon-telegram-blue {
    display: none !important;
}

.calc-contact-messengers .icon-telegram-white {
    display: block !important;
}

.calc-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.calc-messenger:hover {
    transform: scale(1.1);
    background: #e8e8e8;
}

.calc-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.calc-badge {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #2160FE;
    border-radius: 50px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2160FE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.calc-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 16px;
}

.calc-subtitle {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0 0 40px;
    line-height: 1.5;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-form-section {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 32px;
}

.calc-form-title {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px;
}

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

.calc-label {
    display: block;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 14px 18px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 16px;
    color: #1a1a1a;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Стили для поля телефона с intlTelInput */
.calc-input.phoneClass {
    width: 100% !important;
    min-width: 100% !important;
}

/* Стили для обертки intlTelInput */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti input {
    width: 100% !important;
    min-width: 100% !important;
}

.calc-select:focus,
.calc-input:focus {
    outline: none;
    border-color: #2160FE;
    box-shadow: 0 0 0 3px rgba(33, 96, 254, 0.1);
}

.calc-submit {
    width: 100%;
    padding: 18px 32px;
    background: #2160FE;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-submit:hover {
    background: #1850d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 96, 254, 0.3);
}

.calc-privacy {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 16px;
}

.calc-privacy a {
    color: #2160FE;
    text-decoration: underline;
}

.calc-benefits {
    display: flex;
    flex-direction: column;
    position: relative;
    left: -58px;
    gap: 16px;
}

.calc-benefit {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #2160FE;
    text-align: right;
}

.calc-benefit-text {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    text-align: right;
}

.calc-benefit-highlight {
    color: #2160FE;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .calc-content {
        gap: 30px;
    }

    .calc-left {
        flex: 0 0 350px;
    }

    .calc-right {
        flex: 0 0 280px;
    }
}

@media (max-width: 992px) {
    .calc-content {
        flex-direction: column;
        gap: 40px;
    }

    .calc-left {
        flex: 0 0 auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .calc-center {
        flex: 0 0 auto;
    }

    .calc-right {
        flex: 0 0 auto;
        margin-top: 0;
        max-width: 100%;
    }

    .calc-form-wrapper {
        padding: 40px 30px;
    }

    .calc-title {
        font-size: 28px;
        text-align: left !important;
    }
    
    .calc-subtitle {
        text-align: left !important;
    }

    .calc-benefit {
        text-align: left;
    }

    .calc-benefit-text {
        text-align: left;
    }
    
    .calc-benefits {
        left: 0 !important;
    }
}

@media (max-width: 768px) {
    .calc-section {
        padding: 60px 0;
    }

    .calc-form-wrapper {
        padding: 30px 20px;
    }

    .calc-title {
        font-size: 24px;
        text-align: left !important;
    }
    
    .calc-subtitle {
        text-align: left !important;
    }

    .calc-form-section {
        padding: 24px;
    }
    
    .calc-benefits {
        left: 0 !important;
    }
}

/* Стили для валидации полей калькулятора и других форм */
.calc-input.error,
.modal_input.error {
    border-color: #EF4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.calc-input.valid,
.modal_input.valid {
    border-color: #10B981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
}

.calc-input.error:focus,
.modal_input.error:focus {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.error-message {
    color: #EF4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-family: 'TikTok Sans', sans-serif;
}

/* Анимация появления ошибки */
@keyframes shakeError {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.calc-input.error,
.modal_input.error {
    animation: shakeError 0.5s ease-in-out;
}

/* Исправление высоты intlTelInput */
.iti {
    display: block;
    width: 100%;
}

.iti__flag-container {
    height: 100%;
}

.iti__selected-flag {
    height: 100%;
    padding: 0 0 0 8px;
}

/* Для модальных окон */
.modal_input.iti__tel-input {
    padding-left: 52px !important;
}

/* Для калькулятора */
.calc-input.iti__tel-input {
    padding-left: 52px !important;
}

/* Резервируем место для ошибок в калькуляторе */
.calc-form-group {
    margin-bottom: 20px;
    min-height: 95px; /* Поле + лейбл + место под ошибку */
}

.calc-form-group .error-message {
    margin-top: 6px;
    min-height: 20px;
    display: block;
}

/* Убираем margin у полей, чтобы контролировать через calc-form-group */
.calc-form-group .calc-input,
.calc-form-group .iti {
    margin-bottom: 0 !important;
}
