/* ===========================
   KOW MET - Systemowe Ogrodzenia
   Color Palette: Red (#CC0000) + Black (#1a1a1a) + White
   =========================== */

:root {
    --red: #CC0000;
    --red-dark: #A30000;
    --red-light: #E63333;
    --red-bg: #FFF0F0;
    --black: #1a1a1a;
    --dark: #2d2d2d;
    --gray-900: #333333;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #cccccc;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --container: 1200px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }
address { font-style: normal; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--red); }
.text-muted { color: var(--gray-500); font-size: 0.9em; }
.mt-1 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }

/* ====== TOP BAR ====== */
.top-bar {
    background: var(--black);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-bar span { display: flex; align-items: center; gap: 6px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--red-light); }
.top-bar i { color: var(--red); font-size: 0.8em; }

/* ====== HEADER ====== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.logo img { height: 38px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    color: var(--gray-900);
    font-weight: 500;
    font-size: 0.87rem;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--red); background: var(--red-bg); }
.nav-link i { font-size: 0.7em; transition: transform var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.has-dropdown:hover .nav-link i { transform: rotate(180deg); }
.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-900);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.dropdown a:hover { background: var(--red-bg); color: var(--red); padding-left: 24px; }

/* Cart button */
.btn-cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    transition: all var(--transition);
}
.btn-cart:hover { background: var(--red-dark); color: var(--white); transform: scale(1.05); }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #0a0a0a;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.png') center/cover no-repeat;
    opacity: 1;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.8) 40%, rgba(10,10,10,0.3) 75%, rgba(10,10,10,0.15) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 60px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 0, 0, 0.15);
    color: var(--red-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(204, 0, 0, 0.3);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-subtitle strong { color: var(--white); }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    white-space: nowrap;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ====== TRUST BAR ====== */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 24px 0;
}
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.trust-item i {
    font-size: 1.8rem;
    color: var(--red);
    width: 50px;
    text-align: center;
}
.trust-item strong { display: block; font-size: 0.95rem; color: var(--black); }
.trust-item span { font-size: 0.82rem; color: var(--gray-500); }

/* ====== SECTIONS ====== */
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--gray-100); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.section-badge {
    display: inline-block;
    background: var(--red-bg);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}
.section-header p { color: var(--gray-700); font-size: 1.05rem; }

/* ====== CATEGORY FILTER ====== */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* ====== PRODUCTS GRID ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-card.hidden { display: none; }

.product-img {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-info { padding: 20px; }
.product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}
.product-info p {
    color: var(--gray-700);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 12px;
}
.product-meta { margin-bottom: 16px; }
.product-sku { font-size: 0.8rem; color: var(--gray-500); }
.product-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Quantity control */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--red-bg); color: var(--red); }
.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-actions .btn { flex: 1; font-size: 0.82rem; padding: 8px 14px; }
.product-img a { display: block; width: 100%; height: 100%; }
.product-img a img { width: 100%; height: 100%; object-fit: cover; }
.zobacz-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--red); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 12px; transition: all var(--transition);
}
.zobacz-link:hover { color: var(--red-dark); gap: 10px; }
.zobacz-link i { font-size: 0.75rem; transition: transform var(--transition); }
.zobacz-link:hover i { transform: translateX(3px); }
.product-info h3 a { color: var(--black); }
.product-info h3 a:hover { color: var(--red); }

/* ====== SYSTEMS ====== */
.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.system-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.system-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.system-img img { width: 100%; height: 100%; object-fit: cover; }
.system-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.system-tag {
    background: var(--red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.system-info { padding: 28px; }
.system-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 12px;
}
.system-info p { color: var(--gray-700); font-size: 0.92rem; margin-bottom: 16px; }
.system-features { margin-bottom: 20px; }
.system-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.system-features i { color: var(--red); font-size: 0.85rem; }

/* ====== ABOUT ====== */
.about-section { background: var(--white) !important; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content .section-badge { display: inline-block; margin-bottom: 12px; }
.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.about-lead { color: var(--gray-700); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.7; }
.about-features { display: flex; flex-direction: column; gap: 24px; }
.about-feature { display: flex; gap: 16px; }
.about-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--red-bg);
    color: var(--red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.about-feature h4 { font-size: 1rem; color: var(--black); margin-bottom: 4px; }
.about-feature p { font-size: 0.88rem; color: var(--gray-700); }

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.about-badge-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--red);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.badge-text { font-size: 0.85rem; opacity: 0.9; }

/* ====== LOCATIONS ====== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.location-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.location-icon {
    width: 56px;
    height: 56px;
    background: var(--red-bg);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}
.location-card h3 { font-size: 1.1rem; color: var(--black); margin-bottom: 12px; }
.location-card address { color: var(--gray-700); font-size: 0.9rem; margin-bottom: 12px; }
.location-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 16px;
}
.location-card .btn {
    color: var(--red);
    border-color: var(--red);
}
.location-card .btn:hover {
    background: var(--red);
    color: var(--white);
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gray-100);
}

/* ====== INQUIRY / CART ====== */
.inquiry-section { background: var(--white) !important; }
.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.inquiry-cart {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 28px;
    position: sticky;
    top: 100px;
}
.inquiry-cart h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-300);
}
.cart-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--gray-500);
}
.cart-empty i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }
.cart-empty p { font-size: 0.9rem; line-height: 1.6; }

