/* ============================================================
   مركز صيانة أجهزة الغاز — الأنماط الأساسية
   ============================================================ */

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'IBM Plex Sans Arabic','Tajawal',sans-serif;
  font-size:16.5px;
  line-height:1.85;
  direction:rtl;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:'Tajawal',sans-serif; margin:0; color:var(--primary-dark); line-height:1.3; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:3px solid var(--flame); outline-offset:3px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; position:relative; }
.section--tight{ padding:64px 0; }
.section--alt{ background:var(--bg-alt); }
.section--dark{ background:var(--primary-dark); color:#EAF1F4; }
.section--dark h2, .section--dark h3{ color:#fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:700; letter-spacing:.3px;
  color:var(--flame); background:var(--flame-tint);
  padding:7px 16px; border-radius:99px; margin-bottom:18px;
}
.eyebrow .ring-dot{ width:8px; height:8px; border-radius:50%; background:var(--flame); box-shadow:0 0 0 3px var(--flame-tint); }

h2.h-title{ font-size:clamp(28px,3.6vw,42px); font-weight:800; }
h3.h-sub{ font-size:22px; font-weight:700; }
.lead{ font-size:18.5px; color:var(--ink-soft); max-width:640px; margin-top:14px; }
.section-head{ max-width:760px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; border-radius:99px; font-weight:700; font-size:15.5px;
  border:2px solid transparent; transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-3px); }
