/* ==========================================================================
   KINGWINS – Premium Product Page Styling System v2
   Dark hero, full-width section backgrounds, premium cards, modal, footer
   ========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   1. THEME VARIABLES
   ───────────────────────────────────────────────────────────────────────────── */
:root {
    --brand:        var(--kw-brand, #C8102E);
    --brand-dark:   var(--kw-brand-dark, #A00D24);
    --brand-light:  var(--kw-brand-light, #E8334D);
    --brand-glow:   var(--kw-brand-10, rgba(200, 16, 46, 0.14));

    /* Light mode */
    --bg-primary:    var(--kw-surface, #F6F7F9);
    --bg-secondary:  #FFFFFF;
    --bg-tertiary:   #E8ECF1;
    --text-primary:  var(--kw-heading, #1F2937);
    --text-secondary:var(--kw-body, #4B5563);
    --text-muted:    #9CA3AF;
    --border:        rgba(31, 41, 55, 0.08);
    --border-hover:  rgba(31, 41, 55, 0.18);
    --shadow-sm:     0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
    --shadow-md:     0 10px 20px -4px rgba(31,41,55,.10);
    --shadow-lg:     0 24px 48px -10px rgba(31,41,55,.14);
    --glass-bg:      rgba(255,255,255,.75);
    --glass-border:  rgba(255,255,255,.4);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast:   0.22s;
    --duration-normal: 0.40s;
    --duration-slow:   0.70s;
}



/* ─────────────────────────────────────────────────────────────────────────────
   2. RESET & GLOBALS
   ───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html  { scroll-behavior: smooth; font-size: 16px; -webkit-tap-highlight-color: transparent; }

body  {
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--duration-normal), color var(--duration-normal);
}

/* Custom scrollbar */
::-webkit-scrollbar       { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

*:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

img { display: block; max-width: 100%; }
a   { color: inherit; 
text-decoration: none; transition: color var(--duration-fast); }


/* ─────────────────────────────────────────────────────────────────────────────
   3. KEYFRAME ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ─────────────────────────────────────────────────────────────────────────────
   4. STICKY GLASSMORPHISM NAVBAR
   ───────────────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 78px;
    z-index: 50;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background var(--duration-normal),
        border-color var(--duration-normal),
        height var(--duration-normal),
        box-shadow var(--duration-normal);
}

.nav-scrolled {
    height: 68px;
    background: var(--glass-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 32px rgba(0,0,0,.07);
}

.navbar-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    height: 34px;
    transition: transform var(--duration-fast);
}
.navbar-logo:hover { transform: scale(1.03); }
.navbar-logo img   { height: 100%; width: auto; object-fit: contain; }

/* Desktop links */
.navbar-menu { display: flex; align-items: center; gap: 1.25rem; }

.navbar-link {
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: .45rem .7rem;
    border-radius: 8px;
    transition: color var(--duration-fast), background var(--duration-fast);
}
.navbar-link:hover { color: var(--brand); background: var(--border); }
.navbar-link.active { color: var(--brand); font-weight: 700; }

/* Actions */
.navbar-actions { display: flex; align-items: center; gap: .9rem; }



/* Primary CTA */
.navbar-cta {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--brand);
    color: #FFF;
    border: none;
    font-weight: 600; font-size: .92rem;
    padding: .7rem 1.2rem;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(200,16,46,.25);
    transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}
.navbar-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200,16,46,.38);
}
.navbar-cta i { width: 16px; height: 16px; }

/* Hamburger */
.navbar-toggle {
    display: none; width: 42px; height: 42px;
    border-radius: 11px; border: 1px solid var(--border);
    background: var(--bg-secondary); color: var(--text-primary);
    cursor: pointer; align-items: center; justify-content: center;
    transition: border var(--duration-fast);
}
.navbar-toggle:hover { border-color: var(--brand); }
.navbar-toggle i { width: 21px; height: 21px; }


/* ─────────────────────────────────────────────────────────────────────────────
   5. MOBILE SLIDE-OUT DRAWER
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 55;
    opacity: 0; pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity var(--duration-normal);
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu {
    position: fixed; top: 0; bottom: 0; right: -320px; width: 320px;
    background: var(--bg-secondary);
    z-index: 60;
    box-shadow: -10px 0 30px rgba(0,0,0,.14);
    display: flex; flex-direction: column;
    transition: right var(--duration-normal);
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
    height: 78px; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.mobile-menu-header img { height: 30px; }

.mobile-menu-close {
    width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid var(--border); background: var(--bg-primary);
    color: var(--text-primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.mobile-menu-body {
    flex: 1; padding: 1.75rem 1.5rem;
    display: flex; flex-direction: column; gap: .4rem;
}

.mobile-menu-link {
    font-size: 1.05rem; font-weight: 600;
    color: var(--text-primary); text-decoration: none;
    padding: .9rem 1rem; border-radius: 11px;
    transition: background var(--duration-fast), color var(--duration-fast);
}
.mobile-menu-link:hover { background: var(--bg-primary); color: var(--brand); }
.mobile-menu-link.active { background: var(--brand-glow); color: var(--brand); }

.mobile-menu-cta {
    margin-top: auto;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--brand); color: #FFF; text-decoration: none;
    font-weight: 600; padding: 1.05rem;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(200,16,46,.25);
    transition: background var(--duration-fast);
}
.mobile-menu-cta:hover { background: var(--brand-dark); }


/* ─────────────────────────────────────────────────────────────────────────────
   6. BREADCRUMB (light strip below fixed navbar)
   ───────────────────────────────────────────────────────────────────────────── */
.breadcrumb {
    max-width: 1280px;
    margin: 90px auto 0;
    padding: 1rem 2rem;
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem;
    color: var(--text-secondary);
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--brand); font-weight: 600; }


/* ─────────────────────────────────────────────────────────────────────────────
   7. PRODUCT HERO  –  Full-width dark charcoal section
   ───────────────────────────────────────────────────────────────────────────── */
.product-hero {
    background: linear-gradient(135deg, #1C2431 0%, #111827 55%, #1a2030 100%);
    padding: 3.5rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

/* Red radial glow – top right */
.product-hero::before {
    content: '';
    position: absolute;
    top: -25%; right: -10%;
    width: 55%; height: 160%;
    background: radial-gradient(ellipse, rgba(200,16,46,.18) 0%, transparent 65%);
    pointer-events: none;
}
/* Soft red glow – bottom left */
.product-hero::after {
    content: '';
    position: absolute;
    bottom: -15%; left: -5%;
    width: 40%; height: 80%;
    background: radial-gradient(ellipse, rgba(200,16,46,.09) 0%, transparent 70%);
    pointer-events: none;
}

/* Two-column grid centred inside dark section */
.product-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp .8s var(--ease-out-expo) both;
}

/* Badge pills on dark background */
.product-hero-badges {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 1.5rem;
}

.product-hero-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .73rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.16);
    padding: .38rem .85rem;
    border-radius: 20px;
    transition: background var(--duration-fast);
}
.product-hero-badge:hover { background: rgba(255,255,255,.14); }
.product-hero-badge i { width: 13px; height: 13px; color: var(--brand-light); }

/* Headline & tagline – white on dark */
.product-hero-text h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: #FFFFFF;
    margin-bottom: 1.4rem;
}

.product-hero-text .tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 2.25rem;
    line-height: 1.85;
}

