/* ============================================
 AOS Fallback — блоки видны до загрузки JS
 ============================================ */


/* Ускорение рендера карточек */
.feature-card,
.case-card,
.benefit-card,
.tab-pane,
.counter-item {
 will-change: transform, opacity;
}

/* Минимальная высота секций — не схлопываются до загрузки */
.product-tabs-section,
.features-cards-section,
.cases-preview-section,
.counters-section,
.benefits-section,
.certificate-section {
 min-height: 200px;
}

/* ============================================
 Atrix 2.0 — Main Stylesheet
 ============================================ */

:root {
 --primary-blue: #1D3557;
 --accent-blue: #457B9D;
 --primary-red: #E63946;
 --light-bg: #F8F9FA;
 --white: #FFFFFF;
 --dark-text: #2B2D42;
 --gray-text: #6C757D;
 --shadow-sm: 0 4px 20px rgba(0,0,0,0.08);
 --shadow-md: 0 10px 40px rgba(0,0,0,0.12);
 --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
 --radius: 20px;
 --radius-sm: 12px;
 --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
 font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
 color: var(--dark-text);
 background: var(--white);
 overflow-x: hidden;
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: var(--transition); }

/* ============================================
 Typography
 ============================================ */

.section-title {
 font-size: clamp(1.8rem, 4vw, 2.8rem);
 font-weight: 800;
 color: var(--primary-blue);
 text-align: center;
 margin-bottom: 1rem;
 line-height: 1.2;
}

.section-subtitle {
 font-size: clamp(1rem, 2vw, 1.2rem);
 color: var(--gray-text);
 text-align: center;
 max-width: 600px;
 margin: 0 auto 3rem;
}

/* ============================================
 Buttons
 ============================================ */

.btn-primary-custom {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 background: var(--primary-red);
 color: var(--white);
 padding: 1rem 2.5rem;
 border-radius: 50px;
 font-weight: 600;
 font-size: 1.05rem;
 border: none;
 cursor: pointer;
 transition: var(--transition);
 box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35);
 position: relative;
 overflow: hidden;
}

.btn-primary-custom::before {
 content: '';
 position: absolute;
 top: 0; left: -100%;
 width: 100%; height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
 transition: left 0.6s ease;
}

.btn-primary-custom:hover {
 transform: translateY(-3px);
 box-shadow: 0 15px 40px rgba(230, 57, 70, 0.45);
 background: #d32f3c;
}

.btn-primary-custom:hover::before { left: 100%; }

.btn-secondary-custom {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 background: transparent;
 color: var(--white);
 padding: 1rem 2.5rem;
 border-radius: 50px;
 font-weight: 600;
 font-size: 1.05rem;
 border: 2px solid rgba(255,255,255,0.5);
 cursor: pointer;
 transition: var(--transition);
}

.btn-secondary-custom:hover {
 background: var(--white);
 color: var(--primary-blue);
 border-color: var(--white);
 transform: translateY(-3px);
}

/* ============================================
 Header
 ============================================ */

.site-header {
 position: fixed;
 top: 0; left: 0; right: 0;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 padding: 1rem 0;
 z-index: 1000;
 border-bottom: 3px solid var(--primary-red);
}

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

.header-brand {
 font-size: 1.6rem;
 font-weight: 800;
 color: var(--white);
 text-decoration: none;
 flex-shrink: 0;
}

.brand-accent { color: var(--primary-red); }

.header-nav-wrapper {
 flex-grow: 1;
 display: flex;
 justify-content: center;
}

.header-nav {
 display: flex;
 list-style: none;
 margin: 0;
 padding: 0;
 gap: 2rem;
}

.header-nav a {
 color: var(--white);
 text-decoration: none;
 font-weight: 500;
 font-size: 0.95rem;
 transition: color 0.3s ease;
 position: relative;
}

.header-nav a::after {
 content: '';
 position: absolute;
 bottom: -4px; left: 0;
 width: 0; height: 2px;
 background: var(--primary-red);
 transition: width 0.3s ease;
}

.header-nav a:hover { color: var(--primary-red); }
.header-nav a:hover::after { width: 100%; }

.header-right {
 display: flex;
 align-items: center;
 gap: 1.2rem;
}

.header-social-link {
 color: var(--white);
 font-size: 1.1rem;
 transition: var(--transition);
 text-decoration: none;
}

.header-social-link:hover {
 color: var(--primary-red);
 transform: translateY(-2px);
}

.header-phones {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 0.2rem;
}

.header-phone {
 color: var(--white);
 text-decoration: none;
 font-weight: 600;
 font-size: 0.9rem;
 display: flex;
 align-items: center;
 gap: 0.4rem;
 transition: color 0.3s ease;
}

.header-phone:hover { color: var(--primary-red); }


.menu-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 flex-direction: column;
 gap: 5px;
}

.menu-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--white);
 border-radius: 2px;
 transition: all 0.3s ease;
}

.header-nav-footer {
 display: none;
 margin-top: auto;
 padding-top: 2rem;
 border-top: 1px solid rgba(255,255,255,0.1);
}

.header-phone-mobile {
 color: var(--white);
 text-decoration: none;
 font-weight: 600;
 font-size: 1.1rem;
 display: flex;
 align-items: center;
 gap: 0.5rem;
 margin-bottom: 0.75rem;
}

.header-social-mobile {
 display: flex;
 gap: 0.75rem;
}

.header-social-mobile a {
 color: var(--white);
 font-size: 1.2rem;
 text-decoration: none;
}

/* ============================================
 Hero Section
 ============================================ */

.hero-section {
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 padding: 160px 0 100px;
 position: relative;
 overflow: hidden;
 min-height: 100vh;
 display: flex;
 align-items: center;
}

/*.hero-section::before {
 content: '';
 position: absolute;
 width: 600px; height: 600px;
 background: var(--primary-red);
 opacity: 0.08;
 border-radius: 50%;
 top: -250px; right: -150px;
 animation: float 8s ease-in-out infinite;
}*/

/*.hero-section::after {
 content: '';
 position: absolute;
 width: 400px; height: 400px;
 background: var(--white);
 opacity: 0.03;
 border-radius: 50%;
 bottom: -150px; left: -100px;
 animation: float 10s ease-in-out infinite reverse;
}
*/ 
@keyframes float {
 0%, 100% { transform: translateY(0px) rotate(0deg); }
 50% { transform: translateY(-40px) rotate(5deg); }
}

.hero-badge {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 background: rgba(255,255,255,0.15);
 backdrop-filter: blur(10px);
 padding: 0.5rem 1rem;
 border-radius: 50px;
 font-size: 0.9rem;
 color: var(--white);
 margin-bottom: 1.5rem;
}

.hero-content h1 {
 font-size: clamp(2.2rem, 5vw, 3.8rem);
 font-weight: 800;
 color: var(--white);
 margin-bottom: 1.5rem;
 line-height: 1.15;
}

.hero-content > p {
 font-size: clamp(1.1rem, 2vw, 1.35rem);
 color: rgba(255,255,255,0.85);
 margin-bottom: 2rem;
 line-height: 1.7;
 max-width: 540px;
}

.hero-buttons {
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
 margin-bottom: 3rem;
}

.hero-stats {
 display: flex;
 gap: 2.5rem;
 flex-wrap: wrap;
}

.stat-item {
 display: flex;
 flex-direction: column;
}

.stat-number {
 font-size: 2rem;
 font-weight: 800;
 color: var(--white);
 line-height: 1;
}

.stat-label {
 font-size: 0.85rem;
 color: rgba(255,255,255,0.7);
 margin-top: 0.25rem;
}

.hero-image {
 position: relative;
 animation: fadeInRight 1.2s ease;
}

@keyframes fadeInRight {
 from { opacity: 0; transform: translateX(60px); }
 to { opacity: 1; transform: translateX(0); }
}

.hero-image-placeholder {
 width: 100%;
 height: 400px;
 background: rgba(255,255,255,0.08);
 border-radius: var(--radius);
 display: flex;
 align-items: center;
 justify-content: center;
 color: rgba(255,255,255,0.3);
}

.hero-image-placeholder svg {
 width: 150px;
 height: 150px;
}

/* ============================================
 Trust / Values Section
 ============================================ */

.trust-section {
 padding: 100px 0;
 background: var(--white);
}

.value-card {
 padding: 2.5rem;
 border-radius: var(--radius);
 background: var(--light-bg);
 height: 100%;
 transition: var(--transition);
 border: 2px solid transparent;
 position: relative;
 overflow: hidden;
}

.value-card::before {
 content: '';
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 4px;
 background: linear-gradient(90deg, var(--primary-red), var(--accent-blue));
 transform: scaleX(0);
 transition: transform 0.4s ease;
}

.value-card:hover {
 transform: translateY(-12px);
 border-color: rgba(230, 57, 70, 0.15);
 box-shadow: var(--shadow-md);
}

.value-card:hover::before { transform: scaleX(1); }

.value-icon {
 width: 70px; height: 70px;
 background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
 border-radius: var(--radius-sm);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 2rem;
 margin-bottom: 1.5rem;
 transition: var(--transition);
 box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.value-card:hover .value-icon {
 transform: scale(1.1) rotate(-5deg);
}

.value-card h3 {
 font-size: 1.3rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.8rem;
}

.value-card p {
 color: var(--gray-text);
 line-height: 1.7;
 font-size: 0.95rem;
}

/* ============================================
 Services Section
 ============================================ */

.services-section {
 padding: 100px 0;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 position: relative;
 overflow: hidden;
}

.services-section::before {
 content: '';
 position: absolute;
 width: 500px; height: 500px;
 background: var(--primary-red);
 opacity: 0.06;
 border-radius: 50%;
 bottom: -200px; left: -150px;
}

.services-section .section-title,
.services-section .section-subtitle {
 color: var(--white);
 position: relative;
 z-index: 1;
}

.service-card {
 background: var(--white);
 padding: 2.5rem;
 border-radius: var(--radius);
 height: 100%;
 transition: var(--transition);
 position: relative;
 overflow: hidden;
 z-index: 1;
}

.service-card::before {
 content: '';
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 5px;
 background: linear-gradient(90deg, var(--primary-red), var(--accent-blue));
 transform: scaleX(0);
 transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
 transform: translateY(-12px);
 box-shadow: var(--shadow-lg);
}

.service-icon {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 display: block;
}

.service-card h3 {
 font-size: 1.4rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.8rem;
}

.service-card > p {
 color: var(--gray-text);
 line-height: 1.7;
 margin-bottom: 1.5rem;
 font-size: 0.95rem;
}

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

.service-features li {
 padding: 0.4rem 0;
 color: var(--gray-text);
 position: relative;
 padding-left: 1.5rem;
 font-size: 0.9rem;
}

.service-features li::before {
 content: '✓';
 position: absolute;
 left: 0;
 color: var(--primary-red);
 font-weight: 700;
}

/* ============================================
 Process Section
 ============================================ */

.process-section {
 padding: 100px 0;
 background: var(--light-bg);
}

.process-step {
 text-align: center;
 padding: 2rem 1.5rem;
 position: relative;
}

.step-number {
 width: 80px; height: 80px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.8rem;
 font-weight: 800;
 color: var(--white);
 margin: 0 auto 1.5rem;
 position: relative;
 z-index: 2;
 transition: var(--transition);
 box-shadow: 0 10px 30px rgba(29, 53, 87, 0.3);
}

.process-step:hover .step-number {
 transform: scale(1.15);
 background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
 box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35);
}

.process-step h3 {
 font-size: 1.3rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.8rem;
}

.process-step p {
 color: var(--gray-text);
 line-height: 1.7;
 font-size: 0.95rem;
}

