/* ============================================================
   Jints Tech Fire & Security — Premium CSS Redesign
   Spec: docs/superpowers/specs/2026-03-21-visual-redesign-design.md
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    --red:         #DC2626;
    --red-dark:    #b91c1c;
    --red-tint:    #fef2f2;
    --gold:        #D4AF37;
    --dark:        #1a1a1a;
    --mid:         #374151;
    --muted:       #6b7280;
    --light-bg:    #f9fafb;
    --white:       #ffffff;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.07);
    --shadow-md:   0 4px 6px rgba(0,0,0,0.07), 0 10px 30px rgba(0,0,0,0.10);
    --shadow-lg:   0 10px 15px rgba(0,0,0,0.08), 0 20px 48px rgba(0,0,0,0.12);

    --radius-sm:   6px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-pill: 24px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
html {
    font-size: 16px;
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--mid);
    background: var(--white);
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--dark);
}

h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    color: var(--dark);
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background: var(--light-bg);
}

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.empty-state { text-align: center; padding: 64px 0; color: var(--muted); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: 16px; }

/* ============================================================
   Top Bar
   ============================================================ */
.topbar {
    background: var(--dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-left span,
.topbar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar i {
    color: var(--gold);
}

/* ============================================================
   Header
   ============================================================ */
.header {
    background: var(--white);
    border-bottom: 2px solid var(--red);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 2rem;
    color: var(--red);
    line-height: 1;
}

.logo-img {
    max-height: 48px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--red);
    display: block;
    line-height: 1.2;
}

/* Search bar */
.header-search {
    display: flex;
    flex: 0 0 auto;
    max-width: 500px;
    width: 400px;
    margin-left: auto;
}

.header-search input {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.header-search input:focus {
    border-color: var(--red);
}

.header-search button {
    background: var(--red);
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.header-search button:hover {
    background: var(--red-dark);
}

/* Header actions (cart + mobile toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cart-icon {
    position: relative;
    color: var(--dark);
    font-size: 1.3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
    padding: 4px;
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    display: block;
    color: #fff;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0,0,0,0.18);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    padding: 11px 28px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: inherit;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    padding: 11px 28px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: inherit;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    transform: translateY(-1px);
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 11px 28px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: inherit;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-gold:hover {
    background: #b8952e;
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin: 12px 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #16a34a;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--red);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: var(--red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #d1d5db;
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--mid);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
    color: var(--mid);
}

.form-control:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

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

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

/* ============================================================
   Hero Banner (Swiper)
   ============================================================ */
.hero-swiper {
    width: 100%;
    height: 500px;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

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

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    width: 90%;
    z-index: 10;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

/* ============================================================
   Certification Bar
   ============================================================ */
.cert-bar {
    background: var(--dark);
    padding: 20px 0;
}

.cert-bar-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 24px;
    border-right: 1px solid rgba(212,175,55,0.3);
}

.cert-item:last-child {
    border-right: none;
}

/* ============================================================
   Section Titles
   ============================================================ */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    text-align: center;
    margin-bottom: 8px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    margin: 10px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* ============================================================
   Products Grid + Product Cards
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-card-body {
    padding: 16px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.1rem;
    color: var(--red);
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-price .original {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.product-price .sale {
    background: var(--red-tint);
    color: var(--red);
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 700;
}

/* ============================================================
   Categories Grid + Category Cards
   ============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.category-card:hover {
    border: 2px solid var(--red);
    transform: translateY(-4px);
    color: var(--red);
}

.category-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--red-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
    color: var(--red);
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================================
   Feature / Why-Us Boxes
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: var(--white);
    padding: 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--red-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--red);
}

.feature-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ============================================================
   Services Strip
   ============================================================ */
.services-strip {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 64px 0;
    color: #fff;
}

.services-strip .section-title {
    color: #fff;
}

.services-strip .section-title::after {
    background: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
}

.service-item i {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--gold);
    display: block;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.service-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.cta-section p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* ============================================================
   Shop Layout
   ============================================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-top: 24px;
}

.shop-sidebar h3 {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 12px;
}

.category-list {
    list-style: none;
}

.category-list li a {
    display: block;
    padding: 8px 12px;
    color: var(--mid);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-bottom: 2px;
    transition: background 0.15s, color 0.15s;
}

.category-list li a:hover,
.category-list li a.active {
    background: var(--red);
    color: #fff;
}

.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.shop-header h1 {
    font-size: 1.5rem;
}

.results-count {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    color: var(--mid);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pagination a.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.pagination a:hover:not(.active) {
    border-color: var(--red);
    color: var(--red);
}

/* ============================================================
   Product Detail
   ============================================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 24px;
}

.gallery-main img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-height: 400px;
    object-fit: contain;
    background: var(--light-bg);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumb-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}

.thumb-img:hover {
    border-color: var(--red);
}

.product-info h1 {
    font-size: 1.8rem;
    margin: 8px 0 16px;
}

.detail-price {
    margin-bottom: 16px;
}

.original-price {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 1rem;
    margin-right: 8px;
}

.sale-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
}

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.stock-badge.in-stock {
    background: #dcfce7;
    color: #166534;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.short-desc {
    color: var(--mid);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sku {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.qty-btn {
    background: var(--light-bg);
    border: 1px solid #e5e7eb;
    width: 36px;
    height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.qty-btn:hover {
    background: #e5e7eb;
}

.qty-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    font-family: inherit;
}

.qty-input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: inherit;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
}

/* Tabs */
.tab-buttons {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s;
}

.tab-btn.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 700;
}

.tab-content {
    line-height: 1.7;
    color: var(--mid);
}

/* ============================================================
   Cart
   ============================================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.cart-table th {
    background: var(--light-bg);
    font-weight: 700;
    color: var(--dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-table td {
    font-size: 0.95rem;
    vertical-align: middle;
    color: var(--mid);
}

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

.cart-table-wrapper {
    overflow-x: auto;
}

.remove-btn {
    color: var(--red);
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.remove-btn:hover {
    color: var(--red-dark);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--mid);
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark);
    border-bottom: none;
    margin-top: 8px;
}

/* ============================================================
   Checkout
   ============================================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 24px;
}

.checkout-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    align-self: start;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.payment-option input[type="radio"] {
    accent-color: var(--red);
}

.payment-option:has(input:checked) {
    border-color: var(--red);
    background: var(--red-tint);
}

/* ============================================================
   Quote
   ============================================================ */
.quote-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    margin-top: 24px;
}

.quote-info h3 {
    margin-bottom: 16px;
}

.quote-info ul {
    list-style: none;
}

.quote-info ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--mid);
}

.quote-info ul li i {
    color: var(--red);
    margin-right: 8px;
}

.contact-info-box {
    background: var(--dark);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.contact-info-box p {
    padding: 6px 0;
    font-size: 0.9rem;
}

.contact-info-box i {
    color: var(--gold);
    margin-right: 8px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    margin-top: 24px;
}

.contact-info-sidebar h2 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ============================================================
   Services Page
   ============================================================ */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--red-tint);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon i {
    font-size: 1.5rem;
    color: var(--red);
    margin: 0;
    display: inline;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    text-align: left;
    flex: 1;
}

.service-card__list li {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.service-card__list li i {
    color: var(--red);
    margin-right: 6px;
}

.service-card__bar {
    height: 3px;
    background: linear-gradient(90deg, var(--red), #f87171);
    border-radius: 2px;
    margin-top: 20px;
}

.services-hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.services-hero h1 {
    color: var(--white);
}

.services-hero__circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.services-hero__circle--1 {
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
}

.services-hero__circle--2 {
    bottom: -30px;
    left: -10px;
    width: 130px;
    height: 130px;
}

.services-hero__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 8px;
}

.services-hero__sub {
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 24px;
    opacity: 0.8;
    line-height: 1.6;
}

.services-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.services-hero__stat {
    text-align: center;
}

.services-hero__stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.services-hero__stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    color: var(--white);
}

.services-hero__divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
}

