/* Spark Gym — الواجهة العامة. أبيض / أسود / أخضر */
:root {
	--black: #0b0b0b;
	--ink: #141414;
	--muted: #6b6f6c;
	--line: #e6e8e6;
	--green: #16c060;
	--green-d: #0e8f46;
	--white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.sgt-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sgt-narrow { width: min(780px, 100% - 40px); }

/* أزرار */
.sgt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .1s, background .15s; white-space: nowrap; }
.sgt-btn:hover { transform: translateY(-1px); }
.sgt-btn-green { background: var(--green); color: var(--black); }
.sgt-btn-green:hover { background: #12a853; }
.sgt-btn-outline { border-color: #fff; color: #fff; }
.sgt-btn-outline:hover { background: #fff; color: var(--black); }
.sgt-btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* الرأس */
.sgt-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; color: #fff; transition: background .2s, box-shadow .2s; }
.sgt-header.sgt-scrolled, body:not(.home) .sgt-header { background: rgba(11,11,11,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 #222; }
.sgt-header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.sgt-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; text-decoration: none; color: inherit; }
.sgt-logo { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green); color: var(--black); font-family: system-ui, sans-serif; font-weight: 900; }
.sgt-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.sgt-nav a { text-decoration: none; font-weight: 700; color: #d6d6d6; font-size: .95rem; }
.sgt-nav a:hover { color: var(--green); }
.sgt-header-actions { display: flex; align-items: center; gap: 10px; }
.sgt-lang { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #444; text-decoration: none; font-weight: 800; font-size: .85rem; }
.sgt-login { padding: 9px 18px; }
.sgt-burger { display: none; width: 40px; height: 40px; border: 1px solid #444; border-radius: 10px; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.sgt-burger span { display: block; width: 18px; height: 2px; background: #fff; }

/* البطل */
.sgt-hero { background: radial-gradient(ellipse at 80% 10%, rgba(22,192,96,.28), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(22,192,96,.12), transparent 50%), var(--black); color: #fff; padding: 150px 0 90px; position: relative; overflow: hidden; }
.sgt-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.sgt-hero-in { position: relative; z-index: 1; }
.sgt-kicker { color: var(--green); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.sgt-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.08; margin: 0 0 18px; font-weight: 900; max-width: 900px; }
.sgt-lead { font-size: 1.15rem; color: #bdbdbd; max-width: 620px; margin: 0 0 30px; }
.sgt-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.sgt-hero-points { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sgt-hero-points li { border-top: 2px solid #2b2b2b; padding-top: 14px; font-weight: 700; color: #e0e0e0; }
.sgt-hero-points b { display: block; color: var(--green); font-size: .85rem; margin-bottom: 4px; }

/* الأقسام */
.sgt-section { padding: 90px 0; }
.sgt-dark { background: var(--black); color: #fff; }
.sgt-grey { background: #f4f5f4; }
.sgt-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin: 0 0 36px; position: relative; padding-bottom: 14px; }
.sgt-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 60px; height: 5px; border-radius: 3px; background: var(--green); }
.sgt-subtitle { font-size: 1.2rem; margin: 36px 0 16px; color: inherit; opacity: .85; }
.sgt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.sgt-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: border-color .2s, transform .2s; }
.sgt-card:hover { border-color: var(--green); transform: translateY(-3px); }
.sgt-card h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.sgt-card p { color: var(--muted); margin: 0; }
.sgt-num { font-weight: 900; color: var(--green-d); font-size: .9rem; }

/* الأسعار */
.sgt-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.sgt-plan { background: #151515; border: 1px solid #262626; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.sgt-plan-hot { background: var(--green); color: var(--black); border-color: var(--green); }
.sgt-plan-type { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.sgt-plan-hot .sgt-plan-type { color: var(--black); opacity: .7; }
.sgt-plan h4 { margin: 0; font-size: 1.1rem; }
.sgt-price { font-size: 2.2rem; font-weight: 900; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sgt-price small { font-size: .9rem; font-weight: 700; opacity: .7; }
.sgt-plan-meta { margin: 0; color: #9d9d9d; font-size: .9rem; }
.sgt-plan-hot .sgt-plan-meta { color: #134a2a; }
.sgt-plan-btn { margin-top: auto; justify-content: center; }
.sgt-plan-meta + .sgt-plan-btn { margin-top: 12px; }
.sgt-plan-hot .sgt-plan-btn { background: var(--black); color: #fff; }

/* الأوقات */
.sgt-legend { display: flex; gap: 18px; margin: -18px 0 10px; font-weight: 700; font-size: .9rem; }
.sgt-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }
.sgt-legend .m::before { background: var(--black); }
.sgt-legend .f::before { background: var(--green); }
.sgt-legend .x::before { background: #fff; border: 1px solid #bbb; }
.sgt-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.sgt-day { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.sgt-day b { margin-bottom: 4px; }
.sgt-slot { border-radius: 8px; padding: 6px; text-align: center; font-weight: 700; font-size: .85rem; direction: ltr; }
.sgt-slot-male { background: var(--black); color: #fff; }
.sgt-slot-female { background: var(--green); color: var(--black); }
.sgt-slot-mixed { border: 1px solid #bbb; }
.sgt-closed { color: var(--muted); font-size: .85rem; }

/* المدربون */
.sgt-coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.sgt-coach { background: #fff; border-radius: 18px; padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--line); }
.sgt-coach-av { width: 76px; height: 76px; border-radius: 50%; background: var(--black); color: var(--green); display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; margin-bottom: 6px; }
.sgt-coach small { color: var(--muted); }
.sgt-about { font-size: 1.1rem; color: #333; }

/* الاتصال */
.sgt-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sgt-contact-list { list-style: none; margin: 0; padding: 0; }
.sgt-contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #262626; }
.sgt-contact-list span { color: #9d9d9d; }
.sgt-contact-list a { color: var(--green); font-weight: 800; text-decoration: none; }

/* التذييل */
.sgt-footer { background: #050505; color: #9d9d9d; padding: 30px 0; }
.sgt-footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sgt-footer .sgt-brand { color: #fff; }
.sgt-footer-links { display: flex; gap: 18px; }
.sgt-footer-links a { text-decoration: none; }
.sgt-footer p { margin: 0; font-size: .85rem; }

/* صفحات عادية */
.sgt-page { padding: 120px 0 80px; min-height: 60vh; }
.sgt-article h1 { font-size: 2.2rem; }

@media (max-width: 900px) {
	.sgt-nav { position: fixed; top: 72px; inset-inline: 0; background: var(--black); flex-direction: column; gap: 0; padding: 10px 20px 20px; display: none; }
	.sgt-nav a { padding: 12px 0; border-bottom: 1px solid #1f1f1f; }
	.sgt-open .sgt-nav { display: flex; }
	.sgt-open .sgt-header { background: var(--black); }
	.sgt-burger { display: inline-flex; }
	.sgt-header-in { justify-content: space-between; }
	.sgt-hero { padding: 120px 0 60px; }
	.sgt-hero-points { grid-template-columns: 1fr; margin-top: 40px; }
	.sgt-week { grid-template-columns: repeat(2, 1fr); }
	.sgt-contact { grid-template-columns: 1fr; gap: 10px; }
	.sgt-section { padding: 64px 0; }
	.sgt-login span, .sgt-login { font-size: .9rem; }
}