/* ============================================
 Stats / Testimonials Section
 ============================================ */

.testimonials-section {
 padding: 100px 0;
 background: var(--white);
}

.stat-card {
 text-align: center;
 padding: 2.5rem 1.5rem;
 background: var(--light-bg);
 border-radius: var(--radius);
 transition: var(--transition);
 height: 100%;
}

.stat-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-md);
}

.stat-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.stat-card-number {
 font-size: 2.5rem;
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.5rem;
 line-height: 1;
}

.stat-card-label {
 color: var(--gray-text);
 font-size: 0.95rem;
}

.testimonial-card {
 padding: 2.5rem;
 background: var(--light-bg);
 border-radius: var(--radius);
 position: relative;
 transition: var(--transition);
 height: 100%;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card .quote-icon {
 font-size: 3rem;
 color: var(--primary-red);
 opacity: 0.25;
 line-height: 1;
 margin-bottom: 0.5rem;
}

.testimonial-card h4 {
 color: var(--primary-blue);
 margin-bottom: 1rem;
 font-size: 1.2rem;
 font-weight: 700;
}

.testimonial-card p {
 color: var(--gray-text);
 line-height: 1.8;
 font-size: 0.95rem;
}

/* ============================================
 CTA Section
 ============================================ */

.cta-section {
 padding: 120px 0;
 background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
 position: relative;
 overflow: hidden;
 text-align: center;
}

.cta-section::before {
 content: '';
 position: absolute;
 width: 500px; height: 500px;
 background: rgba(255,255,255,0.08);
 border-radius: 50%;
 bottom: -250px; left: -150px;
}

.cta-section::after {
 content: '';
 position: absolute;
 width: 300px; height: 300px;
 background: rgba(255,255,255,0.05);
 border-radius: 50%;
 top: -100px; right: -50px;
}

.cta-content {
 position: relative;
 z-index: 1;
 max-width: 700px;
 margin: 0 auto;
}

.cta-content h2 {
 font-size: clamp(2rem, 5vw, 3rem);
 font-weight: 800;
 color: var(--white);
 margin-bottom: 1.5rem;
}

.cta-content p {
 font-size: clamp(1.1rem, 2vw, 1.3rem);
 color: rgba(255,255,255,0.9);
 margin-bottom: 2.5rem;
}

.btn-cta {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 background: var(--white);
 color: var(--primary-red);
 padding: 1.2rem 3rem;
 border-radius: 50px;
 font-weight: 700;
 font-size: 1.1rem;
 border: none;
 cursor: pointer;
 transition: var(--transition);
 box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-cta:hover {
 transform: translateY(-3px) scale(1.02);
 box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ============================================
 Footer
 ============================================ */

.site-footer {
 background: var(--primary-blue);
 color: rgba(255,255,255,0.8);
 padding: 80px 0 0;
}

.footer-brand { margin-bottom: 1.5rem; }

.footer-brand-text {
 font-size: 1.5rem;
 font-weight: 800;
 color: var(--white);
}

.footer-desc {
 color: rgba(255,255,255,0.7);
 line-height: 1.7;
 margin-bottom: 1.5rem;
 font-size: 0.95rem;
}

.footer-social {
 display: flex;
 gap: 1rem;
}

.footer-social a {
 color: var(--white);
 font-size: 1.1rem;
 text-decoration: none;
 transition: var(--transition);
}

.footer-social a:hover {
 color: var(--primary-red);
 transform: translateY(-3px);
}

.footer-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: var(--white);
 margin-bottom: 1.5rem;
}

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

.footer-links li,
.footer-contacts li { margin-bottom: 0.8rem; }

.footer-links a {
 color: rgba(255,255,255,0.7);
 font-size: 0.95rem;
 transition: var(--transition);
 text-decoration: none;
}

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

.footer-contacts li {
 display: flex;
 align-items: flex-start;
 gap: 0.7rem;
 color: rgba(255,255,255,0.7);
 font-size: 0.95rem;
}

.footer-contacts i {
 color: var(--primary-red);
 margin-top: 3px;
 flex-shrink: 0;
}

.footer-contacts a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contacts a:hover { color: var(--white); }

.footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.1);
 margin-top: 3rem;
 padding: 2rem 0;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
}

.footer-bottom p {
 margin: 0;
 font-size: 0.9rem;
 color: rgba(255,255,255,0.5);
}

/* ============================================
 Breadcrumb
 ============================================ */

.breadcrumb-section {
 padding: 140px 0 30px;
 background: var(--white);
 border-bottom: 1px solid #eee;
}

.breadcrumb-wrapper {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 0.75rem;
 font-size: 0.95rem;
}

.breadcrumb-link {
 color: var(--accent-blue);
 text-decoration: none;
 font-weight: 500;
 transition: color 0.3s ease;
}

.breadcrumb-link:hover { color: var(--primary-red); }

.breadcrumb-separator { color: #ccc; }

.breadcrumb-current { color: #888; }

/* ============================================
 Cases List Page
 ============================================ */

.cases-hero-section {
 padding: 160px 0 80px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 text-align: center;
 position: relative;
 overflow: hidden;
}

.cases-hero-section::before {
 content: '';
 position: absolute;
 width: 400px; height: 400px;
 background: var(--primary-red);
 opacity: 0.08;
 border-radius: 50%;
 top: -100px; right: -100px;
 animation: float 8s ease-in-out infinite;
}

.cases-hero-title {
 font-size: clamp(2rem, 5vw, 3.2rem);
 font-weight: 800;
 color: var(--white);
 margin-bottom: 1rem;
 position: relative;
 z-index: 1;
}

.cases-hero-description {
 font-size: clamp(1rem, 2vw, 1.2rem);
 color: rgba(255,255,255,0.9);
 max-width: 600px;
 margin: 0 auto;
 position: relative;
 z-index: 1;
}

.cases-list-section {
 padding: 80px 0;
 background: var(--light-bg);
}

.case-card-link {
 text-decoration: none;
 display: block;
 height: 100%;
}

.case-card {
 background: var(--white);
 border-radius: var(--radius);
 overflow: hidden;
 height: 100%;
 transition: var(--transition);
 border: 2px solid transparent;
 box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.case-card:hover {
 transform: translateY(-10px);
 border-color: var(--primary-red);
 box-shadow: var(--shadow-lg);
}

.case-card-image-wrapper {
 width: 100%;
 height: 220px;
 overflow: hidden;
 position: relative;
}

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

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

.case-card-image-placeholder {
 width: 100%;
 height: 220px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 3rem;
 color: var(--white);
}

.case-card-body {
 padding: 1.5rem;
}

.case-card-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 margin-bottom: 0.75rem;
}

.case-card-client {
 font-size: 0.75rem;
 font-weight: 700;
 color: var(--primary-red);
 text-transform: uppercase;
 letter-spacing: 0.5px;
 background: rgba(230, 57, 70, 0.1);
 padding: 0.25rem 0.75rem;
 border-radius: 50px;
}

.case-card-industry {
 font-size: 0.8rem;
 color: #888;
}

.case-card-title {
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
 line-height: 1.3;
}

.case-card-text {
 color: #666;
 font-size: 0.95rem;
 line-height: 1.6;
 margin-bottom: 1rem;
}

.case-card-more {
 display: inline-flex;
 align-items: center;
 gap: 0.3rem;
 color: var(--primary-red);
 font-weight: 600;
 font-size: 0.9rem;
 text-decoration: none;
}

/* ============================================
 Case Detail Page
 ============================================ */

.case-detail-hero {
 padding: 160px 0 80px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 color: var(--white);
 position: relative;
 overflow: hidden;
}

.case-detail-hero::before {
 content: '';
 position: absolute;
 width: 400px; height: 400px;
 background: var(--primary-red);
 opacity: 0.08;
 border-radius: 50%;
 top: -100px; right: -100px;
 animation: float 8s ease-in-out infinite;
}

.case-detail-title {
 font-size: clamp(2rem, 5vw, 3rem);
 font-weight: 800;
 margin-bottom: 1.5rem;
 position: relative;
 z-index: 1;
}

.case-detail-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 1.5rem;
 margin-bottom: 2rem;
 position: relative;
 z-index: 1;
}

.case-detail-meta-item {
 display: flex;
 flex-direction: column;
}

.case-detail-meta-label {
 font-size: 0.8rem;
 color: rgba(255,255,255,0.7);
 text-transform: uppercase;
 letter-spacing: 0.5px;
 margin-bottom: 0.25rem;
}

.case-detail-meta-value {
 font-size: 1.1rem;
 font-weight: 600;
}

.case-detail-content {
 padding: 80px 0;
 background: var(--white);
}

.case-detail-text {
 font-size: 1.05rem;
 line-height: 1.8;
 color: var(--dark-text);
}

.case-detail-text h2,
.case-detail-text h3 {
 color: var(--primary-blue);
 margin: 2rem 0 1rem;
}

.case-detail-text p {
 margin-bottom: 1rem;
}

.case-detail-results {
 background: var(--light-bg);
 padding: 2rem;
 border-radius: var(--radius);
 margin-top: 2rem;
}

.case-detail-results h3 {
 color: var(--primary-blue);
 margin-bottom: 1rem;
}

.case-detail-results ul {
 list-style: none;
 padding: 0;
}

.case-detail-results li {
 padding: 0.5rem 0;
 padding-left: 1.5rem;
 position: relative;
}

.case-detail-results li::before {
 content: '✓';
 position: absolute;
 left: 0;
 color: var(--primary-red);
 font-weight: 700;
}

/* ============================================
 Slider
 ============================================ */

.case-hero-slider {
 margin: 2rem 0;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

.case-hero-slider .slick-slide img {
 width: 100%;
 height: 400px;
 object-fit: cover;
}

.case-hero-slider .slick-dots {
 bottom: 20px;
}

.case-hero-slider .slick-dots li button:before {
 color: var(--white);
 opacity: 0.5;
 font-size: 12px;
}

.case-hero-slider .slick-dots li.slick-active button:before {
 opacity: 1;
 color: var(--primary-red);
}

/* ============================================
 Mobile Menu
 ============================================ */

@media (max-width: 991px) {
 .menu-toggle {
 display: flex;
 }

 .header-nav-wrapper {
 position: fixed;
 top: 0; left: 0; right: 0; bottom: 0;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 flex-direction: column;
 justify-content: flex-start;
 padding: 100px 2rem 2rem;
 transform: translateX(100%);
 transition: transform 0.4s ease;
 z-index: 999;
 }

 .header-nav-wrapper.active {
 transform: translateX(0);
 }

 .header-nav {
 flex-direction: column;
 gap: 1.5rem;
 align-items: center;
 }

 .header-nav a {
 font-size: 1.3rem;
 }

 .header-right .header-social-link,
 .header-right .header-phones {
 display: none;
 }

 .header-nav-footer {
 display: block;
 text-align: center;
 }

 .hero-section {
 padding: 120px 0 60px;
 min-height: auto;
 }

 .hero-stats {
 gap: 1.5rem;
 }

 .stat-number {
 font-size: 1.5rem;
 }
}

@media (max-width: 767px) {
 .hero-content h1 {
 font-size: 2rem;
 }

 .hero-buttons {
 flex-direction: column;
 }

 .btn-primary-custom,
 .btn-secondary-custom {
 width: 100%;
 justify-content: center;
 }

 .footer-bottom {
 flex-direction: column;
 text-align: center;
 }
}

/* ============================================
 Animations
 ============================================ */

[data-aos] {
 opacity: 0;
 transition-property: opacity, transform;
}

[data-aos].aos-animate {
 opacity: 1;
}

[data-aos="fade-up"] {
 transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
 transform: translateY(0);
}

[data-aos="fade-down"] {
 transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
 transform: translateY(0);
}

[data-aos="fade-right"] {
 transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
 transform: translateX(0);
}

[data-aos="fade-left"] {
 transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
 transform: translateX(0);
}

[data-aos="zoom-in"] {
 transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
 transform: scale(1);
}

/* ============================================
 Feature Sections (Bitrix24, Product pages)
 ============================================ */

.feature-section {
 padding: 80px 0;
}

.feature-section:nth-child(even) {
 background: var(--light-bg);
}

.feature-section:nth-child(odd) {
 background: var(--white);
}

.feature-header {
 text-align: center;
 margin-bottom: 3rem;
}

.feature-header h2 {
 font-size: clamp(1.6rem, 3vw, 2.2rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.feature-header p {
 font-size: 1.05rem;
 color: var(--gray-text);
 max-width: 600px;
 margin: 0 auto;
}

.feature-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 1.5rem;
}

.feature-card {
 background: var(--white);
 padding: 2rem;
 border-radius: var(--radius-sm);
 border: 1px solid rgba(0,0,0,0.06);
 transition: var(--transition);
 height: 100%;
}

.feature-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-md);
 border-color: rgba(230, 57, 70, 0.15);
}

.feature-icon {
 width: 56px;
 height: 56px;
 border-radius: var(--radius-sm);
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 color: var(--white);
 margin-bottom: 1.25rem;
}

.feature-card h3 {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

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

.feature-list li {
 padding: 0.35rem 0;
 color: var(--gray-text);
 font-size: 0.9rem;
 position: relative;
 padding-left: 1.25rem;
}

.feature-list li::before {
 content: '✓';
 position: absolute;
 left: 0;
 color: var(--primary-red);
 font-weight: 700;
}

/* Big Stats */
.big-stats-section {
 padding: 100px 0;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 text-align: center;
}

.big-stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 2rem;
}

.big-stat-item {
 color: var(--white);
}

.big-stat-number {
 font-size: clamp(2.5rem, 5vw, 3.5rem);
 font-weight: 800;
 line-height: 1;
 margin-bottom: 0.5rem;
}

.big-stat-label {
 font-size: 1rem;
 opacity: 0.9;
}


/* ===== Hero SVG Dashboard Animation ===== */
.hero-svg-dashboard {
 width: 100%;
 max-width: 520px;
 margin: 0 auto;
}

.hero-svg-dashboard svg {
 width: 100%;
 height: auto;
 display: block;
}

.svg-appear {
 opacity: 0;
 transform: translateY(12px);
 animation: svgAppear 0.5s ease forwards;
}

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


/* ========================================
 FOOTER STYLES — Atrix 2.0
 ======================================== */

/* ---------- Footer Base ---------- */
.site-footer {
 background: linear-gradient(180deg, #0f1724 0%, #1a2332 100%);
 color: #cbd5e1;
 padding: 4rem 0 0;
 position: relative;
 overflow: hidden;
}

.site-footer::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg, transparent 0%, rgba(230,57,70,0.5) 50%, transparent 100%);
}