.services-cta {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--red);
    margin-top: 48px;
}

.services-cta__sub {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.services-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   About Page
   ============================================================ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--red);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--red);
}

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.cert-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 2px solid var(--gold);
    box-shadow: 0 0 8px rgba(212,175,55,0.15);
}

.cert-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.cert-card h3 {
    font-size: 1rem;
    color: var(--dark);
}

/* ============================================================
   Order Success
   ============================================================ */
.success-icon {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

.order-success-details {
    max-width: 600px;
    margin: 32px auto;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.order-success-details h3 {
    margin-bottom: 16px;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111827;
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    z-index: 9999;
    font-weight: 500;
    animation: toastIn 0.25s ease forwards;
}

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

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--dark);
    color: #ccc;
}

.footer-top {
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212,175,55,0.25);
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.footer-col p i {
    margin-top: 3px;
    color: var(--red);
    flex-shrink: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-logo i {
    color: var(--red);
    font-size: 1.4rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.cert-badge {
    background: rgba(212,175,55,0.15);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 0 6px rgba(212,175,55,0.2);
}

.footer-bottom {
    background: #0d0d0d;
    padding: 16px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #2a2a2a;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ============================================================
   Projects
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.project-card__img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 2.5rem;
}

.project-card__body {
    padding: 16px;
}

.project-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--dark);
}