/* Primary CTA button */
.cta-button {
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--brand);
    color: #FFF;
    border: none;
    font-weight: 700; font-size: .98rem;
    padding: 1.05rem 1.9rem;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(200,16,46,.28);
    transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
    text-decoration: none;
}
.cta-button:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(200,16,46,.42);
}
.cta-button i { width: 19px; height: 19px; }

/* Secondary "specs" link in hero (use this class in HTML) */
.secondary-hero-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.22);
    padding: 1.05rem 1.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600; font-size: .98rem;
    transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.secondary-hero-btn:hover {
    background: rgba(255,255,255,.18);
    color: #FFF;
    border-color: rgba(255,255,255,.35);
}
.secondary-hero-btn i { width: 17px; height: 17px; }

/* Hero product image */
.product-hero-image {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.10);
    animation: fadeIn 1s var(--ease-out-expo) .2s both;
}
.product-hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow);
}
.product-hero-image:hover img { transform: scale(1.06); }


/* ─────────────────────────────────────────────────────────────────────────────
   8. PRODUCT CONTENT SECTIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* Section wrapper – full width so background fills edge-to-edge */
.product-section {
    padding: 5.5rem 2rem;
}

/* Centred inner content */
.product-section > .section-header,
.product-section > .spec-table,
.product-section > .benefits-grid,
.product-section > .color-grid,
.product-section > .projects-gallery,
.product-section > .cert-grid,
.product-section > .accessories-grid {
    max-width: 1280px;
    margin-inline: auto;
}

