/* ==========================================================================
   Lamhat — premium layer v20
   Loaded LAST on every public page except the blog. Visual polish only:
   no markup, content, URL or SEO change. Remove the <link> to roll back.
   ========================================================================== */
:root{
  --lm-navy:#07162f; --lm-navy-2:#0c102b; --lm-gold:#e8b53f; --lm-gold-d:#b4831e;
  --lm-ink:#0e1b33; --lm-mute:#4a566e; --lm-line:#e5e7ee; --lm-bg:#f7f7fa;
  --lm-r:22px; --lm-r-sm:14px;
  --lm-shadow:0 10px 30px rgba(7,22,47,.08); --lm-shadow-h:0 18px 40px rgba(7,22,47,.16);
  --lm-font:"IBM Plex Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}

/* ---------- Typography ---------- */
html:root body,
html:root body :is(h1,h2,h3,h4,p,a,span,li,div,label,summary,small,strong,b,em,button,input,select,textarea,td,th,legend,figcaption,nav,section,article,aside,footer,header){
  font-family:var(--lm-font);
}
html:root body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.75}
html:root :is(h1,h2,h3){letter-spacing:0;line-height:1.3}
html:root h1{font-weight:700}
html:root :is(h2,h3){font-weight:600}
html:root p{line-height:1.9}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--lm-gold);outline-offset:3px;border-radius:10px}

/* ---------- Header ---------- */
html:root .top-v10{
  background:linear-gradient(180deg,rgba(7,22,47,.99),rgba(9,26,54,.97))!important;
  border-bottom:1px solid rgba(232,181,63,.22)!important;
  backdrop-filter:saturate(1.3) blur(10px);-webkit-backdrop-filter:saturate(1.3) blur(10px);
  box-shadow:0 6px 24px rgba(3,10,24,.28);
}
html:root .brand-v10{font-weight:700}
html:root .brand-mark{border-radius:12px;box-shadow:0 0 0 1px rgba(232,181,63,.55),0 6px 16px rgba(232,181,63,.18)}
html:root .navlinks-v10 a{position:relative;font-weight:500;color:#e8edf8;transition:color .2s}
html:root .navlinks-v10 a:hover{color:var(--lm-gold)}
html:root .navlinks-v10 a::after{content:"";position:absolute;inset-inline:0;bottom:-6px;height:2px;border-radius:2px;background:var(--lm-gold);transform:scaleX(0);transition:transform .25s}
html:root .navlinks-v10 a:hover::after,html:root .navlinks-v10 a.active::after,html:root .navlinks-v10 a[aria-current]::after{transform:scaleX(1)}
html:root .nav-order,html:root .btn-gold-v10.nav-order{
  background:linear-gradient(135deg,#f3c75a,#e0a92f)!important;color:#1a1304!important;border:0!important;
  border-radius:12px!important;min-height:44px;padding-inline:20px;font-weight:700;
  box-shadow:0 8px 20px rgba(232,181,63,.28);transition:transform .2s,box-shadow .2s;
}
html:root .nav-order:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(232,181,63,.38)}

/* ---------- Breadcrumb ---------- */
html:root .crumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13.5px;color:var(--lm-mute);padding:18px 0 6px;margin:0}
html:root .crumb a{color:var(--lm-mute);text-decoration:none;font-weight:500}
html:root .crumb a:hover{color:var(--lm-gold-d);text-decoration:underline}
html:root .crumb span{opacity:.55}
html:root .crumb b{color:var(--lm-ink);font-weight:600}

/* ---------- Buttons ---------- */
html:root :is(.btn.gold,.btn-gold-v10,.v18-submit,.service-primary-cta){
  background:linear-gradient(135deg,#f3c75a,#e0a92f);color:#1a1304;border:0;font-weight:700;
  border-radius:14px;box-shadow:0 10px 24px rgba(232,181,63,.26);transition:transform .2s,box-shadow .2s;
}
html:root :is(.btn.gold,.btn-gold-v10,.v18-submit,.service-primary-cta):hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(232,181,63,.36)}