.project-card__years,
.project-card__address {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 4px;
}

.project-card__years i,
.project-card__address i {
    color: var(--red);
    margin-right: 6px;
    width: 14px;
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.project-card__img .status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.status-launch    { background: #2563eb; color: #fff; }
.status-ongoing   { background: var(--gold); color: var(--dark); }
.status-completed { background: #16a34a; color: #fff; }
.status-delivered { background: var(--dark); color: #fff; }

/* Project detail page */
.project-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    margin-top: 24px;
    align-items: start;
}

.project-detail__photo img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.project-detail__meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.project-meta-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.project-meta-item i {
    width: 40px;
    height: 40px;
    background: var(--red);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.project-meta-item p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 2px 0 0;
}

/* ============================================================
   Responsive — ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile nav */
    .navbar {
        display: none;
    }

    .navbar.open {
        display: block;
        background: var(--dark);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        display: block;
        padding: 12px 24px;
        color: #fff;
        font-weight: 600;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Hero */
    .hero-swiper {
        height: 340px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Grids */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Page layouts — all collapse to single column */
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        order: 2;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .quote-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .services-hero {
        padding: 32px 20px;
    }

    .services-hero__stats {
        gap: 20px;
    }

    .services-hero__divider {
        display: none;
    }

    .services-cta {
        padding: 28px 20px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About page */
    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin: 20px 0 32px !important;
    }

    .about-hero-grid h1 {
        font-size: 1.6rem !important;
    }

    .about-why-wrap {
        padding: 28px 20px !important;
    }

    .about-why-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .about-mission {
        padding: 36px 20px !important;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) {
        display: none;
    }

    /* Cert bar wraps */
    .cert-bar-inner {
        flex-wrap: wrap;
        gap: 8px 0;
        justify-content: center;
    }

    .cert-item {
        border-right: none;
        padding: 4px 16px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-detail {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Responsive — ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
    .hero-swiper {
        height: 280px;
    }

    .banner-title {
        font-size: 1.3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Live Search Dropdown
   ============================================================ */
.header-search {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 2000;
    overflow: hidden;
    display: none;
}

.search-dropdown.open {
    display: block;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover {
    background: var(--red-tint);
}

.search-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
}

.search-suggestion-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
}

.search-dropdown-footer {
    padding: 10px 14px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    background: var(--light-bg);
    cursor: pointer;
    transition: background 0.15s;
}

.search-dropdown-footer:hover {
    background: var(--red-tint);
}

/* ── Contact Speed-Dial FAB ─────────────────────────────────── */
.contact-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.contact-fab__toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(220,38,38,0.45);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    flex-shrink: 0;
}

.contact-fab__toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(220,38,38,0.6);
}

.contact-fab__toggle .contact-fab__icon--close { display: none; }
.contact-fab__toggle .contact-fab__icon--open  { display: inline; }

.contact-fab.open .contact-fab__toggle .contact-fab__icon--close { display: inline; }
.contact-fab.open .contact-fab__toggle .contact-fab__icon--open  { display: none; }

.contact-fab__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
}

.contact-fab.open .contact-fab__menu {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Each action: label card + icon circle side by side */
.contact-fab__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.15s;
}

.contact-fab__btn:hover { transform: scale(1.04); }

.contact-fab__label {
    background: #fff;
    color: #222;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    line-height: 1.4;
}

.contact-fab__btn i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.contact-fab__btn--wa i  { background: #25d366; }
.contact-fab__btn--call i { background: #1d4ed8; }

@media (max-width: 480px) {
    .contact-fab {
        bottom: 16px;
        right: 16px;
    }

    .contact-fab__toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-fab__label {
        display: none;
    }

    .contact-fab__btn--wa i  { background: #25d366; }
    .contact-fab__btn--call i { background: #1d4ed8; }
}