/* Description prose block */
.product-section > div[style] {
    max-width: 1280px;
    margin-inline: auto;
}

/* Section header (centred label + title + subtitle) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    display: flex; flex-direction: column; align-items: center;
}

.section-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--brand);
    background: var(--brand-glow);
    padding: .38rem 1rem;
    border-radius: 20px;
    margin-bottom: .8rem;
}
.section-eyebrow i { width: 13px; height: 13px; }

.section-title {
    font-size: 2.4rem; font-weight: 800;
    letter-spacing: -.015em;
    color: var(--text-primary);
    margin-bottom: .9rem;
    line-height: 1.3;
}
.section-title .accent { color: var(--brand); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────────────────────
   9. TECHNICAL SPECS TABLE
   ───────────────────────────────────────────────────────────────────────────── */
.spec-table {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    border-collapse: separate; border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.spec-table tr { transition: background var(--duration-fast); }
.spec-table tr:nth-child(even) { background: var(--bg-secondary); }
.spec-table tr:nth-child(odd)  { background: var(--bg-primary); }
.spec-table tr:hover           { background: var(--bg-tertiary); }

.spec-table td {
    padding: 1.15rem 1.7rem;
    font-size: .93rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}
.spec-table tr:last-child td { border-bottom: none; }

.spec-table td:first-child {
    font-weight: 700;
    color: var(--brand);
    width: 36%;
    border-right: 3px solid var(--brand);
}


/* ─────────────────────────────────────────────────────────────────────────────
   10. BENEFIT CARDS GRID
   ───────────────────────────────────────────────────────────────────────────── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.benefit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2.25rem 1.75rem;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--duration-normal) var(--ease-out-expo),
        border-color var(--duration-normal),
        box-shadow var(--duration-normal);
}
.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 58px; height: 58px;
    background: var(--brand-glow);
    color: var(--brand);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}
.benefit-card:hover .benefit-icon {
    background: var(--brand); color: #FFF;
    transform: scale(1.06);
}
.benefit-icon i { width: 26px; height: 26px; }

.benefit-title {
    font-size: 1.18rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: .6rem;
}
.benefit-desc { font-size: .92rem; color: var(--text-secondary); line-height: 1.65; }


/* ─────────────────────────────────────────────────────────────────────────────
   11. COLOR SWATCH GRID
   ───────────────────────────────────────────────────────────────────────────── */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.color-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: .9rem;
    border-radius: 17px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition:
        transform var(--duration-normal) var(--ease-out-expo),
        border-color var(--duration-normal),
        box-shadow var(--duration-normal);
}
.color-card:hover {
    transform: translateY(-5px) scale(1.025);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.color-swatch {
    width: 100%; aspect-ratio: 5/3;
    border-radius: 11px;
    margin-bottom: .65rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
    transition: transform var(--duration-fast);
}
.color-card:hover .color-swatch { transform: scale(1.04); }

.color-name { font-size: .85rem; font-weight: 600; color: var(--text-primary); }


/* ─────────────────────────────────────────────────────────────────────────────
   12. ACCESSORIES GRID
   ───────────────────────────────────────────────────────────────────────────── */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.75rem;
    max-width: 1100px;
    margin-inline: auto;
}