/* ---------- Footer Main Grid ---------- */
.footer-main {
 margin-bottom: 3rem;
}

/* ---------- Brand Text ---------- */
.footer-brand-text {
 font-size: 1.5rem;
 font-weight: 800;
 color: #fff;
 margin-bottom: 1.25rem;
}

.footer-brand-text .brand-accent {
 color: #e63946;
}

/* ---------- Footer Description ---------- */
.footer-desc {
 font-size: 0.9rem;
 line-height: 1.7;
 color: #94a3b8;
 margin-bottom: 1.5rem;
 max-width: 280px;
}

/* ---------- Social Links ---------- */
.footer-social {
 display: flex;
 gap: 0.75rem;
 margin-bottom: 1.5rem;
}

.social-link {
 width: 40px;
 height: 40px;
 border-radius: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 font-size: 1rem;
 text-decoration: none;
 transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
 position: relative;
 overflow: hidden;
 background: rgba(255,255,255,0.05);
 border: 1px solid rgba(255,255,255,0.08);
}

.social-link::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(135deg, var(--social-color-1), var(--social-color-2));
 opacity: 0;
 transition: opacity 0.35s ease;
 z-index: 0;
}

.social-link i,
.social-link span {
 position: relative;
 z-index: 1;
}

.social-link:hover {
 transform: translateY(-4px);
 border-color: transparent;
 box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-link:hover::before {
 opacity: 1;
}

.social-vk {
 --social-color-1: #4a76a8;
 --social-color-2: #3b5998;
}

.social-tg {
 --social-color-1: #0088cc;
 --social-color-2: #00a8e8;
}

.social-b24 {
 --social-color-1: #3acfd5;
 --social-color-2: #2aa5ab;
 font-size: 0.75rem;
 font-weight: 700;
}

/* ---------- Discuss Project Button ---------- */
.btn-project-discuss {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
 color: #fff;
 padding: 0.75rem 1.5rem;
 border-radius: 50px;
 font-weight: 600;
 font-size: 0.9rem;
 border: none;
 cursor: pointer;
 position: relative;
 overflow: hidden;
 transition: all 0.35s ease;
 box-shadow: 0 4px 15px rgba(230,57,70,0.3);
}

.btn-project-discuss::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
 transition: left 0.5s ease;
}

.btn-project-discuss:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 25px rgba(230,57,70,0.4);
}

.btn-project-discuss:hover::before {
 left: 100%;
}

.btn-project-discuss i {
 transition: transform 0.3s ease;
}

.btn-project-discuss:hover i {
 transform: translateX(4px);
}

/* ---------- Footer Titles ---------- */
.footer-title {
 font-size: 1rem;
 font-weight: 700;
 color: #fff;
 margin-bottom: 1.25rem;
 position: relative;
 padding-bottom: 0.75rem;
}

.footer-title::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 30px;
 height: 2px;
 background: linear-gradient(90deg, #e63946, #ff6b6b);
 border-radius: 2px;
}

/* ---------- Footer Links ---------- */
.footer-links {
 list-style: none;
 padding: 0;
 margin: 0;
}

.footer-links li {
 margin-bottom: 0.75rem;
}

.footer-links a {
 color: #94a3b8;
 text-decoration: none;
 font-size: 0.9rem;
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 transition: all 0.3s ease;
 position: relative;
 padding-right: 0;
}

.footer-links a::before {
 content: '›';
 opacity: 0;
 transform: translateX(-8px);
 transition: all 0.3s ease;
 color: #e63946;
 font-weight: 700;
}

.footer-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 1px;
 background: linear-gradient(90deg, #e63946, #ff6b6b);
 transition: width 0.3s ease;
}

.footer-links a:hover {
 color: #fff;
 transform: translateX(8px);
}

.footer-links a:hover::before {
 opacity: 1;
 transform: translateX(0);
}

.footer-links a:hover::after {
 width: 100%;
}

/* ---------- Contacts ---------- */
.footer-contacts-list {
 list-style: none;
 padding: 0;
 margin: 0;
}

.contact-item {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 margin-bottom: 1rem;
 font-size: 0.9rem;
 color: #94a3b8;
 line-height: 1.5;
}

.contact-item a {
 color: #94a3b8;
 text-decoration: none;
 transition: color 0.3s ease;
}

.contact-item a:hover {
 color: #fff;
}

.contact-icon {
 color: #e63946;
 font-size: 1rem;
 margin-top: 0.15rem;
 transition: all 0.3s ease;
 flex-shrink: 0;
}

.contact-item:hover .contact-icon {
 color: #ff6b6b;
 transform: scale(1.2);
 filter: drop-shadow(0 0 6px rgba(230,57,70,0.5));
}

/* ---------- Footer Divider ---------- */
.footer-divider {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin-bottom: 2rem;
}