/* ---------- City / sub-category intro: premium navy hero ---------- */
html:root .seo-section:has(> .container > .title > h1){
  background:radial-gradient(900px 380px at 85% -20%,rgba(232,181,63,.14),transparent 60%),linear-gradient(135deg,#0c102b,#07162f 70%);
  color:#fff;padding:56px 0 52px;position:relative;overflow:hidden;border-bottom:1px solid rgba(232,181,63,.18);
}
html:root .seo-section:has(> .container > .title > h1) .title{max-width:860px;margin-inline:auto;text-align:center}
html:root .seo-section:has(> .container > .title > h1) h1{color:#fff;font-size:clamp(26px,4vw,42px)}
html:root .seo-section:has(> .container > .title > h1) .title p{color:#c9d1e6;font-size:16.5px}
html:root .seo-section:has(> .container > .title > h1) .section-kicker{color:var(--lm-gold);background:rgba(232,181,63,.12);border:1px solid rgba(232,181,63,.35);border-radius:999px;padding:5px 14px;display:inline-block;font-weight:600}
/* sub-category pages: the hero is followed by the grid inside the same section */
html:root .seo-section:has(> .container > .title > h1) > .container > .grid{margin-top:34px;text-align:start}
html:root .seo-section:has(> .container > .title > h1) .card{color:var(--lm-ink)}

/* ---------- Section rhythm ---------- */
html:root .seo-section .title h2,html:root .section-title-center-v10 h2{font-weight:700;color:var(--lm-ink)}
html:root .section-kicker,html:root .section-kicker-v10{font-weight:600;letter-spacing:0}

/* ---------- Cards ---------- */
html:root .card.service-card,html:root .popular-card-v10,html:root .city-card-v10{
  border:1px solid var(--lm-line);border-radius:var(--lm-r);background:#fff;box-shadow:var(--lm-shadow);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s;overflow:hidden;
}
html:root .card.service-card:hover,html:root .popular-card-v10:hover,html:root .city-card-v10:hover{
  transform:translateY(-4px);box-shadow:var(--lm-shadow-h);border-color:rgba(232,181,63,.6);
}
html:root .service-card-media{overflow:hidden}
html:root .service-card-media img,html:root .popular-card-v10 img{transition:transform .5s ease}
html:root .card.service-card:hover .service-card-media img,html:root .popular-card-v10:hover img{transform:scale(1.05)}
html:root .service-card h3{font-weight:600;color:var(--lm-ink)}
html:root .seo-card-price{border-top:1px solid var(--lm-line)}
html:root .seo-card-price strong{color:var(--lm-gold-d);font-weight:700}
html:root .seo-card-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--lm-navy);font-weight:600;border-bottom:2px solid var(--lm-gold);padding-bottom:1px}

/* ---------- Service page ---------- */
html:root .service-hero-card{border:1px solid var(--lm-line);border-radius:26px;box-shadow:var(--lm-shadow);background:#fff}
html:root .service-main-image img{border-radius:20px}
html:root .service-price-box{background:#fff8e6!important;border:1px solid #f0d68a!important;border-radius:16px;padding:12px 18px;margin-inline:0}
html:root .service-price-box strong{color:var(--lm-navy)!important;font-weight:700}
html:root .service-trust-mini{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html:root .service-trust-mini span{font-size:13px!important;background:#f1f3f9;border:1px solid var(--lm-line);border-radius:999px;padding:6px 12px;color:#2a3350;font-weight:500}
html:root .service-block,html:root .v18-service-request,html:root .service-order-card .order-card-sticky{border:1px solid var(--lm-line);border-radius:var(--lm-r);box-shadow:var(--lm-shadow)}
html:root .service-faq details,html:root .faq-item-v14,html:root .cp-faqlist details{border:1px solid var(--lm-line);border-radius:16px;background:#fff;transition:border-color .2s}
html:root .service-faq details[open],html:root .faq-item-v14[open]{border-color:rgba(232,181,63,.7)}
html:root :is(input,select,textarea):not([type=checkbox]):not([type=radio]){border-radius:12px}

/* ---------- Static pages (about / trust / faq / reviews) ---------- */
html:root .inner-hero-v14{padding:76px 0 64px}
html:root .inner-hero-v14 .container>*{max-width:820px}
html:root .inner-hero-v14 .section-kicker-v10{display:inline-block;font-size:13px;color:var(--lm-gold);background:rgba(232,181,63,.12);border:1px solid rgba(232,181,63,.35);border-radius:999px;padding:5px 14px;margin-bottom:14px}
html:root .inner-hero-v14 h1{font-size:clamp(28px,4.4vw,46px);margin:0 0 14px}
html:root .inner-hero-v14 p{color:#d4dbec;font-size:17px;margin:0 0 24px}
html:root .inner-hero-v14 .inner-hero-actions{display:flex;flex-wrap:wrap;gap:12px}
html:root .inner-hero-v14>.container>a.btn-v10{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;margin-top:6px}
html:root :is(.trust-flow-v14,.trust-facts-v14) article,html:root .story-panel-v14,html:root .about-proof-v14>div{border-radius:var(--lm-r)}

/* ---------- Footer ---------- */
html:root body>footer,html:root footer.footer-v10{background:linear-gradient(180deg,#09132a,#050d1f);color:#c9d1e6;border-top:1px solid rgba(232,181,63,.25)}
html:root body>footer a,html:root footer.footer-v10 a{color:#e8edf8;text-decoration:none}
html:root body>footer a:hover,html:root footer.footer-v10 a:hover{color:var(--lm-gold)}
html:root body>footer strong{color:#fff}
html:root body>footer .footer-links{display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:center;margin-bottom:12px}

/* ---------- WhatsApp floating button: LEFT side ---------- */
html:root :is(.wa-float,.wa-float-v10){
  position:fixed!important;left:max(20px,env(safe-area-inset-left))!important;right:auto!important;
  bottom:max(22px,env(safe-area-inset-bottom))!important;z-index:60!important;
  width:62px!important;height:62px!important;border-radius:50%!important;border:0!important;
  display:grid!important;place-items:center!important;text-decoration:none!important;font-size:0!important;color:#fff!important;
  background:linear-gradient(145deg,#33e583,#12a352)!important;
  box-shadow:0 14px 30px rgba(18,140,74,.40),0 3px 8px rgba(7,22,47,.22),inset 0 1px 0 rgba(255,255,255,.40)!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
html:root :is(.wa-float,.wa-float-v10) svg{width:34px!important;height:34px!important;display:block;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18))}
html:root :is(.wa-float,.wa-float-v10)::before{
  content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid rgba(37,211,102,.55);
  animation:lm-wa-ring 3s ease-out infinite;pointer-events:none;
}
html:root :is(.wa-float,.wa-float-v10)::after{
  content:"تواصل معنا عبر واتساب";position:absolute;left:calc(100% + 12px);right:auto;top:50%;
  transform:translateY(-50%) translateX(-6px);background:var(--lm-navy);color:#fff;border-radius:999px;
  padding:9px 16px;font-size:13px;font-weight:600;white-space:nowrap;opacity:0;pointer-events:none;
  box-shadow:0 10px 24px rgba(7,22,47,.3);transition:opacity .2s,transform .2s;display:block!important;
}
html:root :is(.wa-float,.wa-float-v10):hover,html:root :is(.wa-float,.wa-float-v10):focus-visible{transform:translateY(-3px) scale(1.04)!important;box-shadow:0 18px 38px rgba(18,140,74,.5),0 3px 8px rgba(7,22,47,.25),inset 0 1px 0 rgba(255,255,255,.4)!important}
html:root :is(.wa-float,.wa-float-v10):hover::after,html:root :is(.wa-float,.wa-float-v10):focus-visible::after{opacity:1;transform:translateY(-50%)}
@keyframes lm-wa-ring{0%{transform:scale(.92);opacity:.9}70%,100%{transform:scale(1.28);opacity:0}}
@media (prefers-reduced-motion:reduce){html:root :is(.wa-float,.wa-float-v10)::before{animation:none;opacity:0}}
@media (max-width:700px){
  html:root :is(.wa-float,.wa-float-v10){width:56px!important;height:56px!important;left:max(14px,env(safe-area-inset-left))!important;bottom:max(16px,env(safe-area-inset-bottom))!important}
  html:root :is(.wa-float,.wa-float-v10) svg{width:30px!important;height:30px!important}
  html:root :is(.wa-float,.wa-float-v10)::after{display:none!important}
  /* pages with a bottom action bar: lift the float above it so they never overlap */
  body:has(.lm-mobile-action) :is(.wa-float,.wa-float-v10),body:has(.mv-sticky) :is(.wa-float,.wa-float-v10){bottom:calc(88px + env(safe-area-inset-bottom))!important;width:52px!important;height:52px!important}
  body:has(.lm-mobile-action) :is(.wa-float,.wa-float-v10) svg,body:has(.mv-sticky) :is(.wa-float,.wa-float-v10) svg{width:28px!important;height:28px!important}
  body:has(.lm-mobile-action){padding-bottom:84px}
}

/* ---------- Mobile bottom action bar ---------- */
html:root .lm-mobile-action{border-radius:18px;box-shadow:0 14px 34px rgba(3,10,24,.38);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html:root .lm-mobile-action a{font-size:14px!important;min-height:48px!important;font-weight:700}

/* ---------- Service-card link: size to content (was stretching full width) ---------- */
html:root .seo-card-link{width:fit-content}

/* ---------- Mobile menu for static pages (injected by /static-menu.js) ---------- */
.nav-actions-mobile{display:none;align-items:center;margin-inline-start:auto}
.hamburger-btn-v10{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:12px;cursor:pointer;padding:0;z-index:1001}
.hamburger-btn-v10 span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .3s,opacity .3s}
.hamburger-btn-v10.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger-btn-v10.is-active span:nth-child(2){opacity:0}
.hamburger-btn-v10.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu-backdrop{position:fixed;inset:0;background:rgba(4,12,26,.7);backdrop-filter:blur(4px);z-index:998;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.mobile-menu-backdrop.is-open{opacity:1;visibility:visible}
.mobile-menu-drawer{position:fixed;top:0;left:-320px;width:min(85vw,320px);height:100vh;background:#081730;border-right:1px solid rgba(255,255,255,.1);box-shadow:10px 0 30px rgba(0,0,0,.5);z-index:999;display:flex;flex-direction:column;padding:85px 24px 30px;transition:left .35s cubic-bezier(.16,1,.3,1);overflow-y:auto}
.mobile-menu-drawer.is-open{left:0}
.mobile-menu-links{display:flex;flex-direction:column;gap:6px}
.mobile-menu-links a{display:block;padding:12px 16px;color:#e2e8f0;text-decoration:none;font-size:1.05rem;font-weight:500;border-radius:10px}
.mobile-menu-links a:hover,.mobile-menu-links a.active{background:rgba(255,255,255,.08);color:#f6c84c}
.mobile-menu-btn{margin-top:24px;text-align:center;padding:13px;width:100%;display:block;box-sizing:border-box}
@media (max-width:820px){
  .nav-v10:has(.nav-actions-mobile) .nav-order{display:none!important}
  .nav-v10:has(.nav-actions-mobile) .nav-actions-mobile{display:flex}
}

/* Home category tiles keep their own coloured backgrounds and white text */
html:root .category-card-v10{border-radius:var(--lm-r);transition:transform .25s ease,box-shadow .25s ease}
html:root .category-card-v10:hover{transform:translateY(-4px);box-shadow:var(--lm-shadow-h)}
html:root .category-card-v10 h3{font-weight:700}

/* Accessibility: gold kickers on light backgrounds need darker gold (contrast >= 4.5:1) */
html:root .section-title-center-v10 .section-kicker-v10,html:root .story-panel-v14 .section-kicker-v10,html:root .seo-section .title .section-kicker,html:root .service-block-head .section-kicker,html:root .mv-block__head .section-kicker{color:#8a6210}
html:root .seo-section:has(> .container > .title > h1) .section-kicker{color:var(--lm-gold)}
html:root .section-head-v10 .section-kicker-v10,html:root .section-v10 .container>.section-kicker-v10{color:#8a6210}
html:root .about-journey-v14 .section-kicker-v10{color:#8a6210}

/* ---------- v21 mobile UX: drawer close button + bottom action bar ---------- */
.mobile-menu-close{position:absolute;top:16px;left:16px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;padding:0;transition:background .2s}
.mobile-menu-close svg{width:22px;height:22px}
.mobile-menu-close:hover,.mobile-menu-close:focus-visible{background:rgba(255,255,255,.14);outline:2px solid #f6c84c;outline-offset:2px}
@media (max-width:700px){
  html:root .lm-mobile-action{gap:8px}
  html:root .lm-mobile-action .lm-action-main{flex:1.6}
  html:root .lm-mobile-action .lm-action-wa{flex:1;gap:6px}
  html:root .lm-mobile-action .lm-action-wa-green{background:#1fa855!important;color:#fff!important;border-color:#1fa855!important}
  html:root .lm-mobile-action .lm-action-wa svg{flex:0 0 auto}
  /* the bar already carries WhatsApp: drop the floating circle that covered page content */
  body.lm-bar-on :is(.wa-float,.wa-float-v10){display:none!important}
}

/* v22: on phones/tablets the sidebar quick form comes after the service details, not before */
@media (max-width:980px){html:root .service-main-layout .service-order-card{order:2}}

/* v23 home on phones: long card stacks become swipeable rows */
@media (max-width:700px){
  html:root .trust-v13-grid,html:root .voice-grid-v14{display:flex!important;grid-template-columns:none!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;margin-inline:-4px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  html:root .trust-v13-grid>.trust-v13-card,html:root .voice-grid-v14>.voice-card-v14{flex:0 0 82%;scroll-snap-align:start;min-width:0}
  html:root .trust-v13-grid>.trust-v13-feature{display:block}
}

/* v24: verified customer reviews */
.lm-rating-summary{display:inline-flex;align-items:center;gap:6px;margin:2px 0 8px;font-size:14px;color:#5b5b5b;text-decoration:none}
.lm-rating-summary b{color:#1c2433}
.lm-stars{--r:5;position:relative;display:inline-block;font-size:16px;letter-spacing:1px;color:#d9d4c8;line-height:1}
.lm-stars::before{content:"★★★★★";position:absolute;inset:0;width:calc(var(--r) / 5 * 100%);overflow:hidden;color:#e5a823;white-space:nowrap}
[dir=rtl] .lm-stars::before{right:0;left:auto}
.lm-rv-sub{margin:6px 0 0;color:#5b5b5b;font-size:14px}
.lm-verified{display:block;margin-top:6px;color:#1f6b4a;font-size:12px;font-weight:600}
.real-reviews .review-stars{color:#e5a823}
.lm-rv-also{display:block;margin-top:3px;color:#8a8a8a;font-size:11px}

/* v25: verified reviews on the home page */
.lm-hrv{margin:6px 0 22px}
.lm-hrv-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:12px}
.lm-hrv-head h3{margin:0;font-size:19px;color:#0a1830}
.lm-hrv-head p{margin:0;color:#5b5b5b;font-size:14px}
.lm-hrv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.lm-hrv-card{background:#fff;border:1px solid #e5e7ee;border-radius:20px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 28px rgba(7,24,47,.04)}
.lm-hrv-stars{color:#e5a823;font-size:17px;letter-spacing:1px}.lm-hrv-stars span{color:#d9d4c8}
.lm-hrv-card p{margin:0;color:#24324a;line-height:1.75;font-size:15px;flex:1}
.lm-hrv-foot strong{display:block;color:#0a1830}
.lm-hrv-svc{display:block;margin-top:4px;color:#7a7a7a;font-size:12px}.lm-hrv-svc a{color:#8a6420;text-decoration:underline;text-underline-offset:3px}
@media (max-width:900px){.lm-hrv-grid{grid-template-columns:1fr 1fr}}
@media (max-width:700px){html:root .lm-hrv-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 2px 12px}html:root .lm-hrv-card{flex:0 0 84%;scroll-snap-align:start}}
