/*
Theme Name: Golden Protection — UAE Pest Control Home
Theme URI: https://hhshrat.com/
Description: قالب ابن مخصص لثيم Astra — الصفحة الرئيسية «الطبقة المائلة» لشركة الحماية الذهبية لمكافحة الحشرات في الإمارات. كل الأنماط معزولة داخل .hh حتى لا تؤثر على باقي صفحات الموقع.
Author: Golden Protection
Template: astra
Version: 1.0
Text Domain: hhshrat-hh
*/

/* ══════════════════════════════════════════════════════════
   هوية «الطبقة المائلة» — شرائح مائلة + شارات متوازية الأضلاع
   كل شيء داخل .hh فقط
   ══════════════════════════════════════════════════════════ */

.hh{
  --hh-ink:#14171C;
  --hh-deep:#0E1115;
  --hh-wine:#8C1033;
  --hh-wine2:#B0143F;
  --hh-winelt:#FCEDF1;
  --hh-slate:#2C3E4C;
  --hh-sand:#C9A227;
  --hh-sandd:#7A6210;
  --hh-pale:#F5F3F0;
  --hh-pale2:#EAE6E1;
  --hh-paper:#fff;
  --hh-txt:#171A1F;
  --hh-mut:#565C66;
  --hh-line:#DAD5CE;
  --hh-skew:-11deg;

  display:block;
  font-family:'Tajawal','Segoe UI',Tahoma,sans-serif;
  color:var(--hh-txt);
  line-height:1.95;
  direction:rtl;
  text-align:right;
  font-size:1.04rem;
}

.hh *,.hh *::before,.hh *::after{box-sizing:border-box;}
.hh h1,.hh h2,.hh h3{
  font-family:'Changa','Tajawal',sans-serif;
  color:var(--hh-ink);
  line-height:1.5;
  margin:0 0 14px;
}
.hh h1{font-size:clamp(1.8rem,4.3vw,2.85rem);font-weight:700;}
.hh h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:700;}
.hh h3{font-size:1.14rem;font-weight:600;}
.hh p{margin:0 0 15px;}
.hh ul,.hh ol{margin:0 0 15px;padding:0;list-style:none;}
.hh img{max-width:100%;height:auto;display:block;}

.hh-w{max-width:1180px;margin:0 auto;padding:0 20px;}

/* ===== الشارة المائلة — الموتيف الأساسي ===== */
.hh-num{display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:46px;background:var(--hh-wine);color:#fff;
  transform:skewX(var(--hh-skew));flex:0 0 48px;}
.hh-num i{font-style:normal;display:block;transform:skewX(calc(var(--hh-skew) * -1));
  font-family:'Changa',sans-serif;font-weight:700;font-size:1.02rem;}
