:root {
    --primary: #0a5c8e;
    --primary-dark: #074269;
    --primary-light: #2c7cb0;
    --secondary: #f0f4f8;
    --accent: #e67e22;
    --text-dark: #1a2a3a;
    --text-light: #4a5a6a;
    --white: #ffffff;
    --gray-bg: #f9fafc;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Навигация */
.nav {
    flex: 1;
    margin-left: 48px;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* Выпадающее меню */
.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--gray-bg);
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.dropdown-goto a {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-goto a:hover {
    background: var(--gray-bg);
    color: var(--primary-dark);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-small {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-small:hover {
    background: var(--primary);
    color: var(--white);
}

/* Мобильная навигация */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        margin-left: 0;
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-list a {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--gray-bg);
        border-radius: 6px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 16px;
    }

    .dropdown-divider {
        margin: 8px 0;
    }

    .nav-footer {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
    }

    .nav-consultation-btn {
        display: block;
        text-align: center;
        width: 100%;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 769px) {
    .nav-footer {
        display: none;
    }
}

/* Hero Section с видео-фоном */
.hero-video {
    position: relative;
    overflow: hidden;
    background: none;
    padding: 40px 0 60px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-background video,
.hero-video-background img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-video-background img {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-video .hero-container {
    position: relative;
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-video .hero-content {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
}

.hero-video .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.hero-video .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-video {
        min-height: 650px;
        padding: 40px 0;
    }

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

    .hero-video .hero-image {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-video .hero-content {
        text-align: center;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(10,92,142,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    background: var(--white);
}

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

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.tech-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* Компактные картинки для продукции */
.tech-icon {
    width: 100%;
    height: 180px;
    background: rgba(10,92,142,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 16px;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon img {
    transform: scale(1.05);
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.tech-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-badge {
    background: var(--gray-bg);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}

.tech-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.link-arrow {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.link-arrow:hover {
    gap: 8px;
    letter-spacing: 0.5px;
}

.products-cta,
.cases-cta {
    text-align: center;
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Вкладки */
.tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 30px;
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.tab-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(10,92,142,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.industry-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.industry-content {
    padding: 32px;
}

.industry-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.industry-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.tech-cta {
    text-align: center;
    padding-top: 48px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.tech-cta p {
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Integration Section */
.integration {
    padding: 80px 0;
    background: var(--gray-bg);
}

.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integration-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.integration-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.integration-features {
    list-style: none;
    margin-bottom: 32px;
}

.integration-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.integration-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

.integration-image img {
    width: 100%;
    border-radius: 20px;
}

/* Cases Section */
.cases {
    padding: 80px 0;
    background: var(--white);
}

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

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.case-overlay {
    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;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.case-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-stats {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--primary);
}

.case-stats i {
    margin-right: 6px;
}

/* Service Section */
.service {
    padding: 80px 0;
    background: var(--gray-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px;
}

.service-image img {
    width: 100%;
    border-radius: 20px;
}

.service-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-content > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.service-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.service-feature i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.service-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Resources Section */
.resources {
    padding: 80px 0;
    background: var(--white);
}

.accordion-header {
    cursor: pointer;
    transition: all 0.2s;
}

.accordion-header:hover .section-header h2 {
    color: var(--primary);
}

.accordion-arrow {
    transition: transform 0.3s ease;
    margin-left: 8px;
    vertical-align: middle;
}

.accordion-header.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-content.expanded {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.resource-card {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.more-resources {
    margin-top: 32px;
}

.resources-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ROI Calculator */
.roi-calculator {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.calculator-card {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 48px;
    backdrop-filter: blur(10px);
}

.calculator-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.calculator-content p {
    margin-bottom: 32px;
    opacity: 0.9;
}

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

.calculator-form input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
}

.calculator-result {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    text-align: center;
}

.calculator-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.calculator-stats .stat {
    text-align: center;
}

.calculator-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--white);
}

.calculator-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Consultation Form */
.consultation-form {
    padding: 80px 0;
    background: var(--gray-bg);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: var(--shadow);
}

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

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.form-header p {
    color: var(--text-light);
}

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

.kp-form .form-group {
    margin-bottom: 0;
}

.kp-form input,
.kp-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.kp-form input:focus,
.kp-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,92,142,0.1);
}

.kp-form .full-width {
    grid-column: 1 / -1;
}

.kp-form button {
    width: 100%;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #0f1a24;
    color: #b0c4de;
    padding: 48px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #b0c4de;
    text-decoration: none;
    line-height: 2;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #2a3a48;
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
}

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

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
}

.modal-body img {
    width: 100%;
    border-radius: 12px;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.modal-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.product-card,
.case-card {
    animation: fadeInUp 0.5s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .integration-grid,
    .service-grid,
    .calculator-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .kp-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 32px 24px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .calculator-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-badge {
        display: none;
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        margin-bottom: 10px;
    }
}

/* ========== ФОНОВЫЕ ИЗОБРАЖЕНИЯ ДЛЯ СЕКЦИЙ ========== */

/* Общие стили для секций с фоном */
.service,
.roi-calculator,
.integration {
    position: relative;
    overflow: hidden;
}

/* Контейнер для фонового изображения */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

/* Размытый вариант фона (для более мягкого эффекта) */
.section-bg-blur {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0.2;
}

/* Убедимся, что контент поверх фона */
.service .container,
.roi-calculator .container,
.integration .container {
    position: relative;
    z-index: 2;
}

/* Специальный стиль для секции сервиса - делаем карточку полупрозрачной */
.service-grid {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.service-grid:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-hover);
}

/* Для секции калькулятора - усиливаем затемнение */
.roi-calculator .calculator-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

/* Для секции интеграции - легкий паттерн поверх */
.integration-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a5c8e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Анимация плавного появления фона */
@keyframes bgFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.15;
    }
}

.section-bg {
    animation: bgFadeIn 0.8s ease-out;
}

/* Адаптив для мобильных - уменьшаем прозрачность фона */
@media (max-width: 768px) {
    .section-bg {
        opacity: 0.3;
    }

    .service-grid {
        background: rgba(255, 255, 255, 0.98);
        padding: 32px 24px;
    }

    .section-bg-blur {
        opacity: 0.15;
    }
}