/* =====================================================
   Akash Enterprises – Industrial Theme
   Version 2.0 — SEO + Performance + Mobile Hardened
   ===================================================== */

:root {
    --primary: #b11226;
    --primary-dark: #7d0c1a;
    --dark: #0b0f14;
    --charcoal: #111827;
    --charcoal-soft: #1f2937;
    --text-light: #e5e7eb;
    --text-muted-light: #9ca3af;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --bg-main: #ffffff;
    --bg-soft: #f6f7f9;
    --radius: 10px;
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-strong: 0 18px 40px rgba(0,0,0,0.18);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.65;
}

img { display: block; max-width: 100%; opacity: 0; transition: opacity 0.6s ease; }
img.loaded { opacity: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* HEADER */
.site-header {
    background: var(--bg-main);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo-area { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: inherit; }
.logo { height: 54px; width: auto; }
.company-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: inline-block;
    line-height: 1.2;
}

.main-nav { display: flex; align-items: center; }

.main-nav a {
    margin-left: 1.3rem;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

/* HAMBURGER */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-dark); border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BREADCRUMB */
.breadcrumb {
    background: var(--bg-soft);
    padding: 0.65rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.85rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.3rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-muted); }

/* HERO */
.hero {
    position: relative;
    background:
        linear-gradient(rgba(17,24,39,0.78), rgba(17,24,39,0.78)),
        url("../images/home/homepage-hero-agro-protection.jpg") center / cover no-repeat;
    color: #ffffff;
    padding: 6.5rem 0;
}
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { max-width: 720px; font-size: 1.15rem; color: var(--text-light); margin-bottom: 1rem; }
.hero h2 { color: #ffffff; font-size: 1.3rem; font-weight: 600; margin-top: 1.8rem; margin-bottom: 0.6rem; }
.hero ul, .hero ol { padding-left: 1.3rem; color: var(--text-light); line-height: 1.8; margin-bottom: 0.8rem; }

/* INFO GRID (What We Do / How We Work) */
.info-grid { display: grid; grid-template-columns: 1.2fr 2px 0.75fr; gap: 2rem; align-items: start; }
.info-grid-divider { background: #374151; align-self: stretch; }
.info-grid-right { display: flex; flex-direction: column; gap: 0.9rem; }

/* CATEGORY SECTIONS */
.categories-section { padding: 4.5rem 0; }
.categories-section.dark { background: var(--charcoal); color: var(--text-light); }
.categories-section.dark p { color: var(--text-muted-light); }
.categories-section.dark h2 { color: #ffffff; }
.categories-section.light { background: var(--bg-soft); }

.categories-section h2, .contact-section h2 { font-size: 2.1rem; font-weight: 700; margin-bottom: 1.6rem; }
.categories-section p { max-width: 880px; margin-bottom: 1.1rem; }

/* CATEGORY GRID */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.category-card {
    background: #ffffff; border-radius: var(--radius); padding: 1.2rem;
    box-shadow: var(--shadow-soft); text-decoration: none; color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.category-card img { height: 140px; width: 100%; object-fit: contain; margin-bottom: 0.9rem; }
.category-card h3 { text-align: center; font-size: 1.05rem; font-weight: 600; }

/* PRODUCT PAGES */
.product-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.2rem; }
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.product-gallery img {
    width: 100%; height: 260px; object-fit: contain; background: #ffffff;
    padding: 0.2rem; border-radius: var(--radius); box-shadow: var(--shadow-soft); cursor: zoom-in;
}
.product-info h2 { font-size: 1.3rem; font-weight: 700; margin-top: 1.6rem; margin-bottom: 0.6rem; color: var(--text-dark); }
.product-info h2:first-child { margin-top: 0; }
.product-info ul, .product-info ol { padding-left: 1.3rem; line-height: 1.8; margin-bottom: 0.8rem; }
.product-info p { margin-bottom: 0.8rem; color: var(--text-muted); }

/* LIGHTBOX (CSS-managed, not JS-injected) */
#lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.88); display: none;
    align-items: center; justify-content: center;
    z-index: 9999; cursor: zoom-out; padding: 1rem;
}
#lightbox-overlay.active { display: flex; }
#lightbox-image { max-width: 100%; max-height: 90vh; object-fit: contain; background: #fff; border-radius: 8px; opacity: 1 !important; }

/* CONTACT */
.contact-section { background: var(--bg-main); padding: 4.5rem 0; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-details li { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; }
.contact-details a { color: var(--primary); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* FOOTER */
.site-footer { background: var(--dark); color: var(--text-muted-light); text-align: center; padding: 2.3rem 0; font-size: 0.9rem; }

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed; right: 20px; bottom: 20px; background: #25D366;
    border-radius: 50%; padding: 14px; box-shadow: var(--shadow-strong); z-index: 200;
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 20px 48px rgba(37,211,102,0.4); }

/* 404 PAGE */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; }
.error-page h1 { font-size: 5rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.error-page h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }
.btn-primary { display: inline-block; background: var(--primary); color: #fff; padding: 0.75rem 2rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: background var(--transition); }
.btn-primary:hover { background: var(--primary-dark); }

/* RESPONSIVE */
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-main); border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
        flex-direction: column; align-items: flex-start;
        padding: 1rem 1.5rem; box-shadow: var(--shadow-soft);
    }
    .main-nav.open { display: flex; }
    .main-nav a { margin-left: 0; padding: 0.65rem 0; width: 100%; border-bottom: 1px solid #f0f0f0; }
    .main-nav a:last-child { border-bottom: none; }
    .header-content { flex-direction: row; padding: 0.9rem 0; }
    .logo { height: 44px; }
    .company-name { font-size: 1.2rem; }
    .info-grid { grid-template-columns: 1fr; }
    .info-grid-divider { display: none; }
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { grid-template-columns: 1fr; }
    .product-gallery img { height: 220px; }
}

@media (max-width: 640px) { .categories-grid { grid-template-columns: 1fr; } }


/* ========================================
   HERO v2 — Dual CTA
======================================== */
.hero-content-wrap { max-width: 680px; }
.hero-text h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}
.btn-secondary svg { fill: #ffffff; opacity: 1 !important; flex-shrink: 0; }

.about-cta-btn { margin: 0.4rem; }
.about-cta .btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.about-cta .btn-secondary:hover { background: var(--primary); color: #fff; }

/* ========================================
   STATS BAR
======================================== */
.stats-bar {
    background: var(--primary);
    padding: 1.5rem 0;
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 110px;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 0.4rem;
    }
    .stat-divider { display: none; }
    .stat-item { min-width: 0; }
    .stat-number { font-size: 1.1rem; }
    .stat-label { font-size: 0.66rem; }
    /* Row 1: 3 equal cols; Row 2: 2 centered cols */
    .stats-grid > .stat-item:nth-child(1)  { grid-column: 1 / 3; }
    .stats-grid > .stat-item:nth-child(3)  { grid-column: 3 / 5; }
    .stats-grid > .stat-item:nth-child(5)  { grid-column: 5 / 7; }
    .stats-grid > .stat-item:nth-child(7)  { grid-column: 1 / 4; }
    .stats-grid > .stat-item:nth-child(9)  { grid-column: 4 / 7; }
}

/* ========================================
   INDUSTRIES WE SERVE
======================================== */
.industries-section {
    padding: 4.5rem 0;
    background: var(--bg-soft);
}
.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.section-header h2 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .industries-grid { grid-template-columns: 1fr; } }

