

/* Start:/local/templates/lvov-studio/components/bitrix/menu/top_small/style.css?17668490771926*/
/* 1. Контейнер меню (САМОЕ ВАЖНОЕ ИСПРАВЛЕНИЕ) */
nav.top-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    position: relative;
    z-index: 100000 !important;
    /* <--- Ставим огромное значение самому КОНТЕЙНЕРУ */
    overflow: visible !important;
}

/* 2. Пункты меню */
.top-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 10px;
    /* Отступы между пунктами */
}

.top-menu-item:last-child {
    margin-right: 0;
}

.top-menu-item>a {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    transition: color 0.2s;
}

/* 3. Выпадающее меню */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    background: #fff;
    min-width: 240px;
    padding: 10px 0;
    border-radius: 0 0 12px 12px;
    z-index: 100001 !important;
    border-top: none;
}

/* Показываем при наведении */
.top-menu-item:hover .submenu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

/* Ссылки внутри подменю */
.submenu a {
    display: block;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.submenu a:last-child {
    border-bottom: none;
}

.submenu a:hover {
    background-color: var(--bg-gray);
    color: var(--brand-dark-blue);
    padding-left: 30px;
}

/* Выделение GameDev */
.submenu a[href*="gamedev"] {
    font-weight: 700;
    color: #f1331c;
    background: rgba(241, 51, 28, 0.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* End */


/* Start:/local/templates/lvov-studio/styles.css?176684916238028*/
/* --- ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ --- */
:root {
    --brand-red: #dd0000;
    --brand-dark-blue: #2c3e50;
    --bg-gray: #F5F5F7;
    --text-main: #1D1D1F;
    --text-secondary: #86868B;
    --container-width: 1300px;
}

/* --- СБРОС И БАЗА --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button,
input {
    font-family: inherit;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   1. ШАПКА (HEADER)
   ========================================= */
.top-bar {
    background-color: var(--bg-gray);
    font-size: 14px;
    color: var(--text-secondary);
    height: 55px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.region {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 600;
    min-width: 100px;
}

.region:hover {
    color: var(--brand-red);
}

.top-menu {
    display: flex;
    gap: 30px;
    margin: 0 30px;
}

.top-menu a {
    font-weight: 500;
    color: var(--text-secondary);
}

.top-menu a:hover {
    color: var(--brand-red);
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-main);
    font-size: 20px;
    opacity: 0.7;
}

.social-icons a:hover {
    color: var(--brand-red);
    opacity: 1;
}

.phone {
    font-weight: 600;
    color: var(--text-main);
    font-size: 19px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.callback-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-red);
    border: 1px solid var(--brand-red);
    padding: 8px 16px;
    border-radius: 6px;
    white-space: nowrap;
}

.callback-btn:hover {
    background-color: var(--brand-red);
    color: #fff;
}

.middle-bar {
    padding: 25px 0;
    background: #fff;
}

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

.brand-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    display: block;
    height: 55px;
    width: auto;
}

.slogan-wrapper {
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slogan-text {
    font-size: 13px;
    line-height: 1.35;
    color: var(--text-secondary);
    font-weight: 500;
}

.search-wrapper {
    flex-grow: 1;
    max-width: 650px;
    position: relative;
}

.search-wrapper form {
    display: block;
    width: 100%;
    position: relative;
}

.search-input {
    width: 100%;
    background: var(--bg-gray);
    border: 2px solid transparent;
    height: 50px;
    border-radius: 12px;
    padding: 0 50px 0 20px;
    font-size: 16px;
    color: var(--text-main);
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.search-input:focus {
    background: #fff;
    border-color: var(--brand-red);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--brand-red);
}

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

.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: var(--text-main);
    gap: 5px;
    position: relative;
}

.action-link i {
    font-size: 24px;
    transition: 0.2s;
    color: #222;
}

.action-link:hover i {
    color: var(--brand-red);
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--brand-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.nav-bar {
    background-color: var(--brand-dark-blue);
    color: #fff;
    position: relative;
    /* Ensure proper stacking */
    z-index: 890;
    /* Just below sticky header (900) but above content */
    transition: all 0.3s ease;
}

/* --- STICKY HEADER LOGIC --- */
.sticky-header-wrap {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sticky-header-wrap .middle-bar {
    transition: padding 0.3s ease;
}

/* Compact State */
.sticky-header-wrap.is-sticky .middle-bar {
    padding: 10px 0;
}

.sticky-header-wrap.is-sticky .logo-img {
    height: 40px;
    /* Resize logo */
    transition: height 0.3s ease;
}

.sticky-header-wrap.is-sticky .slogan-wrapper {
    display: none;
    /* Hide slogan to save space */
}

/* Optional: Slight transparency on scroll */
.sticky-header-wrap.is-sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    display: block;
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
    transition: all 0.2s;
}

.nav-item:hover>a {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    /* Fix for visibility */
    background: #fff;
    min-width: 260px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    padding: 10px 0;
    border-top: none;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-main);
    font-size: 15px;
}

.dropdown li a:hover {
    background: var(--bg-gray);
    color: var(--brand-dark-blue);
    padding-left: 30px;
}


/* =========================================
   3. ПОЧЕМУ МЫ (WHY US)
   ========================================= */
.why-us {
    background-color: #fff;
    padding: 100px 0;
}

.section-header {
    max-width: 600px;
    margin-bottom: 70px;
    text-align: left;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.why-us .highlight-text {
    color: var(--brand-red);
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.feature-card {
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: transform 0.3s ease;
}

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

.icon-box {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .icon-box img {
    transform: rotate(15deg) scale(1.1);
}

.feature-content {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* =========================================
   4. УСЛУГИ (SERVICES)
   ========================================= */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eefc 100%);
}

.services-top-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

.services-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
}

.services-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -1px;
}

.services-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.services-cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--brand-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.services-cta-button:hover {
    background: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.3);
}

