:root {
    /* Sophisticated Charcoal & Amber Gold Palette (WCAG Compliant) */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    --border-focus: #b45309;
    
    /* Certified Amber Gold System - High Contrast WCAG AA / AAA */
    --gold: #92400e;              /* Deep Rich Amber 800 - contrast 6.9:1 on white (AAA for text) */
    --gold-accent: #b45309;       /* Amber 700 - contrast 4.8:1 on white (AA for normal text) */
    --gold-hover: #78350f;        /* Deep Amber 900 */
    --gold-light: #f59e0b;        /* Amber 500 - contrast 9.2:1 on dark backgrounds */
    --gold-bright: #fbbf24;       /* Amber 400 - ember highlights */
    --gold-bg: rgba(180, 83, 9, 0.08);
    --gold-border: rgba(180, 83, 9, 0.25);
    --gold-glow: rgba(180, 83, 9, 0.15);

    /* Industrial Natural Charcoal Palette */
    --charcoal-900: #0a0d14;      /* Deepest kiln black */
    --charcoal-800: #0f172a;      /* Primary dark charcoal */
    --charcoal-700: #1e293b;      /* Slate charcoal */
    --charcoal-600: #334155;      /* Border & accent charcoal */
    --charcoal: #1e293b;

    /* Text & Legibility Contrast Hierarchy (Guaranteed WCAG AA / AAA) */
    --text-primary: #0f172a;      /* Ultra crisp Slate 900 - contrast > 15:1 */
    --text-secondary: #334155;    /* Slate 700 - contrast > 8.3:1 (AAA) */
    --text-muted: #475569;        /* Slate 600 - contrast > 5.5:1 (AA) */
    --text-on-dark: #f8fafc;      /* White/slate text for dark banners */
    --text-on-dark-sub: #cbd5e1;  /* Slate 300 for dark banners */

    /* Feedback & Functional Semantics */
    --danger: #b91c1c;            /* Red 700 - contrast 5.7:1 on white */
    --success: #047857;           /* Emerald 700 - contrast 5.3:1 on white */
    --info: #0369a1;              /* Sky 700 - contrast 5.2:1 on white */
    --whatsapp-green: #15803d;    /* Accessible green */

    /* Dimensions, Elevation & Motion */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility & Universal Box Sizing */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Skip-to-content Link for Keyboard & Screen Reader Users */
.skip-to-content {
    position: absolute;
    top: -120px;
    right: 20px;
    background: #0f172a;
    color: #fbbf24;
    border: 2px solid #b45309;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    z-index: 999999;
    text-decoration: none;
    transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body[dir="ltr"] .skip-to-content {
    right: auto;
    left: 20px;
}

.skip-to-content:focus {
    top: 16px;
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
}

/* Focus-visible Styling for WCAG 2.1 Criterion 2.4.7 */
:focus-visible {
    outline: 2.5px solid var(--border-focus);
    outline-offset: 2px;
}

button:focus-visible, 
a:focus-visible, 
input:focus-visible, 
select:focus-visible, 
textarea:focus-visible {
    outline: 2.5px solid var(--border-focus);
    outline-offset: 2px;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced Motion for Vestibular Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-display: swap;
}

body[dir="ltr"] {
    font-family: 'Plus Jakarta Sans', 'Cairo', system-ui, sans-serif;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
}

/* Typography & Gold Accents */
.gold {
    color: var(--gold) !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Top Bar */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-link:hover {
    color: var(--gold);
}

.top-badge {
    background: rgba(180, 130, 40, 0.08);
    color: var(--gold);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(180, 130, 40, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
}

.lang-btn:hover {
    background: rgba(180, 130, 40, 0.12);
    color: var(--gold);
    border-color: var(--gold);
}

.btn-top-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-top-whatsapp:hover {
    background: #20ba5a;
}

.btn-top-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-top-admin:hover {
    color: var(--gold);
    background: rgba(180, 130, 40, 0.12);
    border-color: var(--gold);
}

/* Main Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 14px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    box-shadow: 0 2px 8px rgba(180, 130, 40, 0.15);
}

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

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 96px 0 76px;
    text-align: center;
    color: #f8fafc;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(rgba(245, 158, 11, 0.6) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fef08a;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.45rem;
    color: #fbbf24;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.12rem;
    color: #e2e8f0;
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.85;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Dynamic Countdown */
.countdown-wrapper {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-weight: 700;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.countdown-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fbbf24;
    font-variant-numeric: tabular-nums;
}

.count-label {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-top: 4px;
}

/* Buttons */
.hero-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #b45309;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35);
    color: #ffffff !important;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #92400e !important;
    border: 2px solid #b45309;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    min-height: 46px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: #fef3c7;
    border-color: #92400e;
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    min-height: 46px;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Metrics Strip */
.metrics-strip {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.metric-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.metric-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 4px;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}

.metric-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sections Shared Styling */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-paragraph {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.section-header-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-subtitle-center {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 10px;
}

/* About Section */
.about-section {
    padding: 90px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8fafc;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.pillar-icon {
    font-size: 1.3rem;
    color: var(--gold);
    padding: 10px;
    background: rgba(180, 130, 40, 0.1);
    border-radius: var(--radius-sm);
}

.pillar-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pillar-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.visual-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.charcoal-display-art {
    height: 280px;
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ember-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(180, 130, 40, 0.2) 0%, transparent 70%);
}

.glowing-icon {
    font-size: 4.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 16px rgba(180, 130, 40, 0.35));
    margin-bottom: 20px;
}

.charcoal-specs-overlay {
    display: flex;
    gap: 12px;
    position: absolute;
    bottom: 20px;
}

.spec-bubble {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.spec-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
}

.visual-caption {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 90px 0;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

body[dir="ltr"] .product-badge-cat {
    right: auto;
    left: 14px;
}

.product-image-container {
    height: 190px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

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

.product-placeholder-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 2.5rem;
    opacity: 0.8;
}

.product-placeholder-img span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.product-short-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-specs-table {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    color: var(--text-muted);
}

.spec-val {
    color: var(--gold);
    font-weight: 700;
}

.product-footer-actions {
    display: flex;
    gap: 8px;
}

.btn-card-quote {
    flex-grow: 1;
    background: rgba(180, 130, 40, 0.08);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 9px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-quote:hover {
    background: var(--gold);
    color: #ffffff;
}

.btn-card-whatsapp {
    width: 38px;
    height: 38px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.btn-card-whatsapp:hover {
    background: #20ba5a;
}

/* Services Section */
.services-section {
    padding: 90px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
}

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

.service-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(180, 130, 40, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Quality Section */
.quality-section {
    padding: 80px 0;
    background: #f8fafc;
}

.quality-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.quality-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.specs-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.bento-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.bento-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.bento-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.cta-content {
    max-width: 780px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
    padding: 90px 0;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-details-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.contact-card-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(180, 130, 40, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h4 {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-card a, .contact-card p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3.5px rgba(180, 83, 9, 0.15);
}

.btn-submit {
    width: 100%;
    min-height: 50px;
    padding: 14px 24px;
    background: #b45309;
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
}

.btn-submit:hover {
    background: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(4, 120, 87, 0.1);
    border: 1.5px solid #047857;
    color: #047857;
}

.alert-danger {
    background: rgba(185, 28, 28, 0.1);
    border: 1.5px solid #b91c1c;
    color: #b91c1c;
}

/* Authoritative Deep Charcoal Footer */
.site-footer {
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: #b45309;
    color: #ffffff;
    border-color: #b45309;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 32px;
    height: 2.5px;
    background: #fbbf24;
}

body[dir="rtl"] .footer-heading::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

body[dir="rtl"] .footer-links a:hover {
    transform: translateX(-4px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.92rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: #fbbf24;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    background: #060911;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-certifications {
    display: flex;
    gap: 20px;
}

.footer-certifications span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-certifications span i {
    color: #fbbf24;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

body[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 24px;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

.whatsapp-tooltip {
    display: none;
}

/* Product Details Page Styles */
.product-page-wrapper {
    padding: 120px 0 80px;
    background: var(--bg-main);
    min-height: 100vh;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--gold);
}

.breadcrumb-nav .separator {
    font-size: 0.75rem;
    opacity: 0.6;
}

.breadcrumb-nav .current {
    color: var(--gold);
    font-weight: 600;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-main-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.product-cat-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

html[dir="ltr"] .product-cat-tag {
    right: auto;
    left: 16px;
}

.product-hero-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background: #f1f5f9;
    display: block;
}

.product-placeholder-hero {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold);
    font-size: 3rem;
}

.product-placeholder-hero span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.product-fast-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 16px 10px;
    text-align: center;
}

.highlight-box {
    padding: 6px;
}

.hl-icon {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.hl-val {
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hl-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.export-seals-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.export-seals-card h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seals-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.product-main-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 8px;
}

.product-subtitle-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.product-full-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Technical Specs Table Grid */
.tech-specs-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
}

.specs-card-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.specs-table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.spec-cell {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cell-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.cell-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gold-bold {
    color: var(--gold);
    font-weight: 800;
    font-size: 1.05rem;
}

/* Product Fast Inquiry Box */
.product-inquiry-box {
    background: linear-gradient(135deg, rgba(180, 130, 40, 0.05), #ffffff);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.product-inquiry-box h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inquiry-box-lead {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.product-fast-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.product-fast-form input,
.product-fast-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.product-fast-form input:focus,
.product-fast-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 130, 40, 0.15);
}

.form-action-group {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.btn-primary-large {
    flex: 1;
    background: var(--gold);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-primary-large:hover {
    background: var(--gold-hover);
}

.btn-whatsapp-large {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-whatsapp-large:hover {
    opacity: 0.9;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 30px;
}

/* Container Calculator Section Styles */
.calculator-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.calculator-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
}

.calc-input-group {
    margin-bottom: 22px;
}

.calc-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-option-btn {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.calc-option-btn:hover {
    border-color: var(--gold);
}

.calc-option-btn.active {
    border-color: var(--gold);
    background: rgba(180, 130, 40, 0.1);
    color: var(--gold);
    font-weight: 700;
}

.calc-results-panel {
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.results-header h3 {
    color: var(--gold);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.results-stat-row:last-of-type {
    border-bottom: none;
}

.r-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.r-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.r-val-gold {
    color: var(--gold);
    font-size: 1.35rem;
}

.calc-action-btn {
    margin-top: 24px;
    width: 100%;
    background: var(--gold);
    color: #ffffff;
    font-weight: 800;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: background 0.2s;
    box-shadow: 0 4px 14px var(--gold-glow);
}

.calc-action-btn:hover {
    background: var(--gold-hover);
}

/* Certifications Section */
.cert-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.cert-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.cert-icon-wrapper {
    width: 68px;
    height: 68px;
    background: rgba(180, 130, 40, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comprehensive Responsive Overrides & Viewport Containment */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
    .product-detail-layout,
    .calculator-grid,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .specs-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .about-real-img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .specs-table-grid,
    .form-row-2,
    .form-row,
    .form-action-group,
    .calc-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-action-group {
        flex-direction: column;
    }

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

    .product-fast-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-section {
        padding: 60px 0 46px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5.5vw + 0.4rem, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-desc {
        font-size: 0.98rem;
        margin-bottom: 24px;
        line-height: 1.7;
    }

    .form-wrapper,
    .calc-card {
        padding: 24px 18px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 2px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-only {
        display: block;
        width: 100%;
    }

    .mobile-only a {
        width: 100%;
        justify-content: center;
    }

    .top-contacts {
        display: none;
    }

    .top-bar-content {
        justify-content: flex-end;
    }

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

@media (max-width: 640px) {
    .products-grid,
    .services-grid,
    .specs-bento {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-real-img {
        height: 280px;
    }

    .countdown-wrapper {
        padding: 18px 12px;
        margin-bottom: 26px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-certifications {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .countdown-grid {
        gap: 6px;
    }

    .countdown-card {
        padding: 10px 4px;
    }

    .count-val {
        font-size: 1.3rem;
    }

    .count-label {
        font-size: 0.72rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-sub {
        font-size: 0.7rem;
    }

    .product-fast-highlights {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 16px;
        right: 16px;
    }

    body[dir="ltr"] .floating-whatsapp {
        right: auto;
        left: 16px;
    }
}

/* ==========================================================================
   Blog & Article Management System Styling
   ========================================================================== */

/* Blog Directory & Search Header */
.blog-hero-section {
    padding: 60px 0 40px;
    background: radial-gradient(circle at 50% 20%, rgba(180, 130, 40, 0.08) 0%, #f8fafc 75%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 14px 0;
    line-height: 1.3;
}

.page-hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.blog-search-box {
    max-width: 680px;
    margin: 0 auto 24px;
}

.blog-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

html[dir="rtl"] .search-icon {
    right: 16px;
}

html[dir="ltr"] .search-icon {
    left: 16px;
}

.blog-search-input {
    width: 100%;
    padding: 13px 18px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .blog-search-input {
    padding-right: 44px;
}

html[dir="ltr"] .blog-search-input {
    padding-left: 44px;
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 130, 40, 0.15);
}

.search-btn {
    padding: 13px 28px;
    white-space: nowrap;
}

.btn-reset-filter {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Category Filter Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.cat-pill {
    padding: 6px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s;
}

.cat-pill:hover,
.cat-pill.active {
    background: rgba(180, 130, 40, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 700;
}

/* Articles Grid */
.articles-grid-section,
.home-articles-section {
    padding: 60px 0;
}

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

.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    box-shadow: var(--shadow-sm);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.article-thumb-link {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-thumb-img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

html[dir="rtl"] .article-category-badge {
    right: 12px;
}

html[dir="ltr"] .article-category-badge {
    left: 12px;
}

.article-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.article-meta i {
    color: var(--gold);
    margin-left: 3px;
}

html[dir="ltr"] .article-meta i {
    margin-left: 0;
    margin-right: 3px;
}

.article-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.45;
}

.article-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.article-card-title a:hover {
    color: var(--gold);
}

.article-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
}

.article-author {
    color: var(--text-muted);
}

.article-author i {
    color: var(--gold);
    margin-left: 4px;
}

.article-read-more {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.article-read-more:hover {
    gap: 10px;
}

.no-articles-found {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ==========================================================================
   Single Article Detail View Styling
   ========================================================================== */

.article-container {
    padding-top: 30px;
    padding-bottom: 70px;
}

.breadcrumb-nav {
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--gold);
}

.breadcrumb-list .active {
    color: var(--gold);
    font-weight: 600;
}

.article-header {
    margin-bottom: 30px;
}

.article-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--gold);
    margin-left: 4px;
}

html[dir="ltr"] .meta-item i {
    margin-left: 0;
    margin-right: 4px;
}

.article-main-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 22px;
}

.article-author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    max-width: fit-content;
    box-shadow: var(--shadow-sm);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(180, 130, 40, 0.12);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-featured-image-wrapper {
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}

.article-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.article-summary-callout {
    background: rgba(180, 130, 40, 0.08);
    border-right: 4px solid var(--gold);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
}

html[dir="ltr"] .article-summary-callout {
    border-right: none;
    border-left: 4px solid var(--gold);
}

.callout-icon {
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Typography Inside Article Body */
.article-body-content {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-body-content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.article-body-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

html[dir="ltr"] .article-body-content h2::after {
    right: auto;
    left: 0;
}

.article-body-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    margin: 26px 0 12px;
}

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content ul,
.article-body-content ol {
    margin: 18px 30px 24px;
}

.article-body-content li {
    margin-bottom: 8px;
}

.article-body-content blockquote {
    background: #f8fafc;
    border-right: 4px solid var(--gold);
    padding: 18px 24px;
    margin: 28px 0;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    border-right-width: 4px;
}

html[dir="ltr"] .article-body-content blockquote {
    border-right: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.article-tags-wrapper {
    margin: 36px 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.tags-label {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Share Buttons Bar */
.article-share-bar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    margin: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

.share-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-share {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-share:hover {
    opacity: 0.9;
}

.share-wa { background: #25d366; }
.share-in { background: #0a66c2; }
.share-fb { background: #1877f2; }
.share-copy { background: #475569; }

/* Article Commercial CTA Box */
.article-commercial-cta {
    background: linear-gradient(135deg, rgba(180, 130, 40, 0.08) 0%, #ffffff 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.cta-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(180, 130, 40, 0.12);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-commercial-cta h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.article-commercial-cta p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-btns-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-checklist li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.widget-checklist li i {
    flex-shrink: 0;
    margin-top: 4px;
}

.widget-calculator-link {
    background: linear-gradient(135deg, #ffffff 0%, rgba(180, 130, 40, 0.08) 100%);
    border-color: var(--border-gold);
    text-align: center;
}

.widget-calc-icon {
    width: 50px;
    height: 50px;
    background: rgba(180, 130, 40, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}

.widget-calculator-link h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.widget-calculator-link p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.widget-products-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-products-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.widget-products-list a:hover {
    background: rgba(180, 130, 40, 0.1);
    color: var(--gold);
}

.related-articles-section {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
}

/* About image frame */
.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-md);
}

.about-real-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

/* Responsive Rules for Blog & Articles */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .article-featured-image-wrapper {
        height: 320px;
    }

    .article-main-title {
        font-size: 1.9rem;
    }
}

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

    .blog-search-form {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .article-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-main-title {
        font-size: 1.55rem;
    }

    .article-featured-image-wrapper {
        height: 220px;
    }

    .article-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        width: 100%;
    }

    .btn-share {
        flex-grow: 1;
        justify-content: center;
    }
}


