:root {
    --primary: #3498DB;
    --primary-dark: #2980B9;
    --secondary: #2C3E50;
    --secondary-dark: #1e2b38;
    --light: #ECF0F1;
    --white: #FFFFFF;
    --gray: #95A5A6;
    --dark: #2C3E50;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.header__nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-link {
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.header__phone,
.header__email {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.header__phone:hover,
.header__email:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
}

/* Герой-секция */
.hero {
    height: 800px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
    z-index: 10;
}

.slider-arrow {
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* О нас */
.section {
    padding: var(--spacing-xl) 0;
}

.section--light {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about__image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about__features {
    list-style: none;
    margin-top: var(--spacing-md);
}

.about__features li {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.about__features i {
    color: var(--primary);
}

/* Бренды */
.brands__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
}

.brand-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.brand-card__image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.brand-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-card__title {
    color: var(--dark);
    font-size: 1rem;
}

/* Каталоги */
.catalogs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.catalog-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.catalog-card__image {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.catalog-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.catalog-card:hover .catalog-card__overlay {
    opacity: 1;
}

.catalog-card:hover img {
    transform: scale(1.1);
}

.catalog-card__overlay i {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.catalog-card__title {
    text-align: center;
}

/* Контакты */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contacts__info {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.contacts__list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.contacts__list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.contacts__list i {
    width: 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contacts__list a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

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

.contacts__schedule h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.contacts__form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Формы */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-group--file {
    position: relative;
}

.form-group--file input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 1px dashed var(--gray);
}

.file-label:hover {
    background: var(--gray);
    color: var(--white);
}

.file-info {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--gray);
}

/* Футер */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links {
    display: flex;
    gap: var(--spacing-md);
}

.footer__links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer__links a:hover {
    opacity: 1;
}

/* Попапы */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.popup.active {
    display: flex;
}

.popup__content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.popup__close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.popup__close:hover {
    background: var(--gray);
    color: var(--white);
}

.popup__title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.success-message {
    text-align: center;
}

.success-message i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: var(--spacing-sm);
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    padding: var(--spacing-sm);
}

.product-card:hover .product-card__image img {
    transform: scale(1.1);
}

.product-card__badge {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.product-card__content {
    padding: var(--spacing-md);
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card__article {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: var(--spacing-xs);
}

.product-card__description {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    height: 4.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-lg) 0;
}

.pagination__link,
.pagination__prev,
.pagination__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    border: 1px solid var(--light);
}

.pagination__link:hover,
.pagination__prev:hover,
.pagination__next:hover,
.pagination__link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Страница товара */
.product-page {
    padding-top: 120px;
}

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    color: var(--gray);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 var(--spacing-xs);
    color: var(--gray);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

/* Галерея */
.product-gallery {
    position: relative;
}

.product-main-image {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.product-thumbnail {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    height: 80px;
}

.product-thumbnail:hover {
    border-color: var(--primary);
}

.product-thumbnail.active {
    border-color: var(--primary);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация о товаре */
.product-info {
    padding: var(--spacing-md) 0;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--light);
}

.product-brand-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
}

.product-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.product-article {
    display: inline-block;
    background: var(--light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.product-short-description {
    background: var(--light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary);
}

.product-description,
.product-characteristics,
.product-specifications {
    margin-bottom: var(--spacing-lg);
}

.product-description h3,
.product-characteristics h3,
.product-specifications h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.characteristic-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: var(--light);
    border-radius: var(--border-radius);
}

.btn-order {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 300px;
}

.btn-order:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Поиск */
.search-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-container h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
    background: var(--white);
    padding: var(--spacing-xs);
    border-radius: 50px;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

/* Результаты поиска */
.search-results {
    margin: var(--spacing-lg) 0;
}

.results-list {
    list-style: none;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.result-item {
    border-bottom: 1px solid var(--light);
    transition: var(--transition);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: var(--light);
}

.result-link {
    display: block;
    padding: var(--spacing-md);
    text-decoration: none;
    color: inherit;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.result-article {
    font-size: 0.9rem;
    background: var(--light);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
}

.result-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--gray);
    font-size: 0.95rem;
}

.result-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-top: var(--spacing-xs);
    padding-top: var(--spacing-xs);
    border-top: 1px dashed var(--light);
}

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .brands__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .catalogs__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header__nav,
    .header__phone,
    .header__email {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .brands__grid,
    .catalogs__grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        height: 600px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--border-radius);
        padding: var(--spacing-md);
    }
    
    .search-btn {
        border-radius: var(--border-radius);
    }
    
    .footer__content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brands__grid,
    .catalogs__grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scroll-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }
}

/*----------------------------------------------*/

/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background: #FFFFFF;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header__logo img {
    height: 50px;
}