.industry-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.industry-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.industry-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-soft);
}
.industry-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.industry-card:hover .industry-img-wrap img {
    transform: scale(1.04);
}
.industry-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
}
.industry-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-dark); }
.industry-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.75rem; }
.industry-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
.industry-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ========================================
   RELATED PRODUCTS
======================================== */
.related-products-section {
    background: var(--bg-soft);
    padding: 3rem 0;
    margin-top: 2rem;
}
.related-products-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 1024px) and (min-width: 769px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

.related-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5ede9;
    border-radius: var(--radius);
    padding: 1rem;
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition);
    align-items: flex-start;
}
.related-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.related-img-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}
.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}
.related-info { flex: 1; min-width: 0; }
.related-info h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.related-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-hero {
    background: var(--charcoal);
    color: #fff;
    padding: 3.5rem 0 3rem;
}
.about-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.6rem; }
.about-hero-sub { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 560px; }

.about-section { padding: 4rem 0; }
.about-section--alt { background: var(--bg-soft); }
.about-section h2 { font-size: 1.7rem; margin-bottom: 1rem; color: var(--text-dark); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: flex-start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

.about-text p { line-height: 1.8; margin-bottom: 1rem; color: var(--text-dark); }

.about-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.about-list li {
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dark);
}
.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.about-list--wide { max-width: 680px; }

