/* machinery-site - products.css */
:root {
    --primary: #0a2540;
    --secondary: #1a4480;
    --accent: #ff6b1a;
    --light: #f5f7fa;
    --dark: #1a1a1a;
    --gray: #666;
    --border: #e0e6ed;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

header {
    background: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo span { color: var(--accent); }
nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}
nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
nav a:hover { color: var(--accent); }
.header-cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.page-banner {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.page-banner h1 { font-size: 42px; margin-bottom: 16px; }
.page-banner p { font-size: 18px; color: rgba(255,255,255,0.8); }

.section { padding: 60px 0; }

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
    transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.product-card:hover {
    box-shadow: 0 12px 30px rgba(10,37,64,0.12);
    transform: translateY(-4px);
}
.product-img {
    height: 220px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info { padding: 24px; }
.product-info .brand {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}
.product-info h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}
.product-info .model {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}
.product-specs {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
}
.spec { flex: 1; }
.spec .label { font-size: 12px; color: var(--gray); margin-bottom: 4px; }
.spec .value { font-size: 15px; font-weight: 600; color: var(--primary); }
.product-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

footer {
    background: #061a30;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
    margin-top: 60px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 968px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    nav { display: none; }
}
@media (max-width: 600px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* WhatsApp contact */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 1200;
    transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid #0a2540; outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.btn-email { background: transparent; border: 2px solid rgba(255,255,255,0.85); color: #fff; }
.btn-email:hover { background: rgba(255,255,255,0.15); }
.cta .btn { margin: 6px; }
.widget-contact { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.85); }
.widget-contact a { color: #fff; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
