/* ══════════════════════════════════════════════════════════════
   المول التقني — Home Page CSS
   ══════════════════════════════════════════════════════════════ */

/* ─── Container ─── */
.em-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ─── Section Head ─── */
.emh-head { text-align: center; margin-bottom: 56px; }
.emh-title {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 900;
    color: var(--em-dark, #0F172A);
    margin: 0 0 12px;
    line-height: 1.25;
}
.emh-title span { color: var(--em-primary, #00A7D4); }
.emh-sub {
    font-size: 16px;
    color: #64748B;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}
.emh-title-lg {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 900;
    color: var(--em-dark, #0F172A);
    margin: 0 0 12px;
    line-height: 1.3;
}
.emh-sub-text { font-size: 15px; color: #64748B; line-height: 1.8; margin-bottom: 20px; }

/* ─── Buttons ─── */
.emh-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-weight: 800; font-size: 14px;
    border-radius: var(--em-radius-btn, 10px);
    text-decoration: none; cursor: pointer;
    transition: all .22s; border: none;
    white-space: nowrap;
}
.emh-btn-lg  { padding: 13px 28px; font-size: 15px; }
.emh-btn-xl  { padding: 16px 36px; font-size: 16px; }
.emh-btn-accent  { background: var(--em-accent,#D30071); color: #fff; }
.emh-btn-accent:hover  { opacity: .88; transform: translateY(-1px); color: #fff; }
.emh-btn-ghost   { background: transparent; color: var(--em-dark,#0F172A); border: 2px solid rgba(15,23,42,.15); }
.emh-btn-ghost:hover   { border-color: var(--em-primary,#00A7D4); color: var(--em-primary,#00A7D4); }
.emh-btn-outline { background: transparent; color: var(--em-dark,#0F172A); border: 2px solid var(--em-dark,#0F172A); }
.emh-btn-outline:hover { background: var(--em-dark,#0F172A); color: #fff; }
.emh-btn-white   { background: #fff; color: var(--em-dark,#0F172A); }
.emh-btn-white:hover   { background: rgba(255,255,255,.9); transform: translateY(-1px); }

/* ─── Reveal Animation ─── */
.emh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s, transform .55s; }
.emh-reveal.visible { opacity: 1; transform: none; }
.emh-d1 { transition-delay: .05s; } .emh-d2 { transition-delay: .12s; }
.emh-d3 { transition-delay: .19s; } .emh-d4 { transition-delay: .26s; }
.emh-d5 { transition-delay: .33s; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.emh-hero {
    background: var(--em-dark, #0F172A);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    direction: rtl;
}
.emh-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 65% 70% at 15% 50%, rgba(0,167,212,.18), transparent),
        radial-gradient(ellipse 40% 40% at 85% 20%, rgba(211,0,113,.12), transparent);
    pointer-events: none;
}
.emh-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative; z-index: 1;
}
/* Hero Text */
.emh-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,167,212,.12); border: 1px solid rgba(0,167,212,.25);
    color: var(--em-primary,#00A7D4); font-size: 13px; font-weight: 700;
    padding: 7px 16px; border-radius: 50px; margin-bottom: 20px;
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-tag-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--em-primary,#00A7D4);
    animation: emhPulse 2s ease-in-out infinite;
}
@keyframes emhPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.emh-hero-title {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
}
.emh-hero-title span { color: var(--em-primary,#00A7D4); }
.emh-hero-sub {
    font-size: 16px; color: rgba(255,255,255,.55);
    line-height: 1.8; margin-bottom: 32px;
    max-width: 460px;
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* Hero Stats */
.emh-hero-stats {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 18px 24px; width: fit-content;
}
.emh-stat { text-align: center; padding: 0 24px; }
.emh-stat:first-child { padding-right: 0; }
.emh-stat:last-child  { padding-left: 0; }
.emh-stat-num {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 28px; font-weight: 900; color: #fff; line-height: 1;
}
.emh-stat-lbl { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; }
.emh-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Hero Visual */
.emh-hero-visual { position: relative; }
.emh-float {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.96);
    border-radius: 12px; padding: 10px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 13px; color: var(--em-dark,#0F172A);
    animation: emhFloat 4s ease-in-out infinite;
}
@keyframes emhFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.emh-float strong { display: block; font-weight: 800; font-size: 13px; }
.emh-float span   { font-size: 11px; color: #64748B; }
.emh-float-icon   { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.emh-float-top    { top: -20px; right: -10px; animation-delay: 0s; }
.emh-float-bottom { bottom: 60px; left: -20px; animation-delay: 2s; }

/* Dashboard */
.emh-dashboard {
    background: #0a1628;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.06);
    margin: 20px 0;
}
.emh-dash-bar {
    display: flex; align-items: center; gap: 6px; margin-bottom: 16px;
}
.emh-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.emh-live-badge {
    background: rgba(0,167,212,.2); color: var(--em-primary,#00A7D4);
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.emh-dash-stat {
    border: 1px solid transparent; border-radius: 10px; padding: 14px;
}
.emh-dash-stat-label { font-size: 10px; color: rgba(255,255,255,.35); margin-bottom: 6px; font-family: var(--em-font,'Cairo'), sans-serif; }
.emh-dash-stat-num   { font-size: 22px; font-weight: 900; font-family: var(--em-font,'Cairo'), sans-serif; color: #fff; }
.emh-dash-stat-change{ font-size: 11px; margin-top: 2px; font-family: var(--em-font,'Cairo'), sans-serif; }
.emh-dash-chart { background: rgba(255,255,255,.03); border-radius: 10px; padding: 12px; }
.emh-bars {
    display: flex; gap: 4px; align-items: flex-end; height: 52px; margin-bottom: 8px;
}
.emh-bar  { flex: 1; border-radius: 3px 3px 0 0; transition: height .5s; }
.emh-days {
    display: flex; justify-content: space-between;
    font-size: 10px; color: rgba(255,255,255,.25);
    font-family: var(--em-font,'Cairo'), sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CATEGORIES
   ══════════════════════════════════════════════════════════════ */
.emh-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}
.emh-cat-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-decoration: none; padding: 20px 12px;
    background: #fff; border-radius: var(--em-radius,12px);
    border: 1px solid var(--em-beige,#E4D4B5);
    transition: all .25s;
}
.emh-cat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); border-color: var(--em-primary,#00A7D4); }
.emh-cat-img {
    width: 72px; height: 72px; border-radius: 50%;
    overflow: hidden; border: 2px solid transparent;
    background: var(--em-light,#F5F8F8);
}
.emh-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emh-cat-name {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 14px; font-weight: 800; color: var(--em-dark,#0F172A);
    text-align: center; line-height: 1.3;
}
.emh-cat-count { font-size: 12px; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   PRODUCTS GRID (New Arrivals + Featured)
   ══════════════════════════════════════════════════════════════ */
.emh-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.emh-product-card {
    background: #fff;
    border: 1px solid var(--em-beige,#E4D4B5);
    border-radius: var(--em-radius,12px);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.emh-product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-4px); }
.emh-product-img-wrap {
    display: block; position: relative; overflow: hidden;
    aspect-ratio: 1/1; background: var(--em-light,#F5F8F8);
    text-decoration: none;
}
.emh-product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.emh-product-card:hover .emh-product-img-wrap img { transform: scale(1.06); }

.emh-product-badges {
    position: absolute; top: 10px; right: 10px;
    display: flex; flex-direction: column; gap: 5px; z-index: 2;
}
.emh-badge {
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 800;
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-badge-sale { background: var(--em-accent,#D30071); color: #fff; }
.emh-badge-new  { background: var(--em-primary,#00A7D4); color: #fff; }

.emh-product-hover-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.emh-product-card:hover .emh-product-hover-overlay { opacity: 1; }
.emh-quick-view {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; color: var(--em-dark,#0F172A);
    padding: 9px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 800; text-decoration: none;
    font-family: var(--em-font,'Cairo'), sans-serif;
    transform: translateY(8px); transition: transform .3s;
}
.emh-product-card:hover .emh-quick-view { transform: translateY(0); }

.emh-product-body { padding: 16px; }
.emh-product-stars { font-size: 13px; color: #f59e0b; margin-bottom: 6px; }
.emh-product-name {
    margin: 0 0 12px;
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 14px; font-weight: 800; line-height: 1.4;
}
.emh-product-name a { color: var(--em-dark,#0F172A); text-decoration: none; }
.emh-product-name a:hover { color: var(--em-primary,#00A7D4); }
.emh-product-foot {
    display: flex; align-items: center;
    justify-content: space-between; gap: 10px;
    padding-top: 12px; border-top: 1px solid var(--em-beige,#E4D4B5);
}
.emh-product-price {
    font-size: 16px; font-weight: 900;
    font-family: var(--em-font,'Cairo'), sans-serif;
    color: var(--em-dark,#0F172A);
}
.emh-product-price ins { text-decoration: none; color: var(--em-accent,#D30071); }
.emh-product-price del { font-size: 12px; color: #94a3b8; font-weight: 400; }

.emh-atc-btn {
    display: inline-flex !important; align-items: center; gap: 6px;
    background: var(--em-dark,#0F172A) !important; color: #fff !important;
    border: none !important; border-radius: var(--em-radius-btn,10px) !important;
    padding: 8px 14px !important; font-size: 12px !important; font-weight: 800 !important;
    font-family: var(--em-font,'Cairo'), sans-serif !important;
    cursor: pointer; text-decoration: none !important;
    transition: background .2s !important; white-space: nowrap;
}
.emh-atc-btn:hover { background: var(--em-primary,#00A7D4) !important; color: #fff !important; }
.emh-out-stock { font-size: 12px; color: #94a3b8; font-weight: 700; font-family: var(--em-font,'Cairo'), sans-serif; }

/* ══════════════════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════════════════ */
.emh-why-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.emh-why-card {
    background: #fff; border-radius: var(--em-radius,12px);
    border: 1px solid var(--em-beige,#E4D4B5);
    padding: 28px 24px; text-align: center;
    transition: box-shadow .25s, transform .25s;
}
.emh-why-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.emh-why-icon {
    width: 60px; height: 60px; border-radius: 16px; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.emh-why-title {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 16px; font-weight: 800; color: var(--em-dark,#0F172A);
    margin: 0 0 10px;
}
.emh-why-text { font-size: 13px; color: #64748B; line-height: 1.75; margin: 0; }

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.emh-svc-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.emh-svc-card {
    background: #fff; border-radius: var(--em-radius,12px);
    border: 1px solid var(--em-beige,#E4D4B5);
    padding: 28px 24px; position: relative; overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.emh-svc-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.emh-svc-card:hover .emh-svc-line { width: 48px; }
.emh-svc-icon {
    font-size: 32px; margin-bottom: 14px; display: block;
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--svc-bg); font-size: 24px;
}
.emh-svc-title {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 15px; font-weight: 800; color: var(--em-dark,#0F172A); margin: 0 0 8px;
}
.emh-svc-text { font-size: 13px; color: #64748B; line-height: 1.7; margin: 0 0 16px; }
.emh-svc-line {
    height: 3px; width: 28px;
    background: var(--svc-accent);
    border-radius: 3px; transition: width .3s;
}

/* ══════════════════════════════════════════════════════════════
   STATS DARK
   ══════════════════════════════════════════════════════════════ */
.emh-stats-section {
    background: var(--em-dark,#0F172A);
    padding: 72px 0;
    position: relative; overflow: hidden;
}
.emh-stats-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,167,212,.08), transparent);
    pointer-events: none;
}
.emh-stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
    position: relative; z-index: 1;
}
.emh-stat-block { text-align: center; }
.emh-stat-icon  { font-size: 28px; margin-bottom: 10px; opacity: .6; }
.emh-stat-big {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: clamp(36px,4vw,56px); font-weight: 900; line-height: 1;
    margin-bottom: 8px;
}
.emh-stat-desc { font-size: 14px; color: rgba(255,255,255,.4); font-family: var(--em-font,'Cairo'), sans-serif; }

/* ══════════════════════════════════════════════════════════════
   AFFILIATE
   ══════════════════════════════════════════════════════════════ */
.emh-split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.emh-aff-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.emh-aff-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(122,156,89,.1); color: var(--em-green,#7A9C59);
    border: 1px solid rgba(122,156,89,.2);
    padding: 7px 14px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-aff-visual { display: flex; justify-content: center; }
.emh-aff-card {
    background: #fff; border: 1px solid var(--em-beige,#E4D4B5);
    border-radius: 16px; padding: 28px; width: 100%; max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.emh-aff-card-label { font-size: 12px; color: #64748B; margin-bottom: 6px; font-family: var(--em-font,'Cairo'), sans-serif; }
.emh-aff-card-num {
    font-size: 32px; font-weight: 900; color: var(--em-primary,#00A7D4);
    margin-bottom: 20px; font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-aff-flow {
    display: flex; align-items: center; gap: 12px;
    justify-content: center; margin-bottom: 20px;
}
.emh-aff-node {
    background: var(--em-light,#F5F8F8); border-radius: 10px;
    padding: 8px 14px; font-size: 13px; font-weight: 700;
    font-family: var(--em-font,'Cairo'), sans-serif; color: var(--em-dark,#0F172A);
}
.emh-aff-arrow { display: flex; align-items: center; position: relative; }
.emh-aff-pulse {
    position: absolute; width: 10px; height: 10px; border-radius: 50%;
    background: var(--em-primary,#00A7D4); top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: emhPulseDot 2s ease-in-out infinite;
}
@keyframes emhPulseDot {
    0%,100%{transform:translate(-50%,-50%) scale(1);opacity:1}
    50%{transform:translate(-50%,-50%) scale(1.5);opacity:.5}
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.emh-testi-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.emh-testi-card {
    background: #fff; border-radius: var(--em-radius,12px);
    border: 1px solid var(--em-beige,#E4D4B5);
    padding: 28px 24px; position: relative; overflow: hidden;
    transition: box-shadow .25s;
}
.emh-testi-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.emh-testi-card::before {
    content: '"';
    position: absolute; top: 16px; left: 20px;
    font-size: 80px; color: var(--em-primary,#00A7D4); opacity: .06;
    font-family: Georgia, serif; line-height: 1;
}
.emh-testi-stars { font-size: 15px; color: #f59e0b; margin-bottom: 14px; }
.emh-testi-text {
    font-size: 14px; color: #475569; line-height: 1.8;
    margin: 0 0 20px; font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-testi-footer { display: flex; align-items: center; gap: 12px; }
.emh-testi-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    color: #fff; font-weight: 900; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-testi-name {
    font-weight: 800; font-size: 14px; color: var(--em-dark,#0F172A);
    font-family: var(--em-font,'Cairo'), sans-serif;
}
.emh-testi-store { font-size: 12px; color: #94a3b8; font-family: var(--em-font,'Cairo'), sans-serif; }
.emh-testi-badge {
    margin-right: auto;
    background: rgba(122,156,89,.1); color: var(--em-green,#7A9C59);
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 800; white-space: nowrap;
    font-family: var(--em-font,'Cairo'), sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.emh-cta-section {
    background: var(--em-dark,#0F172A);
    padding: 96px 0; text-align: center;
    position: relative; overflow: hidden;
}
.emh-cta-bg-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.emh-cta-orb1 {
    width: 400px; height: 400px; background: rgba(0,167,212,.12);
    top: -100px; right: -100px;
}
.emh-cta-orb2 {
    width: 300px; height: 300px; background: rgba(211,0,113,.1);
    bottom: -80px; left: -80px;
}
.emh-cta-inner { position: relative; z-index: 1; }
.emh-cta-title {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: clamp(28px,3.5vw,48px); font-weight: 900; color: #fff;
    margin: 0 0 16px;
}
.emh-cta-sub { font-size: 18px; color: rgba(255,255,255,.5); margin-bottom: 40px; }
.emh-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .emh-products-grid   { grid-template-columns: repeat(3,1fr); }
    .emh-why-grid        { grid-template-columns: repeat(2,1fr); }
    .emh-stats-grid      { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
@media (max-width: 900px) {
    .emh-hero-inner  { grid-template-columns: 1fr; }
    .emh-hero-visual { display: none; }
    .emh-hero        { padding: 64px 0; }
    .emh-split       { grid-template-columns: 1fr; gap: 32px; }
    .emh-svc-grid    { grid-template-columns: repeat(2,1fr); }
    .emh-testi-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .emh-products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .emh-why-grid      { grid-template-columns: 1fr; }
    .emh-svc-grid      { grid-template-columns: 1fr; }
    .emh-stats-grid    { grid-template-columns: 1fr; }
    .emh-cats-grid     { grid-template-columns: repeat(3,1fr); }
    .emh-hero-stats    { flex-direction: column; gap: 16px; width: 100%; }
    .emh-stat          { padding: 0; }
    .emh-stat-divider  { display: none; }
}

/* ═══════════════════════════════════════════════════
   FIX: Hero ghost button — white on dark bg
   ═══════════════════════════════════════════════════ */
.emh-hero .emh-btn-ghost {
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.22);
    background: transparent;
}
.emh-hero .emh-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,.06);
}

/* ═══════════════════════════════════════════════════
   CLIENT LOGOS SECTION
   ═══════════════════════════════════════════════════ */
.emh-clients-section { padding: 56px 0; background: #fff; overflow: hidden; }
.emh-clients-label {
    text-align: center;
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 13px; font-weight: 800; letter-spacing: .5px;
    color: #94a3b8; text-transform: uppercase; margin-bottom: 28px;
}
.emh-clients-track-wrap { overflow: hidden; position: relative; }
.emh-clients-track-wrap::before,
.emh-clients-track-wrap::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
    pointer-events: none;
}
.emh-clients-track-wrap::before { right: 0; background: linear-gradient(to left, #fff, transparent); }
.emh-clients-track-wrap::after  { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.emh-clients-track {
    display: flex; gap: 32px; align-items: center;
    animation: emhScroll 28s linear infinite;
    width: max-content;
}
.emh-clients-track:hover { animation-play-state: paused; }
@keyframes emhScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.emh-client-logo {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--em-light,#F5F8F8);
    border: 1px solid var(--em-beige,#E4D4B5);
    border-radius: 12px;
    padding: 14px 24px;
    height: 72px; min-width: 140px;
    transition: border-color .2s, box-shadow .2s;
}
.emh-client-logo:hover {
    border-color: var(--em-primary,#00A7D4);
    box-shadow: 0 4px 16px rgba(0,167,212,.12);
}
.emh-client-logo img {
    max-height: 40px; max-width: 120px;
    object-fit: contain; filter: grayscale(1); opacity: .65;
    transition: filter .2s, opacity .2s;
}
.emh-client-logo:hover img { filter: none; opacity: 1; }
.emh-client-logo-text {
    font-family: var(--em-font,'Cairo'), sans-serif;
    font-size: 14px; font-weight: 800; color: #64748B;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   SERVICES — 7 cards with SVG icons + brand colors
   ═══════════════════════════════════════════════════ */
/* ═══ SERVICES 7 GRID ═══ */
.emh-svc-grid-7 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
/* 7th card center on last row */
.emh-svc-grid-7 > .emh-svc-card:nth-child(7) {
    grid-column: 2 / span 1;
}

/* Icon container — lock size hard */
.emh-svc-grid-7 .emh-svc7-icon,
div.emh-svc7-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* SVG — force size + white stroke, kill any inherited black */
.emh-svc7-icon svg,
div.emh-svc7-icon svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    flex-shrink: 0 !important;
}
/* Kill any WoodMart path/circle/line overrides inside our icons */
.emh-svc7-icon svg path,
.emh-svc7-icon svg circle,
.emh-svc7-icon svg line,
.emh-svc7-icon svg polyline,
.emh-svc7-icon svg polygon,
.emh-svc7-icon svg rect {
    fill: none !important;
    stroke: #ffffff !important;
}

@media (max-width: 1100px) {
    .emh-svc-grid-7 { grid-template-columns: repeat(3,1fr) !important; }
    .emh-svc-grid-7 > .emh-svc-card:nth-child(7) { grid-column: auto; }
}
@media (max-width: 700px) {
    .emh-svc-grid-7 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
    .emh-svc-grid-7 { grid-template-columns: 1fr !important; }
}

/* Dashboard — client logo pickers */
.emh-logo-picker-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
    margin-top: 12px;
}
.emh-logo-slot {
    border: 1.5px dashed #cbd5e1; border-radius: 10px;
    padding: 12px; text-align: center; cursor: pointer;
    transition: border-color .2s;
}
.emh-logo-slot:hover { border-color: var(--em-primary,#00A7D4); }
.emh-logo-slot img { max-height: 36px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 8px; }
.emh-logo-slot-label {
    font-size: 11px; color: #94a3b8; font-family: var(--em-font,'Cairo'), sans-serif; font-weight: 700;
}