.about-stats-panel {
    background: var(--charcoal-soft);
    border-radius: var(--radius);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.about-stat { text-align: center; }
.about-stat-n { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.about-stat-l { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }

.section-intro { color: var(--text-muted); max-width: 540px; margin-bottom: 2rem; line-height: 1.7; }

.supply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) { .supply-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .supply-grid { grid-template-columns: 1fr; } }

.supply-card {
    background: #fff;
    border: 1px solid #e5ede9;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: box-shadow var(--transition), transform var(--transition);
}
.supply-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.supply-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e5ede9;
}
.supply-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.supply-card-body { padding: 1rem 1.1rem 1.2rem; }
.supply-card-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.supply-card-body p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

.process-steps { display: flex; flex-direction: column; gap: 1.5rem; max-width: 740px; }
.process-step { display: flex; gap: 1.4rem; align-items: flex-start; }
.process-step-num {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 800;
    margin-top: 0.1rem;
}
.process-step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text-dark); }
.process-step-body p { font-size: 0.88rem; color: var(--text-dark); line-height: 1.7; }

.about-cta {
    background: var(--bg-soft);
    padding: 4rem 0;
    text-align: center;
}
.about-cta h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.about-cta p { color: var(--text-muted); max-width: 480px; margin: 0 auto 1.5rem; line-height: 1.7; }

/* ========================================
   BLOG
======================================== */
.blog-article { padding: 0 0 4rem; }
.blog-container { max-width: 780px; }

.blog-index-hero {
    background: var(--charcoal);
    color: #fff;
    padding: 3rem 0 2.5rem;
}
.blog-index-hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.blog-index-hero p { color: rgba(255,255,255,0.75); }

.blog-index-section { padding: 3rem 0 4rem; }
.blog-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 768px) { .blog-index-grid { grid-template-columns: 1fr; } }

.blog-card { background: #fff; border: 1px solid #e5ede9; border-radius: var(--radius); overflow: hidden; }
.blog-card-img-link img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.2rem 1.3rem 1.5rem; }
.blog-category { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); background: #fdecea; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.6rem; }
.blog-card-body h2 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card-body h2 a { color: var(--primary); text-decoration: none; }
.blog-card-body h2 a:hover { text-decoration: underline; }
.blog-card-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.75rem; }
.blog-read-more { font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.blog-read-more:hover { text-decoration: underline; }

.blog-header { padding: 2.5rem 0 1.5rem; }
.blog-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.8rem; }
.blog-meta time { font-size: 0.83rem; color: var(--text-muted); }
.blog-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 1rem; }
.blog-intro { font-size: 1.05rem; color: var(--text-dark); line-height: 1.75; border-left: 3px solid var(--primary); padding-left: 1rem; }