.accessory-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 22px; padding: 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--duration-normal) var(--ease-out-expo),
        border-color var(--duration-normal),
        box-shadow var(--duration-normal);
}
.accessory-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: var(--shadow-lg);
}

.accessory-image {
    width: 100%; aspect-ratio: 4/3;
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden; margin-bottom: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    padding: .9rem;
}
.accessory-image img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--duration-normal);
}
.accessory-card:hover .accessory-image img { transform: scale(1.07); }

.accessory-code { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }


/* ─────────────────────────────────────────────────────────────────────────────
   13. PROJECTS GALLERY (image cards with hover overlay)
   ───────────────────────────────────────────────────────────────────────────── */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.project-item {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}
.project-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow);
}
.project-item:hover img { transform: scale(1.09); }

.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,20,26,.95) 10%, rgba(15,20,26,.35) 55%, transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.75rem;
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.project-item:hover .project-overlay { opacity: 1; }

.project-type  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-light); margin-bottom: .4rem; }
.project-name  { font-size: 1.2rem; font-weight: 700; color: #FFF; margin-bottom: .25rem; line-height: 1.3; }
.project-surface { font-size: .82rem; color: rgba(255,255,255,.65); }


/* ─────────────────────────────────────────────────────────────────────────────
   14. CERTIFICATIONS GRID
   ───────────────────────────────────────────────────────────────────────────── */


.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.75rem;
}

.cert-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 1.9rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--duration-normal) var(--ease-out-expo),
        border-color var(--duration-normal),
        box-shadow var(--duration-normal);
}
.cert-item:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.cert-badge {
    width: 62px; height: 62px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem;
    font-weight: 800; font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.cert-name   { font-size: .98rem; font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.cert-region { font-size: .78rem; color: var(--text-secondary); }





.cert-image{
    width:100%;
    height:180px;              /* نفس الارتفاع لجميع الكروت */
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
    margin-bottom:18px;
    overflow:hidden;
}

.cert-image img{
    width:100%;
    height:100%;
    max-width:140px;           /* أقصى عرض */
    max-height:140px;          /* أقصى ارتفاع */
    object-fit:contain;        /* يحافظ على نسبة الصورة */
    object-position:center;
    transition:.35s ease;
}

.cert-item:hover .cert-image img{
    transform:scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   15. BOTTOM CTA BANNER – full-width section + inner card
   ───────────────────────────────────────────────────────────────────────────── */
.cta-banner-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
}

.cta-banner {
    max-width: 1020px;
    margin-inline: auto;
    padding: 5rem 2rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}

/* Decorative dot-grid background */
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--brand-glow) 1px, transparent 1px),
        linear-gradient(90deg, var(--brand-glow) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .25;
    pointer-events: none;
}