.header__nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__nav a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
}

.header__nav a:hover {
    color: #3498DB;
}

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

.social-link {
    color: #3498DB;
    font-size: 1.5rem;
}

.header__phone,
.header__email {
    text-decoration: none;
    color: #2C3E50;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn--primary {
    background: #3498DB;
    color: white;
}

.btn--primary:hover {
    background: #2980B9;
}

.btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn--full {
    width: 100%;
}

/* Футер */
.footer {
    background: #2C3E50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.8;
}

.footer__links a:hover {
    opacity: 1;
}

/* Попапы */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.popup.active {
    display: flex;
}

.popup__content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
}

.popup__title {
    text-align: center;
    margin-bottom: 20px;
}

/* Формы */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #3498DB;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498DB;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #2980B9;
}

/* Контакты */
.contacts-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contacts-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.contacts-list {
    list-style: none;
    margin: 20px 0;
}

.contacts-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contacts-list i {
    color: #3498DB;
    width: 20px;
}

.contacts-list a {
    text-decoration: none;
    color: #2C3E50;
}

.contacts-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header__nav,
    .header__phone,
    .header__email {
        display: none;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer__links a {
        margin: 0 10px;
    }
}


/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
@media (max-width: 768px) {
    /* Скрываем десктопное меню */
    .header__nav {
        position: fixed !important;
        top: 80px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: #ffffff !important;
        transition: left 0.3s ease !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        display: block !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        padding: 20px 0 !important;
    }
    
    /* Показываем меню при активном классе */
    .header__nav.active {
        left: 0 !important;
    }
    
    /* Стили для списка в мобильном меню */
    .header__nav ul {
        flex-direction: column !important;
        padding: 0 20px !important;
        margin: 0 !important;
        display: flex !important;
        width: 100% !important;
    }
    
    .header__nav li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #ecf0f1 !important;
    }
    
    .header__nav a {
        display: block !important;
        padding: 15px 0 !important;
        font-size: 1.2rem !important;
        color: #2C3E50 !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        width: 100% !important;
    }
    
    .header__nav a:hover {
        color: #3498DB !important;
    }
    
    /* Скрываем десктопные контакты */
    .header__actions {
        display: none !important;
    }
    
    /* Стили для гамбургера */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        /*justify-content: space-around !important;*/
        width: 30px !important;
        height: 30px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 10000 !important;
    }
    
    .mobile-menu-toggle span {
        width: 30px !important;
        height: 3px !important;
        background: #2C3E50 !important;
        transition: all 0.3s ease !important;
        border-radius: 3px !important;
        display: block !important;
    }
    
    /* Анимация гамбургера */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px) !important;
    }
}


/* ===== АДАПТАЦИЯ ДЛЯ БЛОКА "О НАС" НА МОБИЛЬНЫХ УСТРОЙСТВАХ ===== */
@media (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr !important; /* Одна колонка */
        gap: 20px !important;
    }
    
    .about__image {
        display: none !important; /* Скрываем картинку */
    }
    
    .about__content {
        width: 100% !important; /* Текст на всю ширину */
        padding: 0 !important;
    }
    
    .about__text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .about__features {
        margin-top: 20px !important;
    }
    
    .about__features li {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .about__content {
        padding: 0 10px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
}


/*стили для таблицы*/
.characteristics-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.characteristics-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.characteristics-content table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
}

.characteristics-content table tr td:first-child {
    font-weight: 600;
    background: #f8f9fa;
    width: 30%;
}

.characteristics-content ul, 
.characteristics-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.characteristics-content li {
    margin-bottom: 5px;
}


/*pop-up*/
/* Попапы */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup.active {
    display: flex;
}

.popup__content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup__close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.popup__title {
    color: #2C3E50;
    margin-bottom: 30px;
    text-align: center;
}

.success-message {
    text-align: center;
}

.success-message i {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.success-message p {
    color: #7F8C8D;
    margin-bottom: 30px;
}
/*end pop up*/













