/* ============================================
   ОСНОВНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
============================================ */
:root {
    --color-primary: #1a1a2e;
    --color-accent: #4cc9f0;
    --color-whatsapp: linear-gradient(to right, #25D366, #128C7E);
    --color-gradient: linear-gradient(45deg, 
        #200122 0%, #220127 10%, #25012c 20%, 
        #2a0133 30%, #31013e 40%, #3c0152 50%, 
        #4b0082 60%, #3c026e 70%, #2d045a 80%, 
        #1f0546 90%, #1c0058 100%);
    --color-light: #fff;
    --color-dark: #333;
    --color-gray: #666;
    --color-light-gray: #f9f9f9;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-heavy: 0 15px 30px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-light-gray);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   ОБЩИЕ КОМПОНЕНТЫ
============================================ */
.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-light);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
}

.btn:hover {
    background-color: #3aa8c9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-header {
    background: var(--color-whatsapp);
    margin-left: 20px;
    white-space: nowrap;
}

.btn-order {
    background: var(--color-whatsapp);
    color: var(--color-light);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    min-height: 44px;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background: linear-gradient(to right, #1DA851, #0D7D5F);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--color-light);
    font-weight: 700;
    line-height: 1.2;
    padding: 0 15px;
}

/* ============================================
   ШАПКА (HEADER)
============================================ */
header {
    background: var(--color-gradient);
    color: var(--color-light);
    padding: 12px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    z-index: 1001;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

nav {
    transition: var(--transition);
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

nav ul li a {
    color: var(--color-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: .95rem;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   СЛАЙДЕР
============================================ */
.hero-slider {
    margin: 20px auto;
    width: 100%;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
}

.hero-slider .swiper.heroSwiper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.hero-slider .swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background-color: var(--color-accent);
    color: white;
    transform: scale(1.05);
}

.hero-slider .swiper-button-next {
    right: 15px;
}

.hero-slider .swiper-button-prev {
    left: 15px;
}

.hero-slider .swiper-pagination {
    bottom: 15px;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: var(--transition);
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ============================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ
============================================ */
.features {
    color: var(--color-light);
    padding: 40px 0;
    background: var(--color-gradient);
    margin-top: 30px;
}

.features .section-title {
    color: var(--color-light);
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.feature-card {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--color-accent);
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.5;
    font-size: .95rem;
}

/* ============================================
   СЕКЦИЯ "О НАС"
============================================ */
.about {
    padding: 80px 0;
    background: var(--color-gradient);
    position: relative;
    overflow: hidden;
}

.about .section-title {
    color: var(--color-light);
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-info-block {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(76, 201, 240, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent), #4b0082);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-info-block:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-info-block:hover::before {
    transform: scaleX(1);
}

.about-info-block-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.about-info-block-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    opacity: 0.5;
    transition: width 0.3s ease;
}

.about-info-block:hover .about-info-block-title::after {
    width: 100px;
}

.about-info-block-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.about-info-block {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.about-info-block:nth-child(1) { animation-delay: 0.1s; }
.about-info-block:nth-child(2) { animation-delay: 0.2s; }
.about-info-block:nth-child(3) { animation-delay: 0.3s; }
.about-info-block:nth-child(4) { animation-delay: 0.4s; }

.company-directions {
    margin-top: 80px;
    padding-top: 70px;
    border-top: 2px solid rgba(76, 201, 240, 0.2);
    position: relative;
}

.company-directions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent), #4b0082);
    border-radius: 2px;
}

.directions-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--color-light);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.directions-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent), #4b0082);
    border-radius: 2px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.direction-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.08), 
        rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(76, 201, 240, 0.15);
    border-radius: 18px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent), #4b0082);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.direction-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(76, 201, 240, 0.1) 0%, 
        rgba(75, 0, 130, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.direction-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(76, 201, 240, 0.3);
}

.direction-card:hover::before {
    transform: scaleX(1);
}

.direction-card:hover::after {
    opacity: 1;
}

.direction-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), #4b0082);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: var(--color-light);
    box-shadow: 
        0 10px 25px rgba(76, 201, 240, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.direction-card:hover .direction-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 20px 40px rgba(76, 201, 240, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #4b0082, var(--color-accent));
}

.direction-card h4 {
    font-size: 1.4rem;
    color: var(--color-light);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.direction-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.direction-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: fadeInUpScale 0.7s ease forwards;
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.direction-card:nth-child(1) { animation-delay: 0.1s; }
.direction-card:nth-child(2) { animation-delay: 0.2s; }
.direction-card:nth-child(3) { animation-delay: 0.3s; }
.direction-card:nth-child(4) { animation-delay: 0.4s; }
.direction-card:nth-child(5) { animation-delay: 0.5s; }
.direction-card:nth-child(6) { animation-delay: 0.6s; }
.direction-card:nth-child(7) { animation-delay: 0.7s; }
.direction-card:nth-child(8) { animation-delay: 0.8s; }

/* ============================================
   СЕКЦИЯ ТОВАРОВ
============================================ */
.products {
    padding: 40px 0;
    background: var(--color-light-gray);
}

.products .section-title {
    color: var(--color-dark);
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.product-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.product-img {
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.3;
}

.product-info p {
    color: var(--color-gray);
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: .9rem;
    flex-grow: 1;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* ============================================
   ПАГИНАЦИЯ
============================================ */
.pagination-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    display: none;
}

.pagination-info {
    text-align: center;
    font-size: .9rem;
    color: var(--color-gray);
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pagination-btn {
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    min-width: 80px;
    min-height: 44px;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #6c757d;
}

.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background: var(--color-light);
    padding: 8px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    justify-content: center;
}

.page-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: var(--color-light);
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: .9rem;
    min-width: 36px;
}

.page-number:hover {
    background: var(--color-accent);
    color: var(--color-light);
    border-color: var(--color-accent);
}

.page-number.active {
    background: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-primary);
    font-weight: 600;
}

.pagination-mobile {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
    justify-content: center;
}

.mobile-btn {
    flex: 1;
    max-width: 160px;
    padding: 12px;
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: .9rem;
    min-height: 44px;
}

.mobile-btn:hover:not(:disabled) {
    background: var(--color-accent);
}

.mobile-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #6c757d;
}

