/*
Theme Name: اكسبرس للخدمات المنزلية
Theme URI: https://e777.org/
Author: OpenAI
Description: قالب عربي RTL احترافي لموقع اكسبرس للخدمات المنزلية. يعرض الصفحات والمقالات والتصنيفات والصور الموجودة فقط ولا يحذف أو يعدل المحتوى أو بيانات Rank Math أو إضافات الاتصال.
Version: 6.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: express-home-services
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, blog
*/
:root{
  --ex-navy:#061b38;--ex-navy2:#0a2b52;--ex-navy3:#0f3a69;
  --ex-orange:#ff7a00;--ex-orange2:#ff9d1c;--ex-gold:#ffb62e;
  --ex-ink:#0b1f3a;--ex-text:#203047;--ex-muted:#738096;
  --ex-bg:#f4f7fb;--ex-card:#fff;--ex-line:#e4eaf2;
  --ex-shadow:0 18px 48px rgba(5,27,56,.10);
  --ex-shadow-soft:0 9px 28px rgba(5,27,56,.07);
  --ex-radius:22px;--ex-max:1380px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ex-bg);color:var(--ex-text);font-family:Tahoma,Arial,"Segoe UI",sans-serif;line-height:1.85;-webkit-font-smoothing:antialiased}body.admin-bar .ex-header{top:32px}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.ex-wrap{width:min(calc(100% - 36px),var(--ex-max));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* HEADER */
.ex-header{position:sticky;top:0;z-index:9999;background:linear-gradient(135deg,#04172f 0%,#082344 55%,#061b38 100%);border-bottom:1px solid rgba(255,255,255,.07);box-shadow:0 10px 30px rgba(1,14,31,.16)}
.ex-header:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 0,rgba(255,122,0,.11),transparent 24%),linear-gradient(90deg,transparent,rgba(255,255,255,.02),transparent)}
.ex-header-inner{min-height:92px;display:flex;align-items:center;gap:26px;position:relative;z-index:2}.ex-brand{display:flex;align-items:center;flex:0 0 auto}.ex-brand img{width:190px;max-height:70px;object-fit:contain}.ex-header-main{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;min-width:0}.ex-nav{flex:1}.ex-nav>ul,.ex-nav .menu{display:flex;align-items:center;justify-content:center;gap:2px;list-style:none;padding:0;margin:0}.ex-nav li{position:relative}.ex-nav a{display:flex;align-items:center;min-height:46px;padding:0 13px;border-radius:12px;color:#edf5ff;font-size:14px;font-weight:800;white-space:nowrap;transition:.2s ease}.ex-nav a:hover,.ex-nav .current-menu-item>a,.ex-nav .current_page_item>a{color:#fff;background:rgba(255,255,255,.08)}.ex-nav .current-menu-item>a:after,.ex-nav .current_page_item>a:after{content:"";position:absolute;left:18px;right:18px;bottom:3px;height:2px;background:linear-gradient(90deg,var(--ex-orange),var(--ex-gold));border-radius:99px}.ex-nav .menu-item-has-children>a:before{content:"⌄";font-size:12px;margin-left:7px;color:#ffb14d}.ex-nav .sub-menu{display:none;position:absolute;top:100%;right:0;min-width:235px;padding:9px;margin:8px 0 0;list-style:none;background:#fff;border:1px solid var(--ex-line);border-radius:16px;box-shadow:var(--ex-shadow);z-index:50}.ex-nav li:hover>.sub-menu{display:block}.ex-nav .sub-menu a{min-height:42px;color:#203047;font-size:13px}.ex-nav .sub-menu a:hover{background:#f5f8fc;color:#e96400}.ex-head-cta{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:0 18px;border-radius:14px;background:linear-gradient(135deg,var(--ex-orange),var(--ex-orange2));color:#fff!important;font-weight:900;font-size:13px;box-shadow:0 10px 26px rgba(255,122,0,.25);white-space:nowrap;transition:.2s}.ex-head-cta:hover{transform:translateY(-2px);filter:brightness(1.05)}.ex-head-cta svg{width:18px;height:18px;fill:currentColor}.ex-mobile-toggle{display:none;width:46px;height:46px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(255,255,255,.07);color:#fff;cursor:pointer}.ex-mobile-toggle span,.ex-mobile-toggle span:before,.ex-mobile-toggle span:after{display:block;width:21px;height:2px;background:#fff;border-radius:99px;position:relative;margin:auto;content:""}.ex-mobile-toggle span:before{position:absolute;top:-7px}.ex-mobile-toggle span:after{position:absolute;top:7px}
/* HERO */
.ex-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#061a36 0%,#08274b 52%,#061a36 100%);color:#fff;padding:72px 0 62px}.ex-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 16% 35%,rgba(255,122,0,.16),transparent 22%),radial-gradient(circle at 84% 16%,rgba(36,118,255,.16),transparent 26%);pointer-events:none}.ex-hero:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,153,31,.14);border-radius:50%;left:-200px;top:-160px;box-shadow:0 0 0 44px rgba(255,255,255,.012),0 0 0 96px rgba(255,255,255,.009)}.ex-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);gap:54px;align-items:center;position:relative;z-index:2}.ex-hero-copy{order:1}.ex-hero-art{order:2;position:relative}.ex-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);font-size:12px;font-weight:800;color:#ffd59e;margin-bottom:16px}.ex-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ex-orange);box-shadow:0 0 0 5px rgba(255,122,0,.12)}.ex-hero h1{font-size:clamp(38px,5.3vw,64px);line-height:1.25;margin:0 0 17px;font-weight:950;letter-spacing:-1px;color:#fff}.ex-hero h1 strong{color:var(--ex-orange2)}.ex-hero .lead{margin:0 0 25px;max-width:680px;color:#c7d6e9;font-size:16px;line-height:1.9}.ex-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.ex-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:51px;padding:0 20px;border-radius:14px;font-size:13px;font-weight:900;transition:.2s}.ex-btn-primary{background:linear-gradient(135deg,var(--ex-orange),var(--ex-orange2));color:#fff;box-shadow:0 13px 28px rgba(255,122,0,.23)}.ex-btn-primary:hover{transform:translateY(-2px);filter:brightness(1.05)}.ex-btn-outline{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.04);color:#fff}.ex-btn-outline:hover{background:rgba(255,255,255,.09)}.ex-benefits{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ex-benefit{display:flex;align-items:center;gap:9px;color:#d8e5f5;font-size:12px}.ex-benefit+.ex-benefit{padding-right:18px;border-right:1px solid rgba(255,255,255,.13)}.ex-benefit-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:rgba(255,122,0,.10);color:#ff9b31}.ex-benefit-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}.ex-benefit b{display:block;color:#fff;font-size:12px}.ex-benefit small{color:#9fb3cc;font-size:10px}
.ex-hero-visual{position:relative;padding:18px}.ex-hero-visual:before{content:"";position:absolute;inset:5% 8%;border:1px solid rgba(255,145,29,.30);border-radius:50%;box-shadow:0 0 55px rgba(255,122,0,.18)}.ex-hero-visual img{position:relative;z-index:2;width:100%;height:auto;filter:drop-shadow(0 28px 30px rgba(0,0,0,.26))}
/* SECTION HEAD */
.ex-section{padding:62px 0}.ex-section-light{background:linear-gradient(180deg,#f7f9fc,#fff)}.ex-section-alt{background:linear-gradient(180deg,#fff,#f3f7fc)}.ex-section-head{text-align:center;margin:0 auto 30px;max-width:760px}.ex-section-eyebrow{display:block;color:var(--ex-orange);font-size:12px;font-weight:900;margin-bottom:4px}.ex-section-head h2{margin:0;color:var(--ex-ink);font-size:clamp(27px,3.3vw,39px);line-height:1.4}.ex-section-head h2:after{content:"";display:block;width:52px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--ex-orange),var(--ex-gold));margin:13px auto 0}.ex-section-head p{margin:10px 0 0;color:var(--ex-muted);font-size:13px}
/* SERVICES */
.ex-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ex-service-card{position:relative;display:flex;align-items:flex-start;gap:14px;min-height:152px;padding:23px;background:#fff;border:1px solid #e5eaf1;border-radius:20px;box-shadow:var(--ex-shadow-soft);overflow:hidden;transition:.25s ease}.ex-service-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:#f3f7fc;left:-45px;bottom:-50px;transition:.25s}.ex-service-card:hover{transform:translateY(-5px);box-shadow:var(--ex-shadow);border-color:#dbe4ef}.ex-service-card:hover:after{transform:scale(1.2);background:#fff3e6}.ex-service-icon{width:62px;height:62px;min-width:62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#f7f9fc,#eef3f8);color:#0c4f8c;border:1px solid #e7edf4;position:relative;z-index:2}.ex-service-icon svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ex-service-body{position:relative;z-index:2;min-width:0;flex:1}.ex-service-body h3{font-size:15px;line-height:1.55;margin:2px 0 7px;color:#102742}.ex-service-body p{font-size:11px;color:#7c8898;line-height:1.8;margin:0}.ex-service-arrow{position:absolute;left:19px;bottom:18px;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#f3f7fc;color:#0e4d86;z-index:3;transition:.2s}.ex-service-card:hover .ex-service-arrow{background:var(--ex-orange);color:#fff;transform:translateX(-2px)}
/* POSTS */
.ex-latest-bar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.ex-latest-title .ex-section-eyebrow{margin:0}.ex-latest-title h2{font-size:clamp(25px,3vw,36px);margin:1px 0 0;color:var(--ex-ink)}.ex-all-posts{display:inline-flex;align-items:center;gap:8px;border:1px solid #cad6e3;border-radius:12px;padding:9px 14px;color:#26415e;font-size:12px;font-weight:900;background:#fff}.ex-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ex-post-card{background:#fff;border:1px solid #e4eaf1;border-radius:18px;overflow:hidden;box-shadow:var(--ex-shadow-soft);transition:.25s ease}.ex-post-card:hover{transform:translateY(-5px);box-shadow:var(--ex-shadow)}.ex-post-media{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#dbe6f3,#f3f7fb);overflow:hidden;position:relative}.ex-post-media img{width:100%;height:100%;object-fit:cover;transition:.35s}.ex-post-card:hover .ex-post-media img{transform:scale(1.035)}.ex-post-tag{position:absolute;top:10px;right:10px;padding:5px 8px;background:rgba(255,255,255,.93);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.75);border-radius:9px;color:#38516d;font-size:10px;font-weight:900}.ex-post-body{padding:15px 15px 16px}.ex-post-body h3{font-size:14px;line-height:1.75;margin:0 0 9px;color:#102742}.ex-post-body h3 a:hover{color:#e96b00}.ex-post-meta{display:flex;align-items:center;gap:10px;color:#8995a5;font-size:9.5px}.ex-post-meta span{display:flex;align-items:center;gap:4px}
/* PRESERVE FRONT CONTENT */
.ex-existing-home{padding:56px 0;background:#fff}.ex-existing-box{background:#fff;border:1px solid var(--ex-line);border-radius:22px;padding:clamp(20px,4vw,38px);box-shadow:var(--ex-shadow-soft)}
/* INNER */
.ex-page-head{padding:46px 0 22px;background:linear-gradient(180deg,#eef4fb,#f5f7fb)}.ex-page-head h1{margin:0;color:var(--ex-ink);font-size:clamp(30px,4vw,44px);line-height:1.4}.ex-page-head p{color:var(--ex-muted);font-size:13px;margin:7px 0 0}.ex-breadcrumbs{font-size:11px;color:#8390a1;margin-bottom:10px}.ex-breadcrumbs a{color:#5f7186}.ex-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;padding:36px 0 58px}.ex-main,.ex-sidebar{background:#fff;border:1px solid var(--ex-line);border-radius:22px;box-shadow:var(--ex-shadow-soft)}.ex-main{padding:clamp(19px,4vw,38px);min-width:0}.ex-sidebar{padding:20px;position:sticky;top:116px}.ex-title{font-size:clamp(29px,4vw,43px);line-height:1.45;margin:0 0 10px;color:var(--ex-ink)}.ex-meta{display:flex;gap:10px;flex-wrap:wrap;color:#8793a4;font-size:10px;margin-bottom:20px}.ex-featured{margin:0 0 25px;border-radius:18px;overflow:hidden}.ex-featured img{width:100%}.ex-content{font-size:16px;color:#27384c;overflow-wrap:anywhere}.ex-content h2{font-size:28px;line-height:1.55;color:#102742;margin:38px 0 14px}.ex-content h3{font-size:22px;line-height:1.55;color:#173351;margin:30px 0 12px}.ex-content p{margin:0 0 18px}.ex-content ul,.ex-content ol{padding-right:22px}.ex-content a{color:#0c63b7;text-decoration:underline;text-underline-offset:3px}.ex-content blockquote{margin:22px 0;padding:17px 19px;border-right:4px solid var(--ex-orange);background:#fff8f1;border-radius:14px}.ex-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.ex-content th,.ex-content td{border:1px solid var(--ex-line);padding:9px}.ex-content iframe,.ex-content video{max-width:100%}.ex-sidebar h2{font-size:15px;color:var(--ex-ink);margin:0 0 11px}.ex-side-list{list-style:none;margin:0;padding:0}.ex-side-list li{border-bottom:1px solid var(--ex-line)}.ex-side-list li:last-child{border-bottom:0}.ex-side-list a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;color:#3a4b60;font-size:12px;font-weight:800}.ex-pagination{margin-top:26px}.ex-pagination .nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.ex-pagination a,.ex-pagination span{min-width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--ex-line);background:#fff;border-radius:11px;font-size:12px}.ex-pagination .current{background:var(--ex-navy2);color:#fff;border-color:var(--ex-navy2)}
/* FOOTER */
.ex-footer{background:linear-gradient(135deg,#061a36,#08264a);color:#c8d5e5;margin-top:0;position:relative;overflow:hidden}.ex-footer:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,122,0,.06);right:-160px;top:-220px}.ex-footer-grid{position:relative;z-index:2;padding:52px 0 36px;display:grid;grid-template-columns:1.2fr .9fr .9fr 1fr;gap:34px}.ex-footer-brand img{width:215px;margin-bottom:14px}.ex-footer h3{color:#fff;font-size:14px;margin:0 0 14px}.ex-footer p{font-size:11px;line-height:1.9;color:#aebdd0}.ex-footer ul{list-style:none;padding:0;margin:0}.ex-footer li{margin:7px 0}.ex-footer a{color:#c7d4e3;font-size:11px}.ex-footer a:hover{color:#ffad45}.ex-footer-contact{display:grid;gap:9px;font-size:11px}.ex-footer-contact span{display:flex;gap:8px;align-items:center}.ex-footer-bottom{position:relative;z-index:2;border-top:1px solid rgba(255,255,255,.09);padding:16px 0;color:#91a3b9;font-size:10px}.ex-footer-bottom .ex-wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* WP */
.alignwide{max-width:1120px;margin-inline:auto}.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.wp-caption{max-width:100%}.gallery-caption,.wp-caption-text{font-size:11px;color:var(--ex-muted)}
/* MOBILE */
@media(max-width:1040px){body.admin-bar .ex-header{top:46px}.ex-header-inner{min-height:78px}.ex-brand img{width:165px}.ex-mobile-toggle{display:block}.ex-header-main{justify-content:flex-end}.ex-head-cta{display:none}.ex-nav{display:none;position:fixed;top:92px;right:14px;left:14px;background:#071d39;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:12px;box-shadow:0 22px 60px rgba(0,0,0,.28);max-height:calc(100vh - 120px);overflow:auto}.admin-bar .ex-nav{top:126px}.ex-nav.is-open{display:block}.ex-nav>ul,.ex-nav .menu{flex-direction:column;align-items:stretch}.ex-nav a{justify-content:space-between;padding:0 14px}.ex-nav .current-menu-item>a:after,.ex-nav .current_page_item>a:after{display:none}.ex-nav .sub-menu{position:static;display:block;background:rgba(255,255,255,.05);border:0;box-shadow:none;margin:2px 0 7px;padding:4px}.ex-nav .sub-menu a{color:#dfe9f6}.ex-hero{padding:54px 0 46px}.ex-hero-grid{grid-template-columns:1fr;gap:28px}.ex-hero-copy{order:1}.ex-hero-art{order:2;max-width:680px;margin:auto}.ex-services-grid{grid-template-columns:repeat(2,1fr)}.ex-post-grid{grid-template-columns:repeat(2,1fr)}.ex-layout{grid-template-columns:1fr}.ex-sidebar{position:static}.ex-footer-grid{grid-template-columns:1.2fr 1fr 1fr}.ex-footer-brand{grid-column:1/-1}}
@media(max-width:700px){.ex-wrap{width:min(calc(100% - 20px),var(--ex-max))}.ex-header-inner{min-height:70px;gap:12px}.ex-brand img{width:145px}.ex-hero{padding:42px 0 36px}.ex-hero h1{font-size:38px}.ex-hero .lead{font-size:14px}.ex-hero-actions{display:grid;grid-template-columns:1fr 1fr}.ex-benefits{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ex-benefit+.ex-benefit{padding-right:0;border-right:0}.ex-hero-art{margin-top:-8px}.ex-section{padding:46px 0}.ex-services-grid{grid-template-columns:1fr}.ex-service-card{min-height:132px}.ex-post-grid{grid-template-columns:1fr 1fr;gap:10px}.ex-post-body{padding:12px}.ex-post-body h3{font-size:12px}.ex-post-meta{display:none}.ex-latest-bar{align-items:center}.ex-all-posts{padding:8px 10px;font-size:10px}.ex-main{padding:18px;border-radius:17px}.ex-content{font-size:15px}.ex-content h2{font-size:23px}.ex-content h3{font-size:19px}.ex-footer-grid{grid-template-columns:1fr 1fr;gap:26px}.ex-footer-brand{grid-column:1/-1}}
@media(max-width:420px){.ex-hero h1{font-size:34px}.ex-post-grid{grid-template-columns:1fr}.ex-hero-actions{grid-template-columns:1fr}.ex-footer-grid{grid-template-columns:1fr}.ex-footer-brand{grid-column:auto}}


/* =========================================================
   EXPRESS V5 — Compact header + Arabic typography + contact visibility
   ========================================================= */
html,body,button,input,select,textarea{
  font-family:"Cairo",Tahoma,Arial,"Segoe UI",sans-serif;
}

/* Compact desktop header */
.ex-header{
  min-height:0;
  background:linear-gradient(135deg,#04162d 0%,#07284d 56%,#051a34 100%);
}
.ex-header-inner{
  min-height:68px;
  height:68px;
  gap:18px;
  padding-block:6px;
}
.ex-brand{
  flex:0 0 220px;
  width:220px;
  max-width:220px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
}
.ex-brand img{
  width:210px !important;
  max-width:210px !important;
  height:auto !important;
  max-height:50px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
}
.ex-header-main{
  min-width:0;
  flex:1 1 auto;
  gap:12px;
}
.ex-nav{
  min-width:0;
  flex:1 1 auto;
}
.ex-nav>ul,.ex-nav .menu{
  justify-content:center;
  gap:1px;
  flex-wrap:nowrap;
}
.ex-nav a{
  min-height:40px;
  padding:0 10px;
  font-size:13px;
  font-weight:800;
  border-radius:10px;
}
.ex-head-cta{
  min-height:42px;
  height:42px;
  padding:0 13px;
  font-size:11.5px;
  border-radius:12px;
  flex:0 0 auto;
}
.ex-head-cta svg{width:17px;height:17px}

/* Earlier mobile switch guarantees the menu can never run off screen */
@media(max-width:1280px){
  .ex-header-inner{min-height:66px;height:66px;gap:12px}
  .ex-brand{flex-basis:200px;width:200px;max-width:200px;height:52px}
  .ex-brand img{width:190px !important;max-width:190px !important;max-height:47px !important}
  .ex-mobile-toggle{display:block;flex:0 0 44px;width:44px;height:44px}
  .ex-header-main{justify-content:flex-end}
  .ex-nav{
    display:none;
    position:fixed;
    top:78px;
    right:14px;
    left:14px;
    width:auto;
    max-width:none;
    background:linear-gradient(145deg,#061a35,#0a2b52);
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    padding:12px;
    box-shadow:0 24px 60px rgba(0,0,0,.32);
    max-height:calc(100vh - 100px);
    overflow:auto;
    z-index:10050;
  }
  body.admin-bar .ex-nav{top:110px}
  .ex-nav.is-open{display:block}
  .ex-nav>ul,.ex-nav .menu{flex-direction:column;align-items:stretch;gap:3px}
  .ex-nav a{min-height:44px;justify-content:space-between;padding:0 14px;font-size:14px}
  .ex-nav .current-menu-item>a:after,.ex-nav .current_page_item>a:after{display:none}
  .ex-nav .sub-menu{position:static;display:block;min-width:0;margin:3px 0 7px;padding:5px;background:rgba(255,255,255,.05);border:0;box-shadow:none}
  .ex-nav .sub-menu a{color:#e8f1fb}
  .ex-head-cta{margin-inline-start:auto}
}

@media(max-width:760px){
  .ex-header-inner{height:62px;min-height:62px;padding-block:5px}
  .ex-brand{flex-basis:165px;width:165px;max-width:165px;height:48px}
  .ex-brand img{width:158px !important;max-width:158px !important;max-height:43px !important}
  .ex-head-cta{display:none}
  .ex-mobile-toggle{width:42px;height:42px;flex-basis:42px}
  .ex-nav{top:72px;right:10px;left:10px}
  body.admin-bar .ex-nav{top:118px}
}

@media(max-width:420px){
  .ex-brand{flex-basis:145px;width:145px;max-width:145px}
  .ex-brand img{width:138px !important;max-width:138px !important}
}

/* Floating contact buttons — always fully inside viewport */
.cfb-mini-contact,
.cfb-buttons,
.cfb-floating-wrapper{
  position:fixed !important;
  left:16px !important;
  right:auto !important;
  bottom:18px !important;
  width:auto !important;
  max-width:calc(100vw - 32px) !important;
  margin:0 !important;
  transform:none !important;
  z-index:10040 !important;
}
.cfb-mini-btn,
.cfb-button,
.cfb-floating-button{
  min-width:136px !important;
  max-width:190px !important;
  min-height:46px !important;
  border-radius:15px !important;
  box-shadow:0 9px 24px rgba(0,0,0,.24) !important;
}
.cfb-mini-call,.cfb-call,.cfb-call-button{
  background:linear-gradient(135deg,#ef233c,#c61235) !important;
}
.cfb-mini-whatsapp,.cfb-whatsapp,.cfb-whatsapp-button{
  background:linear-gradient(135deg,#25d366,#109c58) !important;
}
.cfb-mini-label,.cfb-main-text,.cfb-title,
.cfb-small-text,.cfb-subtitle{
  font-family:"Cairo",Tahoma,Arial,sans-serif !important;
}
@media(max-width:700px){
  .cfb-mini-contact,.cfb-buttons,.cfb-floating-wrapper{
    left:9px !important;
    right:auto !important;
    bottom:10px !important;
    max-width:calc(100vw - 18px) !important;
    flex-direction:column !important;
    gap:7px !important;
  }
  .cfb-mini-btn,.cfb-button,.cfb-floating-button{
    min-width:124px !important;
    max-width:160px !important;
    min-height:43px !important;
  }
}


/* =========================================================
   EXPRESS V6 — Unified header palette + plugin-linked phone
   ========================================================= */
:root{
  --ex-header:#071e3b;
  --ex-header-deep:#05182f;
  --ex-header-soft:#0c2a50;
  --ex-accent:#ff9418;
  --ex-accent-2:#ffb238;
}

/* One coherent header color system */
.ex-header{
  background:linear-gradient(135deg,var(--ex-header-deep) 0%,var(--ex-header) 55%,#082647 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.075) !important;
  box-shadow:0 8px 24px rgba(2,14,31,.18) !important;
}
.ex-header:after{
  background:linear-gradient(90deg,transparent,rgba(255,148,24,.025),transparent) !important;
}
.ex-header-inner{
  height:68px !important;
  min-height:68px !important;
  padding-block:5px !important;
  gap:18px !important;
}
.ex-brand{
  flex:0 0 215px !important;
  width:215px !important;
  max-width:215px !important;
  height:56px !important;
  overflow:visible !important;
}
.ex-brand img{
  width:205px !important;
  max-width:205px !important;
  max-height:54px !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:right center !important;
}
.ex-header-main{gap:12px !important;min-width:0 !important}
.ex-header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-inline-start:auto}
.ex-nav a{font-family:"Cairo",Tahoma,Arial,sans-serif !important}

/* Direct call — same data source as floating-button plugin */
.ex-head-cta{
  min-height:42px !important;
  height:42px !important;
  padding:0 14px !important;
  border-radius:13px !important;
  background:linear-gradient(135deg,var(--ex-accent),var(--ex-accent-2)) !important;
  box-shadow:0 8px 20px rgba(255,148,24,.22) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
}
.ex-head-cta:hover{filter:brightness(1.04);transform:translateY(-1px)}
.ex-head-cta .ex-cta-text{display:inline-block}
.ex-head-cta svg{width:18px !important;height:18px !important;fill:currentColor !important}

/* Hamburger now belongs to the same navy/orange system */
.ex-mobile-toggle{
  background:var(--ex-header-soft) !important;
  border:1px solid rgba(255,178,56,.30) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 5px 14px rgba(0,0,0,.14) !important;
}
.ex-mobile-toggle:hover{background:#10345f !important;border-color:rgba(255,178,56,.55) !important}
.ex-mobile-toggle span,.ex-mobile-toggle span:before,.ex-mobile-toggle span:after{background:#fff !important}

/* Tablet: never let navigation squeeze out of viewport */
@media(max-width:1280px){
  .ex-header-inner{height:64px !important;min-height:64px !important}
  .ex-brand{flex-basis:190px !important;width:190px !important;max-width:190px !important;height:52px !important}
  .ex-brand img{width:182px !important;max-width:182px !important;max-height:49px !important}
  .ex-nav{display:none !important}
  .ex-nav.is-open{display:block !important}
  .ex-mobile-toggle{display:block !important}
  .ex-header-main{justify-content:flex-end !important}
  .ex-head-cta{display:inline-flex !important}
}

/* Mobile: compact logo + visible call icon + hamburger */
@media(max-width:760px){
  .ex-header-inner{height:60px !important;min-height:60px !important;padding-block:4px !important;gap:8px !important}
  .ex-wrap{width:min(calc(100% - 14px),var(--ex-max)) !important}
  .ex-brand{flex:0 0 158px !important;width:158px !important;max-width:158px !important;height:48px !important}
  .ex-brand img{width:152px !important;max-width:152px !important;max-height:45px !important}
  .ex-header-main{gap:6px !important}
  .ex-header-actions{gap:6px !important}
  .ex-head-cta{
    display:inline-flex !important;
    width:42px !important;
    min-width:42px !important;
    height:42px !important;
    min-height:42px !important;
    padding:0 !important;
    border-radius:13px !important;
  }
  .ex-head-cta .ex-cta-text{display:none !important}
  .ex-mobile-toggle{width:42px !important;height:42px !important;flex:0 0 42px !important;border-radius:13px !important}
  .ex-nav{top:68px !important;right:8px !important;left:8px !important}
  body.admin-bar .ex-nav{top:114px !important}
}

@media(max-width:390px){
  .ex-brand{flex-basis:142px !important;width:142px !important;max-width:142px !important}
  .ex-brand img{width:136px !important;max-width:136px !important}
  .ex-head-cta,.ex-mobile-toggle{width:40px !important;min-width:40px !important;height:40px !important;min-height:40px !important}
}


/* ===== V7 Header/Footer Polish ===== */
.ex-header{background:linear-gradient(135deg,#081f3f 0%,#0a2b57 55%,#0c2348 100%)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:0 10px 30px rgba(0,0,0,.14)!important}
.ex-header:before,.ex-header:after{display:none!important}
.ex-header-inner{min-height:72px!important;display:flex!important;align-items:center!important;gap:18px!important}
.ex-brand{flex:0 0 220px!important;width:220px!important;max-width:220px!important;height:auto!important;display:flex!important;align-items:center!important}
.ex-brand img{display:block!important;width:100%!important;max-width:220px!important;max-height:none!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 6px 16px rgba(0,0,0,.18))!important}
.ex-nav{flex:1 1 auto!important;min-width:0!important}
.ex-nav>ul,.ex-nav .menu{justify-content:center!important;gap:8px!important;flex-wrap:wrap!important}
.ex-nav a{min-height:42px!important;padding:0 14px!important;border-radius:12px!important;color:#edf4ff!important;font-size:15px!important;font-weight:800!important}
.ex-nav a:hover,.ex-nav .current-menu-item>a,.ex-nav .current_page_item>a{background:rgba(255,255,255,.1)!important;color:#fff!important}
.ex-nav .current-menu-item>a:after,.ex-nav .current_page_item>a:after{left:16px!important;right:16px!important;bottom:4px!important;height:2px!important;background:linear-gradient(90deg,#ffb241,#ff7f1d)!important}
.ex-nav .menu-item-has-children>a:before{color:#ffb241!important}
.ex-head-cta{display:none!important}
.ex-mobile-toggle{display:none!important;flex:0 0 46px!important;width:46px!important;height:46px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:16px!important;background:rgba(255,255,255,.08)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important}
.ex-mobile-toggle:hover{background:rgba(255,255,255,.12)!important}

.ex-footer{background:linear-gradient(180deg,#081f3f 0%,#071a34 100%)!important;color:#dbe6f7!important}
.ex-footer-grid{grid-template-columns:1.2fr 1fr 1fr 1fr!important;gap:32px!important;align-items:flex-start!important}
.ex-footer-brand{padding-inline-start:10px!important}
.ex-footer-brand img{display:block!important;width:260px!important;max-width:100%!important;height:auto!important;margin:0 0 16px auto!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.20))!important}
.ex-footer-brand p{color:#d2deee!important;font-size:15px!important;line-height:1.95!important;margin:0!important}
.ex-footer h3{color:#fff!important;font-size:24px!important;margin-bottom:18px!important}
.ex-footer a,.ex-footer li,.ex-footer-contact span{color:#dbe6f7!important;font-size:16px!important}
.ex-footer a:hover{color:#ffb241!important}
.ex-footer-bottom{border-top:1px solid rgba(255,255,255,.08)!important;background:rgba(3,12,25,.16)!important}
.ex-footer-bottom .ex-wrap{display:flex!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}

/* remove extra yellow header icon entirely */
.ex-header-actions,.ex-header-actions *{display:none!important}

@media (max-width: 1040px){
  .ex-header-inner{min-height:68px!important;gap:14px!important}
  .ex-brand{flex:0 0 180px!important;width:180px!important;max-width:180px!important}
  .ex-brand img{max-width:180px!important}
  .ex-mobile-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;order:3!important;margin-inline-start:auto!important}
  .ex-nav{display:none!important;position:fixed!important;top:82px!important;right:14px!important;left:14px!important;background:#0a2243!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 22px 60px rgba(0,0,0,.28)!important;max-height:calc(100vh - 120px)!important;overflow:auto!important;z-index:99!important}
  .admin-bar .ex-nav{top:116px!important}
  .ex-nav.is-open{display:block!important}
  .ex-nav>ul,.ex-nav .menu{flex-direction:column!important;align-items:stretch!important;gap:4px!important}
  .ex-nav a{justify-content:space-between!important;padding:0 14px!important;min-height:44px!important}
  .ex-nav .current-menu-item>a:after,.ex-nav .current_page_item>a:after{display:none!important}
  .ex-nav .sub-menu{position:static!important;display:block!important;background:rgba(255,255,255,.05)!important;border:0!important;box-shadow:none!important;margin:4px 0 8px!important;padding:4px!important}
  .ex-nav .sub-menu a{color:#dfe9f6!important}
  .ex-footer-grid{grid-template-columns:1fr 1fr!important}
  .ex-footer-brand{grid-column:1/-1!important;padding-inline-start:0!important}
  .ex-footer-brand img{width:240px!important;margin-right:auto!important;margin-left:auto!important}
  .ex-footer-brand p{text-align:center!important}
}

@media (max-width: 700px){
  .ex-header-inner{min-height:64px!important;gap:12px!important}
  .ex-brand{flex:0 0 152px!important;width:152px!important;max-width:152px!important}
  .ex-brand img{max-width:152px!important}
  .ex-mobile-toggle{width:42px!important;height:42px!important;flex-basis:42px!important}
  .ex-footer-grid{grid-template-columns:1fr!important;gap:24px!important}
  .ex-footer-brand img{width:220px!important}
  .ex-footer h3{font-size:20px!important}
  .ex-footer a,.ex-footer li,.ex-footer-contact span,.ex-footer-brand p{font-size:15px!important}
}


/* =========================================================
   EXPRESS V9 — Automatic Table of Contents
   ========================================================= */
.ex-toc{
  margin:4px 0 30px;
  border:1px solid #dbe5f0;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 34px rgba(7,31,63,.07);
  overflow:hidden;
}
.ex-toc-head{
  list-style:none;
  cursor:pointer;
  min-height:74px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  user-select:none;
  background:linear-gradient(135deg,#f8fbff,#fff);
}
.ex-toc-head::-webkit-details-marker{display:none}
.ex-toc-head-main{display:flex;align-items:center;gap:12px;min-width:0}
.ex-toc-icon{
  width:44px;height:44px;min-width:44px;
  border-radius:14px;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#0b2c55,#124b82);
  box-shadow:0 8px 20px rgba(8,42,80,.18);
}
.ex-toc-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.ex-toc-head strong{display:block;color:#0b1f3a;font-size:18px;line-height:1.4;font-weight:900}
.ex-toc-head small{display:block;margin-top:3px;color:#7a8899;font-size:11px;font-weight:600}
.ex-toc-toggle{width:32px;height:32px;min-width:32px;border-radius:10px;background:#edf4fb;position:relative}
.ex-toc-toggle:before,.ex-toc-toggle:after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;background:#0c3866;border-radius:99px;transform:translate(-50%,-50%);transition:.2s}
.ex-toc-toggle:after{transform:translate(-50%,-50%) rotate(90deg)}
.ex-toc[open] .ex-toc-toggle:after{transform:translate(-50%,-50%) rotate(0deg);opacity:0}
.ex-toc-body{border-top:1px solid #edf1f5;padding:10px 18px 17px;background:#fff}
.ex-toc-list{list-style:none;margin:0;padding:0;counter-reset:toc}
.ex-toc-list li{margin:0;border-bottom:1px dashed #edf1f5}
.ex-toc-list li:last-child{border-bottom:0}
.ex-toc-list a{
  display:flex;align-items:flex-start;gap:10px;
  padding:10px 4px;
  color:#23405f!important;
  font-size:14px;
  font-weight:700;
  line-height:1.7;
  text-decoration:none!important;
  transition:.18s ease;
}
.ex-toc-list a:hover{color:#e96c00!important;transform:translateX(-3px)}
.ex-toc-dot{width:7px;height:7px;min-width:7px;border-radius:50%;margin-top:9px;background:linear-gradient(135deg,#ffb239,#ff7a00);box-shadow:0 0 0 4px #fff2e3}
.ex-toc-level-3{padding-right:22px}
.ex-toc-level-3 a{font-size:13px;font-weight:600;color:#607389!important}
.ex-content h2[id],.ex-content h3[id]{scroll-margin-top:105px}

@media(max-width:700px){
  .ex-toc{margin:2px 0 22px;border-radius:17px}
  .ex-toc-head{min-height:66px;padding:11px 13px;gap:10px}
  .ex-toc-icon{width:39px;height:39px;min-width:39px;border-radius:12px}
  .ex-toc-head strong{font-size:16px}
  .ex-toc-head small{font-size:10px}
  .ex-toc-body{padding:8px 13px 13px}
  .ex-toc-list a{font-size:13px;padding:9px 2px}
  .ex-toc-level-3{padding-right:16px}
  .ex-toc-level-3 a{font-size:12px}
  .ex-content h2[id],.ex-content h3[id]{scroll-margin-top:82px}
}


/* V10: TOC collapsed by default + clear open/close label */
.ex-toc-action{display:flex;align-items:center;gap:9px;color:#0b3865;font-size:12px;font-weight:800;white-space:nowrap}
.ex-toc-action-close{display:none}
.ex-toc[open] .ex-toc-action-open{display:none}
.ex-toc[open] .ex-toc-action-close{display:inline}
.ex-toc:not([open]) .ex-toc-body{display:none}
@media(max-width:700px){.ex-toc-action{font-size:11px}.ex-toc-action-open,.ex-toc-action-close{max-width:110px;overflow:hidden;text-overflow:ellipsis}}