.btn-flame{ background:var(--flame); color:#fff; box-shadow:0 10px 24px rgba(179,31,36,.35); }
.btn-flame:hover{ background:var(--flame-light); box-shadow:0 14px 30px rgba(179,31,36,.45); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.5); color:inherit; }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-ghost{ background:var(--primary-tint); color:var(--primary-dark); }
.btn-ghost:hover{ background:#d9e7ec; }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
.topbar{ background:var(--primary-dark); color:#cfe0e6; font-size:13.5px; }
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:8px; }
.topbar-links{ display:flex; gap:20px; flex-wrap:wrap; }
.topbar a:hover{ color:#fff; }
.topbar strong{ color:var(--flame-light); }

header.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
}
header.site-header.scrolled{ box-shadow:var(--shadow-md); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:48px; height:48px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text b{ font-family:'Tajawal',sans-serif; font-weight:800; font-size:18px; color:var(--primary-dark); }
.brand-text span{ font-size:12px; color:var(--ink-soft); font-weight:500; }

nav.main-nav{ display:flex; align-items:center; gap:6px; }
nav.main-nav a{ padding:10px 16px; border-radius:99px; font-weight:600; font-size:15px; color:var(--ink-soft); transition:background .2s, color .2s; }
nav.main-nav a:hover, nav.main-nav a.active{ background:var(--primary-tint); color:var(--primary-dark); }

.header-cta{ display:flex; align-items:center; gap:12px; }
.hotline-chip{ display:flex; align-items:center; gap:10px; background:var(--primary); color:#fff; padding:9px 18px; border-radius:99px; font-weight:700; box-shadow:var(--shadow-sm); }
.hotline-chip small{ display:block; font-weight:500; font-size:11px; opacity:.8; }
.hotline-chip .num{ font-size:16px; }
.hotline-chip svg{ width:18px; height:18px; }

.menu-toggle{ display:none; background:none; border:none; padding:8px; }
.menu-toggle span{ display:block; width:26px; height:3px; background:var(--primary-dark); margin:5px 0; border-radius:2px; transition:.3s; }
.menu-toggle.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:76px 0 90px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:56px; align-items:center; max-width:760px; margin:0 auto; text-align:center; }
.hero .hero-cta{ justify-content:center; }
.hero .trust-row{ justify-content:center; }
.hero .lead{ margin-left:auto; margin-right:auto; }
.hero h1{ font-size:clamp(34px,4.6vw,58px); font-weight:800; letter-spacing:-.5px; }
.hero h1 em{ font-style:normal; color:var(--flame); }
.hero .lead{ font-size:19px; max-width:560px; }
.hero-cta{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.trust-row{ display:flex; gap:26px; margin-top:44px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:14.5px; color:var(--ink-soft); }
.trust-item svg{ width:22px; height:22px; color:var(--safe); flex-shrink:0; }
.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.burner-anim{ width:100%; max-width:440px; }

/* ---------- Stats ---------- */
.stats-bar{ background:var(--primary); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:44px 0; }
.stat{ text-align:center; color:#fff; }
.stat b{ display:block; font-family:'Tajawal',sans-serif; font-size:clamp(26px,3vw,40px); font-weight:800; color:var(--flame-light); }
.stat span{ font-size:14px; opacity:.85; }

/* ---------- Grid / Cards ---------- */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:32px; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; position:relative; overflow:hidden; }
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--flame); }
.card-icon{ width:56px; height:56px; border-radius:16px; background:var(--flame-tint); color:var(--flame); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.card-icon svg{ width:28px; height:28px; }
.card h3{ font-size:19px; margin-bottom:10px; }
.card p{ color:var(--ink-soft); font-size:15px; }
.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; color:var(--primary); font-size:14.5px; }
.card-link svg{ width:16px; height:16px; transition:transform .2s; }
.card:hover .card-link svg{ transform:translateX(-4px); }

.ring-badge{ width:64px; height:64px; border-radius:50%; border:3px solid var(--flame); position:relative; display:flex; align-items:center; justify-content:center; background:var(--paper); flex-shrink:0; }
.ring-badge::before{ content:''; position:absolute; inset:10px; border-radius:50%; border:2px dashed var(--flame-light); opacity:.6; }
.ring-badge span{ font-family:'Tajawal',sans-serif; font-weight:800; font-size:20px; color:var(--flame); }

.process-row{ display:flex; gap:22px; }
.process-item{ flex:1; text-align:center; padding:0 10px; }
.process-item .ring-badge{ margin:0 auto 18px; }
.process-item h4{ font-size:16.5px; margin-bottom:8px; }
.process-item p{ font-size:14px; color:var(--ink-soft); }

/* ---------- Areas ---------- */
.area-chip{ display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--paper); border:1px solid var(--line-soft); border-radius:12px; padding:16px 18px; font-weight:700; color:var(--primary-dark); transition:.25s; }
.area-chip:hover{ background:var(--primary); color:#fff; transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.area-chip svg{ width:18px; height:18px; color:var(--flame); flex-shrink:0; }
.area-chip:hover svg{ color:var(--flame-light); }

/* ---------- Testimonials / slider ---------- */
.t-track-wrap{ overflow:hidden; }
.t-track{ display:flex; gap:26px; transition:transform .6s ease; }
.t-card{ background:var(--paper); border-radius:var(--radius-lg); padding:28px; border:1px solid var(--line-soft); flex:0 0 calc(33.333% - 18px); }
.t-stars{ color:var(--flame); font-size:15px; margin-bottom:12px; letter-spacing:2px; }
.t-name{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.t-avatar{ width:42px; height:42px; border-radius:50%; background:var(--primary-tint); display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--primary); }
.t-name b{ display:block; font-size:14.5px; }
.t-name span{ font-size:12.5px; color:var(--ink-faint); }
.t-dots{ display:flex; justify-content:center; gap:8px; margin-top:28px; }
.t-dots button{ width:9px; height:9px; border-radius:50%; background:var(--line); border:none; padding:0; }
.t-dots button.active{ background:var(--flame); width:22px; border-radius:5px; }

/* ---------- Blog ---------- */
.post-card{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); overflow:hidden; transition:.3s; }
.post-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.post-thumb{ height:170px; display:flex; align-items:center; justify-content:center; position:relative; }
.post-thumb svg{ width:64px; height:64px; }
.post-body{ padding:26px; }
.post-tag{ display:inline-block; font-size:12px; font-weight:700; color:var(--safe); background:var(--safe-tint); padding:4px 12px; border-radius:99px; margin-bottom:12px; }
.post-body h3{ font-size:18px; margin-bottom:10px; }
.post-body p{ font-size:14.5px; color:var(--ink-soft); }
.post-meta{ display:flex; justify-content:space-between; align-items:center; margin-top:18px; font-size:13px; color:var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band{ background:linear-gradient(120deg,var(--primary-dark),var(--primary)); border-radius:var(--radius-lg); padding:56px; color:#fff; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; position:relative; overflow:hidden; }
.cta-band::after{ content:''; position:absolute; left:-60px; top:50%; transform:translateY(-50%); width:220px; height:220px; border-radius:50%; border:2px solid rgba(255,255,255,.12); }
.cta-band h3{ color:#fff; font-size:26px; margin-bottom:8px; }
.cta-band p{ opacity:.85; }

/* ---------- Contact / Forms ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; }
.contact-info-card{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:34px; }
.info-row{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line-soft); }
.info-row:last-child{ border:none; }
.info-row svg{ width:22px; height:22px; color:var(--flame); flex-shrink:0; margin-top:2px; }
.info-row b{ display:block; font-size:14.5px; margin-bottom:3px; }
.info-row span, .info-row a{ font-size:14px; color:var(--ink-soft); }
.info-row a:hover{ color:var(--flame); }
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line-soft); box-shadow:var(--shadow-sm); background:var(--bg-alt); }
.map-frame iframe{ width:100%; height:100%; min-height:420px; border:0; }

.contact-form, .booking-form{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:34px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:7px; color:var(--primary-dark); }
.form-field input, .form-field select, .form-field textarea{ width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--line); font-family:inherit; font-size:14.5px; background:var(--bg); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--flame); box-shadow:0 0 0 4px var(--flame-tint); }
.form-field.full{ grid-column:1/-1; }
.form-note{ font-size:13px; color:var(--ink-faint); margin-top:14px; text-align:center; }

/* ---------- FAQ accordion ---------- */
.faq-item{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius); margin-bottom:14px; overflow:hidden; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:20px 24px; cursor:pointer; font-weight:700; font-size:16px; }
.faq-q svg{ width:20px; height:20px; color:var(--flame); flex-shrink:0; transition:transform .3s; }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-item.open .faq-a{ max-height:400px; }
.faq-a p{ padding:0 24px 22px; color:var(--ink-soft); font-size:15px; }

/* ---------- Footer ---------- */
footer.site-footer{ background:var(--primary-dark); color:#c8d7dc; padding:64px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand p{ color:#a9bcc3; font-size:14.5px; margin-top:14px; max-width:280px; }
footer h4{ color:#fff; font-size:15px; margin-bottom:18px; }
footer ul li{ margin-bottom:11px; }
footer ul a{ font-size:14.5px; color:#a9bcc3; transition:color .2s; }
footer ul a:hover{ color:var(--flame-light); }
.footer-bottom{ padding:22px 0; text-align:center; font-size:13px; color:#8CA2AA; }
.footer-legal{ display:flex; gap:18px; justify-content:center; margin-top:10px; flex-wrap:wrap; }
.footer-legal a:hover{ color:var(--flame-light); }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background:var(--flame); }
.social-row svg{ width:17px; height:17px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa{ position:fixed; bottom:26px; left:26px; z-index:200; width:60px; height:60px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(37,211,102,.5); }
.float-wa svg{ width:30px; height:30px; }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero{ padding:64px 0 56px; background:linear-gradient(180deg,var(--bg-alt),var(--bg)); position:relative; overflow:hidden; }
.crumbs{ display:flex; gap:8px; align-items:center; font-size:13.5px; color:var(--ink-faint); margin-bottom:16px; flex-wrap:wrap; }
.crumbs a:hover{ color:var(--flame); }
.page-hero h1{ font-size:clamp(30px,4vw,46px); }
.page-hero .lead{ max-width:680px; }

/* ---------- Article ---------- */
.article-wrap{ max-width:760px; margin:0 auto; }
.article-body h2{ font-size:24px; margin-top:40px; margin-bottom:14px; }
.article-body h3{ font-size:19px; margin-top:28px; margin-bottom:10px; }
.article-body p{ color:var(--ink-soft); margin-bottom:16px; font-size:16px; }
.article-body ul{ margin-bottom:20px; }
.article-body ul li{ position:relative; padding-right:26px; margin-bottom:10px; color:var(--ink-soft); }
.article-body ul li::before{ content:''; position:absolute; right:0; top:9px; width:9px; height:9px; border-radius:50%; background:var(--flame); }
.article-meta{ display:flex; gap:18px; align-items:center; color:var(--ink-faint); font-size:13.5px; margin-bottom:26px; flex-wrap:wrap; }
.pull-note{ background:var(--flame-tint); border-right:4px solid var(--flame); border-radius:10px; padding:18px 22px; margin:26px 0; font-size:15px; color:var(--primary-dark); }
.share-row{ display:flex; gap:10px; align-items:center; margin-top:40px; padding-top:26px; border-top:1px solid var(--line-soft); }

/* ---------- Table (service pricing/specs) ---------- */
.spec-table{ width:100%; border-collapse:collapse; background:var(--paper); border-radius:var(--radius); overflow:hidden; border:1px solid var(--line-soft); }
.spec-table th, .spec-table td{ padding:14px 18px; text-align:right; border-bottom:1px solid var(--line-soft); font-size:14.5px; }
.spec-table th{ background:var(--primary-tint); color:var(--primary-dark); font-weight:700; }
.spec-table tr:last-child td{ border-bottom:none; }

/* ---------- Legal pages ---------- */
.legal-body h2{ font-size:20px; margin-top:32px; margin-bottom:12px; color:var(--primary-dark); }
.legal-body p, .legal-body li{ color:var(--ink-soft); font-size:15px; margin-bottom:12px; }
.legal-body ul{ padding-right:20px; list-style:disc; }
