:root {
    --primary: #1E40AF;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --success: rgba(16, 185, 129, 0.9);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.2);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-color: #e5e7eb;
    --cell-bg: transparent;
    --row-even-bg: #f8f9fa;
    --row-hover-bg: #f1f5ff;
    --notes-bg: #f8f9fa;
    --scrollbar-track: #f1f1f1;
    --scrollbar-thumb: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background: #e0f2fe;
    min-height: 100vh;
    overflow-x: hidden;
    transition: var(--transition);
}

.dark-mode {
    --dark: #f1f5f9;
    --darker: #e2e8f0;
    --light: #0f172a;
    --gray: #cbd5e1;
    --gray-light: #475569;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
     --border-color: rgba(255, 255, 255, 0.1);
    --cell-bg: transparent;
    --row-even-bg: rgba(255, 255, 255, 0.03);
    --row-hover-bg: rgba(37, 99, 235, 0.15);
    --notes-bg: rgba(255, 255, 255, 0.05);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 50px 0 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle2 {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 1000px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dark);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.dark-mode .card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled {
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    color: var(--dark);
}

.dark-mode .nav-link {
    color: #f1f5f9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.dark-mode .theme-toggle {
    color: #f1f5f9;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.dark-mode .mobile-toggle {
    color: #f1f5f9;
}

.hero {
    padding: 150px 0 80px !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff" opacity="0.7"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.dark-mode .hero::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%230f172a" opacity="0.7"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    justify-content: center;
}

.hero-text {
    max-width: 1000px;
}

.hero-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.dark-mode .hero-title {
    color: var(--darj);
}

.hero-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.dark-mode .floating-element {
    background: var(--glass-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(1) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 85%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.pipe-selector {
    position: relative;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.filter-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dark);
}

.dark-mode .filter-group {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.filter-group h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group h3 i {
    color: var(--secondary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    width: 230px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}

.dark-mode .filter-btn {
    color: #f1f5f9;
    border-color: var(--gray);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pipe-slider-container {
    position: relative;
    margin-top: 30px;
    width: 100%;
    overflow: hidden;
}

.pipe-slider {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dark);
    min-height: 54vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.dark-mode .pipe-slider {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    height: 100%;
}

.slide {
    min-width: 100%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.slide-image {
    width: 100%;
    max-width: 500px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 15px;
}

.dark-mode .slide-image {
    box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.slide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4);
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--direction-color);
    font-weight: 700;
}

.slide-desc {
    text-align: center;
    max-width: 600px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.slide-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--direction-light);
    color: var(--direction-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    min-width: 200px;
    justify-content: center;
}

.feature-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-tag i,
.feature-tag span {
    font-size: 1.5rem;
}

.slide-actions {
    margin-top: 20px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: var(--transition);
    color: var(--dark);
}

.dark-mode .slider-arrow {
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
}

.slider-arrow:hover {
    background: var(--direction-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    margin-top: auto;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    border-color: var(--light);
    box-shadow: 0 0 0 3px var(--direction-color),
                0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark-mode .slider-dot {
    background-color: var(--gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .slider-dot.active {
    border-color: var(--darker);
    box-shadow: 0 0 0 3px var(--direction-color),
                0 4px 12px rgba(0, 0, 0, 0.4);
}

.slider-dot:hover:not(.active) {
    transform: scale(1.2);
    background-color: var(--direction-color);
    opacity: 0.7;
}

.dark-mode .slider-dot:hover:not(.active) {
    transform: scale(1.2);
    background-color: var(--direction-color);
    opacity: 0.7;
}

.pipe-slider-container.no-results {
    min-height: 250px;
    height: 250px;
}

.pipe-slider-container.no-results .pipe-slider {
    min-height: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin: 0;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode .pipe-slider-container.no-results .pipe-slider {
    background: rgba(15, 23, 42, 0.9);
}

.pipe-slider-container.no-results .slider-container {
    display: none;
}

.pipe-slider-container.no-results .slider-nav {
    display: none;
}

.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    font-size: 1.1rem;
    display: none;
    width: 100%;
}

.pipe-slider-container.no-results .no-results-message {
    display: block;
}

.no-results-message i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--gray-light);
    display: block;
}

.no-results-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .no-results-message h3 {
    color: #f1f5f9;
}

.no-results-message p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.water-slide {
    --direction-color: #3b82f6;
    --direction-light: #dbeafe;
    --direction-dark: #1d4ed8;
}

.gas-slide {
    --direction-color: #f59e0b;
    --direction-light: #fef3c7;
    --direction-dark: #d97706;
}

.electric-slide {
    --direction-color: #ef4444;
    --direction-light: #fee2e2;
    --direction-dark: #dc2626;
}

.dark-mode .water-slide {
    --direction-color: #60a5fa;
    --direction-light: rgba(59, 130, 246, 0.25);
}

.dark-mode .gas-slide {
    --direction-color: #fbbf24;
    --direction-light: rgba(245, 158, 11, 0.25);
}

.dark-mode .electric-slide {
    --direction-color: #f87171;
    --direction-light: rgba(239, 68, 68, 0.25);
}

.slide .btn-primary {
    background: linear-gradient(135deg, var(--direction-color) 0%, var(--direction-dark) 100%);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slide .btn-primary:hover {
    background: linear-gradient(135deg, var(--direction-dark) 0%, var(--direction-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.filter-btn.active[data-filter="water"] {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: white !important;
}

.filter-btn.active[data-filter="gas"] {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: white !important;
}

.filter-btn.active[data-filter="electric"] {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.filter-btn.active[data-filter="protected"] {
    background: rgba(16, 185, 129, 0.9) !important;;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white;
}

.filter-btn.active[data-filter="unprotected"] {
    background: #6b7280;
    border-color: #6b7280;
    color: white;
}

.features {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.dark-mode .features {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff" opacity="0.3"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.dark-mode .features::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%230f172a" opacity="0.3"></path></svg>');
}

.img-hero {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px) !important;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.dark-mode .feature-card h3 {
    color: #f1f5f9;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

.page-content {
    padding: 130px 0 60px;
    min-height: 70vh;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text {
    max-width: 600px;
}

.content-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--dark);
    line-height: 1.2;
}

.dark-mode .content-title {
    color: #f1f5f9;
}

.content-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-list {
    margin: 1.5rem 0;
}

.content-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.content-list i {
    color: var(--primary);
    margin-top: 4px;
}

.content-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.catalog-card {
    text-align: center;
    padding: 25px 20px;
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-8px);
}

.catalog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: var(--shadow);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 25px 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 40px;
    max-width: 700px;
}

.filter-group h3 i {
    color: var(--dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--dark);
}

.dark-mode .form-group label {
    color: #f1f5f9;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    color: var(--dark);
}

.dark-mode .form-control {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

footer {
    background: linear-gradient(135deg, var(--darker) 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 15px;
}

.dark-mode footer {
    background: linear-gradient(135deg, #0a0f1a 0%, #111827 100%);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 1.2rem;
    color: var(--secondary);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.footer-col a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #e2e8f0;
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.copyright {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.85rem;
}

.direction-hero .section-title {
    color: white;
    background: none;
}

.direction-hero {
    transition: background 0.5s ease-in-out;
}

.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.dark-mode .specs-table th, .dark-mode .specs-table td {
    border-bottom: 1px solid var(--gray);
}

.specs-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.specs-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.7);
}

.dark-mode .specs-table tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.7);
}

.specs-table tr:hover {
    background: rgba(37, 99, 235, 0.1);
}

.application-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.application-card {
    text-align: center;
    padding: 25px 20px;
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-8px) !important;
}

.application-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.dark-mode .benefit-item {
    background: rgba(15, 23, 42, 0.7);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.dark-mode .benefit-item:hover {
    background: rgba(15, 23, 42, 0.9);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.download-section {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    margin: 40px 0;
}

.dark-mode .download-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.download-buttons a,
.download-buttons button {
    width: 370px;
    height: 48px;
}


.bg-gradient-light {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.dark-mode .bg-gradient-light {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.95);
}

.specs-table {
    width: 68%;
    height: 100%;
    border-color:  var(--dark);
    border-collapse: collapse;
    overflow: hidden;
}

.dark-mode .specs-table {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
}

.dark-mode .specs-table th,
.dark-mode .specs-table td {
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.specs-table tr:hover {
    background: rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.dark-mode .specs-table tr:hover {
    background: rgba(37, 99, 235, 0.25);
}

.pipe-slider.inset-shadow {
    box-shadow: inset 0 0 0 1px #e2e8f0, 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dark-mode .pipe-slider.inset-shadow {
    box-shadow: inset 0 0 0 1px #374151, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pipe-slider {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: none !important;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    min-height: 54vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dark-mode .pipe-slider {
    background: #1e293b;
    border: 1px solid #374151;
    box-shadow: none !important;
}

.slide-image {
    width: 100%;
    max-width: 500px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: none !important;
    background: #ffffff;
    padding: 15px;
    border: 1px solid #f1f5f9;
}

.dark-mode .slide-image {
    background: #1e293b;
    border: 1px solid #374151;
    box-shadow: none !important;
}

footer {
    background: #ffffff;
    color: #334155;
    padding: 60px 0 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.dark-mode footer {
    background: linear-gradient(135deg, #0a0f1a 0%, #111827 100%);
    color: white;
    border-top: 1px solid #374151;
}

footer .footer-col h4 {
    color: #1e293b;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

footer .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

footer .footer-col a {
    color: #475569;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dark-mode footer .footer-col a {
    color: #e2e8f0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

footer .footer-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #475569;
}

footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

footer .social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #475569;
    border: 1px solid #e2e8f0;
}

footer .copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
}

.dark-mode footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

footer {
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.dark-mode footer {
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

footer .footer-contact li i,
footer .footer-col a i {
    color: var(--primary);
}

.features {
    margin-bottom: 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.dark-mode footer::before {
    opacity: 1;
}

.dark-mode footer {
    background: linear-gradient(135deg, #0a0f1a 0%, #111827 100%);
    color: #ffffff !important;
    border-top: 1px solid #374151;
}

.dark-mode footer .footer-col h4 {
    color: #ffffff !important;
}

.dark-mode footer .footer-col h4::after {
    background: var(--primary);
}

.dark-mode footer .footer-col a:hover {
    transform: translateX(4px);
}

.dark-mode footer .footer-contact li {
    color: #e2e8f0 !important;
}

.dark-mode footer .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1 !important;
}

.fab.fa-vk {
    color: var(--primary-dark)
}

.fab.fa-telegram {
    color: var(--primary-light)
}

.fab.fa-whatsapp {
    color: var(--success) !important;
}

.fab.fa-youtube {
    color: red
}

.dark-mode footer .social-link:hover:nth-child(1),
footer .social-link:hover:nth-child(1) {
    border-color: var(--primary-dark);
}

.dark-mode footer .social-link:hover:nth-child(2),
footer .social-link:hover:nth-child(2) {
    border-color: var(--primary-light);
}

.dark-mode footer .social-link:hover:nth-child(3),
footer .social-link:hover:nth-child(3) {
    border-color: var(--success);
}

.dark-mode footer .social-link:hover:nth-child(4),
footer .social-link:hover:nth-child(4) {
    border-color: red;
}

.slide-content {
    position: relative;
    z-index: 10;
}

.slider-arrow {
    pointer-events: auto;
}

.slider-arrow {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.slider-arrow:hover {
    opacity: 1;
}

.slide-image {
    width: 100%;
    max-width: 700px;
    height: 350px;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 15px;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #f1f5f9;
}

.dark-mode .slide-image {
    background: #1e293b;
    border: 1px solid #374151;
}

.pipe-slider {
    min-height: 60vh;
}

.slide-content {
    max-width: 1300px;
}

.slide-image {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dark-mode .slide-image {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filter-btn.active,
.filter-btn:hover {
    transition: all 0.3s ease !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="water"]:hover {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="gas"]:hover {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="electric"]:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.filter-btn.active[data-filter="protected"] {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.filter-btn.active[data-filter="unprotected"] {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.filter-group:nth-child(3) .filter-btn[data-filter="protected"]:hover {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.filter-group:nth-child(3) .filter-btn[data-filter="unprotected"]:hover {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.filter-group h3 {
    color: var(--dark);
}

.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-group:nth-child(1) .filter-btn[data-filter="water"]:hover:not(.active) {
    background: rgba(59, 130, 246, 0.9) !important;
    border-color: #3b82f6 !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="gas"]:hover:not(.active) {
    background: rgba(245, 158, 11, 0.9) !important;
    border-color: #f59e0b !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="electric"]:hover:not(.active) {
    background: rgba(239, 68, 68, 0.9) !important;
    color: white !important;
}

.filter-btn.active[data-filter="protected"] {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.filter-btn.active[data-filter="unprotected"] {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

.filter-group:nth-child(3) .filter-btn[data-filter="protected"]:hover:not(.active) {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.filter-group:nth-child(3) .filter-btn[data-filter="unprotected"]:hover:not(.active) {
    background: rgba(107, 114, 128, 0.9) !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.slider-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.voltage-filter-group {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
}

.voltage-filter-group[style*="display: block"] {
    display: flex !important;
    opacity: 1;
    max-height: 200px;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.voltage-filter-group.show {
    display: flex !important;
    opacity: 1;
    max-height: 200px;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.voltage-filter-group1 .filter-btn.active {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.voltage-filter-group1 .filter-btn:hover:not(.active) {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

.voltage-filter-group .filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-width: 2px;
}

.voltage-filter-group .filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    position: relative;
    border-radius: 5px;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: -120px;
    width: 230px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    margin-top: 10px;
}

.dark-mode .dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
    color: var(--dark);
    font-weight: 700;
}

.dark-mode .dropdown-link {
    color: #f1f5f9;
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.dropdown-link[data-direction="water"] i {
    color: #3b82f6;
}

.dropdown-link[data-direction="gas"] i {
    color: #f59e0b;
}

.dropdown-link[data-direction="electric"] i {
    color: #ef4444;
}

.dropdown-link[data-direction="water"]:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: translateX(5px);
}

.dropdown-link[data-direction="gas"]:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    transform: translateX(5px);
}

.dropdown-link[data-direction="electric"]:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: translateX(5px);
}

.dropdown-link[data-direction="water"]:active {
    background: rgba(59, 130, 246, 0.2);
}

.dropdown-link[data-direction="gas"]:active {
    background: rgba(245, 158, 11, 0.2);
}

.dropdown-link[data-direction="electric"]:active {
    background: rgba(239, 68, 68, 0.2);
}

.dropdown-link {
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInRight 0.3s ease forwards;
}

.dropdown-link:nth-child(1) {
    animation-delay: 0.1s;
}

.dropdown-link:nth-child(2) {
    animation-delay: 0.15s;
}

.dropdown-link:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.dropdown-toggle.active::after {
    display: none !important;
}

.dropdown-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.dropdown-link[data-direction="water"].active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dropdown-link[data-direction="gas"].active {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.dropdown-link[data-direction="electric"].active {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.hero-image-fallback {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-image-fallback i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.minimal-design {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-mode .minimal-design {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.direction-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.direction-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark-mode .direction-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dark-mode .direction-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.direction-card.water {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.direction-card.gas {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.direction-card.electric {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.dark-mode .direction-card.water {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.dark-mode .direction-card.gas {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.dark-mode .direction-card.electric {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.direction-card.water .card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.direction-card.gas .card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.direction-card.electric .card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.direction-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .direction-card h3 {
    color: #f1f5f9;
}

.direction-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.direction-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.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;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown.active .dropdown-toggle {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.dark-mode .dropdown.active .dropdown-toggle {
    background: rgba(37, 99, 235, 0.2);
}

.pipe-selector {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.dark-mode .pipe-selector {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.pipe-selector .filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pipe-selector .filter-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .pipe-selector .filter-group {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pipe-selector .filter-group h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pipe-selector .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pipe-selector .filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark);
}

.dark-mode .pipe-selector .filter-btn {
    color: #f1f5f9;
    border-color: var(--gray);
}

.pipe-selector .filter-btn.active,
.pipe-selector .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pipes-table-container {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .pipes-table-container {
    background: rgba(15, 23, 42, 0.95);
}

.table-responsive {
    overflow-x: auto;
}

.pipes-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.pipes-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.pipes-table td {
    padding: 0;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: top;
}

.pipes-table tr:nth-last-child(1)
.pipes-table tr td {
    border-bottom: none;

}

.dark-mode .pipes-table td {
    border-bottom: 1px solid var(--gray);
}

.pipe-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 350px;
    gap: 0;
}

.pipe-images-section {
    background: transparent;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--gray-light);
}

.dark-mode .pipe-images-section {
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pipe-info-section {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pipe-images-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pipe-main-image,
.pipe-overlay-image {
    width: 300px;
    height: 250px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.pipe-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.dark-mode .pipe-name {
    color: #f1f5f9;
}

.pipe-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pipe-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.dark-mode .spec-value {
    color: #f1f5f9;
}

.pipe-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.pipe-actions .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9rem;
    text-align: center;
}

.pipe-selector .filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.pipe-selector .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.pipe-selector .filter-btn:hover::before {
    left: 100%;
}

.pipe-selector .filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.pipe-selector .filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pipe-selector .filter-group:nth-child(1) .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pipe-selector .filter-group:nth-child(1) .filter-btn:hover:not(.active) {
    background: rgba(37, 99, 235, 0.9) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.pipe-selector .filter-btn.active[data-filter="protected"] {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.pipe-selector .filter-btn.active[data-filter="unprotected"] {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(2) .filter-btn[data-filter="protected"]:hover:not(.active) {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(2) .filter-btn[data-filter="unprotected"]:hover:not(.active) {
    background: rgba(107, 114, 128, 0.9) !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.dark-mode .no-results h3 {
    color: #f1f5f9;
}

.no-results p {
    color: var(--gray);
}

.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-group:nth-child(1) .filter-btn[data-filter="water"]:hover:not(.active) {
    background: rgba(59, 130, 246, 0.9) !important;
    border-color: #3b82f6 !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="gas"]:hover:not(.active) {
    background: rgba(245, 158, 11, 0.9) !important;
    border-color: #f59e0b !important;
    color: white !important;
}

.filter-group:nth-child(1) .filter-btn[data-filter="electric"]:hover:not(.active) {
    background: rgba(239, 68, 68, 0.9) !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.filter-btn.active[data-filter="protected"] {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.filter-btn.active[data-filter="unprotected"] {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

.filter-group:nth-child(3) .filter-btn[data-filter="protected"]:hover:not(.active) {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

.filter-group:nth-child(3) .filter-btn[data-filter="unprotected"]:hover:not(.active) {
    background: rgba(107, 114, 128, 0.9) !important;
    border-color: #6b7280 !important;
    color: white !important;
}

.filter-group:nth-child(2) .filter-btn.active,
.voltage-filter-group .filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-width: 2px;
}

.filter-group:nth-child(2) .filter-btn:hover:not(.active),
.voltage-filter-group .filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.voltage-filter-group {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.voltage-filter-group.show {
    opacity: 1;
    max-height: 200px;
}

.slider-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.logo-icon {
    display: none;
}

.filter-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-row {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.filter-group h3 {
    margin-bottom: 0;
    min-width: 180px !important;
}

.filter-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px;
    justify-content: flex-start;
}

.light-logo {
    display: block;
}

.dark-logo {
    display: none;
}

.dark-mode .light-logo {
    display: none;
}

.dark-mode .dark-logo {
    display: block;
}

.icon-svg {
    display: inline-block;
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    transition: all 0.3s ease;
}

.icon-svg,
.filter-btn i {
    font-size: 1.5rem;
    width: 25.4px !important;
    height: 25.4px !important;
}

.single-layer {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
}

.double-layer {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
}

.triple-layer {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='2' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='black' stroke-width='2.5'/%3E%3Ccircle cx='12' cy='12' r='2' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}



.filter-group:nth-child(2) .filter-btn1:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}
.filter-group:nth-child(2) .filter-btn1:hover:not(.active) {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}
.pipe-selector .filter-group:nth-child(1) .filter-btn1:hover:not(.active) {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(1) .filter-btn1.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.filter-group:nth-child(2) .filter-btn1:hover:not(.active) {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.filter-group:nth-child(2) .filter-btn2:hover {
    background: #e58e0b !important;
    border-color: #e58e0b !important;
    color: white !important;
}
.filter-group:nth-child(2) .filter-btn2:hover:not(.active) {
    background: #e58e0b !important;
    border-color: #e58e0b !important;
    color: white !important;
}
.pipe-selector .filter-group:nth-child(1) .filter-btn2:hover:not(.active) {
    background: #e58e0b !important;
    border-color: #e58e0b !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(1) .filter-btn2.active {
    background: #e58e0b;
    border-color: #e58e0b;
    color: white;
}

.filter-group:nth-child(2) .filter-btn2:hover:not(.active) {
    background: #e58e0b !important;
    border-color: #e58e0b !important;
    color: white !important;
}



.filter-group:nth-child(2) .filter-btn3:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}
.filter-group:nth-child(2) .filter-btn3:hover:not(.active) {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}
.pipe-selector .filter-group:nth-child(1) .filter-btn3:hover:not(.active) {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(1) .filter-btn3.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn3:hover:not(.active) {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn3.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn2:hover:not(.active) {
    background: #e58e0b !important;
    border-color: #e58e0b !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn2.active {
    background: #e58e0b;
    border-color: #e58e0b;
    color: white;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn1:hover:not(.active) {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.pipe-selector .filter-group:nth-child(3) .filter-btn1.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.filter-group:nth-child(2) .filter-btn3:hover:not(.active) {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: var(--shadow);
}

.contact-info .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info .contact-card {
    transition: var(--transition);
    flex: 1;
}

.contact-info .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.dark-mode .contact-card h3 {
    color: #f1f5f9;
}

.contact-card p {
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 5px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    height: 100%;
    display: block;
}

.contact-info a .contact-card {
    height: 100%;
}

header {
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease,
              padding 0.3s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}

.header-scrolled {
  box-shadow: var(--shadow);
  padding: 10px 0;
}

header:not(.header-scrolled) {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode header:not(.header-scrolled) {
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-tag {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.feature-tag .icon-svg {
    flex-shrink: 0;
}

.feature-tag {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box;
    text-align: center;
}

.feature-tag span {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
}

.dark-mode header {
    background: rgba(15, 23, 42, 0.98) !important;
}

header:not(.header-scrolled) {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.dark-mode header:not(.header-scrolled) {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

.header-scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15) !important;
}

.dark-mode .header-scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4) !important;
}

header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.dark-mode header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}


.hero-image-container {
    margin: 40px 0 0 !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 12px;
    display: block;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.water-col {
    color: #2563eb !important;
}

.water-bg {
    background: #2563eb !important;
}

.water-bg-gr {
    color: #2563eb;
}

.water-after::after {
    background:#2563eb !important;
}

.water-hov:hover {
    background: #2563eb !important;
    color: #fff !important;
}

.water-hov-col:hover {
    color: #2563eb !important;
}

.water-drop.dropdown.active .dropdown-toggle {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563eb !important;
}

.gas-col {
    color: #d97706 !important;
}

.gas-bg {
    background: #e58e0b !important;
}

.gas-bg-gr {
    color: #e58e0b;
}

.gas-after::after {
    background:#e58e0b !important;
}

.gas-hov:hover {
    background: #e58e0b;
    color: #fff !important;
}

.gas-hov-col:hover {
    color: #e58e0b !important;
}

.gas-drop.dropdown.active .dropdown-toggle {
    background: rgba(229, 142, 11, 0.15) !important;
    color: #e58e0b !important;
}

.elect-col {
    color: #ef4444 !important;
}

.elect-bg {
    background: #ef4444 !important;
}

.elect-bg-gr {
    color: #ef4444;
}

.elect-after::after {
    background:#ef4444 !important;
}

.elect-hov:hover {
    background: #ef4444;
    color: #fff !important;
}

.elect-hov-col:hover {
    color: #ef4444 !important;
}

.elect-drop.dropdown.active .dropdown-toggle {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

.pipes-table {
    border-collapse: separate !important;
    border-spacing: 0 15px !important;
}

.pipes-table tr {
    display: block;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
}

.dark-mode .pipes-table tr {
    background: rgba(15, 23, 42, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
}

.pipes-table td {
    display: block;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.pipes-table tr[style*="background"] {
    z-index: 100 !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
}

.dark-mode .pipes-table tr[style*="background"] {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
}

.pipe-info-section {
    padding: 20px !important;
}

.pipes-table-container {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 30px 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.pipes-table tr[style*="border:"] {
    border-width: 3px !important;
    border-style: solid !important;
    border-color: #3b82f6 !important;
}

.pipes-table tr[style*="box-shadow:"] {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
}

.dark-mode .pipes-table tr[style*="box-shadow:"] {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
}

.pipe-table-row {
    margin-bottom: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.pipes-table.gas tr[style*="border:"] {
    border-width: 3px !important;
    border-style: solid !important;
    border-color: #e58e0b !important;
}

.pipes-table.gas tr[style*="box-shadow:"] {
    box-shadow: 0 0 15px rgba(229, 142, 11, 0.5) !important;
}

.dark-mode .pipes-table.gas tr[style*="box-shadow:"] {
    box-shadow: 0 0 15px rgba(229, 142, 11, 0.5) !important;
}

.pipes-table.elect tr[style*="border:"] {
    border-width: 3px !important;
    border-style: solid !important;
    border-color: #ef4444 !important;
}

.pipes-table.elect tr[style*="box-shadow:"] {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
}

.dark-mode .pipes-table.elect tr[style*="box-shadow:"] {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
}

.feature-tag {
    width: 270px;
}

.specs-table.gas tr:hover {
    background: rgba(229, 142, 11, 0.15) !important;
}

.specs-table.elect tr:hover {
    background: rgba(239, 68, 68, 0.15) !important;
}


.icon-packaging {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.packaging-cut {
    position: relative;
    width: 18px;
    height: 14px;
}

.packaging-cut::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px 2px 0 0;
}

.packaging-cut::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 0 0 2px 2px;
}

.packaging-cut span {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.packaging-coil {
    position: relative;
    width: 18px;
    height: 18px;
}

.packaging-coil::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    border-radius: 50%;
    transform: rotate(45deg);
}

.packaging-coil::after {
    content: "→";
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 8px;
    font-weight: bold;
    color: #000;
    transform: rotate(45deg);
}

[data-theme="dark"] .packaging-cut::before,
[data-theme="dark"] .packaging-cut::after,
[data-theme="dark"] .packaging-cut span {
    border-color: #fff;
    background: #fff;
}

[data-theme="dark"] .packaging-coil::before {
    border-top-color: #fff;
    border-right-color: #fff;
}

[data-theme="dark"] .packaging-coil::after {
    color: #fff;
}

.filter-btn.active .packaging-cut::before,
.filter-btn.active .packaging-cut::after,
.filter-btn.active .packaging-cut span {
    background: #fff;
    border-color: #fff;
}

.filter-btn.active .packaging-coil::before {
    border-top-color: #fff;
    border-right-color: #fff;
}

.filter-btn.active .packaging-coil::after {
    color: #fff;
}

.otr {
    width: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.otr.buht {
    display: none;
}

.otr.buht.active {
    display: block;
}

.otr.buht.active[src*="blc"] {
    display: block;
}

.otr.buht[src*="wht"] {
    display: none;
}

.filter-btn:hover .otr.buht.active[src*="blc"] {
    display: none;
}

.filter-btn:hover .otr.buht[src*="wht"] {
    display: block;
}

.dark-mode .otr.buht.active[src*="blc"] {
    display: none;
}

.dark-mode .otr.buht[src*="wht"] {
    display: block;
}

.dark-mode .filter-btn:hover .otr.buht.active[src*="blc"] {
    display: none;
}

.dark-mode .filter-btn:hover .otr.buht[src*="wht"] {
    display: block;
}

.filter-btn.active .otr.buht.active[src*="blc"] {
    display: none;
}

.filter-btn.active .otr.buht[src*="wht"] {
    display: block;
}

.filter-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.filter-btn.touch-active {
    transform: scale(0.95);
    opacity: 0.8;
}

.filter-options {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.filter-btn,
.slider-arrow,
.theme-toggle,
.mobile-toggle {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.direction-hero {
    padding: 150px 0 80px;
    color: white;
    text-align: center;
    position: relative;
}

.slide-logo {
    transition: var(--transition);
}

.slide-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.dark-mode .slide-logo img.light-logo {
    display: none;
}

.dark-mode .slide-logo img.dark-logo {
    display: block;
}

.slide-logo img.dark-logo {
    display: none;
}

.w-b {
    background: url('../img/water.jpg') center/cover !important;
}

.g-b {
    background: url('../img/gas.bmp') center/cover !important;
    transform: scale(-1, -1);
}

.e-b {
    background: url('../img/elect.jfif') center/cover !important;
}

.direction-hero .container {
    position: relative;
    z-index: 2;
}

.water-d {
    color: var(--dark) !important;
}

.section.pipe-selector {
    margin-bottom: 0 !important;
}

footer {
    margin-top: 0 !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-color, #ffffff);
    margin: 20px auto;
    padding: 35px;
    border-radius: 16px;
    width: 100%;
    max-width: 1400px;
    min-height: 85vh;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--dark, #666);
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.modal-close:hover {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.1);
}

.modal-title {
    color: #2563eb !important;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2563eb !important;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-body {
    overflow-x: auto;
    padding: 5px;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    min-width: 1300px;
}

.modal-table th {
    background-color: #2563eb !important;
    color: white;
    font-weight: 600;
    padding: 18px 15px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-table th[colspan] {
    background-color: rgba(37, 99, 235, 0.9);
}

.modal-table th[rowspan] {
    background-color: rgba(37, 99, 235, 0.85);
}

.modal-table td {
    padding: 16px 15px;
    border: 1px solid var(--border-color, #e5e7eb);
    text-align: center;
    vertical-align: middle;
    background-color: var(--cell-bg, transparent);
}

.modal-table tr:nth-child(even) td {
    background-color: var(--row-even-bg, #f8f9fa);
}

.modal-table tr:hover td {
    background-color: var(--row-hover-bg, #f1f5ff) !important;
}

.dark-mode .modal-content {
    background-color: var(--light, #1e293b);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .modal-table th {
    background-color: #2563eb;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .modal-table td {
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--dark, #f1f5f9);
}

.dark-mode .modal-table tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.03);
}

.dark-mode .modal-table tr:hover td {
    background-color: rgba(37, 99, 235, 0.15) !important;
}

.dark-mode .modal-title {
    color: #60a5fa;
}

.dark-mode .modal-close {
    color: #cbd5e1;
}

.dark-mode .modal-close:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.modal-notes {
    margin-top: 25px;
    padding: 20px;
    background: var(--notes-bg, #f8f9fa);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    border-left: 4px solid #2563eb !important;
}

.dark-mode .modal-notes {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #60a5fa;
}

.modal-notes p {
    margin: 8px 0;
}

.modal-notes sup {
    font-size: 0.85em;
}


.table-scroll-container {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.dark-mode .table-scroll-container {
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #2563eb);
    border-radius: 5px;
}

.dark-mode .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .modal-content::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.modal-table::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-table {
    margin-bottom: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 3px;
    margin: 10px;
}

.modal-table th[colspan] {
    background-color: var(--table-header-bg, #f1f5f9) !important;
}

.modal-table th[rowspan] {
    background-color: var(--table-header-bg, #f1f5f9) !important;
}

.dark-mode .modal-table th {
    background-color: var(--dark, #334155) !important;
    color: var(--light, #f1f5f9) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.water-page .modal-close:hover {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.1);
}

.water-page .modal-title {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
}

.water-page .modal-notes {
    border-left-color: #2563eb !important;
}

.water-page .modal-content::-webkit-scrollbar-thumb {
    background: #2563eb;
}

.water-page .modal-table tr:hover td {
    background-color: rgba(37, 99, 235, 0.05) !important;
}

.dark-mode.water-page .modal-table tr:hover td {
    background-color: rgba(96, 165, 250, 0.15) !important;
}

.gas-page .modal-close:hover {
    color: #e58e0b !important;
    background: rgba(229, 142, 11, 0.1);
}

.gas-page .modal-title {
    color: #e58e0b !important;
    border-bottom-color: #e58e0b !important;
}

.gas-page .modal-notes {
    border-left-color: #e58e0b !important;
}

.gas-page .modal-content::-webkit-scrollbar-thumb {
    background: #e58e0b;
}

.gas-page .modal-table tr:hover td {
    background-color: rgba(229, 142, 11, 0.05) !important;
}

.dark-mode.gas-page .modal-table tr:hover td {
    background-color: rgba(251, 191, 36, 0.15) !important;
}

.electric-page .modal-close:hover {
    color: #ef4444 !important;
    background: rgba(16, 185, 129, 0.1);
}

.electric-page .modal-title {
    color: #ef4444 !important;
    border-bottom-color: #ef4444 !important;
}

.electric-page .modal-notes {
    border-left-color: #ef4444 !important;
}

.electric-page .modal-content::-webkit-scrollbar-thumb {
    background: #ef4444;
}

.electric-page .modal-table tr:hover td {
    background-color: rgba(239, 68, 68, 0.15) !important;
}

.modal-table th {
    background-color: var(--row-even-bg, #f8fafc) !important;
    color: var(--table-header-color, #1e293b) !important;
    font-weight: 600;
    padding: 18px 15px;
    text-align: center;
    border: 1px solid var(--border-color, #e5e7eb);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-table th[colspan],
.modal-table th[rowspan] {
    background-color: var(--row-even-bg, #f8fafc) !important;
}

.dark-mode .modal-table th,
.dark-mode .modal-table th[colspan],
.dark-mode .modal-table th[rowspan] {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.modal-table td {
    padding: 16px 15px;
    border: 1px solid var(--border-color, #e5e5e5);
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
}

.modal-table tr:nth-child(even) td {
    background-color: var(--row-even-bg, #f8fafc);
}

.dark-mode .modal-table tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar {
    height: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 3px;
    margin: 0 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #2563eb);
    border-radius: 3px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.dark-mode .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .modal-body::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.water-page .modal-body::-webkit-scrollbar-thumb {
    background: #2563eb;
}

.dark-mode.water-page .modal-body::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.gas-page .modal-body::-webkit-scrollbar-thumb {
    background: #e58e0b;
}

.dark-mode.gas-page .modal-body::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.7);
}

.electric-page .modal-body::-webkit-scrollbar-thumb {
    background: #ef4444;
}

.dark-mode.electric-page .modal-body::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.7);
}

.modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb, #2563eb) var(--scrollbar-track, #f1f1f1);
}

.water-page .modal-body {
    scrollbar-color: #2563eb var(--scrollbar-track, #f1f1f1);
}

.gas-page .modal-body {
    scrollbar-color: #e58e0b var(--scrollbar-track, #f1f1f1);
}

.electric-page .modal-body {
    scrollbar-color: #ef4444 var(--scrollbar-track, #f1f1f1);
}

.dark-mode .modal-body {
    scrollbar-color: rgba(96, 165, 250, 0.7) rgba(255, 255, 255, 0.05);
}

.dark-mode.water-page .modal-body {
    scrollbar-color: rgba(96, 165, 250, 0.7) rgba(255, 255, 255, 0.05);
}

.dark-mode.gas-page .modal-body {
    scrollbar-color: rgba(251, 191, 36, 0.7) rgba(255, 255, 255, 0.05);
}

.dark-mode.electric-page .modal-body {
    scrollbar-color: rgba(239, 68, 68, 0.7) rgba(255, 255, 255, 0.05);
}

.modal-table {
    width: auto;
    min-width: auto;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 15px;
    table-layout: fixed;
}

.modal-table th,
.modal-table td {
    padding: 16px 15px;
    border: 1px solid var(--border-color, #e5e7eb);
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
    box-sizing: border-box;
}

.modal-table.span3-4 {
    width: 90%;
    max-width: 800px;
}

.modal-table.wide-table {
    width: 100%;
    min-width: 600px;
}

.modal-table th {
    background-color: var(--table-header-bg, #f8fafc) !important;
    color: var(--table-header-color, #1e293b) !important;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-table th[colspan],
.modal-table th[rowspan] {
    background-color: var(--table-header-bg, #f8fafc) !important;
}

.dark-mode .modal-table th,
.dark-mode .modal-table th[colspan],
.dark-mode .modal-table th[rowspan] {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.table-scroll-container {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    margin: 20px 0;
    padding: 5px;
}

.table-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-container::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 3px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #2563eb);
    border-radius: 3px;
}

.dark-mode .table-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .table-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.water-page .table-scroll-container::-webkit-scrollbar-thumb {
    background: #2563eb;
}

.gas-page .table-scroll-container::-webkit-scrollbar-thumb {
    background: #e58e0b;
}

.electric-page .table-scroll-container::-webkit-scrollbar-thumb {
    background: #ef4444;
}

.table-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb, #2563eb) var(--scrollbar-track, #f1f1f1);
}

.water-page .table-scroll-container {
    scrollbar-color: #2563eb var(--scrollbar-track, #f1f1f1);
}

.gas-page .table-scroll-container {
    scrollbar-color: #e58e0b var(--scrollbar-track, #f1f1f1);
}

.electric-page .table-scroll-container {
    scrollbar-color: #ef4444 var(--scrollbar-track, #f1f1f1);
}

.modal-table.compact {
    font-size: 14px;
}

.modal-table.compact th,
.modal-table.compact td {
    padding: 12px 10px;
}

.modal-table td {
    white-space: nowrap !important;
}

.footer-contact.compact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.footer-contact.compact li i {
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

.footer-contact.compact li a {
    font-size: 0.9rem;
}

.footer-contact.compact li a:first-of-type {
    margin-right: 4px;
}

.footer-contact.compact li a + a {
    margin-left: 4px;
}

.contact-card .sell_prod {
    transition: var(--transition);
}

.contact-card .sell_prod:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.section.pipe-selector .container {
    padding: 0 !important;
}

.buttons-column {
    display: flex;
    width: 30%;
    margin: 0 auto;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-mode .buttons-column {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.buttons-column .open-table-modal-electric,
.buttons-column .open-table-modal-gas,
.buttons-column .btn-primary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 18px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 44px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    text-align: left;
}

.buttons-column .open-table-modal-electric::before,
.buttons-column .open-table-modal-gas::before,
.buttons-column .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.buttons-column .open-table-modal-electric:hover::before,
.buttons-column .open-table-modal-gas:hover::before,
.buttons-column .btn-primary:hover::before {
    left: 100%;
}

.buttons-column .open-table-modal-electric i,
.buttons-column .open-table-modal-gas i,
.buttons-column .btn-primary i {
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    min-width: 26px;
    text-align: center;
}

.buttons-column .open-table-modal-electric:hover i,
.buttons-column .open-table-modal-gas:hover i,
.buttons-column .btn-primary:hover i {
    transform: scale(1.1);
    color: white;
}

.water-page .buttons-column .open-table-modal,
.water-page .buttons-column .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.water-page .buttons-column .open-table-modal:hover,
.water-page .buttons-column .btn-primary:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.gas-page .buttons-column .open-table-modal-gas,
.gas-page .buttons-column .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #e58e0b 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

.gas-page .buttons-column .open-table-modal-gas:hover,
.gas-page .buttons-column .btn-primary:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #e58e0b 0%, #f59e0b 100%);
}

.electric-page .buttons-column .open-table-modal-electric,
.electric-page .buttons-column .btn-primary {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 8px 25px rgba(248, 113, 113, 0.25);
}

.electric-page .buttons-column .open-table-modal-electric:hover,
.electric-page .buttons-column .btn-primary:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(248, 113, 113, 0.35);
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 100%;
}

.img img {
    width: 170px;
    height: auto;
}

.water-page .content-column {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.95) 0%, rgba(191, 219, 254, 0.9) 100%);
    border-left: 5px solid #2563eb;
}

.electric-page .content-column {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.95) 0%, rgba(254, 202, 202, 0.9) 100%);
    border-left: 5px solid #ef4444;
}

.dark-mode .content-column {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode.water-page .content-column {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(30, 64, 175, 0.8) 100%);
    border-left: 5px solid #60a5fa;
}

.dark-mode.gas-page .content-column {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.85) 0%, rgba(146, 64, 14, 0.8) 100%);
    border-left: 5px solid #fbbf24;
}

.dark-mode.electric-page .content-column {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.85) 0%, rgba(153, 27, 27, 0.8) 100%);
    border-left: 5px solid #f87171;
}

.content-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.water-page .content-title {
    color: #1e40af;
}

.gas-page .content-title {
    color: #92400e;
}

.electric-page .content-title {
    color: #7f1d1d;
}

.dark-mode .content-title {
    color: #f1f5f9;
}

.title-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.water-page .title-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.gas-page .title-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #e58e0b 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.electric-page .title-icon {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 8px 20px rgba(248, 113, 113, 0.3);
}

.content-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.water-page .content-text {
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.8);
}

.gas-page .content-text {
    color: #92400e;
    background: rgba(255, 255, 255, 0.8);
}

.electric-page .content-text {
    color: #7f1d1d;
    background: rgba(255, 255, 255, 0.8);
}

.dark-mode .content-text {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
}

.water-page .decorative-line {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.gas-page .decorative-line {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.electric-page .decorative-line {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.features-highlight {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.gas-page .features-highlight {
    background: rgba(254, 243, 199, 0.5);
    border-left: 3px solid #e58e0b;
}

.electric-page .features-highlight {
    background: rgba(254, 226, 226, 0.5);
    border-left: 3px solid #ef4444;
}

.features-highlight h4 {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-highlight ul {
    list-style: none;
    padding-left: 0;
}

.features-highlight li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.features-highlight li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.water-page .features-highlight li:before {
    color: #2563eb;
}

.gas-page .features-highlight li:before {
    color: #e58e0b;
}

.electric-page .features-highlight li:before {
    color: #ef4444;
}

.buttons-column > * {
    animation: fadeInLeft 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.content-column {
    animation: fadeInRight 0.5s ease forwards;
    opacity: 0;
    transform: translateX(20px);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px) rotate(-5deg);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px) rotate(5deg);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

.buttons-column .btn {
    transform: translateX(-40px) scale(0.9);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: calc(0.1s * var(--i, 0));
}

.buttons-column .btn.visible {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.content-column {
    transform: translateX(40px) scale(0.95);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-column.visible {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.feature-card,
.application-card,
.contact-card {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card.visible,
.application-card.visible,
.contact-card.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.specs-table tr {
    transform: translateY(20px);
    opacity: 0;
    filter: blur(3px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.specs-table tr.visible {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.filter-group {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-group.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.pipe-slider {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    filter: blur(10px);
    transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pipe-slider.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.section-header {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-header.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.logo {
    transform: translateX(-40px) scale(0.8) rotate(-15deg);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo.visible {
    transform: translateX(0) scale(1) rotate(0);
    opacity: 1;
    filter: blur(0);
}

.nav-menu li {
    transform: translateY(-20px) scale(0.8);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-menu li.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.header-actions > * {
    transform: translateX(40px) scale(0.8) rotate(15deg);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-actions > *.visible {
    transform: translateX(0) scale(1) rotate(0);
    opacity: 1;
    filter: blur(0);
}

.map-container {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    filter: blur(10px);
    transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.footer-col {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-col.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.nav-menu li {
    transition-delay: calc(0.1s * var(--i, 0));
}

.voltage-filter-group {
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.voltage-filter-group.show {
    display: flex !important;
    opacity: 1;
    max-height: 200px;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    margin-bottom: 40px;
    width: 100%;
}

.hero-center-column {
    flex: 1;
    max-width: 1100px;
}

.hero-right-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: auto;
    height: 320px !important;
    object-fit: contain;
    max-width: 100%;
}

.hero-text {
    max-width: 100% !important;
}

.hero-content {
    justify-content: normal !important;
}

.table-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    min-height: 320px;
}

.dark-mode .table-container {
    background: rgba(15, 23, 42, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.table-container > .specs-table {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none !important;
}

.dark-mode .table-container > .specs-table {
    background: transparent;
}

.table-container > .buttons-column {
    width: 100%;
    margin: 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .table-container > .buttons-column {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.table-container .specs-table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
}

.table-container .specs-table tbody {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table-container .specs-table tr {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dark-mode .table-container .specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-container .specs-table tr:last-child {
    border-bottom: none;
}

.table-container .specs-table td {
    padding: 20px 0;
    border: none;
    text-align: left;
}

.table-container .specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
    min-width: 200px;
}

.dark-mode .table-container .specs-table td:first-child {
    color: #f1f5f9;
}

.table-container .specs-table td:last-child {
    color: var(--gray);
    flex: 1;
}

.table-container .specs-table tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.dark-mode .table-container .specs-table tr:hover {
    background: rgba(37, 99, 235, 0.1);
}

.table-container .buttons-column .btn,
.table-container .buttons-column .open-table-modal-electric,
.table-container .buttons-column .open-table-modal-gas,
.table-container .buttons-column .open-table-modal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    width: 80%;
    height: 52px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    text-align: left;
}

.table-container .buttons-column .btn::before,
.table-container .buttons-column .open-table-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.table-container .buttons-column .btn:hover::before,
.table-container .buttons-column .open-table-modal:hover::before {
    left: 100%;
}

.table-container .buttons-column .btn i,
.table-container .buttons-column .open-table-modal i {
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    min-width: 24px;
    text-align: center;
}

.table-container .buttons-column .btn:hover i,
.table-container .buttons-column .open-table-modal:hover i {
    transform: scale(1.1);
    color: white;
}

.water-page .table-container .buttons-column .btn,
.water-page .table-container .buttons-column .open-table-modal {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.water-page .table-container .buttons-column .btn:hover,
.water-page .table-container .buttons-column .open-table-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.table-scroll-wrapper {
    width: 100%;
    overflow-x: visible;
}

.table-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #f1f1f1);
    border-radius: 3px;
    margin: 0 5px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #2563eb);
    border-radius: 3px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.dark-mode .table-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.water-page .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #2563eb;
}

.dark-mode.water-page .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.7);
}

.table-scroll-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #2563eb #2563eb;
}

.water-page .table-scroll-wrapper {
    scrollbar-color: #2563eb var(--scrollbar-track, #f1f1f1);
}

.table-scroll-wrapper.gas {
    scrollbar-color: #e58e0b #e58e0b;
}

.table-scroll-wrapper.elect {
    scrollbar-color: #ef4444 #ef4444;
}

.pl {
    display: flex;
    align-items: center;
    padding-left: 10px !important;
    height: 80px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.dark-mode .pl {
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Базовые стили для ссылок документов */
.doc-link {
    color: inherit !important;
    text-decoration: none;
    display: block;
    transition: all .2s linear;
    text-decoration:underline;
}

/* Вода - синий цвет при наведении */
.water-page .doc-link:hover,
.water-doc-link:hover {
    color: #2563eb !important;
}

/* Газ - оранжевый цвет при наведении */
.gas-page .doc-link:hover,
.gas-doc-link:hover {
    color: #e58e0b !important;
}

/* Электрика - красный цвет при наведении */
.electric-page .doc-link:hover,
.elect-doc-link:hover {
    color: #ef4444 !important;
}

@media (max-width: 1600px) {
    .modal-content {
        width: 97%;
        max-width: 1350px;
        padding: 30px 25px;
    }

    .modal-table {
        font-size: 14px;
        min-width: 1250px;
    }

    .modal-table th,
    .modal-table td {
        padding: 14px 12px;
    }
}

@media (min-width: 1400px) {
    .slide-image {
        max-width: 800px;
        height: 400px;
    }
}

@media (max-width: 1400px) {
    .modal-content {
        width: 96%;
        max-width: 1300px;
        padding: 25px 20px;
    }

    .modal-table {
        font-size: 13.5px;
        min-width: 650px;
    }

    .modal-table th,
    .modal-table td {
        padding: 12px 10px;
    }
}

@media (max-width: 1200px) {
    .pipe-main-image,
    .pipe-overlay-image {
        width: 280px;
        height: 230px;
    }
}

@media (max-width: 1152px) {
    .table-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .table-container > .buttons-column {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 25px;
    }

    .table-container .specs-table tr:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (min-width: 1025px) {
    .filter-options {
        gap: 25px;
    }

    .filter-row {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .filter-group h3 {
        width: 220px;
        margin-bottom: 0;
        margin-right: 40px;
        font-size: 1.4rem;
        text-align: left !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .filter-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 1 !important;
    }

    .filter-btn {
        padding: 14px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        white-space: nowrap !important;
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .pipe-slider {
        min-height: 50vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .content-text {
        max-width: 100%;
        text-align: center;
    }

    .slide {
        padding: 25px 30px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-desc {
        font-size: 0.95rem;
    }

    .slide-image {
        max-width: 450px;
        height: 220px;
    }
    
    .dark-mode .table-container > .buttons-column {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .water-page .table-container > .buttons-column {
        border-left: none;
    }

    .direction-cards {
        gap: 20px;
    }

    .direction-card {
        padding: 25px 15px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .direction-card h3 {
        font-size: 1.1rem;
    }

    .pipe-table-row {
        grid-template-columns: 1.5fr 1fr;
    }

    .pipe-images-container {
        flex-direction: column;
        gap: 25px;
    }

    .pipe-main-image,
    .pipe-overlay-image {
        width: 320px;
        height: 200px;
    }

    .buttons-content-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .buttons-column {
        flex: none;
        padding: 25px;
    }
    
    .content-column {
        width: 100%;
        padding: 30px;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        height: 60px;
        padding: 16px 24px;
        font-size: 15px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content-wrapper {
        gap: 30px;
    }
    
    .hero-logo-img {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .buttons-column {
        padding: 25px !important;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        max-width: 400px !important;
        padding: 16px 24px !important;
        font-size: 15px !important;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        height: 100%;
    }

    .nav-menu li {
        height: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 999;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
    }

    .dark-mode .nav-menu {
        background: rgba(15, 23, 42, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 8px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .pipe-slider {
        min-height: 45vh;
        border-radius: 16px;
    }

    .slide {
        padding: 20px 25px;
    }

    .slide-content {
        padding: 15px;
    }
    .dark-mode .table-container > .buttons-column
    .slide-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .slide-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .slide-image {
        max-width: 380px;
        height: 180px;
        margin-bottom: 15px;
        padding: 12px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slide-features {
        gap: 15px;
    }

    .feature-tag {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .pipe-slider-container.no-results {
        min-height: 200px;
        height: 200px;
    }

    .pipe-slider-container.no-results .pipe-slider {
        min-height: 200px;
        height: 200px;
    }

    .slide-content {
        width: 85%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .slide-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }

    .slide-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.5;
        max-width: 100%;
        word-wrap: break-word;
    }

    .slide-features {
        gap: 8px;
        margin-bottom: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
        max-width: 200px;
        text-align: center;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        z-index: 20;
    }

    .slider-arrow.prev {
        left: 5px;
    }

    .slider-arrow.next {
        right: 5px;
    }

    .slide-image {
        max-width: 320px;
        height: 160px;
        margin-bottom: 20px;
    }

    .download-buttons .btn.btn-primary {
        font-size: 12px;
    }

    .slide {
        padding: 20px 15px;
    }

    .slider-arrow {
        opacity: 0.8;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dark-mode .slider-arrow {
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .slide-image {
        max-width: 500px;
        height: 250px;
        padding: 15px;
    }

    .pipe-slider {
        min-height: 55vh;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-arrow {
        transition: var(--transition);
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 10px 20px;
        border-radius: 0;
        opacity: 1;
        transform: none;
        animation: none;
    }

    .dropdown-link:hover {
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .direction-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .direction-card {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .card-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .direction-card h3 {
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .direction-card p {
        font-size: 0.85rem;
    }

    .dark-mode .nav-menu {
        background: rgba(15, 23, 42, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .nav-menu li {
        margin: 8px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        transition: var(--transition);
        width: 100%;
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
    }

    .dark-mode .nav-link:hover {
        background: rgba(37, 99, 235, 0.2);
    }

    .mobile-toggle.active i {
        transform: rotate(90deg);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
        margin-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-arrow {
        transition: var(--transition);
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 10px 16px;
        border-radius: 6px;
        opacity: 1;
        transform: none;
        animation: none;
        margin-bottom: 5px;
    }

    .dropdown-link:hover {
        transform: none;
    }

    .dropdown {
        position: relative;
        width: 100%;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        transition: var(--transition);
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px;
        margin-top: 5px;
        display: none;
        animation: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .dark-mode .dropdown-menu {
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDownMobile 0.3s ease;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 6px;
        margin-bottom: 4px;
        transition: var(--transition);
        color: var(--dark);
        font-weight: 500;
    }

    .dark-mode .dropdown-link {
        color: #f1f5f9;
    }

    .dropdown-link:last-child {
        margin-bottom: 0;
    }

    .dropdown-link i {
        width: 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    .dropdown-link[data-direction="water"] i {
        color: #3b82f6;
    }

    .dropdown-link[data-direction="gas"] i {
        color: #f59e0b;
    }

    .dropdown-link[data-direction="electric"] i {
        color: #ef4444;
    }

    .dropdown-link[data-direction="water"]:active {
        background: rgba(59, 130, 246, 0.1);
    }

    .dropdown-link[data-direction="gas"]:active {
        background: rgba(245, 158, 11, 0.1);
    }

    .dropdown-link[data-direction="electric"]:active {
        background: rgba(239, 68, 68, 0.1);
    }

    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu {
        gap: 0;
    }

    .nav-menu li {
        margin: 4px 0;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        transition: var(--transition);
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
    }

    .dark-mode .nav-link:hover {
        background: rgba(37, 99, 235, 0.2);
    }

    .pipe-selector {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .pipe-selector .filter-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pipe-selector .filter-group {
        padding: 20px;
    }

    .pipes-table-container {
        padding: 15px;
    }

    .pipe-table-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pipe-images-section {
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
        padding: 25px;
    }

    .dark-mode .pipe-images-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pipe-images-container {
        flex-direction: row;
        gap: 20px;
    }

    .pipe-main-image,
    .pipe-overlay-image {
        width: 240px;
        height: 180px;
    }

    .pipe-info-section {
        padding: 20px;
    }

    .pipe-selector .filter-btn:hover:not(.active) {
        transform: none !important;
        box-shadow: none !important;
    }

    .pipe-selector .filter-btn::before {
        display: none;
    }

    .pipe-selector .filter-btn.active {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .pipe-selector .filter-btn {
        padding: 12px 16px !important;
        min-height: 44px;
    }

    .logo-image {
        height: 40px;
    }

    .filter-options {
        gap: 25px;
    }

    .filter-row {
        gap: 12px;
    }

    .filter-group h3 {
        min-width: auto;
        text-align: center;
    }

    .filter-options {
        gap: 25px;
    }

    .filter-row {
        gap: 12px;
    }

    .filter-group h3 {
        min-width: auto;
        text-align: center;
        font-size: 1.1rem;
        white-space: normal;
        margin-right: 0;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: normal;
    }

    .logo-image {
        height: 40px;
    }

    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .contact-card {
        padding: 25px 15px;
        min-height: 180px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slide-features .feature-tag .icon-svg {
        width: 24px !important;
        height: 24px !important;
    }

    .slide-features .feature-tag {
        font-size: 0.9rem;
        padding: 10px 16px;
        min-width: 180px;
    }

    .slide-features {
        gap: 10px;
        margin-bottom: 20px;
    }

    .feature-tag {
        min-width: 170px !important;
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 14px 18px;
        min-height: 48px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-group h3 {
        margin-bottom: 12px;
    }

    .dark-mode .pipe-images-section {
        border-right: none !important
    }

    .slide-content {
        position: relative;
        padding-top: 0;
    }

    .slide-logo {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 20px 20px 0;
        width: auto;
        height: 80px;
        opacity: 1;
        transform: none;
        order: 3;
    }

    .slide-content {
        display: flex;
        flex-direction: column;
    }

    .slide-title {
        order: 1;
    }

    .slide-image {
        order: 2;
    }

    .slide-features {
        order: 4;
    }

    .slide-actions {
        order: 5;
    }

    .dark-mode .slide-logo img {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    }

    .modal-content {
        width: 98%;
        padding: 20px 15px;
        margin: 10px auto;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .modal-table {
        font-size: 12px;
        min-width: 400px;
    }

    .modal-table.span3-4 {
        min-width: 200px !important;
    }

    .modal-table th,
    .modal-table td {
        padding: 10px 8px;
    }

    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 30px;
    }

    .modal-close {
        right: auto;
        left: 12px;
        top: 12px;
        font-size: 28px;
        width: 36px;
        height: 36px;
    }

    .modal-title {
        padding-left: 40px;
        padding-right: 15px;
        text-align: center;
    }

    .modal-table {
        font-size: 13px;
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .modal-table.span3-4 {
        width: 100%;
        max-width: 100%;
    }

    .modal-table.wide-table {
        min-width: 450px;
    }

    .modal-table th,
    .modal-table td {
        padding: 10px 8px;
        min-width: 60px;
    }

    .modal-notes {
        font-size: 12px;
        padding: 15px;
    }

    .w-b {
        background-position: -9rem 0 !important ;
        background-size: cover;
    }

    .modal-table.compact {
        font-size: 12px;
    }

    .modal-table.compact th,
    .modal-table.compact td {
        padding: 8px 6px;
    }

    .footer-contact.compact li {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .footer-contact.compact li i {
        font-size: 0.9rem;
        width: 14px;
    }

    .footer-contact.compact li {
        flex-wrap: wrap;
    }

    .footer-contact.compact li a {
        font-size: 0.82rem;
    }

    .footer-contact.super-compact li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 12px;
    }

    .footer-contact.super-compact li i {
        margin-bottom: 2px;
    }

    .footer-contact.super-compact .contact-label {
        display: inline-block;
        margin-bottom: 2px;
    }

    .footer-contact.super-compact .contact-separator {
        display: none;
    }

    .footer-contact.super-compact li a {
        margin-left: 20px;
        display: block;
        font-size: 0.8rem;
    }

    .footer-contact.super-compact li a + a {
        margin-top: 2px;
    }

    .buttons-content-container {
        gap: 25px;
    }
    
    .buttons-column {
        padding: 20px;
    }
    
    .content-column {
        padding: 25px;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .title-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .content-text {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        height: 56px;
        padding: 14px 20px;
        font-size: 14px;
        gap: 12px;
    }

    .hero-left-column {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-right-column {
        width: 100%;
    }
    
    .hero-logo-img {
        height: auto;
        max-height: 180px;
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 701px) and (max-width: 768px) {
    .slide-features .feature-tag {
        flex-basis: calc(33.333% - 12px);
        min-width: 140px;
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .pipe-images-container {
        flex-direction: column;
        gap: 20px;
    }

    .pipe-main-image,
    .pipe-overlay-image {
        width: 100%;
        max-width: 280px;
        height: 160px;
    }
}

@media (min-width: 601px) and (max-width: 700px) {
    .slide-features .feature-tag {
        flex-basis: calc(33.333% - 10px);
        min-width: 130px;
        padding: 10px 6px;
        font-size: 0.82rem;
    }

    .slide-features .feature-tag .icon-svg {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 600px) {
    .table-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .buttons-column {
        width: 100%;
    }

    .table-scroll-wrapper {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-scroll-wrapper .specs-table {
        min-width: 600px;
    }
}

@media (min-width: 480px) and (max-width: 1152px) {
    .buttons-column {
        align-items: center;
        justify-content: center;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        width: auto !important;
        min-width: 300px;
        max-width: 400px;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        width: 100% !important;
        max-width: 380px !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .slide-features {
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .slide-features .feature-tag {
        min-width: auto !important;
        max-width: none;
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex: 0 1 auto;
        margin: 2px;
    }

    .slide-features .feature-tag .icon-svg {
        width: 22px !important;
        height: 22px !important;
    }

    .slide-features .feature-tag i {
        font-size: 0.95rem !important;
    }

    .slide-features {
        display: flex;
        flex-wrap: wrap;
    }

    .feature-tag[class*="structure"] {
        font-size: 0.82rem !important;
    }

    .feature-tag .icon-svg {
        flex-shrink: 0;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .slide-features .feature-tag {
        flex-basis: calc(50% - 10px);
        min-width: 140px;
        text-align: center;
        justify-content: center;
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (min-width: 481px) and (max-width: 550px) {
    .slide-features .feature-tag {
        flex-basis: calc(50% - 8px);
        padding: 8px 4px;
        font-size: 0.8rem;
    }

    .slide-features .feature-tag .icon-svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section {
        padding: 60px 0;
    }

    .page-content {
        padding: 110px 0 40px;
    }

    .pipe-slider {
        min-height: 40vh;
        border-radius: 14px;
    }

    .slide {
        padding: 15px 20px;
    }

    .slide-content {
        padding: 10px;
    }

    .slide-title {
        font-size: 1.4rem;
    }

    .slide-desc {
        font-size: 0.85rem;
    }

    .slide-image {
        max-width: 300px;
        height: 150px;
        padding: 10px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }

    .pipe-slider-container.no-results {
        min-height: 180px;
        height: 180px;
    }

    .pipe-slider-container.no-results .pipe-slider {
        min-height: 180px;
        height: 180px;
    }

    .no-results-message {
        padding: 30px 15px;
        font-size: 1rem;
    }

    .no-results-message i {
        font-size: 2rem;
    }

    .no-results-message h3 {
        font-size: 1.3rem;
    }

    .slide-content {
        width: 90%;
        max-width: 350px;
        padding: 0 5px;
    }

    .slide-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
        padding: 0 5px;
    }

    .slide-desc {
        font-size: 0.85rem;
        margin-bottom: 12px;
        padding: 0 5px;
    }

    .slide-features {
        gap: 6px;
        margin-bottom: 12px;
    }

    .feature-tag {
        padding: 5px 10px;
        font-size: 0.75rem;
        max-width: 180px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow.prev {
        left: 3px;
    }

    .slider-arrow.next {
        right: 3px;
    }

    .slide-image {
        max-width: 280px;
        height: 140px;
        margin-bottom: 15px;
    }

    .slide {
        padding: 15px 10px;
    }

    .slide-image {
        max-width: 400px;
        height: 200px;
        padding: 12px;
    }

    .pipe-slider {
        min-height: 50vh;
    }

    .dropdown-menu {
        padding: 6px;
    }

    .dropdown-link {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .dropdown-link i {
        font-size: 1rem;
    }

    .pipe-selector {
        padding: 20px 15px;
    }

    .pipe-selector .filter-group {
        padding: 15px;
    }

    .pipe-selector .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .pipes-table-container {
        padding: 10px;
    }

    .pipe-images-section,
    .pipe-info-section {
        padding: 20px 15px;
    }

    .pipe-main-image,
    .pipe-overlay-image {
        width: 100%;
        max-width: 250px;
        height: 140px;
    }

    .pipe-name {
        font-size: 1.2rem;
    }

    .pipe-actions .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .filter-btn {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
        min-height: 42px;
    }

    .filter-buttons {
        gap: 6px !important;
    }

    .filter-group {
        padding: 20px 15px !important;
    }

    .filter-group h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .filter-btn.active {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
    }

    .filter-group:nth-child(2) .filter-btn.active,
    .voltage-filter-group .filter-btn.active {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
    }

    .logo-image {
        height: 35px;
    }

    .filter-options {
        gap: 20px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .logo-image {
        height: 35px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 20px 15px;
        min-height: 160px;
    }

    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .slide-features .feature-tag .icon-svg {
        width: 22px !important;
        height: 22px !important;
    }

    .slide-features .feature-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
        min-width: 160px;
    }

    .slide-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .feature-tag {
        width: 100%;
        max-width: 250px;
        min-width: auto !important;
        justify-content: center;
    }

    .slide-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .slide-features .feature-tag {
        width: 100%;
        max-width: 280px;
        min-width: auto !important;
        padding: 10px 16px;
        font-size: 0.9rem;
        margin: 0;
    }

    .slide-features .feature-tag .icon-svg {
        width: 24px !important;
        height: 24px !important;
    }

    .modal-table {
        font-size: 12px;
    }

    .modal-table.wide-table {
        min-width: 350px;
    }

    .modal-table th,
    .modal-table td {
        padding: 8px 6px;
        min-width: 50px;
    }

    .modal-table th br {
        display: none;
    }

    .w-b {
        background-position: -10rem 0 !important ;
        background-size: cover;
    }

    .buttons-content-container {
        gap: 20px;
    }
    
    .buttons-column {
        padding: 15px;
    }
    
    .content-column {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .title-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .content-text {
        font-size: 1rem;
        padding: 15px;
        line-height: 1.6;
    }
    
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .btn-primary {
        height: 52px;
        padding: 12px 18px;
        font-size: 13px;
        gap: 10px;
    }
    
    .buttons-column .open-table-modal-electric i,
    .buttons-column .open-table-modal-gas i,
    .buttons-column .btn-primary i {
        font-size: 1.1rem;
    }

    .hero-logo-img {
        max-width: 250px;
        max-height: 150px;
    }

    .table-container > .buttons-column {
        padding: 20px 15px;
        gap: 12px;
    }
    
    .buttons-column .btn,
    .buttons-column .open-table-modal-electric,
    .buttons-column .open-table-modal-gas,
    .buttons-column .open-table-modal {
        height: 60px !important;
        padding: 12px 18px;
        font-size: 14px;
        gap: 10px;
    }
    
    .buttons-column .btn i,
    .buttons-column .open-table-modal-electric i,
    .buttons-column .open-table-modal-gas i,
    .buttons-column .open-table-modal i {
        font-size: 1.1rem;
    }
}

@media (max-width: 402px) {
    .pl {
        height: 110px !important;
    }

    .footer-contact.compact li:nth-child(3),
    .footer-contact.super-compact li:nth-child(3) {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .footer-contact.compact li:nth-child(3) i,
    .footer-contact.super-compact li:nth-child(3) i {
        flex-shrink: 0 !important;
        margin-top: 2px !important;
        width: 16px !important;
    }
    
    .footer-contact.compact li:nth-child(3) a,
    .footer-contact.super-compact li:nth-child(3) a {
        display: block !important;
        flex: 1 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
        font-size: 0.8rem !important;
        margin-left: 0 !important;
        text-align: left !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .table-scroll-wrapper .specs-table {
        min-width: 500px;
    }
}

@media (max-width: 360px) {
    .slide {
        padding: 12px 15px;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-desc {
        font-size: 0.8rem;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .slide-content {
        width: 95%;
        max-width: 300px;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-desc {
        font-size: 0.8rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        max-width: 160px;
    }

    .slide-image {
        max-width: 250px;
        height: 125px;
    }

    .filter-buttons {
        flex-direction: column;
        gap: 6px !important;
    }

    .filter-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px !important;
    }

    .filter-group {
        padding: 15px 12px !important;
    }

    .filter-group h3 {
        font-size: 1rem !important;
    }

    .slide-features .feature-tag .icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .slide-features .feature-tag {
        font-size: 0.8rem;
        padding: 7px 12px;
        min-width: 140px;
    }

    .hero-logo-img {
        max-width: 200px;
        max-height: 140px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .dropdown-link:hover {
        background: transparent !important;
    }

    .nav-link:hover {
        background: transparent !important;
    }

    .buttons-column .open-table-modal-electric:focus,
    .buttons-column .open-table-modal-gas:focus,
    .buttons-column .btn-primary:focus {
        outline: none;
        transform: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    }
    
    .buttons-column .open-table-modal-electric:focus::before,
    .buttons-column .open-table-modal-gas:focus::before,
    .buttons-column .btn-primary:focus::before {
        left: -100% !important;
    }
    
    .water-page .buttons-column .open-table-modal:focus,
    .water-page .buttons-column .btn-primary:focus {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25) !important;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    }
    
    .gas-page .buttons-column .open-table-modal-gas:focus,
    .gas-page .buttons-column .btn-primary:focus {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25) !important;
        background: linear-gradient(135deg, #f59e0b 0%, #e58e0b 100%) !important;
    }
    
    .electric-page .buttons-column .open-table-modal-electric:focus,
    .electric-page .buttons-column .btn-primary:focus {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(248, 113, 113, 0.25) !important;
        background: linear-gradient(135deg, #f87171 0%, #ef4444 100%) !important;
    }

    .buttons-column .btn-primary[href*=".pdf"],
    .buttons-column .btn-primary[href*=".PDF"],
    .buttons-column .btn-primary[href*=".pdf"]:hover,
    .buttons-column .btn-primary[href*=".pdf"]:focus,
    .buttons-column .btn-primary[href*=".pdf"]:active {
        transform: none !important;
        translate: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .buttons-column .open-table-modal-electric:hover,
    .buttons-column .open-table-modal-gas:hover,
    .buttons-column .btn-primary:hover {
        transform: translateX(8px) !important;
    }
    
    .buttons-column .open-table-modal-electric:hover::before,
    .buttons-column .open-table-modal-gas:hover::before,
    .buttons-column .btn-primary:hover::before {
        left: 100% !important;
    }
}

@media (hover:none) {
    .pipe-selector .filter-group:nth-child(1) .filter-btn:hover:not(.active) {
        background: rgba(37, 99, 235, 0.9) !important;
        border-color: var(--primary) !important;
        color: white !important;
    }
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.hero-left-column {
    width: 20%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-center-column {
    flex: 1;
    min-width: 0;
}

.hero-right-column {
    width: 20%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 230px;
    object-fit: contain;
    display: block;
}

@media (min-width: 1147px) {
    .hero-center-column {
        margin-top: 180px;
    }

    .hero-content-wrapper {
        margin-top: -140px;
    }
}

@media (max-width: 1146px) {
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .hero-left-column {
        width: 100%;
        max-width: 300px;
        order: 1;
    }

    .hero-center-column {
        width: 100%;
        flex: none;
        order: 2;
    }
    

    .hero-right-column {
        width: 100%;
        max-width: 300зч;
        order: 3;
    }
    
    .hero-logo-img {
        max-height: 270px;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        gap: 20px;
    }
    
    .hero-left-column {
        max-width: 250px;
    }
    
    .hero-right-column {
        max-width: 200px;
        margin: 50px 0;
    }
    
    .hero-logo-img {
        max-height: 220px;
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        gap: 15px;
    }
    
    .hero-left-column {
        max-width: 200px;
    }
    
    .hero-right-column {
        max-width: 240px;
        margin: 50px 0 100px;
    }
    
    .hero-logo-img {
        max-height: 165px;
        max-width: 90%;
    }
}

@media (max-width: 360px) {
    .hero-left-column {
        max-width: 160px;
    }
    
    .hero-right-column {
        max-width: 130px;
    }
    
    .hero-logo-img {
        max-height: 100px;
    }
}