/*
Theme Name: Safeway Transports
Theme URI: https://wa.me/966561750577
Author: سيف واي للنقل البري
Description: قالب كلاسيكي عربي (RTL) لخدمات نقل المعتمرين، متوافق 100% مع Elementor Free. كل الصفحات والهيدر والفوتر قابلة للتحرير بواسطة Elementor.
Version: 2.5.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fatima-transport
Tags: rtl-language-support, custom-colors, custom-menu, full-width-template
*/

/* ===== Design tokens (single source) ===== */
:root {
	--brand-emerald: #0B5D4B;
	--brand-emerald-dark: #073D32;
	--brand-gold: #C9A44C;
	--brand-gold-light: #E6CF94;
	--brand-ivory: #FAFCFB;
	--brand-charcoal: #2B2F36;
	--brand-muted: #EDF3F0;
	--brand-muted-text: #6B6F76;
	--brand-border: #DCE5DF;
	--font-heading: "Cairo", sans-serif;
	--font-body: "Tajawal", sans-serif;
	--space-section: 96px;
	--space-section-sm: 64px;
	--container-max: 1200px;
	--radius-card: 16px;
	--radius-btn: 999px;
	--shadow-card: 0 8px 24px -8px rgba(11, 61, 50, 0.15);
	--shadow-soft: 0 2px 10px rgba(11, 61, 50, 0.08);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--brand-ivory);
	color: var(--brand-charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	direction: rtl;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.35; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ===== Sticky header wrapper ===== */
.fsh-site-header { position: sticky; top: 0; z-index: 999; }
.admin-bar .fsh-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fsh-site-header { top: 46px; } }

/* Active nav link (class added by theme JS) */
.fsh-nav .elementor-icon-list-item.is-active .elementor-icon-list-text { color: var(--brand-gold) !important; }

/* Cards: equal heights inside grids */
.fsh-grid > .e-con.fsh-card { height: 100%; }
.fsh-card .elementor-widget-image img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }

/* ===== Floating WhatsApp ===== */
.fsh-wa-float {
	position: fixed; bottom: 24px; left: 24px; z-index: 1000;
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--brand-emerald); color: #fff; box-shadow: var(--shadow-card);
}
.fsh-wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ===== Fallback header/footer (when Elementor is inactive) ===== */
.fsh-fb-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.fsh-fb-header { background: #fff; border-bottom: 1px solid var(--brand-border); box-shadow: var(--shadow-soft); }
.fsh-fb-header .fsh-fb-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; flex-wrap: wrap; }
.fsh-fb-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 800; color: var(--brand-emerald); font-size: 18px; }
.fsh-fb-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; font-family: var(--font-heading); font-weight: 600; font-size: 15px; }
.fsh-fb-menu .current-menu-item a { color: var(--brand-gold); }
.fsh-fb-btn { display: inline-flex; padding: 14px 30px; border-radius: var(--radius-btn); background: var(--brand-gold); color: var(--brand-emerald-dark); font-family: var(--font-heading); font-weight: 700; }
.fsh-fb-footer { background: var(--brand-emerald-dark); color: var(--brand-ivory); padding: 48px 0 24px; text-align: center; }
.fsh-fb-content { max-width: var(--container-max); margin: 0 auto; padding: 64px 20px; }


/* ---------- Commercial Register card ---------- */
.fsh-cr{margin:28px 0;padding:24px;border:1px solid rgba(201,162,77,.45);border-radius:18px;background:linear-gradient(135deg,#fffdf7,#f6efe0);box-shadow:0 10px 30px rgba(11,93,75,.08);position:relative;overflow:hidden}
.fsh-cr:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#0B5D4B,#C9A24D)}
.fsh-cr__head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.fsh-cr__head h3{margin:0;font-size:1.25rem;color:#0B5D4B}
.fsh-cr__head p{margin:2px 0 0;color:#555;font-size:.95rem}
.fsh-cr__kicker{font-size:.75rem;font-weight:700;color:#a07e2e;letter-spacing:.02em}
.fsh-cr__seal{flex:0 0 52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#0B5D4B;color:#C9A24D}
.fsh-cr__seal svg{width:28px;height:28px}
.fsh-cr__status{margin-inline-start:auto;padding:5px 14px;border-radius:99px;font-weight:700;font-size:.85rem;background:#eee;color:#555}
.fsh-cr__status.is-active{background:rgba(11,93,75,.12);color:#0B5D4B}
.fsh-cr__status.is-active:before{content:"● "}
.fsh-cr__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 16px}
.fsh-cr__grid>div{background:#fff;border-radius:12px;padding:12px 14px;border:1px solid rgba(0,0,0,.06)}
.fsh-cr__grid dt{font-size:.8rem;color:#777;margin-bottom:4px}
.fsh-cr__grid dd{margin:0;font-weight:700;color:#1d1d1d;display:flex;align-items:center;gap:8px;justify-content:space-between}
.fsh-cr__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.fsh-cr__verify{color:#0B5D4B;font-weight:700;text-decoration:none}
.fsh-cr__verify:hover{text-decoration:underline}
.fsh-cr--compact{margin:18px 0;padding:16px}
.fsh-cr--compact .fsh-cr__seal{flex-basis:40px;height:40px}
@media (max-width:600px){.fsh-cr__head{flex-wrap:wrap}.fsh-cr__status{margin-inline-start:0}}