.blog-body { padding-bottom: 2rem; }
.blog-body h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--text-dark); color: var(--primary); padding-bottom: 0.4rem; border-bottom: 2px solid #e5ede9; }
.blog-body h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; color: var(--text-dark); }
.blog-body p { line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-dark); }
.blog-body ul, .blog-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.blog-body li { line-height: 1.8; font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.4rem; }
.blog-body a { color: var(--primary); }
.blog-body a:hover { text-decoration: underline; }
.blog-body em { font-size: 0.875rem; color: var(--text-muted); }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid #e5ede9; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.spec-table th { background: var(--primary); color: #fff; padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.spec-table td { padding: 0.65rem 1rem; border-bottom: 1px solid #e5ede9; color: var(--text-dark); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f8faf9; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.faq-item { background: var(--bg-soft); border-radius: var(--radius); padding: 1.1rem 1.2rem; border-left: 3px solid var(--primary); }
.faq-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-dark); }
.faq-item p { font-size: 0.875rem; color: var(--text-dark); line-height: 1.65; margin: 0; }

.blog-cta-box {
    background: var(--charcoal);
    border-radius: var(--radius);
    padding: 2rem 2rem;
    text-align: center;
    margin-top: 2.5rem;
}
.blog-cta-box h3 { font-size: 1.2rem; color: #fff; margin-bottom: 0.6rem; }
.blog-cta-box p { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin-bottom: 1.2rem; }
.blog-cta-box .btn-primary { margin: 0.3rem; }
.blog-cta-box .btn-secondary {
    display: inline-flex;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition);
    margin: 0.3rem;
}
.blog-cta-box .btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ========================================
   SINCE 1991 TAG
======================================== */
.since-tag {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1px;
    line-height: 1;
}

/* ========================================
   WHO WE SUPPLY TO — SEGMENT CARDS v2
======================================== */
.supply-section {
    padding: 4.5rem 0;
    background: var(--bg-soft);
}

.supply-segments {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
}

.segment-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-main);
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.segment-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.segment-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 0.1rem;
    user-select: none;
}

.segment-body {
    flex: 1;
    min-width: 0;
}

.segment-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.segment-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* 5th card: spans full width, centred at half-width on desktop */
.segment-card--last {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 640px) {
    .supply-section { padding: 3rem 0; }
    .supply-segments { grid-template-columns: 1fr; gap: 0.75rem; }
    .segment-card--last { grid-column: unset; max-width: 100%; margin: 0; }
    .segment-card { padding: 1rem 1rem 1rem 0.9rem; }
    .segment-icon { font-size: 1.5rem; }
}

/* ========================================
   CAROUSEL
======================================== */
.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
}
.carousel-track:active { cursor: grabbing; }

/* Card sizing — show 3 on desktop, 2 on tablet, 1.2 on mobile */
.carousel-card {
    flex: 0 0 calc(33.333% - 0.85rem);
    min-width: 0;
    background: var(--bg-main);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}
.carousel-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}
.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.carousel-card h3 {
    padding: 0.75rem 1rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.35;
}

/* Buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: var(--bg-main);
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Responsive card count */
@media (max-width: 900px) {
    .carousel-card { flex: 0 0 calc(50% - 0.65rem); }
}
@media (max-width: 560px) {
    .carousel-card { flex: 0 0 calc(80% - 0.5rem); }
    .carousel-btn { width: 34px; height: 34px; font-size: 1.2rem; }
}

/* ========================================
   PERFORMANCE — content-visibility (below-fold sections)
======================================== */
.supply-section,
.categories-section,
.contact-section,
.related-products-section,
.about-section,
.blog-index-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* ========================================
   PERFORMANCE — Touch target minimums (WCAG 2.5.5)
======================================== */
.carousel-btn {
    min-width: 44px;
    min-height: 44px;
}
.nav-toggle {
    min-width: 44px;
    min-height: 44px;
}
.whatsapp-float {
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   TABLET LAYOUT — 768px–1024px fixes
======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    }
    .supply-segments {
        grid-template-columns: repeat(2, 1fr);
    }
    .segment-card--last {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.5rem);
    }
}

/* ========================================
   DESKTOP WIDE — 1440px+ refinements
======================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    .hero {
        padding: 8rem 0;
    }
    .carousel-card {
        flex: 0 0 calc(33.333% - 0.85rem);
    }
}