/* Red radial glow centre */
.cta-banner::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 60%; height: 80%;
    background: radial-gradient(ellipse, rgba(200,16,46,.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.4rem; font-weight: 800;
    color: var(--text-primary);
    margin-bottom: .9rem; position: relative; z-index: 1;
    line-height: 1.3;
}
.cta-banner p {
    font-size: 1.05rem; color: var(--text-secondary);
    max-width: 580px; margin: 0 auto 2.25rem;
    line-height: 1.8; position: relative; z-index: 1;
}


/* ─────────────────────────────────────────────────────────────────────────────
   16. DARK CORPORATE FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
    background: #111820;
    color: rgba(255,255,255,.65);
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 5rem 2rem 2.5rem;
}

.footer-container { max-width: 1280px; margin-inline: auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 38px; margin-bottom: 1.4rem;
    filter: brightness(0) invert(1);
}
.footer-brand p { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.48); }

.footer-col h4 {
    color: #FFF; font-size: 1.05rem; font-weight: 700;
    margin-bottom: 1.4rem;
    position: relative; display: inline-block;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: -5px; left: 0; right: 0;
    height: 2px; background: var(--brand); border-radius: 1px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.footer-col a { color: rgba(255,255,255,.50); text-decoration: none; font-size: .92rem; transition: color var(--duration-fast); }
.footer-col a:hover { color: var(--brand-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 2rem;
    text-align: center;
    font-size: .82rem; color: rgba(255,255,255,.35);
}


/* ─────────────────────────────────────────────────────────────────────────────
   17. BACK-TO-TOP FLOATING BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 2rem; left: 2rem;
    width: 46px; height: 46px;
    background: var(--brand); color: #FFF;
    border: none; border-radius: 12px;
    cursor: pointer; z-index: 45;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(200,16,46,.28);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity var(--duration-fast), transform var(--duration-fast), background var(--duration-fast);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover   { background: var(--brand-dark); transform: translateY(-2px); }
.back-to-top i       { width: 20px; height: 20px; }


.whatsapp-button{
    position: fixed;
    bottom: 2rem;
    right: 2rem;

    width: 58px;
    height: 58px;

    background: #25D366;
    color: #fff;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    z-index: 45;

    box-shadow: 0 4px 14px rgba(37,211,102,.35);

    transition:
        transform var(--duration-fast),
        background var(--duration-fast),
        box-shadow var(--duration-fast);
}

.whatsapp-button:hover{
    background:#1ebe5d;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,211,102,.45);
}

.whatsapp-button i{
    font-size:22px;
}

@media (max-width:768px){

    .back-to-top{
        left:1rem;
        bottom:1rem;
    }

    .whatsapp-button{
        right:1rem;
        bottom:1rem;
    }

}

/*
 RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-hero-text h1 { font-size: 2.9rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .navbar { height: 68px; }
    .navbar-menu, .navbar-cta { display: none; }
    .navbar-toggle { display: flex; }

    .breadcrumb { margin-top: 82px; padding: .75rem 1.5rem; }

    .product-hero { padding: 2.5rem 1.5rem 4.5rem; }
    .product-hero-content { grid-template-columns: 1fr; gap: 2.25rem; }
    .product-hero-text { text-align: center; }
    .product-hero-badges { justify-content: center; }
    .product-hero-text h1  { font-size: 2.1rem; }
    .product-hero-text .tagline { font-size: .98rem; margin-bottom: 1.75rem; }

    .product-section { padding: 3.5rem 1.5rem; }
    .section-title { font-size: 1.9rem; }

    .spec-table td { padding: .9rem 1.1rem; }

    .cta-banner { padding: 3.5rem 1.5rem; border-radius: 24px; }
    .cta-banner h2 { font-size: 1.9rem; }
    .cta-banner p  { font-size: .98rem; }

    .cert-image{ height:150px; }
    .cert-image img{ max-width:110px; max-height:110px;}

    .site-footer { padding: 4rem 1.5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .modal { border-radius: 20px; }
    .modal-header, .modal-body { padding: 1.4rem; }
    .modal-form-row { grid-template-columns: 1fr; gap: 0; }
    .modal-form-row .modal-form-group { margin-bottom: 1.15rem; }
}

@media (max-width: 480px) {
    .section-title  { font-size: 1.65rem; }
    .spec-table td  { padding: .75rem .9rem; font-size: .83rem; }
    .spec-table td:first-child { width: 42%; }

    .cert-image{
        height:140px;
    }

    .cert-image img{
        max-width:100px;
        max-height:100px;
    }

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

    .benefits-grid,
    .projects-gallery,
    .cert-grid,
    .accessories-grid { grid-template-columns: 1fr; }

    .cta-banner h2  { font-size: 1.65rem; }

}

