/*
Theme Name: Pro Clean - برو كلين
Theme URI: https://example.com/proclean
Author: Pro Clean
Description: قالب عربي RTL لشركات التنظيف ومكافحة الحشرات في المنطقة الشرقية. صفحة هبوط كاملة: خدمات تنظيف، مكافحة حشرات، آراء عملاء، أسئلة شائعة، وأزرار اتصال وواتساب.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: proclean
*/

/* ===== الأساسيات ===== */
:root {
  --primary: #0e8a8a;
  --primary-dark: #0b6e6e;
  --accent: #f5a623;
  --accent-dark: #d98f0e;
  --ink: #12302e;
  --muted: #5f7472;
  --bg: #f7fafa;
  --card: #ffffff;
  --border: #e2eceb;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  direction: rtl;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 800; font-size: 1rem;
  transition: transform .2s, opacity .2s, background .2s;
}
.btn:hover { transform: scale(1.04); }
.btn-accent { background: var(--accent); color: #231a05; box-shadow: 0 8px 24px rgba(245,166,35,.35); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }

.section { padding: 80px 0; }
.section-tag { color: var(--primary); font-weight: 800; font-size: .9rem; }
.section-title { font-size: 2.2rem; font-weight: 900; margin-top: 6px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 12px auto 0; }
.center { text-align: center; }

/* ===== الهيدر ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,250,250,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 900; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.logo span em { color: var(--primary); font-style: normal; }
.main-nav { display: flex; gap: 24px; font-weight: 700; font-size: .95rem; }
.main-nav a:hover { color: var(--primary); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: .9rem;
}
@media (max-width: 860px) { .main-nav, .header-phone { display: none; } }

/* ===== الهيرو ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0b3d3b 0%, #0e8a8a 100%);
}
.hero .container { padding: 110px 20px; position: relative; }
.hero-badge {
  display: inline-block; background: var(--accent); color: #231a05;
  padding: 6px 18px; border-radius: 999px; font-weight: 800; font-size: .85rem;
}
.hero h1 { font-size: 3.2rem; font-weight: 900; max-width: 640px; margin: 20px 0 14px; line-height: 1.3; }
.hero p { font-size: 1.15rem; font-weight: 600; max-width: 560px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 700px) { .hero h1 { font-size: 2.2rem; } }

/* ===== الإحصائيات ===== */
.stats { background: var(--card); border-bottom: 1px solid var(--border); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 40px; padding-bottom: 40px; text-align: center;
}
.stats .num { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.stats .lbl { font-size: .9rem; font-weight: 700; color: var(--muted); }
@media (max-width: 700px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }

/* ===== شبكة الخدمات ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18,48,46,.12); border-color: rgba(14,138,138,.4); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #e6f4f4; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; font-weight: 800; }
.service-card p { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ===== قسم بعمودين ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .img-box {
  border-radius: 24px; min-height: 340px;
  background: linear-gradient(135deg, #d7ecec, #b3dcdc);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; box-shadow: 0 20px 50px rgba(18,48,46,.15);
}
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-top: 14px; }
.check-list li::before { content: "✔"; color: var(--primary); font-weight: 900; }

/* ===== مكافحة الحشرات ===== */
.pest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.pest-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  font-size: .9rem; font-weight: 700;
}
.pest-item::before { content: "🐛"; }

/* ===== لماذا نحن ===== */
.why { background: var(--ink); color: #fff; }
.why .section-tag { color: var(--accent); }
.why-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.why-card .ic { font-size: 1.8rem; margin-bottom: 12px; }
.why-card h3 { font-size: 1.05rem; font-weight: 800; }
.why-card p { font-size: .88rem; color: rgba(255,255,255,.7); margin-top: 8px; }
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; align-items: center; }
.cities .city { background: rgba(255,255,255,.1); padding: 6px 18px; border-radius: 999px; font-size: .85rem; font-weight: 700; }

/* ===== آراء العملاء ===== */
.testimonials { background: #eef6f6; }
.t-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18,48,46,.12); }
.t-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.t-card blockquote { flex: 1; color: var(--muted); }
.t-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.t-name { font-weight: 800; }
.t-city { font-size: .78rem; color: var(--muted); }

/* ===== الأسئلة الشائعة ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "⌄"; color: var(--primary); font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ===== تواصل ===== */
.cta { background: var(--primary); color: #fff; text-align: center; }
.cta h2 { font-size: 2.2rem; font-weight: 900; max-width: 640px; margin: 0 auto; }
.cta p { font-weight: 600; opacity: .88; margin: 14px auto 0; max-width: 520px; }
.cta .hero-actions { justify-content: center; }
.cta .btn-outline:hover { color: var(--primary); }

/* ===== الفوتر ===== */
.site-footer { background: var(--card); border-top: 1px solid var(--border); text-align: center; padding: 44px 0; }
.site-footer p { color: var(--muted); font-size: .9rem; max-width: 440px; margin: 12px auto 0; }
.site-footer .f-phone { color: var(--primary); font-weight: 800; margin-top: 10px; display: inline-block; }
.site-footer .copy { font-size: .78rem; margin-top: 14px; }

/* ===== زر واتساب العائم ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== نموذج الحجز ===== */
.booking { background: #eef6f6; }
.booking-form {
  max-width: 780px; margin: 44px auto 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px;
  box-shadow: 0 20px 50px rgba(18,48,46,.08);
}
.bf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .bf-grid { grid-template-columns: 1fr; } .booking-form { padding: 24px; } }
.bf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.bf-field label { font-weight: 800; font-size: .9rem; }
.bf-field select, .bf-field input, .bf-field textarea {
  font-family: inherit; font-size: .95rem; font-weight: 600;
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--bg); color: var(--ink); width: 100%;
}
.bf-field select:focus, .bf-field input:focus, .bf-field textarea:focus {
  outline: none; border-color: var(--primary);
}
.bf-field textarea { resize: vertical; }
.bf-submit { width: 100%; justify-content: center; border: none; cursor: pointer; font-family: inherit; font-size: 1.05rem; }
.bf-hint { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ===== الفوتر الجديد ===== */
.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 56px 0 24px; text-align: right; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1rem; font-weight: 900; margin-bottom: 14px; color: var(--ink); }
.site-footer p { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.f-list li { color: var(--muted); font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.f-list a { color: var(--primary); font-weight: 800; }
.f-map { width: 100%; height: 160px; border: 0; border-radius: 14px; }
.site-footer .copy { text-align: center; font-size: .78rem; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ===== الأزرار العائمة ===== */
.float-btns { position: fixed; bottom: 24px; left: 24px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s, opacity .2s;
}
.float-btn:hover { transform: scale(1.1); }
.fb-wa { background: #25d366; color: #fff; }
.fb-call { background: var(--primary); color: #fff; }
.fb-top { background: var(--card); color: var(--primary); border: 1px solid var(--border); opacity: 0; pointer-events: none; }
.fb-top.show { opacity: 1; pointer-events: auto; }
