:root {
    --primary: #1c3d6b;
    --primary-dark: #0f2444;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --light-bg: #f5f7fa;
    --border: #d1d9e0;
    --text: #2c3e50;
    --text-light: #6c757d;
}
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); margin: 0; padding: 0; font-size: 15px; line-height: 1.6; }

/* TOP BAR */
.top-bar { background: var(--primary-dark); color: #adc4e0; font-size: 13px; padding: 6px 0; }
.top-bar a { color: #adc4e0; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.lang-switcher a { color: #adc4e0; text-decoration: none; padding: 2px 8px; border: 1px solid #2c4a72; border-radius: 3px; margin-left: 4px; font-size: 12px; transition: all 0.2s; }
.lang-switcher a.active, .lang-switcher a:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* HEADER */
.site-header { background: var(--primary); padding: 14px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.site-header .logo { color: #fff; font-size: 24px; font-weight: 700; text-decoration: none; letter-spacing: 1px; }
.site-header .logo span { color: #4fc3f7; }
.site-header .logo small { display: block; font-size: 10px; font-weight: 400; color: #a8c8e8; letter-spacing: 0.5px; text-transform: uppercase; }
.header-phone { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; }
.header-phone small { display: block; font-size: 11px; font-weight: 400; color: #adc4e0; }

/* NAVBAR */
.main-nav { background: #253f6e; border-bottom: 3px solid var(--accent); }
.main-nav .navbar-nav .nav-link { color: #d0e4f7 !important; font-size: 14px; font-weight: 500; padding: 12px 16px !important; transition: background 0.2s, color 0.2s; }
.main-nav .navbar-nav .nav-link:hover, .main-nav .navbar-nav .nav-link.active { background: var(--accent); color: #fff !important; }
.main-nav .dropdown-menu { background: #1c3558; border: none; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.3); min-width: 220px; }
.main-nav .dropdown-item { color: #c0d8f0; font-size: 14px; padding: 8px 20px; border-left: 3px solid transparent; transition: all 0.15s; }
.main-nav .dropdown-item:hover { background: #253f6e; color: #fff; border-left-color: var(--accent); }
.main-nav .dropdown-header { color: #4fc3f7; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 10px 20px 5px; }
.navbar-toggler { border-color: #4a6ea8; }
.navbar-toggler-icon { filter: invert(1); }

/* HERO */
.hero { background: linear-gradient(135deg, #0f2444 0%, #1c3d6b 50%, #2a5298 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.015) 30px, rgba(255,255,255,0.015) 60px); }
.hero h1 { font-size: 34px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 16px; color: #a8c8e8; max-width: 580px; }
.btn-hero { background: var(--accent); color: #fff; border: none; padding: 13px 30px; font-size: 15px; font-weight: 600; border-radius: 4px; text-decoration: none; display: inline-block; margin-top: 10px; transition: background 0.2s; }
.btn-hero:hover { background: var(--accent-hover); color: #fff; }
.btn-hero-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 11px 28px; font-size: 15px; font-weight: 600; border-radius: 4px; text-decoration: none; display: inline-block; margin-top: 10px; transition: all 0.2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* SECTIONS */
.section-title { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.section-divider { width: 50px; height: 3px; background: var(--accent); margin-bottom: 30px; }
section { padding: 50px 0; }

/* SERVICE CARDS */
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 28px 22px; height: 100%; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; text-decoration: none; color: inherit; display: block; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(28,61,107,0.15); border-color: var(--primary); color: inherit; }
.service-card .icon { font-size: 38px; margin-bottom: 14px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.service-card p { font-size: 13px; color: var(--text-light); margin: 0 0 12px; }
.service-card .sc-examples { font-size: 12px; color: var(--text-light); padding-left: 0; list-style: none; }
.service-card .sc-examples li::before { content: '▸ '; color: var(--accent); }

/* CATALOG CARDS */
.catalog-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s, border-color 0.2s; height: 100%; }
.catalog-card:hover { box-shadow: 0 4px 16px rgba(28,61,107,0.12); border-color: var(--primary); color: inherit; }
.catalog-card .cc-head { background: var(--primary); color: #fff; padding: 14px 18px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.catalog-card .cc-body { padding: 14px 18px; }
.catalog-card .cc-body ul { margin: 0; padding-left: 16px; font-size: 13px; color: var(--text-light); }
.catalog-card .cc-body ul li { margin-bottom: 4px; }
.catalog-card .cc-foot { padding: 10px 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--accent); font-weight: 500; }

/* BREADCRUMB */
.breadcrumb-bar { background: var(--light-bg); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { margin: 0; background: none; padding: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-light); }

/* PAGE TITLE */
.page-title-bar { background: var(--primary); color: #fff; padding: 28px 0; }
.page-title-bar h1 { font-size: 26px; font-weight: 700; margin: 0; }
.page-title-bar p { font-size: 14px; color: #a8c8e8; margin: 6px 0 0; }

/* SIDEBAR */
.sidebar { position: sticky; top: 20px; }
.sidebar-nav { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.sidebar-nav .sn-title { background: var(--primary); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
.sidebar-nav ul li a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); text-decoration: none; border-left: 3px solid transparent; border-bottom: 1px solid var(--border); transition: all 0.15s; }
.sidebar-nav ul li a:hover, .sidebar-nav ul li a.active { background: var(--light-bg); color: var(--primary); border-left-color: var(--accent); font-weight: 600; }
.sidebar-nav ul li:last-child a { border-bottom: none; }
.sidebar-nav ul ul a { padding-left: 30px; font-size: 13px; color: var(--text-light); background: #fafbfd; }
.sidebar-contact { background: var(--primary); color: #fff; border-radius: 6px; padding: 20px; text-align: center; }
.sidebar-contact p { font-size: 13px; color: #a8c8e8; margin-bottom: 12px; }
.sidebar-contact a.phone { color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; display: block; margin-bottom: 12px; }
.sidebar-contact a.btn-red { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-block; }
.sidebar-contact a.btn-red:hover { background: var(--accent-hover); }

/* CATALOG TABLE */
.catalog-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.catalog-table thead th { background: var(--primary); color: #fff; padding: 11px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
.catalog-table tbody tr { border-bottom: 1px solid var(--border); }
.catalog-table tbody tr:hover { background: #f0f5ff; }
.catalog-table tbody td { padding: 9px 14px; vertical-align: middle; }
.article { font-family: 'Courier New', monospace; font-size: 12px; color: var(--text-light); background: #f0f4f8; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.price-req { color: var(--accent); font-weight: 600; white-space: nowrap; }
.btn-request { background: var(--accent); color: #fff; border: none; padding: 5px 12px; font-size: 12px; border-radius: 3px; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s; white-space: nowrap; }
.btn-request:hover { background: var(--accent-hover); color: #fff; }

/* STATS */
.stats-bar { background: var(--primary); color: #fff; padding: 30px 0; }
.stat-item { text-align: center; padding: 10px; }
.stat-item .num { font-size: 36px; font-weight: 700; color: #4fc3f7; line-height: 1; }
.stat-item .lbl { font-size: 13px; color: #a8c8e8; margin-top: 4px; }

/* CONTACTS */
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.ci-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.ci-text strong { display: block; font-size: 12px; color: var(--text-light); font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; }
.ci-text span, .ci-text a { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; }
.ci-text a:hover { color: var(--accent); }

/* ABOUT */
.about-feature { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.af-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.af-icon.blue { background: var(--primary); }
.about-feature h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.about-feature p { font-size: 13px; color: var(--text-light); margin: 0; }

/* FOOTER */
footer { background: var(--primary-dark); color: #8aabcc; padding: 40px 0 20px; }
footer h5 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
footer a { color: #8aabcc; text-decoration: none; font-size: 13px; line-height: 2.2; display: block; }
footer a:hover { color: #fff; }
.footer-logo { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.footer-logo span { color: #4fc3f7; }
footer .footer-bottom { border-top: 1px solid #1c3558; padding-top: 18px; margin-top: 24px; font-size: 12px; color: #5a7a99; }

/* SUBCAT */
.subcat-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; text-decoration: none; color: inherit; display: block; transition: all 0.2s; height: 100%; }
.subcat-card:hover { box-shadow: 0 4px 14px rgba(28,61,107,0.12); border-color: var(--primary); color: inherit; transform: translateY(-2px); }
.subcat-card .sc-icon { font-size: 28px; margin-bottom: 10px; }
.subcat-card h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.subcat-card p { font-size: 13px; color: var(--text-light); margin: 0; }
.tag { display: inline-block; background: #e8f0ff; color: var(--primary); font-size: 11px; padding: 2px 8px; border-radius: 10px; margin: 2px; }
.tag.red { background: #ffeaea; color: var(--accent); }

@media (max-width: 768px) {
    .hero h1 { font-size: 22px; }
    .hero { padding: 35px 0; }
    .page-title-bar h1 { font-size: 20px; }
    .catalog-table { font-size: 12px; }
    .catalog-table thead th, .catalog-table tbody td { padding: 7px 8px; }
}
