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

body {
    font-family: 'Source Sans Pro', sans-serif;
    /* Убираем неправильное использование видео как background */
    /* background: url('../src/background.webm') center center fixed; */
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    background-repeat: no-repeat;
    background-size: cover;
    color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.body-video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
}
.body-video-bg video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0; left: 0;
}
.body-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
body > *:not(.body-video-bg) {
    position: relative;
    z-index: 2;
}
.body-video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
}
.body-video-bg video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0; left: 0;
}
.body-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); /* затемнение */
    z-index: 1;
}
body > *:not(.body-video-bg) {
    position: relative;
    z-index: 2;
}
.elegant-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    z-index: -1;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.pdf-container {
    width: 100%;
    height: 620px;

}
.pdf-container object {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 10px;
    background: #1a1a1a;
    object-fit: contain;
}
.header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.logo-section {
    position: relative;
}

.emblem {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
}


.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.separator {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 1.5rem auto;
}

.company-subtitle {
    font-size: 1.2rem;
    color: #b8860b;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-content {
    flex: 1;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.content-sections {
    display: grid;
    gap: 3rem;
}

.section {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 64px;
}

.section:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 700;
}

.golden-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

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

.product-card {
    text-align: center;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: sepia(1) hue-rotate(25deg) brightness(1.2);
}

.product-card h4 {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

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

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.achievement-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: #b8860b;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.contact-icon {
    font-size: 2rem;
    filter: sepia(1) hue-rotate(25deg) brightness(1.2);
    flex-shrink: 0;
}

.contact-details h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #c0c0c0;
    line-height: 1.6;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .products-grid,
    .achievements-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Стили для слайдера */
.product-slider {
    width: 100%;
    height: 800px;
    margin: 0 auto;
    padding: 20px;
    user-select: none; /* Запрещаем выделение текста */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(139, 115, 85, 0.02);
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(139, 115, 85, 0.1);
}

/* Стили для таблицы */
.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-pagination-bullet{
    background: #8B7355!important;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active{
    background: #8B7355!important;
    transform: scale(1.6)!important;
}

.product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    font-family: 'Source Sans Pro', sans-serif;
}

.product-table th {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
    padding: 20px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid #8B7355;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

.product-table td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.1);
    font-size: 16px;
    color: #a3a3a3;
    line-height: 1.5;
    font-weight: 400;
}

.product-table tbody tr {
    transition: background-color 0.3s ease;
}

.product-table tbody tr:hover {
    background-color: rgba(139, 115, 85, 0.05);
}

/* Стили для пагинации */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(139, 115, 85, 0.2);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #8B7355;
    transform: scale(1.3);
}

/* Стили для навигации слайдера */
.swiper-button-next,
.swiper-button-prev {
    color: #8B7355;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-table th {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .product-table td {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}
.document-container {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: flex;
  }
  .document-container embed,
  .document-container img,
  .document-container svg {
    width: 100%;
    height: 550px;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    object-fit: contain;
    background: #fff;
  }
  @media (max-width: 600px) {
    .container {
        padding: 0.5rem;
    }
    .header {
        padding: 1.2rem 0 1.2rem 0;
        margin-bottom: 1.2rem;
    }
    .company-name {
        font-size: 1.5rem;
    }
    .company-subtitle {
        font-size: 0.8rem;
    }
    .hero-section {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    .hero-title {
        font-size: 1.1rem;
    }
    .section {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .achievements-grid,
    .products-grid,
    .contact-info {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .achievement-item,
    .product-card,
    .contact-item {
        padding: 1rem;
    }
    .document-container embed,
    .document-container img {
        height: 250px !important;
    }
    .body-video-bg video {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    .table-container {
        height: 320px;
        padding: 6px;
        max-width: 100vw;
    }
    .table-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .table-scroll {
        padding: 0 2px;
        margin: 0;
        border-radius: 2px;
    }
    .product-table th,
    .product-table td {
        padding: 6px 4px;
        font-size: 11px;
        white-space: normal;
    }
    .swiper.product-slider {
        height: 340px;
        padding: 6px;
    }
    .swiper-slide {
        padding: 6px;
    }
}

@media (max-width: 400px) {
    .company-name {
        font-size: 1.1rem;
    }
    .hero-title {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 0.9rem;
    }
    .document-container embed,
    .document-container img {
        height: 140px !important;
    }
}

/* Отключаем скроллинг body при удержании пальца на swiper или таблице */
.swiper.product-slider, .table-scroll {
    touch-action: pan-y pinch-zoom;
    overscroll-behavior: contain;
}
.swiper.product-slider:active, .table-scroll:active {
    touch-action: none;
}
.table-container {
    padding: 20px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 800px;
    display: flex;
    flex-direction: column;
}

.table-title {
    font-family: 'Playfair Display', serif;
    color: #8B7355;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
    flex-shrink: 0;
}

.table-scroll {
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 0 -10px;
    padding: 0 10px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    color: #a3a3a3;
}

.product-table thead {
    position: sticky;
    top: 0;
    background: #f5f5f5;
    z-index: 1;
}

.product-table th {
    background-color: #2c2824;
    color: #a3a3a3;
    padding: 12px 20px;
    text-align: left;
    font-weight: normal;
    border-bottom: 1px solid #333;
}

.product-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    color: #a3a3a3;
    white-space: nowrap;
}

.product-table tbody tr:hover {
    background-color: #242424;
}

/* Стилизация скроллбара */
.table-scroll::-webkit-scrollbar {
    width: 8px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #8B7355;
    border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background: #6d5a43;
}

/* Обновленные стили для слайдера */
.swiper-slide {
    height: auto;
    padding: 20px;
}

.products-grid {
    padding: 20px 0;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .table-container {
        height: 400px;
        padding: 10px;
    }

    .table-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .product-table th,
    .product-table td {
        padding: 8px;
        font-size: 14px;
    }
}