.divider-line {
 flex: 1;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.divider-accent {
 width: 60px;
 height: 3px;
 background: linear-gradient(90deg, #e63946, #ff6b6b);
 border-radius: 3px;
 animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
 0%, 100% { opacity: 0.7; }
 50% { opacity: 1; box-shadow: 0 0 10px rgba(230,57,70,0.5); }
}

/* ---------- Footer Bottom ---------- */
.footer-bottom {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 1.5rem 0;
 flex-wrap: wrap;
 gap: 1rem;
}

.footer-bottom-left p,
.footer-bottom-right p {
 margin: 0;
 font-size: 0.85rem;
 color: #64748b;
}

/* Online Indicator */
.online-indicator {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.8rem;
 color: #10b981;
 font-weight: 600;
}

.online-dot {
 width: 8px;
 height: 8px;
 background: #10b981;
 border-radius: 50%;
 animation: onlinePulse 2s ease-in-out infinite;
 box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
}

@keyframes onlinePulse {
 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
 50% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

/* Heart Animation */
.made-with-love {
 display: flex;
 align-items: center;
 gap: 0.35rem;
}

.heart-icon {
 width: 16px;
 height: 16px;
 color: #e63946;
 animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
 0%, 100% { transform: scale(1); }
 10% { transform: scale(1.15); }
 20% { transform: scale(1); }
 30% { transform: scale(1.15); }
 40% { transform: scale(1); }
}

/* ---------- Ticket Modal ---------- */
.ticket-modal {
 display: none;
 position: fixed;
 inset: 0;
 z-index: 9999;
 background: rgba(0,0,0,0.6);
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 align-items: center;
 justify-content: center;
 padding: 20px;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.ticket-modal.active {
 display: flex;
 opacity: 1;
}

.modal-glass {
 background: rgba(26, 35, 50, 0.95);
 border: 1px solid rgba(255,255,255,0.08);
 border-radius: 24px;
 width: 100%;
 max-width: 600px;
 max-height: 90vh;
 overflow-y: auto;
 position: relative;
 box-shadow: 0 30px 60px rgba(0,0,0,0.5);
 transform: scale(0.9) translateY(20px);
 transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ticket-modal.active .modal-glass {
 transform: scale(1) translateY(0);
}

.modal-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 1.5rem 2rem;
 border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-header h5 {
 color: #fff;
 font-weight: 700;
 margin: 0;
 font-size: 1.25rem;
}

.modal-close {
 background: none;
 border: none;
 font-size: 2rem;
 cursor: pointer;
 color: rgba(255,255,255,0.4);
 line-height: 1;
 transition: color 0.2s ease;
 padding: 0;
 width: 36px;
 height: 36px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 50%;
}

.modal-close:hover {
 color: #fff;
 background: rgba(255,255,255,0.05);
}

.modal-body {
 padding: 2rem;
}

.ticket-form-container {
 min-height: 350px;
}

.ticket-loading {
 text-align: center;
 color: rgba(255,255,255,0.5);
 padding: 3rem 0;
 margin: 0;
}

.ticket-fallback {
 text-align: center;
 padding: 2rem;
 color: #fff;
}

.ticket-fallback p {
 margin-bottom: 1.5rem;
 color: rgba(255,255,255,0.7);
}

.ticket-fallback a {
 display: block;
 color: #e63946;
 font-weight: 600;
 text-decoration: none;
 margin-bottom: 0.75rem;
 transition: color 0.3s ease;
}

.ticket-fallback a:hover {
 color: #ff6b6b;
}

/* Modal Sales Contact */
.modal-sales-contact {
 text-align: center;
 padding-top: 1.5rem;
 margin-top: 1.5rem;
 border-top: 1px solid rgba(255,255,255,0.06);
}

.modal-sales-contact p {
 color: rgba(255,255,255,0.5);
 font-size: 0.85rem;
 margin-bottom: 0.75rem;
}

.sales-phone {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 color: #e63946;
 font-weight: 700;
 font-size: 1.1rem;
 text-decoration: none;
 transition: color 0.3s ease;
}

.sales-phone:hover {
 color: #ff6b6b;
}

.ticket-fallback .sales-phone {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 margin-bottom: 1rem;
}

/* Custom Scrollbar for Modal */
.modal-glass::-webkit-scrollbar { width: 6px; }
.modal-glass::-webkit-scrollbar-track { background: transparent; }
.modal-glass::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.modal-glass::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
 .footer-main > div {
 margin-bottom: 2rem;
 }

 .footer-bottom {
 flex-direction: column;
 text-align: center;
 gap: 0.75rem;
 }
}

@media (max-width: 767px) {
 .site-footer {
 padding-top: 3rem;
 }

 .footer-main {
 text-align: center;
 }

 .footer-desc {
 margin-left: auto;
 margin-right: auto;
 }

 .footer-social {
 justify-content: center;
 }

 .btn-project-discuss {
 margin: 0 auto;
 display: inline-flex;
 }

 .footer-title::after {
 left: 50%;
 transform: translateX(-50%);
 }

 .footer-links a {
 justify-content: center;
 }

 .contact-item {
 justify-content: center;
 text-align: left;
 }

 .footer-divider {
 margin: 1rem 0 1.5rem;
 }
}

product-tabs {
 display: flex;
 gap: 0.25rem;
 justify-content: center;
 flex-wrap: wrap;
}

.product-tab {
 background: transparent;
 border: none;
 padding: 0.8rem 1.2rem;
 font-weight: 600;
 font-size: 0.95rem;
 color: #6c757d;
 cursor: pointer;
 border-radius: 8px;
 transition: all 0.3s ease;
 white-space: nowrap;
}

/* ========================================
 PRODUCT TABS — Атрикс
 ======================================== */

.product-tabs-section {
 padding: 80px 0;
 background: #fff;
}

.product-tabs-header {
 position: relative;
 margin-bottom: 3rem;
}

.product-tabs {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 border-bottom: 2px solid #eee;
 position: relative;
}

.product-tab {
 padding: 1rem 1.5rem;
 background: none;
 border: none;
 font-weight: 600;
 color: var(--text-gray);
 cursor: pointer;
 transition: color 0.3s;
 position: relative;
 font-size: 0.95rem;
 white-space: nowrap;
}

.product-tab.active,
.product-tab:hover {
 color: var(--primary-blue);
}

.tab-indicator {
 position: absolute;
 bottom: -2px;
 left: 0;
 height: 3px;
 background: var(--primary-red);
 border-radius: 3px 3px 0 0;
 transition: all 0.3s ease;
}

.tab-content {
 position: relative;
}

.tab-pane {
 display: none;
 animation: fadeIn 0.4s ease;
}

.tab-pane.active {
 display: block;
}

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

.tab-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}

.tab-text h2 {
 font-size: clamp(1.5rem, 2.5vw, 2rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 1rem;
}

.tab-text p {
 color: var(--text-gray);
 font-size: 1.05rem;
 line-height: 1.7;
}

.tab-visual img {
 width: 100%;
 border-radius: 16px;
 box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
 .tab-grid {
 grid-template-columns: 1fr;
 gap: 2rem;
 }
 .product-tab {
 padding: 0.75rem 1rem;
 font-size: 0.85rem;
 }
}

/* ========================================
 CASES SLIDER — Атрикс
 ======================================== */

.cases-preview-section {
 padding: 80px 0;
 background: #f8f9fa;
}

.cases-preview-section .section-header {
 margin-bottom: 3rem;
}

.cases-preview-section .section-header h2 {
 font-size: clamp(1.8rem, 3vw, 2.5rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.cases-preview-section .section-header p {
 color: var(--text-gray);
 max-width: 500px;
 margin: 0;
}

.cases-preview-section .btn-outline {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.75rem 1.75rem;
 border: 2px solid var(--primary-blue);
 color: var(--primary-blue);
 border-radius: 50px;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.3s ease;
}

.cases-preview-section .btn-outline:hover {
 background: var(--primary-blue);
 color: #fff;
}

.cases-slider {
 position: relative;
 padding: 0 10px;
}

.cases-slider .slick-list {
 margin: 0 -12px;
 padding: 12px 0;
}

.case-slide {
 padding: 0 12px;
 height: auto;
}

.case-card {
 background: #fff;
 border-radius: 20px;
 overflow: hidden;
 box-shadow: 0 4px 24px rgba(0,0,0,0.06);
 height: 100%;
 display: flex;
 flex-direction: column;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

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

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

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

.case-card-body {
 padding: 1.75rem;
 flex: 1;
 display: flex;
 flex-direction: column;
}

.case-card-client {
 font-size: 0.75rem;
 font-weight: 700;
 color: var(--primary-red);
 text-transform: uppercase;
 letter-spacing: 0.08em;
 margin-bottom: 0.5rem;
}

.case-card-title {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
 line-height: 1.35;
}

.case-card-text {
 font-size: 0.9rem;
 color: var(--text-gray);
 line-height: 1.6;
 margin-bottom: 1.5rem;
 flex: 1;
}

.case-card-link {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-weight: 600;
 color: var(--primary-red);
 text-decoration: none;
 font-size: 0.9rem;
 margin-top: auto;
 transition: gap 0.3s ease;
}

.case-card-link:hover {
 gap: 0.75rem;
}

.cases-slider .slick-prev,
.cases-slider .slick-next {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 48px;
 height: 48px;
 border-radius: 50%;
 background: #fff;
 border: none;
 box-shadow: 0 4px 16px rgba(0,0,0,0.12);
 color: var(--primary-blue);
 font-size: 1.1rem;
 cursor: pointer;
 z-index: 10;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s ease;
}

.cases-slider .slick-prev { left: -24px; }
.cases-slider .slick-next { right: -24px; }

.cases-slider .slick-prev:hover,
.cases-slider .slick-next:hover {
 background: var(--primary-red);
 color: #fff;
 box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}

.cases-slider .slick-prev::before,
.cases-slider .slick-next::before {
 display: none;
}

.cases-slider .slick-dots {
 bottom: -40px;
}

.cases-slider .slick-dots li {
 margin: 0 6px;
}

.cases-slider .slick-dots li button {
 width: 10px;
 height: 10px;
 border-radius: 50%;
 background: #d1d5db;
 border: none;
 padding: 0;
 transition: all 0.3s ease;
}

.cases-slider .slick-dots li button::before {
 display: none;
}

.cases-slider .slick-dots li.slick-active button {
 background: var(--primary-red);
 transform: scale(1.2);
}

/* ========================================
 COUNTERS — Атрикс
 ======================================== */

.counters-section {
 padding: 80px 0;
 background: #fff;
}

.counter-item {
 text-align: center;
 padding: 1.5rem 0;
}

.counter-icon {
 font-size: 2.25rem;
 color: var(--primary-red);
 margin-bottom: 1rem;
 display: inline-block;
}

.counter-number {
 font-size: clamp(2.2rem, 4vw, 3rem);
 font-weight: 800;
 color: var(--primary-blue);
 line-height: 1;
 margin-bottom: 0.5rem;
}

.counter-label {
 font-size: 0.95rem;
 color: var(--text-gray);
 line-height: 1.4;
 max-width: 200px;
 margin: 0 auto;
}

/* ========================================
 CTA — Атрикс
 ======================================== */

.cta-section {
 padding: 100px 0;
 background: var(--primary-blue);
 position: relative;
 overflow: hidden;
}

.cta-section::before {
 content: '';
 position: absolute;
 top: -50%;
 right: -10%;
 width: 600px;
 height: 600px;
 background: var(--primary-red);
 opacity: 0.08;
 border-radius: 50%;
 pointer-events: none;
}

.cta-content {
 position: relative;
 z-index: 1;
 text-align: center;
}

.cta-title {
 color: #fff;
 font-size: clamp(1.8rem, 3vw, 2.5rem);
 font-weight: 800;
 margin-bottom: 1rem;
}

.cta-text {
 color: rgba(255,255,255,0.8);
 font-size: 1.1rem;
 max-width: 600px;
 margin: 0 auto 2rem;
 line-height: 1.6;
}

.cta-btn {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 1rem 2.5rem;
 background: var(--primary-red);
 color: #fff;
 border-radius: 50px;
 font-weight: 700;
 font-size: 1rem;
 text-decoration: none;
 border: none;
 cursor: pointer;
 transition: all 0.3s ease;
}

.cta-btn:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 30px rgba(230,57,70,0.4);
}

/* ========================================
 BENEFITS — Атрикс
 ======================================== */

.benefits-section {
 padding: 80px 0;
 background: #f8f9fa;
}

.benefits-section .section-title {
 text-align: center;
 margin-bottom: 3.5rem;
}

.benefits-section .section-title h2 {
 font-size: clamp(1.8rem, 3vw, 2.5rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.benefits-section .section-title p {
 color: var(--text-gray);
 max-width: 500px;
 margin: 0 auto;
}

.benefit-card {
 background: #fff;
 border-radius: 20px;
 padding: 2.5rem 1.75rem;
 text-align: center;
 box-shadow: 0 4px 24px rgba(0,0,0,0.06);
 height: 100%;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.benefit-icon {
 width: 64px;
 height: 64px;
 border-radius: 16px;
 background: rgba(230,57,70,0.1);
 color: var(--primary-red);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.75rem;
 margin: 0 auto 1.5rem;
}

.benefit-title {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.benefit-text {
 font-size: 0.95rem;
 color: var(--text-gray);
 line-height: 1.6;
 margin: 0;
}

/* ========================================
 CERTIFICATE — Атрикс
 ======================================== */

.certificate-section {
 padding: 80px 0;
 background: #fff;
}

.certificate-image {
 border-radius: 20px;
 overflow: hidden;
 box-shadow: 0 20px 60px rgba(0,0,0,0.1);
 transition: transform 0.3s ease;
}

.certificate-image:hover {
 transform: translateY(-5px);
}

.certificate-image img {
 width: 100%;
 height: auto;
 display: block;
}

.certificate-content {
 padding-left: 20px;
}

.certificate-badge {
 display: inline-block;
 padding: 0.4rem 1rem;
 background: rgba(230,57,70,0.1);
 color: var(--primary-red);
 border-radius: 50px;
 font-size: 0.85rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 margin-bottom: 1rem;
}

.certificate-content h2 {
 font-size: clamp(1.6rem, 3vw, 2.2rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 1rem;
 line-height: 1.3;
}

.certificate-content p {
 color: var(--text-gray);
 font-size: 1.05rem;
 line-height: 1.7;
 margin-bottom: 1.5rem;
 max-width: 500px;
}

/* Адаптив общий */
@media (max-width: 1200px) {
 .cases-slider .slick-prev { left: -10px; }
 .cases-slider .slick-next { right: -10px; }
}

@media (max-width: 991px) {
 .certificate-content {
 padding-left: 0;
 text-align: center;
 margin-top: 2rem;
 }
 .certificate-content p {
 margin-left: auto;
 margin-right: auto;
 }
}

@media (max-width: 768px) {
 .cases-preview-section,
 .benefits-section,
 .certificate-section,
 .counters-section {
 padding: 60px 0;
 }
 .cta-section {
 padding: 70px 0;
 }
 .case-card-image {
 height: 180px;
 }
 .cases-slider .slick-prev,
 .cases-slider .slick-next {
 display: none !important;
 }
 .counter-item {
 padding: 1rem 0;
 }
 .benefit-card {
 padding: 2rem 1.5rem;
 }
}

/* ========================================
 FEATURE CARDS — Атрикс
 ======================================== */

.feature-cards-section {
 padding: 80px 0;
 background: #fff;
}

.feature-cards-section .section-title {
 text-align: center;
 margin-bottom: 3rem;
}

.feature-cards-section .section-title h2 {
 font-size: clamp(1.8rem, 3vw, 2.5rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.feature-cards-section .section-title p {
 color: var(--text-gray);
 max-width: 600px;
 margin: 0 auto;
}

.feature-card {
 background: #f8f9fa;
 border-radius: 20px;
 padding: 2.5rem 2rem;
 text-align: center;
 height: 100%;
 transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
 border: 1px solid transparent;
}

.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.1);
 background: #fff;
 border-color: rgba(230,57,70,0.1);
}

.feature-icon {
 width: 64px;
 height: 64px;
 border-radius: 16px;
 background: rgba(230,57,70,0.1);
 color: var(--primary-red);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.75rem;
 margin: 0 auto 1.5rem;
 transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
 transform: scale(1.1) rotate(-5deg);
 background: var(--primary-red);
 color: #fff;
}

.feature-title {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.feature-text {
 font-size: 0.95rem;
 color: var(--text-gray);
 line-height: 1.6;
 margin: 0;
}

@media (max-width: 768px) {
 .feature-cards-section {
 padding: 60px 0;
 }
 .feature-card {
 padding: 2rem 1.5rem;
 }
}

/* ============================================
 FEATURES CARDS — Atrix
 ============================================ */

.features-cards-section {
 padding: 80px 0;
 background: var(--white);
}

.features-cards-section .section-header {
 text-align: center;
 margin-bottom: 3rem;
}

.features-cards-section .section-header h2 {
 font-size: clamp(1.8rem, 3.5vw, 2.6rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.features-cards-section .section-header p {
 color: var(--gray-text);
 font-size: 1.05rem;
}

.features-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1.5rem;
}

.feature-card {
 background: var(--white);
 border-radius: var(--radius);
 padding: 2.5rem 2rem;
 position: relative;
 overflow: hidden;
 box-shadow: var(--shadow-sm);
 border: 1px solid rgba(0,0,0,0.04);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
 height: 100%;
}

.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
 border-color: rgba(230,57,70,0.1);
}

.card-icon {
 width: 64px;
 height: 64px;
 border-radius: 16px;
 background: rgba(230,57,70,0.1);
 color: var(--primary-red);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.75rem;
 margin-bottom: 1.5rem;
 transition: var(--transition);
}

.feature-card:hover .card-icon {
 transform: scale(1.1) rotate(-5deg);
 background: var(--primary-red);
 color: var(--white);
}

.feature-card h3 {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 1.25rem;
}

.card-list {
 list-style: none;
 padding: 0;
 margin: 0 0 1rem;
 flex: 1;
}

.card-list li {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.9rem;
 color: var(--gray-text);
 margin-bottom: 0.6rem;
 line-height: 1.4;
 transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-list li:last-child {
 margin-bottom: 0;
}

.card-list .bi-check2 {
 color: var(--primary-red);
 font-size: 1rem;
 flex-shrink: 0;
}

/* Описание при наведении — выезжает снизу */
.card-hover-desc {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 70%, transparent 100%);
 color: var(--dark-text);
 padding: 3rem 2rem 2rem;
 font-size: 0.95rem;
 line-height: 1.6;
 transform: translateY(100%);
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 opacity: 0;
}

.feature-card:hover .card-hover-desc {
 transform: translateY(0);
 opacity: 1;
}

/* При наведении список тускнеет и чуть уходит вверх */
.feature-card:hover .card-list {
 opacity: 0.3;
 transform: translateY(-10px);
}

/* Адаптив */
@media (max-width: 991px) {
 .features-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 576px) {
 .features-grid {
 grid-template-columns: 1fr;
 }
 .feature-card {
 padding: 2rem 1.5rem;
 }
}



/* Унифицированный заголовок секции */
.section-header {
 text-align: center;
 margin-bottom: 3rem;
}

.section-header h2 {
 font-size: clamp(1.8rem, 3.5vw, 2.6rem);
 font-weight: 800;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
}

.section-header p {
 color: var(--gray-text);
 font-size: 1.05rem;
 max-width: 600px;
 margin: 0 auto;
}

/* ============================================
 CASE DETAIL — Atrix
 ============================================ */

.case-hero {
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 padding: 140px 0 80px;
 color: var(--white);
}

.case-back-link {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 color: rgba(255,255,255,0.8);
 text-decoration: none;
 margin-bottom: 1.5rem;
 font-size: 0.95rem;
 transition: color 0.3s;
}

.case-back-link:hover {
 color: var(--white);
}

.case-hero h1 {
 font-size: clamp(1.8rem, 4vw, 3rem);
 font-weight: 800;
 margin-bottom: 1rem;
 line-height: 1.2;
}

.case-meta {
 display: flex;
 gap: 1.5rem;
 flex-wrap: wrap;
 font-size: 0.95rem;
 color: rgba(255,255,255,0.85);
}

.case-meta i {
 color: var(--primary-red);
}

.case-request,
.case-solution,
.case-gallery,
.case-results,
.case-integrations {
 padding: 60px 0;
}

.case-request {
 background: var(--light-bg);
}

.case-request h2,
.case-solution h2,
.case-gallery h2,
.case-results h2,
.case-integrations h2 {
 font-size: clamp(1.4rem, 2.5vw, 1.8rem);
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 1.5rem;
}

.case-request-text {
 font-size: 1.1rem;
 color: var(--dark-text);
 line-height: 1.7;
 padding-left: 1.5rem;
 border-left: 3px solid var(--primary-red);
}

.case-detail-text {
 font-size: 1rem;
 color: var(--gray-text);
 line-height: 1.7;
}

.gallery-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1rem;
}

.gallery-item {
 border-radius: var(--radius-sm);
 overflow: hidden;
 box-shadow: var(--shadow-sm);
}

.gallery-item img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 display: block;
 transition: transform 0.3s;
}

.gallery-item:hover img {
 transform: scale(1.05);
}

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

.results-list li {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 padding: 1rem 0;
 border-bottom: 1px solid rgba(0,0,0,0.06);
 font-size: 1rem;
 color: var(--dark-text);
}

.results-list li:last-child {
 border-bottom: none;
}

.results-list i {
 color: var(--primary-red);
 font-size: 1.2rem;
 margin-top: 0.15rem;
 flex-shrink: 0;
}

.integrations-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.integration-tag {
 display: inline-flex;
 align-items: center;
 padding: 0.5rem 1rem;
 background: rgba(230,57,70,0.1);
 color: var(--primary-red);
 border-radius: 50px;
 font-size: 0.9rem;
 font-weight: 600;
}

.case-footer-cta {
 padding: 60px 0;
 background: var(--light-bg);
 text-align: center;
}

.case-footer-cta .container {
 display: flex;
 justify-content: center;
 gap: 1rem;
 flex-wrap: wrap;
}

@media (max-width: 768px) {
 .gallery-grid {
 grid-template-columns: repeat(2, 1fr);
 }
 .case-hero {
 padding: 120px 0 60px;
 }
}

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

/* ===== CASE DETAIL ===== */
.case-hero-section {
 padding: 140px 0 60px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 color: #fff;
}
.case-back-link {
 display: inline-flex; align-items: center; gap: 0.4rem;
 color: rgba(255,255,255,0.7); font-size: 0.9rem;
 text-decoration: none; margin-bottom: 2rem;
}
.case-back-link:hover { color: #fff; }

.case-hero-text { max-width: 520px; }
.case-hero-client {
 display: inline-block; background: var(--primary-red);
 color: #fff; padding: 0.35rem 1rem; border-radius: 50px;
 font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
 letter-spacing: 0.05em; margin-bottom: 1rem;
}
.case-hero-title {
 font-size: clamp(1.8rem, 4vw, 2.8rem);
 font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem;
}
.case-hero-description {
 font-size: 1.1rem; color: rgba(255,255,255,0.85);
 line-height: 1.7; margin-bottom: 2rem;
}

/* Слайдер в hero */
.case-hero-slider,
.case-hero-single {
 border-radius: 20px; overflow: hidden;
 box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.case-hero-slide img,
.case-hero-single img {
 width: 100%; height: 420px; object-fit: cover; display: block;
}
.case-hero-slider { position: relative; }
.case-hero-slider .slick-prev,
.case-hero-slider .slick-next {
 position: absolute; top: 50%; transform: translateY(-50%);
 width: 44px; height: 44px; border-radius: 50%;
 background: rgba(255,255,255,0.9); border: none;
 color: var(--primary-blue); font-size: 1.1rem;
 cursor: pointer; z-index: 10; display: flex;
 align-items: center; justify-content: center;
 transition: all 0.3s;
}
.case-hero-slider .slick-prev { left: 16px; }
.case-hero-slider .slick-next { right: 16px; }
.case-hero-slider .slick-prev:hover,
.case-hero-slider .slick-next:hover {
 background: var(--primary-red); color: #fff;
}
.case-hero-slider .slick-prev::before,
.case-hero-slider .slick-next::before { display: none; }
.case-hero-slider .slick-dots {
 bottom: 16px;
}
.case-hero-slider .slick-dots li button {
 width: 10px; height: 10px; border-radius: 50%;
 background: rgba(255,255,255,0.5); border: none;
}
.case-hero-slider .slick-dots li.slick-active button {
 background: var(--primary-red);
}
.slider-counter {
 text-align: right; margin-top: 0.75rem;
 color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 600;
}
.slider-counter .current { color: #fff; }

/* Meta */
.case-meta-section { padding: 40px 0; background: #f8f9fa; }
.case-meta-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1.5rem;
}
.case-meta-item {
 background: #fff; border-radius: 16px; padding: 1.5rem;
 box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.case-meta-item-wide { grid-column: 1 / -1; }
.case-meta-label {
 display: block; font-size: 0.75rem; font-weight: 700;
 color: var(--primary-red); text-transform: uppercase;
 letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.case-meta-value {
 font-size: 1.05rem; font-weight: 600; color: var(--primary-blue);
}
.case-meta-value a { color: var(--primary-blue); text-decoration: none; }
.case-meta-value a:hover { color: var(--primary-red); }
.case-meta-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.case-meta-tag {
 background: #f0f4f8; color: var(--primary-blue);
 padding: 0.4rem 0.9rem; border-radius: 8px;
 font-size: 0.9rem; font-weight: 500;
}

/* Content */
.case-content-section { padding: 60px 0; background: #fff; }
.case-content-gray { background: #f8f9fa; }
.case-section-title {
 font-size: 1.6rem; font-weight: 700; color: var(--primary-blue);
 margin-bottom: 1.5rem; padding-bottom: 0.75rem;
 border-bottom: 2px solid #e9ecef;
}
.case-content-text {
 color: var(--gray-text); line-height: 1.8; font-size: 1.05rem;
}
.case-content-text.lead {
 font-size: 1.15rem; color: var(--dark-text); font-weight: 500;
}

/* Results */
.case-results-grid {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem;
}
.case-result-card {
 display: flex; align-items: flex-start; gap: 0.75rem;
 background: #fff; border-radius: 12px; padding: 1.25rem;
 box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.case-result-card i {
 color: #10b981; font-size: 1.25rem; flex-shrink: 0; margin-top: 0.15rem;
}
.case-result-card span {
 color: var(--dark-text); font-size: 0.95rem; line-height: 1.5;
}

/* CTA */
.case-cta-section { padding: 60px 0 80px; background: #f8f9fa; }
.case-cta-box {
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 border-radius: 24px; padding: 3.5rem 2rem; text-align: center; color: #fff;
}
.case-cta-box h2 {
 font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem;
}
.case-cta-box p {
 color: rgba(255,255,255,0.8); font-size: 1.1rem;
 margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto;
}
.case-cta-buttons {
 display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Адаптив */
@media (max-width: 991px) {
 .case-hero-slide img, .case-hero-single img { height: 320px; }
 .case-hero-text { margin-bottom: 2rem; }
}
@media (max-width: 768px) {
 .case-hero-section { padding: 120px 0 40px; }
 .case-hero-slide img, .case-hero-single img { height: 240px; }
 .case-meta-grid { grid-template-columns: 1fr; }
 .case-meta-item-wide { grid-column: auto; }
 .case-cta-box { padding: 2.5rem 1.5rem; }
 .case-results-grid { grid-template-columns: 1fr; }
 
 /* ===== CASES PAGE (CATALOG) ===== */

.cases-page-hero {
 padding: 160px 0 60px;
 background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
 color: #fff;
 text-align: center;
}
.cases-page-hero h1 {
 font-size: clamp(2rem, 4vw, 3rem);
 font-weight: 800;
 margin-bottom: 1rem;
}
.cases-page-hero p {
 font-size: 1.1rem;
 color: rgba(255,255,255,0.8);
 max-width: 600px;
 margin: 0 auto;
}

.cases-page-section {
 padding: 60px 0;
 background: #fff;
}

/* Фильтр */
.cases-filter {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 justify-content: center;
 margin-bottom: 3rem;
}
.cases-filter-btn {
 display: inline-block;
 padding: 0.6rem 1.25rem;
 border-radius: 50px;
 background: #f0f4f8;
 color: var(--primary-blue);
 font-size: 0.9rem;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.3s ease;
 border: 2px solid transparent;
}
.cases-filter-btn:hover {
 background: #e2e8f0;
 color: var(--primary-blue);
}
.cases-filter-btn.active {
 background: var(--primary-red);
 color: #fff;
 border-color: var(--primary-red);
}

/* Сетка */
.cases-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
}

.cases-grid-card {
 background: #fff;
 border-radius: 20px;
 overflow: hidden;
 box-shadow: 0 4px 24px rgba(0,0,0,0.06);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
}
.cases-grid-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.cases-grid-image {
 display: block;
 position: relative;
 height: 220px;
 overflow: hidden;
}
.cases-grid-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease;
}
.cases-grid-card:hover .cases-grid-image img {
 transform: scale(1.05);
}
.cases-grid-badge {
 position: absolute;
 top: 16px;
 left: 16px;
 background: var(--primary-red);
 color: #fff;
 padding: 0.3rem 0.9rem;
 border-radius: 50px;
 font-size: 0.75rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

.cases-grid-body {
 padding: 1.75rem;
 flex: 1;
 display: flex;
 flex-direction: column;
}
.cases-grid-client {
 font-size: 0.75rem;
 font-weight: 700;
 color: var(--primary-red);
 text-transform: uppercase;
 letter-spacing: 0.08em;
 margin-bottom: 0.5rem;
}
.cases-grid-title {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--primary-blue);
 margin-bottom: 0.75rem;
 line-height: 1.35;
}
.cases-grid-title a {
 color: inherit;
 text-decoration: none;
 transition: color 0.3s;
}
.cases-grid-title a:hover {
 color: var(--primary-red);
}
.cases-grid-text {
 font-size: 0.9rem;
 color: var(--gray-text);
 line-height: 1.6;
 margin-bottom: 1.5rem;
 flex: 1;
}
.cases-grid-link {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-weight: 600;
 color: var(--primary-red);
 text-decoration: none;
 font-size: 0.9rem;
 margin-top: auto;
 transition: gap 0.3s ease;
}
.cases-grid-link:hover {
 gap: 0.75rem;
}

/* Пагинация */
.cases-pagination {
 margin-top: 3rem;
 display: flex;
 justify-content: center;
}
.cases-pagination .pagination {
 display: flex;
 gap: 0.4rem;
 list-style: none;
 padding: 0;
 margin: 0;
}
.cases-pagination .page-item .page-link {
 display: flex;
 align-items: center;
 justify-content: center;
 min-width: 44px;
 height: 44px;
 padding: 0 0.75rem;
 border-radius: 12px;
 background: #f0f4f8;
 color: var(--primary-blue);
 font-weight: 600;
 text-decoration: none;
 border: none;
 transition: all 0.3s;
}
.cases-pagination .page-item.active .page-link,
.cases-pagination .page-item .page-link:hover {
 background: var(--primary-red);
 color: #fff;
}
.cases-pagination .page-item.disabled .page-link {
 opacity: 0.4;
 cursor: not-allowed;
}

/* Пустое состояние */
.cases-empty {
 text-align: center;
 padding: 4rem 1rem;
 color: var(--gray-text);
}
.cases-empty h3 {
 color: var(--primary-blue);
 font-size: 1.4rem;
 margin-bottom: 0.5rem;
}
.cases-empty p {
 margin-bottom: 1.5rem;
}

/* CTA */
.cases-page-cta {
 padding: 0 0 80px;
 background: #fff;
}

/* Адаптив */
@media (max-width: 991px) {
 .cases-grid {
 grid-template-columns: repeat(2, 1fr);
 gap: 1.5rem;
 }
}
@media (max-width: 768px) {
 .cases-page-hero {
 padding: 140px 0 40px;
 }
 .cases-grid {
 grid-template-columns: 1fr;
 }
 .cases-filter {
 gap: 0.4rem;
 }
 .cases-filter-btn {
 padding: 0.5rem 1rem;
 font-size: 0.85rem;
 }
 .cases-grid-image {
 height: 200px;
 }
}

/* ===== CASE DETAIL (cd-) ===== */
.cd-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.cd-narrow {
 max-width: 800px;
}

/* Hero */
.cd-hero {
 padding: 140px 0 60px;
 background: linear-gradient(135deg, #1D3557 0%, #457B9D 100%);
 color: #fff;
}
.cd-back {
 display: inline-block;
 color: rgba(255,255,255,0.7);
 font-size: 0.9rem;
 text-decoration: none;
 margin-bottom: 32px;
 transition: color 0.3s;
}
.cd-back:hover { color: #fff; }

.cd-hero-layout {
 display: flex;
 gap: 48px;
 align-items: center;
}
.cd-hero-info {
 flex: 0 0 45%;
 max-width: 520px;
}
.cd-hero-media {
 flex: 1;
 min-width: 0;
}

.cd-client-badge {
 display: inline-block;
 background: #E63946;
 color: #fff;
 padding: 6px 16px;
 border-radius: 50px;
 font-size: 0.75rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 margin-bottom: 16px;
}
.cd-title {
 font-size: clamp(1.8rem, 4vw, 2.8rem);
 font-weight: 800;
 line-height: 1.15;
 margin: 0 0 20px;
 color: #fff;
}
.cd-desc {
 font-size: 1.1rem;
 color: rgba(255,255,255,0.85);
 line-height: 1.7;
 margin: 0 0 28px;
}
.cd-btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: #E63946;
 color: #fff;
 padding: 14px 32px;
 border-radius: 50px;
 font-weight: 600;
 font-size: 1rem;
 border: none;
 cursor: pointer;
 transition: all 0.3s ease;
 box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35);
}
.cd-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 14px 40px rgba(230, 57, 70, 0.45);
 background: #d32f3c;
}

/* Slider */
.cd-slider,
.cd-single-img {
 border-radius: 20px;
 overflow: hidden;
 box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cd-slide img,
.cd-single-img img {
 width: 100%;
 height: 420px;
 object-fit: cover;
 display: block;
}
.cd-slider-count {
 text-align: right;
 margin-top: 12px;
 color: rgba(255,255,255,0.6);
 font-size: 0.85rem;
 font-weight: 600;
}
.cd-slider-count span { color: #fff; }

/* Slick arrows for case slider */
.cd-slider .slick-prev,
.cd-slider .slick-next {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 44px;
 height: 44px;
 border-radius: 50%;
 background: rgba(255,255,255,0.9);
 border: none;
 color: #1D3557;
 font-size: 1.1rem;
 cursor: pointer;
 z-index: 10;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s;
}
.cd-slider .slick-prev { left: 16px; }
.cd-slider .slick-next { right: 16px; }
.cd-slider .slick-prev:hover,
.cd-slider .slick-next:hover {
 background: #E63946;
 color: #fff;
}
.cd-slider .slick-prev::before,
.cd-slider .slick-next::before { display: none; }
.cd-slider .slick-dots { bottom: 16px; }
.cd-slider .slick-dots li button {
 width: 10px; height: 10px; border-radius: 50%;
 background: rgba(255,255,255,0.5); border: none;
}
.cd-slider .slick-dots li.slick-active button { background: #E63946; }

/* Meta */
.cd-meta {
 padding: 40px 0;
 background: #f8f9fa;
}
.cd-meta-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
}
.cd-meta-box {
 background: #fff;
 border-radius: 16px;
 padding: 24px;
 box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.cd-meta-wide {
 grid-column: 1 / -1;
}
.cd-meta-label {
 font-size: 0.7rem;
 font-weight: 700;
 color: #E63946;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 margin-bottom: 8px;
}
.cd-meta-val {
 font-size: 1.05rem;
 font-weight: 600;
 color: #1D3557;
}
.cd-meta-val a {
 color: #1D3557;
 text-decoration: none;
}
.cd-meta-val a:hover { color: #E63946; }
.cd-meta-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin-top: 8px;
}
.cd-tag {
 background: #f0f4f8;
 color: #1D3557;
 padding: 6px 14px;
 border-radius: 8px;
 font-size: 0.9rem;
 font-weight: 500;
}

/* Blocks */
.cd-block {
 padding: 60px 0;
 background: #fff;
}
.cd-block-gray { background: #f8f9fa; }
.cd-block-title {
 font-size: 1.5rem;
 font-weight: 700;
 color: #1D3557;
 margin: 0 0 24px;
 padding-bottom: 16px;
 border-bottom: 2px solid #e9ecef;
}
.cd-block-text {
 color: #6C757D;
 line-height: 1.8;
 font-size: 1.05rem;
}
.cd-block-text.cd-lead {
 font-size: 1.15rem;
 color: #2B2D42;
 font-weight: 500;
}

/* Results */
.cd-results {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 16px;
}
.cd-result {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 background: #fff;
 border-radius: 12px;
 padding: 20px;
 box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.cd-result span {
 color: #2B2D42;
 font-size: 0.95rem;
 line-height: 1.5;
}

/* CTA */
.cd-cta {
 padding: 60px 0 80px;
 background: #f8f9fa;
}
.cd-cta-box {
 background: linear-gradient(135deg, #1D3557 0%, #457B9D 100%);
 border-radius: 24px;
 padding: 56px 32px;
 text-align: center;
 color: #fff;
}
.cd-cta-box h2 {
 font-size: clamp(1.5rem, 3vw, 2.2rem);
 font-weight: 800;
 margin: 0 0 12px;
}
.cd-cta-box p {
 color: rgba(255,255,255,0.8);
 font-size: 1.1rem;
 margin: 0 0 32px;
 max-width: 500px;
 margin-left: auto;
 margin-right: auto;
}
.cd-cta-btns {
 display: flex;
 gap: 16px;
 justify-content: center;
 flex-wrap: wrap;
}
.cd-btn-outline {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: transparent;
 color: #fff;
 padding: 14px 32px;
 border-radius: 50px;
 font-weight: 600;
 font-size: 1rem;
 border: 2px solid rgba(255,255,255,0.5);
 text-decoration: none;
 transition: all 0.3s ease;
 cursor: pointer;
}
.cd-btn-outline:hover {
 background: #fff;
 color: #1D3557;
 border-color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
 .cd-hero-layout { flex-direction: column; }
 .cd-hero-info { max-width: 100%; }
 .cd-hero-media { width: 100%; }
 .cd-slide img, .cd-single-img img { height: 320px; }
 .cd-meta-grid { grid-template-columns: repeat(2, 1fr); }
 .cd-meta-wide { grid-column: 1 / -1; }
 .cd-results { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .cd-hero { padding: 120px 0 40px; }
 .cd-container { padding: 0 16px; }
 .cd-slide img, .cd-single-img img { height: 220px; }
 .cd-meta-grid { grid-template-columns: 1fr; }
 .cd-meta-wide { grid-column: auto; }
 .cd-cta-box { padding: 40px 24px; }
 .cd-block { padding: 40px 0; }
}

.cd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cd-narrow { max-width: 800px; }
.cd-hero { padding: 140px 0 60px; background: linear-gradient(135deg, #1D3557 0%, #457B9D 100%); color: #fff; }
.cd-back { display: inline-block; color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; margin-bottom: 32px; }
.cd-back:hover { color: #fff; }
.cd-hero-layout { display: flex; gap: 48px; align-items: center; }
.cd-hero-info { flex: 0 0 45%; max-width: 520px; }
.cd-hero-media { flex: 1; min-width: 0; }
.cd-client-badge { display: inline-block; background: #E63946; color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.cd-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin: 0 0 20px; color: #fff; }
.cd-desc { font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin: 0 0 28px; }
.cd-btn { display: inline-flex; align-items: center; gap: 8px; background: #E63946; color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35); }
.cd-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(230, 57, 70, 0.45); background: #d32f3c; }
.cd-slider, .cd-single-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.cd-slide img, .cd-single-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.cd-slider-count { text-align: right; margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 600; }
.cd-slider-count span { color: #fff; }
.cd-slider .slick-prev, .cd-slider .slick-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; color: #1D3557; font-size: 1.1rem; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.cd-slider .slick-prev { left: 16px; }
.cd-slider .slick-next { right: 16px; }
.cd-slider .slick-prev:hover, .cd-slider .slick-next:hover { background: #E63946; color: #fff; }
.cd-slider .slick-prev::before, .cd-slider .slick-next::before { display: none; }
.cd-slider .slick-dots { bottom: 16px; }
.cd-slider .slick-dots li button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; }
.cd-slider .slick-dots li.slick-active button { background: #E63946; }
.cd-meta { padding: 40px 0; background: #f8f9fa; }
.cd-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cd-meta-box { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.cd-meta-wide { grid-column: 1 / -1; }
.cd-meta-label { font-size: 0.7rem; font-weight: 700; color: #E63946; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.cd-meta-val { font-size: 1.05rem; font-weight: 600; color: #1D3557; }
.cd-meta-val a { color: #1D3557; text-decoration: none; }
.cd-meta-val a:hover { color: #E63946; }
.cd-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cd-tag { background: #f0f4f8; color: #1D3557; padding: 6px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; }
.cd-block { padding: 60px 0; background: #fff; }
.cd-block-gray { background: #f8f9fa; }
.cd-block-title { font-size: 1.5rem; font-weight: 700; color: #1D3557; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 2px solid #e9ecef; }
.cd-block-text { color: #6C757D; line-height: 1.8; font-size: 1.05rem; }
.cd-block-text.cd-lead { font-size: 1.15rem; color: #2B2D42; font-weight: 500; }
.cd-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cd-result { display: flex; align-items: flex-start; gap: 12px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.cd-result span { color: #2B2D42; font-size: 0.95rem; line-height: 1.5; }
.cd-cta { padding: 60px 0 80px; background: #f8f9fa; }
.cd-cta-box { background: linear-gradient(135deg, #1D3557 0%, #457B9D 100%); border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff; }
.cd-cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 12px; }
.cd-cta-box p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin: 0 0 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cd-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cd-btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; border: 2px solid rgba(255,255,255,0.5); text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.cd-btn-outline:hover { background: #fff; color: #1D3557; border-color: #fff; }
@media (max-width: 991px) { .cd-hero-layout { flex-direction: column; } .cd-hero-info { max-width: 100%; } .cd-hero-media { width: 100%; } .cd-slide img, .cd-single-img img { height: 320px; } .cd-meta-grid { grid-template-columns: repeat(2, 1fr); } .cd-meta-wide { grid-column: 1 / -1; } .cd-results { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .cd-hero { padding: 120px 0 40px; } .cd-container { padding: 0 16px; } .cd-slide img, .cd-single-img img { height: 220px; } .cd-meta-grid { grid-template-columns: 1fr; } .cd-meta-wide { grid-column: auto; } .cd-cta-box { padding: 40px 24px; } .cd-block { padding: 40px 0; } }


* ===== REVEAL ANIMATIONS ===== */
.reveal {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
 opacity: 1;
 transform: translateY(0);
}

/* ===== TARIFFS ===== */
.tariffs-section {
 padding: 80px 0;
 background: #fff;
}
.tariff-card {
 background: #f8f9fa;
 border-radius: 20px;
 padding: 2.5rem 2rem;
 height: 100%;
 border: 2px solid transparent;
 transition: all 0.3s ease;
}
.tariff-card:hover {
 border-color: var(--primary-red);
 transform: translateY(-5px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.tariff-card-dark {
 background: var(--primary-blue);
 color: #fff;
}
.tariff-card-dark .tariff-title { color: #fff; }
.tariff-card-dark .tariff-list li { color: rgba(255,255,255,0.85); }
.tariff-card-dark .tariff-note { color: rgba(255,255,255,0.6); }
.tariff-icon {
 width: 56px; height: 56px; border-radius: 14px;
 background: rgba(230,57,70,0.1); color: var(--primary-red);
 display: flex; align-items: center; justify-content: center;
 font-size: 1.5rem; margin-bottom: 1.25rem;
}
.tariff-card-dark .tariff-icon {
 background: rgba(255,255,255,0.1); color: #fff;
}
.tariff-title {
 font-size: 1.3rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 1.25rem;
}
.tariff-list {
 list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.tariff-list li {
 display: flex; align-items: center; gap: 0.5rem;
 margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--gray-text);
}
.tariff-list li i { color: var(--primary-red); font-size: 1.1rem; }
.tariff-note {
 font-size: 0.85rem; color: var(--gray-text); font-style: italic;
}

/* ===== SERVICES ===== */
.services-section {
 padding: 80px 0; background: #f8f9fa;
}
.service-item {
 background: #fff; border-radius: 16px; padding: 1.75rem;
 height: 100%; position: relative; overflow: hidden;
 transition: all 0.3s ease; border: 1px solid transparent;
}
.service-item:hover {
 transform: translateY(-5px);
 box-shadow: 0 12px 40px rgba(0,0,0,0.08);
 border-color: rgba(230,57,70,0.15);
}
.service-num {
 position: absolute; top: 1rem; right: 1rem;
 font-size: 2.5rem; font-weight: 800;
 color: rgba(29,53,87,0.06); line-height: 1;
}
.service-icon {
 width: 48px; height: 48px; border-radius: 12px;
 background: rgba(230,57,70,0.1); color: var(--primary-red);
 display: flex; align-items: center; justify-content: center;
 font-size: 1.25rem; margin-bottom: 1rem;
}
.service-item h4 {
 font-size: 1.05rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.5rem;
}
.service-item p {
 font-size: 0.9rem; color: var(--gray-text); margin: 0; line-height: 1.5;
}

/* ===== INTEGRATION MAP ===== */
.integration-section {
 padding: 80px 0; background: #fff;
}
.integration-map {
 display: flex; justify-content: center; padding: 3rem 0;
}
.integration-hub {
 position: relative; width: 500px; height: 400px;
}
.hub-core {
 position: absolute; top: 50%; left: 50%;
 transform: translate(-50%, -50%);
 width: 120px; height: 120px; border-radius: 50%;
 background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 color: #fff; box-shadow: 0 10px 40px rgba(29,53,87,0.3); z-index: 3;
}
.hub-core i { font-size: 2rem; margin-bottom: 0.25rem; }
.hub-core span { font-size: 0.75rem; font-weight: 700; }
.hub-connections {
 position: absolute; top: 50%; left: 50%;
 transform: translate(-50%, -50%);
 width: 320px; height: 320px;
}
.hub-line {
 position: absolute; top: 50%; left: 50%;
 width: 140px; height: 2px;
 background: linear-gradient(90deg, var(--primary-blue), transparent);
 transform-origin: 0 50%;
 transform: rotate(var(--angle)) translateX(60px);
 opacity: 0.3;
}
.hub-nodes {
 position: absolute; top: 50%; left: 50%;
 transform: translate(-50%, -50%);
 width: 400px; height: 400px;
}
.hub-node {
 position: absolute; top: 50%; left: 50%;
 width: 90px; height: 90px;
 margin-left: -45px; margin-top: -45px;
 border-radius: 50%; background: #fff; border: 2px solid #eee;
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 box-shadow: 0 4px 20px rgba(0,0,0,0.06);
 transition: all 0.3s ease;
 transform: rotate(var(--angle)) translateX(180px) rotate(calc(var(--angle) * -1));
}
.hub-node:hover {
 border-color: var(--primary-red);
 transform: rotate(var(--angle)) translateX(180px) rotate(calc(var(--angle) * -1)) scale(1.1);
 box-shadow: 0 8px 30px rgba(230,57,70,0.15);
}
.hub-node i { font-size: 1.5rem; color: var(--primary-red); margin-bottom: 0.25rem; }
.hub-node span { font-size: 0.65rem; font-weight: 600; color: var(--primary-blue); text-align: center; line-height: 1.2; }
@media (max-width: 576px) {
 .integration-hub { width: 320px; height: 320px; }
 .hub-connections { width: 220px; height: 220px; }
 .hub-line { width: 90px; transform: rotate(var(--angle)) translateX(50px); }
 .hub-nodes { width: 280px; height: 280px; }
 .hub-node { width: 70px; height: 70px; margin-left: -35px; margin-top: -35px;
 transform: rotate(var(--angle)) translateX(130px) rotate(calc(var(--angle) * -1)); }
 .hub-node:hover { transform: rotate(var(--angle)) translateX(130px) rotate(calc(var(--angle) * -1)) scale(1.1); }
 .hub-node i { font-size: 1.1rem; }
 .hub-node span { font-size: 0.55rem; }
 .hub-core { width: 90px; height: 90px; }
 .hub-core i { font-size: 1.5rem; }
}

/* ===== PROCESS ===== */
.process-section {
 padding: 80px 0; background: #f8f9fa;
}
.process-track {
 position: relative; padding: 2rem 0;
}
.process-line {
 position: absolute; top: 3.5rem; left: 0; right: 0;
 height: 3px;
 background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
 border-radius: 3px;
}
.process-steps {
 display: flex; justify-content: space-between; position: relative; gap: 1rem;
}
.process-step {
 flex: 1; text-align: center; position: relative;
}
.process-dot {
 width: 48px; height: 48px; border-radius: 50%;
 background: #fff; border: 3px solid var(--primary-red);
 color: var(--primary-red); font-weight: 800; font-size: 1.1rem;
 display: flex; align-items: center; justify-content: center;
 margin: 0 auto 1rem; position: relative; z-index: 2;
 transition: all 0.3s ease;
}
.process-step:hover .process-dot {
 background: var(--primary-red); color: #fff; transform: scale(1.1);
}
.process-step h4 {
 font-size: 1rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.5rem;
}
.process-step p {
 font-size: 0.85rem; color: var(--gray-text); margin: 0; line-height: 1.5;
}
@media (max-width: 768px) {
 .process-line { display: none; }
 .process-steps { flex-wrap: wrap; }
 .process-step { flex: 0 0 calc(50% - 0.5rem); margin-bottom: 1.5rem; }
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
 display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ===== FEATURE CARD LINK ===== */
.card-link {
 display: inline-flex; align-items: center; gap: 0.35rem;
 font-weight: 600; color: var(--primary-red); text-decoration: none;
 font-size: 0.9rem; margin-top: auto; padding-top: 1rem;
 transition: gap 0.3s ease;
}
.card-link:hover { gap: 0.6rem; }

/* ===== BTN OUTLINE SM ===== */
.btn-outline-sm {
 display: inline-flex; align-items: center; gap: 0.35rem;
 padding: 0.6rem 1.2rem; border: 2px solid var(--primary-red);
 color: var(--primary-red); border-radius: 50px;
 font-weight: 600; font-size: 0.9rem; text-decoration: none;
 transition: all 0.3s ease; margin-top: 1rem;
}
.btn-outline-sm:hover { background: var(--primary-red); color: #fff; }

/* ===== CASE CARD META ===== */
.case-card-meta {
 display: flex; align-items: center; gap: 0.4rem;
 font-size: 0.8rem; color: var(--gray-text); margin-bottom: 0.5rem;
}
.case-card-meta i { color: var(--primary-red); }


/* ===== REVEAL ANIMATIONS ===== */
.reveal {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
 opacity: 1;
 transform: translateY(0);
}

/* ===== TARIFFS ===== */
.tariffs-section { padding: 80px 0; background: #fff; }
.tariff-card {
 background: #f8f9fa; border-radius: 20px; padding: 2.5rem 2rem;
 height: 100%; border: 2px solid transparent; transition: all 0.3s ease;
}
.tariff-card:hover {
 border-color: var(--primary-red); transform: translateY(-5px);
 box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.tariff-card-dark { background: var(--primary-blue); color: #fff; }
.tariff-card-dark .tariff-title { color: #fff; }
.tariff-card-dark .tariff-list li { color: rgba(255,255,255,0.85); }
.tariff-card-dark .tariff-note { color: rgba(255,255,255,0.6); }
.tariff-icon {
 width: 56px; height: 56px; border-radius: 14px;
 background: rgba(230,57,70,0.1); color: var(--primary-red);
 display: flex; align-items: center; justify-content: center;
 font-size: 1.5rem; margin-bottom: 1.25rem;
}
.tariff-card-dark .tariff-icon { background: rgba(255,255,255,0.1); color: #fff; }
.tariff-title { font-size: 1.3rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 1.25rem; }
.tariff-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tariff-list li {
 display: flex; align-items: center; gap: 0.5rem;
 margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--gray-text);
}
.tariff-list li i { color: var(--primary-red); font-size: 1.1rem; }
.tariff-note { font-size: 0.85rem; color: var(--gray-text); font-style: italic; }

/* ===== SERVICES ===== */
.services-section { padding: 80px 0; background: #f8f9fa; }
.service-item {
 background: #fff; border-radius: 16px; padding: 1.75rem;
 height: 100%; position: relative; overflow: hidden;
 transition: all 0.3s ease; border: 1px solid transparent;
}
.service-item:hover {
 transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.08);
 border-color: rgba(230,57,70,0.15);
}
.service-num {
 position: absolute; top: 1rem; right: 1rem;
 font-size: 2.5rem; font-weight: 800; color: rgba(29,53,87,0.06); line-height: 1;
}
.service-icon {
 width: 48px; height: 48px; border-radius: 12px;
 background: rgba(230,57,70,0.1); color: var(--primary-red);
 display: flex; align-items: center; justify-content: center;
 font-size: 1.25rem; margin-bottom: 1rem;
}
.service-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.5rem; }
.service-item p { font-size: 0.9rem; color: var(--gray-text); margin: 0; line-height: 1.5; }

/* ===== INTEGRATION MAP ===== */
.integration-section { padding: 80px 0; background: #fff; }
.integration-map { display: flex; justify-content: center; padding: 3rem 0; }
.integration-hub { position: relative; width: 500px; height: 400px; }
.hub-core {
 position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
 width: 120px; height: 120px; border-radius: 50%;
 background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 color: #fff; box-shadow: 0 10px 40px rgba(29,53,87,0.3); z-index: 3;
}
.hub-core i { font-size: 2rem; margin-bottom: 0.25rem; }
.hub-core span { font-size: 0.75rem; font-weight: 700; }
.hub-connections {
 position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
 width: 320px; height: 320px;
}
.hub-line {
 position: absolute; top: 50%; left: 50%; width: 140px; height: 2px;
 background: linear-gradient(90deg, var(--primary-blue), transparent);
 transform-origin: 0 50%; transform: rotate(var(--angle)) translateX(60px); opacity: 0.3;
}
.hub-nodes {
 position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
 width: 400px; height: 400px;
}
.hub-node {
 position: absolute; top: 50%; left: 50%; width: 90px; height: 90px;
 margin-left: -45px; margin-top: -45px; border-radius: 50%;
 background: #fff; border: 2px solid #eee;
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s ease;
 transform: rotate(var(--angle)) translateX(180px) rotate(calc(var(--angle) * -1));
}
.hub-node:hover {
 border-color: var(--primary-red);
 transform: rotate(var(--angle)) translateX(180px) rotate(calc(var(--angle) * -1)) scale(1.1);
 box-shadow: 0 8px 30px rgba(230,57,70,0.15);
}
.hub-node i { font-size: 1.5rem; color: var(--primary-red); margin-bottom: 0.25rem; }
.hub-node span { font-size: 0.65rem; font-weight: 600; color: var(--primary-blue); text-align: center; line-height: 1.2; }
@media (max-width: 576px) {
 .integration-hub { width: 320px; height: 320px; }
 .hub-connections { width: 220px; height: 220px; }
 .hub-line { width: 90px; transform: rotate(var(--angle)) translateX(50px); }
 .hub-nodes { width: 280px; height: 280px; }
 .hub-node { width: 70px; height: 70px; margin-left: -35px; margin-top: -35px;
 transform: rotate(var(--angle)) translateX(130px) rotate(calc(var(--angle) * -1)); }
 .hub-node:hover { transform: rotate(var(--angle)) translateX(130px) rotate(calc(var(--angle) * -1)) scale(1.1); }
 .hub-node i { font-size: 1.1rem; } .hub-node span { font-size: 0.55rem; }
 .hub-core { width: 90px; height: 90px; } .hub-core i { font-size: 1.5rem; }
}

/* ===== PROCESS ===== */
.process-section { padding: 80px 0; background: #f8f9fa; }
.process-track { position: relative; padding: 2rem 0; }
.process-line {
 position: absolute; top: 3.5rem; left: 0; right: 0; height: 3px;
 background: linear-gradient(90deg, var(--primary-blue), var(--primary-red)); border-radius: 3px;
}
.process-steps { display: flex; justify-content: space-between; position: relative; gap: 1rem; }
.process-step { flex: 1; text-align: center; position: relative; }
.process-dot {
 width: 48px; height: 48px; border-radius: 50%; background: #fff;
 border: 3px solid var(--primary-red); color: var(--primary-red);
 font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
 margin: 0 auto 1rem; position: relative; z-index: 2; transition: all 0.3s ease;
}
.process-step:hover .process-dot { background: var(--primary-red); color: #fff; transform: scale(1.1); }
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--gray-text); margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
 .process-line { display: none; } .process-steps { flex-wrap: wrap; }
 .process-step { flex: 0 0 calc(50% - 0.5rem); margin-bottom: 1.5rem; }
}

/* ===== CTA BUTTONS ===== */
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FEATURE CARD LINK ===== */
.card-link {
 display: inline-flex; align-items: center; gap: 0.35rem;
 font-weight: 600; color: var(--primary-red); text-decoration: none;
 font-size: 0.9rem; margin-top: auto; padding-top: 1rem; transition: gap 0.3s ease;
}
.card-link:hover { gap: 0.6rem; }

/* ===== BTN OUTLINE SM ===== */
.btn-outline-sm {
 display: inline-flex; align-items: center; gap: 0.35rem;
 padding: 0.6rem 1.2rem; border: 2px solid var(--primary-red);
 color: var(--primary-red); border-radius: 50px; font-weight: 600;
 font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; margin-top: 1rem;
}
.btn-outline-sm:hover { background: var(--primary-red); color: #fff; }

/* ===== CASE CARD META ===== */
.case-card-meta {
 display: flex; align-items: center; gap: 0.4rem;
 font-size: 0.8rem; color: var(--gray-text); margin-bottom: 0.5rem;
}
.case-card-meta i { color: var(--primary-red); }

/* ============================================
 Hero Chaos — Fixed Canvas Background
 ============================================ */

#chaosCanvas {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 1;
}

.hero-chaos-overlay {
 position: relative;
 z-index: 10;
 min-height: 100vh;
 display: flex;
 align-items: center;
 justify-content: center;
 pointer-events: none;
}

.hero-chaos-content {
 text-align: center;
 max-width: 900px;
 padding: 40px 24px;
 opacity: 0;
 transform: translateY(30px);
 animation: heroChaosFadeUp 1s ease 4.5s forwards;
 pointer-events: auto;
}

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

.hero-chaos-badge {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.5rem 1.2rem;
 background: rgba(52, 188, 242, 0.08);
 border: 1px solid rgba(52, 188, 242, 0.2);
 border-radius: 50px;
 font-size: 0.8rem;
 color: #34bcf2;
 font-weight: 600;
 margin-bottom: 2rem;
 letter-spacing: 0.05em;
 text-transform: uppercase;
}

.hero-chaos-title {
 font-size: clamp(2.2rem, 5.5vw, 4.5rem);
 font-weight: 800;
 line-height: 1.1;
 margin-bottom: 1.5rem;
 letter-spacing: -0.02em;
 color: #fff;
}

.hero-chaos-title .line-main {
 display: block;
 color: #fff;
}

.hero-chaos-title .line-accent {
 display: block;
 color: #34bcf2;
 font-weight: 700;
 font-size: 0.55em;
 margin-top: 0.3em;
 letter-spacing: 0.08em;
 text-transform: uppercase;
}

.hero-chaos-subtitle {
 font-size: clamp(1.1rem, 2.2vw, 1.5rem);
 color: rgba(255, 255, 255, 0.7);
 font-weight: 400;
 line-height: 1.6;
 max-width: 680px;
 margin: 0 auto 2.5rem;
}

.hero-chaos-cta {
 display: inline-flex;
 align-items: center;
 gap: 0.6rem;
 padding: 1rem 2.2rem;
 background: transparent;
 color: #fff;
 font-weight: 600;
 font-size: 1rem;
 border-radius: 50px;
 text-decoration: none;
 border: 1.5px solid rgba(52, 188, 242, 0.4);
 transition: all 0.35s ease;
 cursor: pointer;
 position: relative;
 overflow: hidden;
 font-family: inherit;
}

.hero-chaos-cta:hover {
 border-color: #34bcf2;
 transform: translateY(-2px);
 box-shadow: 0 10px 40px rgba(52, 188, 242, 0.15);
 background: rgba(52, 188, 242, 0.08);
}

.hero-chaos-scroll {
 position: absolute;
 bottom: 30px;
 left: 50%;
 transform: translateX(-50%);
 color: rgba(255, 255, 255, 0.3);
 font-size: 0.8rem;
 animation: heroChaosBounce 2s infinite;
 z-index: 10;
 pointer-events: auto;
}

@keyframes heroChaosBounce {
 0%, 100% {
 transform: translateX(-50%) translateY(0);
 }
 50% {
 transform: translateX(-50%) translateY(8px);
 }
}

@media (max-width: 768px) {
 .hero-chaos-overlay {
 min-height: auto;
 padding: 120px 0 80px;
 }
}