.show-all-container {
    text-align: center;
    margin-top: 30px;
    padding: 0 10px;
}

.show-all-btn,
.collapse-btn {
    background: linear-gradient(to right, var(--color-accent), #3aa8c9);
    color: var(--color-light);
    border: none;
    padding: 14px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.3);
    width: 100%;
    max-width: 280px;
    min-height: 44px;
}

.show-all-btn:hover,
.collapse-btn:hover {
    background: linear-gradient(to right, #3aa8c9, #2d8bb8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.4);
}

.collapse-btn {
    background: linear-gradient(to right, #6b7280, #4b5563);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

.collapse-btn:hover {
    background: linear-gradient(to right, #4b5563, #374151);
    box-shadow: 0 10px 25px rgba(75, 85, 99, 0.4);
}

/* ============================================
   СЕКЦИЯ КЛИЕНТОВ
============================================ */
.clients {
    padding: 40px 0;
    background: var(--color-light);
    margin-top: 40px;
}

.clients-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-weight: 700;
    padding: 0 10px;
}

.clients-logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px;
}

.clients-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    flex: 0 0 calc(33.333% - 20px);
}

.clients-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   ФУТЕР
============================================ */
footer {
    background: var(--color-gradient);
    color: var(--color-light);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
    align-items: start;
}

.footer-content > div {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

.footer-content h3 {
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-content p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: .95rem;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li {
    margin-bottom: 12px;
    font-size: .95rem;
    line-height: 1.4;
    position: relative;
}

.footer-content ul li::before {
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.footer-content ul li a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 3px 0;
}

.footer-content ul li a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-content ul li i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: .9rem;
    padding: 25px 15px 0;
    grid-column: 1 / -1;
}

/* ============================================
   АНИМАЦИИ
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   МЕДИА-ЗАПРОСЫ (ВСЕ ВМЕСТЕ ДЛЯ ОПТИМИЗАЦИИ)
============================================ */

/* Большие планшеты и ноутбуки */
@media (max-width: 1200px) {
    .about {
        padding: 70px 0;
    }
    
    .about .section-title {
        font-size: 2.2rem;
    }
    
    .about-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .directions-grid {
        gap: 30px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-content > div {
        padding: 0 10px;
    }
}

/* Планшеты 992px */
@media (max-width: 992px) {
    .about {
        padding: 60px 0;
    }
    
    .about .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .about-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-info-block {
        padding: 30px 20px;
    }
    
    .about-info-block-title {
        font-size: 1.8rem;
    }
    
    .about-info-block-text {
        font-size: 1.1rem;
    }
    
    .company-directions {
        margin-top: 60px;
        padding-top: 60px;
    }
    
    .directions-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .directions-grid {
        gap: 25px;
    }
    
    .direction-card {
        padding: 35px 25px;
    }
    
    .direction-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .direction-card h4 {
        font-size: 1.3rem;
    }
    
    .direction-card p {
        font-size: 1rem;
    }
}

/* Планшеты и мобильные 768px */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-gradient);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 15px;
        font-size: 1.1rem;
        border-radius: 6px;
        width: 100%;
    }
    
    .btn-header {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
    
    .hero-slider {
        max-width: 100%;
        margin: 0 auto 0;
        border-radius: 0;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    
    .features {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .about .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding-bottom: 15px;
    }
    
    .about .section-title::after {
        width: 120px;
    }
    
    .about-info {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto 50px;
    }
    
    .about-info-block {
        padding: 30px 20px;
    }
    
    .about-info-block-title {
        font-size: 1.6rem;
    }
    
    .about-info-block-text {
        font-size: 1rem;
    }
    
    .company-directions {
        margin-top: 50px;
        padding-top: 50px;
    }
    
    .directions-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding-bottom: 15px;
    }
    
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .direction-card {
        padding: 30px 25px;
    }
    
    .direction-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .direction-card h4 {
        font-size: 1.3rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .page-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: .85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content > div {
        padding: 0;
        text-align: center;
    }
    
    .footer-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-content ul li::before {
        display: none;
    }
    
    .footer-content ul li {
        padding-left: 0;
        text-align: center;
    }
    
    .clients-logo img {
        flex: 0 0 calc(50% - 15px);
        max-width: 100px;
    }
}

/* Большие смартфоны 480px */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
    }
    
    .hero-slider .swiper-pagination {
        bottom: 10px;
    }
    
    .hero-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .features {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about .section-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
        padding-bottom: 12px;
    }
    
    .about .section-title::after {
        width: 100px;
        height: 3px;
    }
    
    .about-info {
        gap: 18px;
    }
    
    .about-info-block {
        padding: 25px 20px;
    }
    
    .about-info-block-title {
        font-size: 1.5rem;
    }
    
    .about-info-block-text {
        font-size: .95rem;
    }
    
    .company-directions {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .directions-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
        padding-bottom: 12px;
    }
    
    .direction-card {
        padding: 25px 20px;
    }
    
    .direction-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .direction-card h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .direction-card p {
        font-size: .95rem;
    }
    
    .products {
        padding: 30px 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .product-img {
        height: 160px;
    }
    
    .clients-logo {
        gap: 15px;
        padding: 15px 10px;
    }
    
    .clients-logo img {
        flex: 0 0 calc(50% - 10px);
        max-width: 90px;
        max-height: 50px;
    }
    
    .pagination-nav {
        flex-direction: column;
    }
    
    .page-numbers {
        order: 1;
    }
    
    .prev-btn, .next-btn {
        order: 2;
        width: 100%;
        max-width: 200px;
    }
    
    .show-all-btn,
    .collapse-btn {
        padding: 12px 20px;
        font-size: .9rem;
        max-width: 250px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .footer-content p {
        font-size: .9rem;
    }
    
    .footer-content ul li {
        font-size: .9rem;
        margin-bottom: 10px;
    }
    
    .copyright {
        font-size: .85rem;
        padding: 20px 10px 0;
    }
    
    .features {
        padding-top: 15px;
    }
}

/* Маленькие смартфоны 375px */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .feature-card,
    .about-info-block {
        padding: 15px 10px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .about {
        padding: 30px 0;
    }
    
    .about .section-title {
        font-size: 1.4rem;
    }
    
    .about-info-block {
        padding: 20px 15px;
    }
    
    .about-info-block-title {
        font-size: 1.3rem;
    }
    
    .about-info-block-text {
        font-size: .85rem;
    }
    
    .company-directions {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .directions-title {
        font-size: 1.4rem;
    }
    
    .direction-card {
        padding: 20px 15px;
    }
    
    .direction-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .direction-card h4 {
        font-size: 1rem;
    }
    
    .direction-card p {
        font-size: .85rem;
    }
    
    .clients-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .clients-logo {
        gap: 10px;
        padding: 10px 5px;
    }
    
    .clients-logo img {
        flex: 0 0 calc(50% - 10px);
        max-width: 80px;
        max-height: 40px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-content p,
    .footer-content ul li {
        font-size: .85rem;
    }
    
    .copyright {
        font-size: .8rem;
        padding-top: 15px;
    }
    
    .page-numbers {
        padding: 5px;
        gap: 3px;
    }
    
    .page-number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: .8rem;
    }
    
    .mobile-btn {
        padding: 10px;
        font-size: .8rem;
        max-width: 140px;
    }
}

/* Очень маленькие экраны 320px */
@media (max-width: 320px) {
    .clients-logo img {
        flex: 0 0 calc(50% - 8px);
        max-width: 70px;
        max-height: 35px;
    }
    
    .product-img {
        height: 140px;
    }
    
    .page-number {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: .75rem;
    }
}

/* Ландшафтная ориентация */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider .swiper.heroSwiper {
        max-height: 85vh;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about .section-title {
        margin-bottom: 30px;
    }
    
    .about-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .about-info-block {
        padding: 20px 15px;
    }
    
    .company-directions {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .direction-card {
        padding: 20px 15px;
    }
}

/* Ховер эффекты только для устройств с мышью */
@media (hover: hover) and (pointer: fine) {
    .btn:hover,
    .product-card:hover,
    .feature-card:hover,
    .about-info-block:hover,
    .clients-logo img:hover,
    .footer-content ul li a:hover {
        transform: translateY(-2px);
    }
}

/* Отключение анимаций */
@media (prefers-reduced-motion: reduce) {
    .about-info-block,
    .direction-card,
    .direction-icon,
    .about-info-block-title::after,
    .about-info-block::before,
    .direction-card::before,
    .direction-card::after {
        animation: none;
        transition: none;
    }
    
    .direction-card:hover {
        transform: none;
    }
}

/* ============================================
   ИКОНКИ И ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
============================================ */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-light);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

nav ul li a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.gradient-divider {
    height: 4px;
    background: linear-gradient(90deg, #4cc9f0 0%, #4b0082 50%, #4cc9f0 100%);
    margin: 0 auto;
    width: 100%;
    border-radius: 2px;
    position: relative;
}
/* ============================================
   ПЛАВАЮЩАЯ КНОПКА WHATSAPP ДЛЯ МОБИЛЬНЫХ
============================================ */
.floating-whatsapp {
    display: none; /* По умолчанию скрыта для десктопов */
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(to right, #25D366, #128C7E);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(to right, #1DA851, #0D7D5F);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin: 0;
}

/* Анимация пульсации */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Показать только на мобильных устройствах */
@media (max-width: 768px) {
    .floating-whatsapp {
        display: block;
    }
    
    /* На очень маленьких экранах уменьшаем кнопку */
    @media (max-width: 375px) {
        .whatsapp-float {
            width: 50px;
            height: 50px;
            font-size: 25px;
            bottom: 20px;
            left: 20px;
        }
    }
    
    /* Ландшафтная ориентация на мобильных */
    @media (max-height: 500px) and (orientation: landscape) {
        .whatsapp-float {
            width: 45px;
            height: 45px;
            font-size: 22px;
            bottom: 15px;
            left: 15px;
        }
    }
}

/* Ховер эффекты только для устройств с мышью */
@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover {
        transform: scale(1.1);
    }
}

/* ============================================
   КОМПАКТНЫЙ ЛОГОТИП ДЛЯ СООТНОШЕНИЯ 1181×153
============================================ */
.logo {
    z-index: 1001;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 120px; /* Компактная ширина */
    height: auto; /* Высота рассчитывается автоматически */
    max-height: 24px; /* Максимальная высота */
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ============================================
   АДАПТИВНОСТЬ КОМПАКТНОГО ЛОГОТИПА
============================================ */

/* Десктопы - чуть больше */
@media (min-width: 1025px) {
    .logo-img {
        width: 140px;
        max-height: 28px;
    }
}

/* Планшеты */
@media (max-width: 1024px) {
    .logo-img {
        width: 110px;
        max-height: 22px;
    }
}

/* Планшеты вертикальные */
@media (max-width: 768px) {
    .logo-img {
        width: 100px;
        max-height: 20px;
    }
}

/* Большие смартфоны */
@media (max-width: 480px) {
    .logo-img {
        width: 90px;
        max-height: 18px;
    }
}

/* Средние смартфоны */
@media (max-width: 375px) {
    .logo-img {
        width: 80px;
        max-height: 16px;
    }
}

/* Маленькие смартфоны */
@media (max-width: 320px) {
    .logo-img {
        width: 70px;
        max-height: 14px;
    }
}

/* Ландшафтная ориентация */
@media (max-height: 500px) and (orientation: landscape) {
    .logo-img {
        width: 90px;
        max-height: 18px;
    }
}