.hh-s.deep .hh-num{background:var(--hh-sand);color:#1A1505;}

/* ===== الأشرطة ===== */
.hh-s{padding:60px 0;}
.hh-s.pale{background:var(--hh-pale);}
.hh-s.pale2{background:var(--hh-pale2);}
.hh-s.deep{background:var(--hh-deep);color:#C2C7CE;
  padding:84px 0;margin:-20px 0;
  clip-path:polygon(0 24px,100% 0,100% 100%,0 calc(100% - 24px));}
.hh-s.deep h2,.hh-s.deep h3{color:#fff;}
.hh-s.deep strong{color:#fff;}
@media(max-width:820px){.hh-s{padding:42px 0;} .hh-s.deep{padding:62px 0;}}

/* ===== روابط المقال — لون + تسطير إلزامي ===== */
.hh-s p a,.hh-s li a,.hh-s td a,.hh-s figcaption a,.hh-s .hh-a a{
  color:var(--hh-wine);
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:rgba(140,16,51,.5);
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}
.hh-s p a:hover,.hh-s li a:hover,.hh-s td a:hover,.hh-s figcaption a:hover{
  color:var(--hh-slate);
  text-decoration-color:currentColor;
  background:rgba(140,16,51,.08);
}
.hh-s.deep p a,.hh-s.deep li a{color:#F0C778;text-decoration-color:rgba(240,199,120,.55);}
.hh-s.deep p a:hover,.hh-s.deep li a:hover{color:#FFE0A8;background:rgba(255,255,255,.08);}

/* ===== رأس القسم ===== */
.hh-head{margin-bottom:30px;}
.hh-head .hh-top{display:flex;align-items:center;gap:15px;margin-bottom:14px;}
.hh-kicker{font-family:'Changa',sans-serif;font-size:.79rem;font-weight:600;
  letter-spacing:1.5px;color:var(--hh-wine);}
.hh-s.deep .hh-kicker{color:var(--hh-sand);}
.hh-head .hh-row{display:grid;grid-template-columns:1.12fr .88fr;gap:24px;align-items:end;}
@media(max-width:820px){.hh-head .hh-row{grid-template-columns:1fr;gap:8px;}}
.hh-head p{margin:0;color:var(--hh-mut);font-size:.97rem;}
.hh-s.deep .hh-head p{color:#A3ABB5;}
/* الشريط المائل — الفاصل المميّز */
.hh-rule{height:10px;margin-top:18px;
  background:repeating-linear-gradient(115deg,
    var(--hh-wine) 0 7px, transparent 7px 16px);}
.hh-s.deep .hh-rule{background:repeating-linear-gradient(115deg,
  var(--hh-sand) 0 7px, transparent 7px 16px);}

/* ===== البطل ===== */
.hh-hero{background:var(--hh-pale);padding:54px 0 62px;}
.hh-hero .hh-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;}
@media(max-width:940px){.hh-hero .hh-grid{grid-template-columns:1fr;gap:30px;}}
.hh-hero h1{margin-bottom:16px;}
.hh-lede{font-size:1.1rem;color:#333941;margin-bottom:22px;}
.hh-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;}
.hh-tag{display:inline-flex;align-items:center;gap:9px;background:#fff;
  border:1px solid var(--hh-line);padding:8px 16px;
  font-size:.88rem;font-weight:700;color:var(--hh-wine);
  transform:skewX(var(--hh-skew));}
.hh-tag i{font-style:normal;transform:skewX(calc(var(--hh-skew) * -1));display:block;}

/* ===== الأزرار ===== */
.hh-cta{display:flex;flex-wrap:wrap;gap:12px;}
.hh-cta a{display:inline-flex;align-items:center;gap:9px;padding:14px 28px;
  font-family:'Changa',sans-serif;font-weight:600;font-size:1rem;text-decoration:none;
  border:2px solid transparent;transition:.15s;position:relative;}
.hh-cta a::before{content:'';position:absolute;top:0;bottom:0;right:-9px;width:18px;
  background:inherit;transform:skewX(var(--hh-skew));}
.hh-btn{background:var(--hh-wine);color:#fff;}
.hh-btn:hover{background:var(--hh-ink);color:#fff;}
.hh-wa{background:#0B7A43;color:#fff;}
.hh-wa:hover{background:#095C33;color:#fff;}
.hh-ghost{background:transparent;color:var(--hh-ink);border-color:var(--hh-ink);}
.hh-ghost::before{display:none;}
.hh-ghost:hover{background:var(--hh-ink);color:#fff;}
.hh-s.deep .hh-ghost{border-color:rgba(255,255,255,.5);color:#fff;}
.hh-s.deep .hh-ghost:hover{background:#fff;color:var(--hh-deep);}

/* ===== الصور — قصّ مائل ===== */
.hh-shot{position:relative;margin:0;}
.hh-shot img{width:100%;clip-path:polygon(0 4%,100% 0,100% 96%,0 100%);}
.hh-seal{position:absolute;bottom:26px;right:0;background:var(--hh-ink);color:#fff;
  padding:13px 22px;transform:skewX(var(--hh-skew));}
.hh-seal div{transform:skewX(calc(var(--hh-skew) * -1));}
.hh-seal b{display:block;font-family:'Changa',sans-serif;font-size:.98rem;line-height:1.35;color:#fff;}
.hh-seal span{font-size:.79rem;color:#B9BFC7;}
@media(max-width:560px){.hh-seal{right:auto;left:0;bottom:18px;padding:9px 15px;}}

.hh-fig{margin:0;}
.hh-fig img{width:100%;clip-path:polygon(0 4%,100% 0,100% 96%,0 100%);}
.hh-fig figcaption{margin-top:14px;font-size:.92rem;color:var(--hh-mut);
  padding-right:14px;border-right:4px solid var(--hh-wine);}
.hh-two{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;}
.hh-two.rev>.hh-fig{order:-1;}
@media(max-width:860px){.hh-two{grid-template-columns:1fr;gap:22px;}}

/* ===== شريط الأرقام ===== */
.hh-stats{background:var(--hh-ink);}
.hh-stats .hh-w{display:grid;grid-template-columns:repeat(4,1fr);padding:0 20px;}
.hh-stats div{padding:26px 14px;text-align:center;position:relative;}
.hh-stats div::after{content:'';position:absolute;left:0;top:26%;bottom:26%;width:2px;
  background:var(--hh-sand);transform:skewX(var(--hh-skew));}
.hh-stats div:last-child::after{display:none;}
.hh-stats b{display:block;font-family:'Changa',sans-serif;color:#fff;font-size:1.6rem;line-height:1.4;}
.hh-stats span{color:#A8AEB6;font-size:.85rem;}
@media(max-width:720px){.hh-stats .hh-w{grid-template-columns:repeat(2,1fr);}
  .hh-stats div:nth-child(2)::after{display:none;} .hh-stats b{font-size:1.3rem;}}

/* ===== الخدمات ===== */
.hh-svc{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.hh-svc>div{background:#fff;border:1px solid var(--hh-line);padding:22px 20px;
  border-top:4px solid var(--hh-wine);}
.hh-s.deep .hh-svc>div{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.15);
  border-top-color:var(--hh-sand);}
.hh-svc h3{margin:12px 0 6px;font-size:1.05rem;}
.hh-svc p{font-size:.95rem;color:var(--hh-mut);margin:0;}
.hh-s.deep .hh-svc p{color:#A3ABB5;}
@media(max-width:880px){.hh-svc{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.hh-svc{grid-template-columns:1fr;}}

/* ===== الاقتباس ===== */
.hh-q{margin:32px 0;padding:28px 32px;background:var(--hh-paper);
  border:1px solid var(--hh-line);position:relative;overflow:hidden;}
.hh-q::before{content:'';position:absolute;top:-10px;bottom:-10px;right:-14px;width:30px;
  background:var(--hh-wine);transform:skewX(var(--hh-skew));}
.hh-s.pale .hh-q,.hh-s.pale2 .hh-q{background:#fff;}
.hh-s.deep .hh-q{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.17);}
.hh-s.deep .hh-q::before{background:var(--hh-sand);}
.hh-q p{margin:0;font-family:'Changa',sans-serif;font-size:1.16rem;font-weight:600;
  color:var(--hh-wine);line-height:1.85;padding-right:12px;}
.hh-s.deep .hh-q p{color:#FFD88C;}

/* ===== التنبيهات ===== */
.hh-note,.hh-warn{padding:18px 20px;margin:24px 0;display:flex;gap:13px;align-items:flex-start;}
.hh-note{background:#E9EDF0;border:1px solid #C6D0D7;border-right:5px solid var(--hh-slate);}
.hh-warn{background:var(--hh-winelt);border:1px solid #F2CDD6;border-right:5px solid var(--hh-wine);}
.hh-note p:last-child,.hh-warn p:last-child{margin:0;}
.hh-note b,.hh-warn b{font-family:'Changa',sans-serif;}

/* ===== قوائم التحقق ===== */
.hh-tick{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;}
@media(max-width:760px){.hh-tick{grid-template-columns:1fr;}}
.hh-tick li{position:relative;padding:11px 30px 11px 0;border-bottom:1px solid var(--hh-line);}
.hh-s.deep .hh-tick li{border-color:rgba(255,255,255,.14);}
.hh-tick li::before{content:'';position:absolute;right:0;top:20px;width:13px;height:13px;
  background:var(--hh-wine);transform:skewX(var(--hh-skew));}
.hh-s.deep .hh-tick li::before{background:var(--hh-sand);}

/* ===== المراحل — الطبقات ===== */
.hh-steps{margin:30px 0 10px;}
.hh-steps li{display:grid;grid-template-columns:48px 1fr;gap:20px;padding:19px 0;
  border-bottom:1px solid var(--hh-line);align-items:start;}
.hh-steps li:last-child{border-bottom:0;}
.hh-s.deep .hh-steps li{border-color:rgba(255,255,255,.14);}
.hh-steps h3{margin:0 0 5px;font-size:1.06rem;}
.hh-steps p{margin:0;font-size:.96rem;color:var(--hh-mut);}
.hh-s.deep .hh-steps p{color:#A3ABB5;}

/* ===== الجداول ===== */
.hh-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;}
.hh-t{width:100%;border-collapse:collapse;font-size:.98rem;background:#fff;min-width:580px;
  border:1px solid var(--hh-line);}
.hh-t thead th{background:var(--hh-ink);color:#fff;font-family:'Changa',sans-serif;font-weight:600;
  padding:14px;text-align:right;font-size:.95rem;border-left:1px solid rgba(255,255,255,.12);}
.hh-t thead th:last-child{border-left:0;}
.hh-t td{padding:12px 14px;border-bottom:1px solid var(--hh-line);
  border-left:1px solid var(--hh-line);vertical-align:top;}
.hh-t td:last-child{border-left:0;}
.hh-t tbody tr:nth-child(even){background:var(--hh-pale);}
.hh-t tbody tr:last-child td{border-bottom:0;}
.hh-t td b{color:var(--hh-ink);}

/* ===== المقارنة ===== */
.hh-cmp{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0;}
@media(max-width:700px){.hh-cmp{grid-template-columns:1fr;}}
.hh-cmp>div{padding:26px;background:#fff;border:1px solid var(--hh-line);}
.hh-yes{border-top:5px solid #15664B;}
.hh-no{border-top:5px solid var(--hh-wine);}
.hh-cmp h3{margin:0 0 12px;font-size:1.06rem;}
.hh-yes h3{color:#15664B;} .hh-no h3{color:var(--hh-wine);}
.hh-cmp li{padding:8px 26px 8px 0;position:relative;font-size:.96rem;}
.hh-yes li::before{content:'✓';position:absolute;right:0;color:#15664B;font-weight:800;}
.hh-no li::before{content:'✕';position:absolute;right:0;color:var(--hh-wine);font-weight:800;}

/* ===== الحاسبة ===== */
.hh-calc{background:#fff;border:1px solid var(--hh-line);border-top:5px solid var(--hh-wine);
  padding:34px;}
@media(max-width:700px){.hh-calc{padding:24px 16px;}}
.hh-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:22px 0;}
@media(max-width:700px){.hh-fields{grid-template-columns:1fr;}}
.hh-f label{display:block;font-family:'Changa',sans-serif;font-weight:600;margin-bottom:7px;
  font-size:.93rem;color:var(--hh-ink);}
.hh-f select,.hh-f input{width:100%;padding:12px 13px;border:1px solid var(--hh-line);
  background:#fff;color:var(--hh-txt);font-family:inherit;font-size:1rem;}
.hh-f select:focus,.hh-f input:focus{outline:2px solid var(--hh-wine);outline-offset:1px;}
.hh-calc button{background:var(--hh-ink);color:#fff;border:0;padding:14px 36px;
  font-family:'Changa',sans-serif;font-weight:600;font-size:1rem;cursor:pointer;}
.hh-calc button:hover{background:var(--hh-wine);}
.hh-out{display:none;margin-top:24px;padding:24px;background:var(--hh-pale);
  border-right:5px solid var(--hh-wine);}
.hh-out.on{display:block;}
.hh-out .big{display:block;font-family:'Changa',sans-serif;font-size:1.6rem;font-weight:700;
  color:var(--hh-ink);line-height:1.45;}
.hh-out .row{display:flex;justify-content:space-between;gap:14px;padding:9px 0;
  border-bottom:1px solid var(--hh-line);font-size:.95rem;}
.hh-out .row:last-child{border-bottom:0;}
.hh-out .row b{font-family:'Changa',sans-serif;color:var(--hh-wine);white-space:nowrap;}
.hh-out small{display:block;margin-top:15px;color:var(--hh-mut);font-size:.87rem;line-height:1.75;}

/* ===== الشرائح (المناطق) ===== */
.hh-chips{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 6px;}
.hh-chips a,.hh-chips span{display:inline-block;padding:7px 16px;background:#fff;
  border:1px solid var(--hh-line);font-size:.89rem;color:var(--hh-wine);
  text-decoration:none;font-weight:600;transform:skewX(var(--hh-skew));}
.hh-chips a i,.hh-chips span i{font-style:normal;display:block;
  transform:skewX(calc(var(--hh-skew) * -1));}
.hh-chips a:hover{background:var(--hh-wine);color:#fff;border-color:var(--hh-wine);}
.hh-chips span{color:var(--hh-mut);font-weight:400;}

/* ===== صفحات تهمك ===== */
.hh-rel{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:20px;}
@media(max-width:860px){.hh-rel{grid-template-columns:repeat(2,1fr);}}
@media(max-width:540px){.hh-rel{grid-template-columns:1fr;}}
.hh-rel a{display:flex;align-items:center;gap:11px;padding:14px 16px;background:#fff;
  border:1px solid var(--hh-line);color:var(--hh-wine);text-decoration:none;
  font-weight:600;font-size:.93rem;}
.hh-rel a::before{content:'';width:11px;height:12px;background:var(--hh-wine);
  transform:skewX(var(--hh-skew));flex:0 0 11px;}
.hh-rel a:hover{border-color:var(--hh-wine);background:var(--hh-pale);}

/* ===== الأسئلة الشائعة ===== */
.hh-faq details{border:1px solid var(--hh-line);background:#fff;margin-bottom:11px;}
.hh-faq details[open]{border-right:5px solid var(--hh-wine);}
.hh-faq summary{cursor:pointer;padding:17px 19px;font-family:'Changa',sans-serif;font-weight:600;
  color:var(--hh-ink);list-style:none;position:relative;padding-left:46px;}
.hh-faq summary::-webkit-details-marker{display:none;}
.hh-faq summary::after{content:'+';position:absolute;left:19px;top:50%;transform:translateY(-50%);
  font-size:1.4rem;color:var(--hh-wine);line-height:1;}
.hh-faq details[open] summary::after{content:'–';}
.hh-faq .ans{padding:0 19px 18px;color:#2A2E35;}
.hh-faq .ans p:last-child{margin:0;}

/* ===== القاموس ===== */
.hh-dict{display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px;}
@media(max-width:760px){.hh-dict{grid-template-columns:1fr;}}
.hh-dict div{padding:14px 0;border-bottom:1px solid var(--hh-line);}
.hh-dict b{font-family:'Changa',sans-serif;color:var(--hh-ink);display:block;}
.hh-dict span{font-size:.93rem;color:var(--hh-mut);}

/* ===== النداء الأخير ===== */
.hh-final{background:var(--hh-ink);color:#fff;padding:56px 44px;text-align:center;
  clip-path:polygon(0 18px,100% 0,100% calc(100% - 18px),0 100%);}
@media(max-width:620px){.hh-final{padding:40px 18px;}}
.hh-final h2{color:#fff;}
.hh-final p{color:#C2C7CE;max-width:770px;margin:0 auto 24px;}
.hh-final .hh-cta{justify-content:center;}
.hh-final .hh-btn{background:var(--hh-sand);color:#1A1505;}
.hh-final .hh-btn:hover{background:#fff;color:var(--hh-ink);}
.hh-final .hh-ghost{border-color:rgba(255,255,255,.55);color:#fff;}
.hh-final .hh-ghost:hover{background:#fff;color:var(--hh-ink);}

/* ===== المصادر ===== */
.hh-end{font-size:.93rem;color:var(--hh-mut);}
.hh-end h3{font-size:1rem;}
.hh-end li{padding:6px 0;}

/* ===== شريط التواصل للجوال ===== */
.hh-fixed{background:none;line-height:normal;}
.hh-bar{display:none;}
@media(max-width:768px){
  .hh-bar{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;bottom:0;right:0;left:0;
    z-index:9999;background:rgba(20,23,28,.97);padding:9px;}
  .hh-bar a{padding:12px;text-align:center;font-family:'Changa',sans-serif;
    font-weight:600;color:#fff;font-size:.96rem;text-decoration:none;}
  .hh-bar .c{background:var(--hh-wine);}
  .hh-bar .w{background:#0B7A43;}
  body{padding-bottom:62px;}
}
