/* ===== VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f97316;
    --accent: #10b981;
    --dark: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 20px;
    --sidebar-width: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.sidebar-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link svg {
    width: 22px;
    height: 22px;
}

.sidebar-link:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.sidebar-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 15px);
    background: var(--dark);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.sidebar-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar-bottom {
    display: flex;
    justify-content: center;
}

.sidebar-phone {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo img {
    
    height: 58px;
}

.mobile-logo span {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 30px 20px;
    gap: 5px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.mobile-menu-phone {
    margin-top: auto;
    text-align: center;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.75) 100%);
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text > p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--dark);
    border: 2px solid var(--border);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Slider - стиль первого варианта */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.slider-container {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.slider-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 450px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

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

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

.slider-btn svg {
    width: 22px;
    height: 22px;
}

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

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: var(--primary-light);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 60px;
}

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

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 15px;
    max-width: 600px;
}

.section-header.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-alt);
}

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

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.about-img.main {
    grid-row: span 2;
}

.about-img.main img {
    height: 100%;
    min-height: 400px;
}

.about-img.secondary img,
.about-img.tertiary img {
    height: 195px;
}

.about-content .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text);
    margin-bottom: 15px;
}

.about-features {
    margin-top: 30px;
    padding: 30px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-features h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-features ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
}

.about-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

/* ===== CONSTRUCTION (TABS) ===== */
.construction {
    background: var(--bg);
}

.tabs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary);
}

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

.tab-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.tab-btn.active .tab-number {
    color: white;
}

.tab-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.tab-btn.active .tab-text {
    color: white;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

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

.tab-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tab-image img {
    width: 100%;
    height: auto;
}

.tab-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.tab-text p {
    color: var(--text);
    margin-bottom: 15px;
}

.design-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.design-list li {
    padding: 15px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    color: var(--text);
    border-left: 3px solid var(--primary);
}

.design-list li strong {
    color: var(--dark);
}

/* ===== APPLICATIONS ===== */
.applications {
    background: var(--bg-alt);
}

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

.applications-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.applications-content h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.applications-content > p {
    color: var(--text);
    margin-bottom: 25px;
}

.applications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.applications-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.applications-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.applications-list li svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

.applications-note {
    font-style: italic;
    color: var(--text-light);
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

.applications-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.applications-image img {
    width: 100%;
    height: auto;
}

/* ===== PRODUCTS ===== */
.products {
    background: var(--bg);
}

.products-table-wrapper {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.products-table-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.products-table-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.table-responsive {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.products-table th,
.products-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.products-table td:first-child,
.products-table td:nth-child(2) {
    font-weight: 600;
}

.products-table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.products-table tr:last-child td {
    border-bottom: none;
}

.products-table tr:hover td {
    background: var(--bg-alt);
}

.products-table td:first-child {
    color: var(--primary);
}

.products-table td:nth-child(2) {
    color: var(--dark);
}

.table-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ===== ADVANTAGES ===== */
.advantages {
    background: var(--bg-alt);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.advantages-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantage-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.advantage-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.advantages-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 100px;
}

.advantages-image img {
    width: 100%;
    height: auto;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(249, 115, 22, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay svg {
    width: 40px;
    height: 40px;
    color: white;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== CONTACTS ===== */
.contacts {
    background: var(--bg-alt);
}

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

.contacts-info h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.contacts-info h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacts-info > p {
    color: var(--text);
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-text span {
    font-size: 13px;
    color: var(--text-light);
}

.contact-text strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
    margin-top: 3px;
}

/* Form */
.contacts-form {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.contacts-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 60px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== FLOATING BUTTON ===== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    animation: floatPulse 2s infinite;
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(37, 99, 235, 0.6); }
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-slider {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .slider-wrapper {
        min-height: 350px;
    }
    
    .tabs-container {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .sidebar {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .section {
        padding: 60px 20px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .footer {
        padding: 40px 20px 20px;
    }
    
    .about-grid,
    .applications-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .advantages-cards {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-img.main {
        grid-row: span 1;
        grid-column: span 2;
    }
    
    .about-img.main img {
        min-height: 250px;
    }
    
    .about-img.secondary img,
    .about-img.tertiary img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .slider-wrapper {
        min-height: 280px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-contacts {
        align-items: center;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .products-table-wrapper {
        padding: 15px;
        margin: 0 -5px;
        border-radius: var(--radius);
    }
    
    .products-table th,
    .products-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .contacts-form {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-text strong {
        font-size: 15px;
    }
    
    .about-img.secondary img,
    .about-img.tertiary img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .about-img.main {
        grid-column: span 1;
    }
    
    .about-img.main img {
        min-height: 200px;
    }
    
    .about-img.secondary img,
    .about-img.tertiary img {
        height: 180px;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .applications-list li {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .slider-wrapper {
        min-height: 220px;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    .advantage-number {
        font-size: 36px;
    }
}