/* Cart item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-300);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; color: var(--black); }
.cart-item-sku { font-size: 0.78rem; color: var(--gray-500); }
.cart-item-qty {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}
.cart-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--red-bg);
    color: var(--red);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all var(--transition);
}
.cart-item-remove:hover { background: var(--red); color: var(--white); }

/* Form */
.inquiry-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.inquiry-form h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 20px;
}
.form-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.toggle-option {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    background: var(--white);
    color: var(--gray-700);
}
.toggle-option input { display: none; }
.toggle-option.active { background: var(--red); color: var(--white); }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font-main);
    transition: border-color var(--transition);
    background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Delivery options */
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.delivery-option { cursor: pointer; }
.delivery-option input { display: none; }
.delivery-card {
    text-align: center;
    padding: 20px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.delivery-card i { font-size: 1.5rem; color: var(--gray-500); display: block; margin-bottom: 8px; }
.delivery-card strong { display: block; font-size: 0.92rem; color: var(--black); margin-bottom: 4px; }
.delivery-card span { font-size: 0.82rem; color: var(--gray-500); }
.delivery-option input:checked + .delivery-card {
    border-color: var(--red);
    background: var(--red-bg);
}
.delivery-option input:checked + .delivery-card i { color: var(--red); }

/* Pickup options */
.pickup-options { display: flex; flex-direction: column; gap: 10px; }
.pickup-option { cursor: pointer; }
.pickup-option input { display: none; }
.pickup-card {
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.pickup-card strong { display: block; color: var(--black); font-size: 0.95rem; }
.pickup-card span { display: block; font-size: 0.82rem; color: var(--gray-500); }
.pickup-phone { color: var(--red) !important; font-weight: 600; margin-top: 4px; }
.pickup-option input:checked + .pickup-card {
    border-color: var(--red);
    background: var(--red-bg);
}

.form-consent {
    margin: 20px 0;
    font-size: 0.82rem;
    color: var(--gray-700);
}
.form-consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.form-consent input { margin-top: 3px; accent-color: var(--red); }

/* ====== CONTACT ====== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 16px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-card p { color: var(--gray-700); font-size: 0.92rem; line-height: 1.6; }
.contact-card a { color: var(--red); font-weight: 500; }

/* ====== FOOTER ====== */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(10); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    transition: all var(--transition);
}
.footer-col ul a:hover { color: var(--red-light); padding-left: 4px; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}
.footer-contact i { color: var(--red); font-size: 0.85rem; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--red-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
}

/* ====== FLOATING CART ====== */
.floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition);
}
.floating-cart:hover { background: var(--red-dark); color: var(--white); transform: scale(1.1); }
.floating-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--black);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red); transform: translateY(-2px); }

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--black);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: #4CAF50; font-size: 1.1rem; }

/* ====== FAQ ====== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
}
.faq-item:hover { border-color: var(--red); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    text-align: left;
    gap: 12px;
}
.faq-question i {
    color: var(--red);
    font-size: 0.85rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}
.faq-answer p {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .systems-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .about-image img { height: 350px; }
    .inquiry-grid { grid-template-columns: 1fr; }
    .inquiry-cart { position: static; }
    .locations-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-content { justify-content: center; }
    .top-bar-right { display: none; }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        align-items: stretch;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        overflow-y: auto;
        z-index: 999;
    }
    .nav-menu.open { right: 0; }
    .nav-link { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }

    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.5rem; }

    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.7rem; }
    .products-grid { grid-template-columns: 1fr 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    .delivery-options { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .hero { min-height: 500px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-content { padding: 40px 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: row; gap: 16px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.75rem; }
    .products-grid { grid-template-columns: 1fr; }
    .trust-items { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-item { padding: 6px 0; }
    .trust-item i { font-size: 1.4rem; width: 36px; }
    .trust-item strong { font-size: 0.85rem; }
    .trust-item span { font-size: 0.75rem; }
    .category-filter { gap: 6px; }
    .filter-btn { padding: 6px 12px; font-size: 0.78rem; }
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 0.9rem; }
    .product-info h3 { font-size: 0.95rem; }
    .product-info p { font-size: 0.82rem; }
    .top-bar { font-size: 0.78rem; padding: 6px 0; }
    .top-bar-left { gap: 12px; }
    .contact-card { padding: 24px 16px; }
    .contact-card i { font-size: 1.5rem; }
    .about-badge-overlay { padding: 14px 20px; }
    .badge-number { font-size: 1.5rem; }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.show { display: block; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* Print styles */
@media print {
    .header, .top-bar, .hero-bg, .floating-cart, .back-to-top, .nav-toggle { display: none; }
    .hero { min-height: auto; background: white; }
    .hero h1, .hero-subtitle { color: black; }
}
