:root {
    --primary-light-blue: #e3f2fd;
    --primary-light: #cccbd2;
    --primary-soft-blue: #bbdefb;
    --primary-soft: #939298;
    --primary-blue: #2196f3;
    --primary: #737277;
    --primary-dark-blue: #1976d2;
    --primary-dark: #38393F;
    --accent-soft: #ffecb3;
    --accent: #ffc107;
    /*--accent: #4A556B;*/
    --accent-dark: #ffa000;
    /*--accent-dark: #333a49;*/
    --text-light: #546e7a;
    --text: #37474f;
    --text-dark: #263238;
    --background: #fafafa;
    --surface: #ffffff;
    --border: #e0e0e0;
    --shadow-soft: rgba(33, 150, 243, 0.08);
    --shadow-medium: rgba(33, 150, 243, 0.12);
    --shadow-strong: rgba(33, 150, 243, 0.16);

    /* Брейкпоинты */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large: 1200px;

    --gradient-card2: linear-gradient(135deg, #4A556B, #909BAF);
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-accent {
    background: linear-gradient(135deg, #fff 0%, rgba(165, 163, 169, 0.3) 50%, rgba(115, 114, 119, 0.3) 100%);
    position: relative;
}

/* Заголовки */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
}

/* Кнопки */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4A556B, #909BAF);
    color: white;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary-soft);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn i {
    font-size: 1.125rem;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0.15) 100%), url("/assets/images/hero.jpg");
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    flex-direction: column;
    padding-bottom: 20px;
}

.hero-badge {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.08);
}

.hero-badge i {
    color: var(--accent-dark);
    font-size: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.hero-title-accent {
    color: #fafafa;
    -webkit-text-fill-color: #fafafa;
}

.hero-description {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0;
    max-width: 800px;
}

.highlight {
    background: linear-gradient(120deg, var(--accent-soft) 0%, transparent 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--accent-dark);
    font-size: 1.25rem;
}

/* Карточки */
.cards-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 3rem;
}

.card {
    flex: 1 1 calc(33% - 24px);
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover,
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.12);
}

.card-icon {
    max-width: 130px;
    height: 130px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.certification-card .card-icon {
    width: 80px;
    height: 80px;
}

.card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-dark-blue);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--surface);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: auto;
}

/* Предупреждение */
.warning-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.warning-icon {
    width: 70px;
    height: 70px;
    /*background: var(--accent-soft);*/
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warning-icon i {
    font-size: 2rem;
    color: var(--accent-dark);
}

.warning-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.warning-content {
    flex: 1;
}

.warning-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.warning-text {
    color: var(--text);
    line-height: 1.6;
}

/* Цитата */
.quote-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    margin-top: 3rem;
}

.quote-icon-start {
    color: var(--primary-blue);
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.quote-icon-end {
    color: var(--primary-blue);
    font-size: 2rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

/* Сравнение */
.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.comparison-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-soft));
    padding: 1.5rem 2rem;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background: var(--primary-light);
}

.comparison-category {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.comparison-value {
    display: flex;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-positive {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.badge-negative {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.info-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.info-note i {
    color: var(--primary);
}

/* Этапы */
.steps-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 2rem;
}

.steps-grid2 {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 2rem;
}

.steps-grid2 > .step-card .step-title {
    margin-top: 0;
}

.steps-grid2 > .step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.steps-grid2 > .step-card > img {
    width: 120px;
}



.step-card {
    flex: 1 1 calc(25% - 24px);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem 0;
}

.step-text {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.success-card i {
    color: #4caf50;
    font-size: 1.25rem;
}

/* Кейсы */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}


.case-header {
    background: linear-gradient(135deg, #4A556B, #909BAF);
    color: white;
    padding: 1.5rem 2rem;
}

.case-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.case-body {
    padding: 2rem;
}

.case-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.case-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.case-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.simple-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-list-item i,
.simple-feature i {
    color: #4caf50;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.case-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Характеристики */
.specs-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: row;
}

.spec-card {
    flex: 1 1 calc(25% - 24px);
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.spec-card:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.08);
}

.spec-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0.5rem 0;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.spec-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-tag {
    background: var(--background);
    color: var(--text-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

.spec-list {
    list-style: none;
}

.spec-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.spec-list-item i {
    color: #4caf50;
    font-size: 1.125rem;
}

/* Сертификация */
.certification-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.certification-content {
    flex: 1;
}

.certification-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.certification-text {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.certification-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.certification-badge {
    background: white;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.certification-badge i {
    color: #4caf50;
}

/* Футер */
.footer {
    background: var(--surface);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*.brand-logo {*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-soft-blue));*/
/*    border-radius: 16px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.brand-logo img {
    width: 250px;
}

.brand-logo i {
    font-size: 2rem;
    color: var(--primary-dark-blue);
}

.brand-content {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.brand-title-accent {
    color: var(--primary-blue);
}

.brand-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.footer-text {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
}

.footer-step {
    margin-bottom: 2rem;
}

.footer-contacts .hero-buttons {
    gap: 8px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.socials-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.socials-list a {
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
}

.socials-list a img {
    display: block;
    max-width: 30px;
}

.contacts-list {
    list-style: none;
}

.contacts-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contacts-item i {
    color: var(--primary-blue);
    font-size: 1.125rem;
    width: 20px;
}

.contacts-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-item a:hover {
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 2rem;
}

.footer-copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Галерея в кейсах - упрощенная */
.case-gallery {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

.gallery-preview {
    margin-bottom: 0;
}

.preview-main {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
    background: var(--primary-light);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.thumb-btn {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    padding: 0;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.thumb-btn:hover {
    border-color: var(--primary-soft);
    transform: translateY(-2px);
}

.thumb-btn.active {
    border-color: var(--primary);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Стили для видео-миниатюры */
.thumb-btn-video {
    position: relative;
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.video-play-icon i {
    font-size: 2rem;
    opacity: 0.9;
}

.thumb-btn-video:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.7);
}

.thumb-btn-video:hover .video-play-icon i {
    transform: scale(1.1);
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .case-gallery {
        padding: 1rem;
    }

}

@media (max-width: 480px) {

    .thumb-btn {
        border-width: 1px;
    }

    .video-play-icon i {
        font-size: 1.5rem;
    }
}

/* Простое сравнение - 2 карточки */
.simple-comparison {
    margin-bottom: 3rem;
}

.comparison-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-card {
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.comparison-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.comparison-card-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    color: white;
}

.comparison-card-body {
    flex: 1;
}

.comparison-features {
    list-style: none;
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.comparison-feature:last-child {
    margin-bottom: 0;
}

.comparison-feature i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.comparison-feature.positive i {
    color: #4caf50;
}

.comparison-feature.negative i {
    color: #ff5252;
}

.comparison-feature span {
    color: white;
    opacity: 0.95;
}

.comparison-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.comparison-note i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comparison-note p {
    color: var(--text-light);
    font-size: 1.25rem;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .comparison-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .comparison-card-title {
        font-size: 1.75rem;
    }

    .comparison-note {
        gap: 0.75rem;
        padding: 1.25rem;
    }
}

.card {
    background: linear-gradient(135deg, #4A556B, #909BAF);
}

.card:last-of-type {
    background: linear-gradient(135deg, #38393F, #737277);
}

.card-title {
    color: #fff;
}

.card-text {
    color: #fff;
}

.certification-card h3,
.certification-card p {
    color: var(--text);
}