.services-card,
.services-card-large {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.services-card-large {
    padding: 30px;
}

.services-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.services-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.services-card:hover,
.services-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.services-card::before,
.services-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red) 0%, #2c3e50 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

.services-card:hover::before,
.services-card-large:hover::before {
    transform: translateX(0);
}

.services-card-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.services-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
    line-height: 1.3;
}

.services-card-large .services-card-title {
    font-size: 24px;
    color: var(--brand-red);
}

.services-card-large .services-card-icon {
    width: 50px;
    height: 50px;
}

.services-card-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    margin-bottom: auto;
}

.services-card-list li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
}

.services-card-list li::before {
    content: "•";
    color: var(--brand-red);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.service-price {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.card-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #ddd;
    font-size: 16px;
    transition: all 0.3s;
}

.services-card:hover .card-arrow,
.services-card-large:hover .card-arrow {
    color: var(--brand-red);
    transform: translateX(5px);
}

.services-card-featured {
    background: linear-gradient(135deg, var(--brand-red) 0%, #2c3e50 100%);
    color: white;
    border: none;
}

.services-card-featured .services-card-title,
.services-card-featured .services-card-list li,
.services-card-featured .service-price,
.services-card-featured .card-arrow {
    color: rgba(255, 255, 255, 0.9);
}

.services-card-featured .service-price {
    border-top-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.services-card-featured .services-card-list li::before {
    color: white;
}

.services-card-featured::before {
    display: none;
}

/* =========================================
   5. КЕЙСЫ (CASES)
   ========================================= */
.cases-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.cases-header-content {
    max-width: 600px;
}

.cases-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 15px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.cases-title .highlight-text {
    color: var(--brand-red);
}

.cases-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cases-slider-nav {
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover:not(:disabled) {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cases-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.cases-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.case-item {
    min-width: calc((100% - 60px) / 3);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.case-item-image-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.case-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-item-image {
    transform: scale(1.05);
}

.client-logo {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.client-logo img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.case-result {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.case-result.success {
    color: #00a65a;
}

.case-result i {
    font-size: 12px;
}

.case-item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-tag {
    background: #f4f5f7;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.case-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin: 5px 0 0 0;
    line-height: 1.3;
}

.case-item-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-item-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
}

.case-item-link i {
    font-size: 12px;
    transition: transform 0.2s;
}

.case-item:hover .case-item-link i {
    transform: translateX(4px);
}

/* =========================================
   6. РЕШЕНИЯ (SOLUTIONS / TABS)
   ========================================= */
.segments-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eefc 100%);
}

.segments-header {
    text-align: left;
    margin-bottom: 50px;
}

.segments-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.segments-title .highlight-text {
    color: var(--brand-red);
}

.segments-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
}

.segments-tabs-nav {
    display: flex;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.segments-tab-btn {
    padding: 15px 25px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.segments-tab-btn:hover {
    color: var(--brand-red);
}

.segments-tab-btn.active {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

.segments-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.segments-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.segment-zone {
    background-color: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.segment-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--text-main);
}

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

.segment-block {
    display: flex;
    flex-direction: column;
}

.segment-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.segment-icon-wrap {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
}

.segment-icon-wrap img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.segment-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.segment-block ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    position: relative;
    padding-left: 20px;
}

.segment-block ul li::before {
    content: '•';
    color: var(--brand-red);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    line-height: 1.2;
}

.case-highlight {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    gap: 15px;
}

.case-highlight:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.case-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.case-methodology {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-red);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.segment-case-link {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.segment-case-link:hover {
    color: var(--brand-red);
}

.case-benefit-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.segment-cta-wrapper {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-buttons-group {
    display: flex;
    gap: 15px;
}

.segment-cta-btn {
    display: inline-flex;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--brand-red);
    color: white;
    box-shadow: 0 5px 15px rgba(221, 0, 0, 0.2);
}

.segment-cta-btn:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.3);
}

.segment-cta-btn-secondary {
    display: inline-flex;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.segment-cta-btn-secondary:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.segment-guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-icon i {
    font-size: 20px;
    color: var(--brand-red);
    opacity: 0.8;
}

.guarantee-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 250px;
}

/* =========================================
   7. ОТЗЫВЫ (REVIEWS)
   ========================================= */
.reviews-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-header-content {
    max-width: 600px;
}

.reviews-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 15px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.reviews-title .highlight-text {
    color: var(--brand-red);
}

.reviews-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.reviews-subtitle a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(221, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.reviews-subtitle a:hover {
    border-bottom-style: solid;
}

.reviews-slider-nav {
    display: flex;
    gap: 15px;
}

.reviews-slider-nav .slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reviews-slider-nav .slider-btn:hover:not(:disabled) {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}

.reviews-slider-wrapper {
    overflow: hidden;
    padding: 10px 0 40px 0;
}

.reviews-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease-in-out;
}

.review-card {
    flex: 0 0 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    background-color: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.review-quote-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 30px;
    color: var(--brand-red);
    opacity: 0.1;
}

.review-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fcebeb;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.review-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-main);
}

.review-author-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.review-author-date {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    display: block;
}

.read-more-btn {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    margin-top: 5px;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* =========================================
   8. ФОРМА ЗАХВАТА (CTA)
   ========================================= */
.cta-section {
    padding: 80px 0 100px 0;
    background-color: #fff;
}

.cta-wrapper {
    background: linear-gradient(135deg, #2c3e50 0%, #b30000 100%);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 40%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.cta-text-block {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: #fff;
}

.cta-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.cta-benefit-item i {
    background: #fff;
    color: var(--brand-red);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cta-form-block {
    width: 450px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    height: 54px;
    padding: 0 20px 0 45px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: var(--brand-red);
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    transition: color 0.2s;
}

.input-group input:focus+i {
    color: var(--brand-red);
}

.submit-btn {
    width: 100%;
    height: 56px;
    background-color: var(--brand-red);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #b30000;
    transform: translateY(-2px);
}

.policy-text {
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.policy-text a {
    color: #555;
    text-decoration: underline;
}

/* =========================================
   9. ПОДВАЛ (FOOTER)
   ========================================= */
.main-footer {
    background-color: #1D1D1F;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    font-size: 14px;
    margin-top: 50px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 18px;
}

.footer-socials a:hover {
    background: var(--brand-red);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu,
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--brand-red);
    padding-left: 5px;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-contacts i {
    color: var(--brand-red);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contacts a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: var(--brand-red);
}

.footer-phone {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.footer-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* --- ОБЩАЯ АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {

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

    .services-top-grid {
        grid-template-columns: 1fr;
    }

    .case-item {
        min-width: calc((100% - 30px) / 2);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .cta-text-block {
        align-items: center;
    }

    .cta-form-block {
        width: 100%;
        max-width: 500px;
    }

    .segment-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .segment-cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-card {
        flex: 0 0 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {

    .services-bottom-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .case-item,
    .review-card {
        min-width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials,
    .footer-contacts li {
        justify-content: center;
    }

    .footer-logo {
        display: block;
        margin-bottom: 20px;
    }

    .section-title,
    .hero-title,
    .services-title,
    .cases-title,
    .segments-title,
    .cta-title,
    .reviews-title {
        font-size: 32px !important;
    }

    .cta-form-block {
        padding: 30px 20px;
    }

    .segments-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
}

/* --- МОДАЛЬНОЕ ОКНО --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    /* Скрыто */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.open .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: var(--brand-red);
}

.modal-content h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: var(--text-main);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* --- BREADCRUMBS --- */
.breadcrumb-wrapper {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #888;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--brand-red);
}

.breadcrumb-item.active {
    color: #aaa;
    pointer-events: none;
}

.breadcrumb-item .separator {
    margin: 0 8px;
    font-size: 10px;
    color: #ccc;
    opacity: 0.7;
}

.breadcrumb-item i.fa-home {
    font-size: 14px;
}

/* --- LICENSE BENEFITS (Dark Premium) --- */
.benefits-v3 {
    padding: 80px 0;
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card-v3 {
    background: rgba(30, 30, 30, 0.6);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.benefit-card-v3:hover {
    background: rgba(40, 40, 40, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(221, 0, 0, 0.3);
    /* Red border on hover */
}

.benefit-icon-v3 {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ff4d4d;
    /* Bright red */
    transition: all 0.4s;
}

.benefit-card-v3:hover .benefit-icon-v3 {
    background: #ff4d4d;
    color: white;
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.4);
    /* Glow */
}

.benefit-card-v3 h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card-v3 p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(33, 33, 33, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: #2ecc71;
    /* Nice green */
    font-size: 18px;
}
/* End */
/* /local/templates/lvov-studio/components/bitrix/menu/top_small/style.css?17668490771926 */
/* /local/templates/lvov-studio/styles.css?176684916238028 */
