:root {
  --brown-950: #241209;
  --brown-900: #2E1810;
  --brown-800: #432414;
  --brown-700: #5C3620;
  --brown-600: #77492C;
  --gold-600: #A97733;
  --gold-500: #C08A3E;
  --gold-400: #D6AA61;
  --gold-300: #E4C285;
  --beige-300: #E7D8BC;
  --beige-200: #F0E4CC;
  --beige-100: #F6EEDC;
  --cream-50: #FBF7EF;
  --white: #FFFFFF;
  --ink: #2E1810;
  --ink-soft: #5C4A3A;
  --shadow-1: 0 8px 24px -8px rgba(46,24,16,.20);
  --shadow-2: 0 15px 35px -10px rgba(46,24,16,.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--cream-50);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.arabic { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: transparent; cursor: pointer; }

/* حاوية ملمومة أكثر */
.container { width: min(1120px, 94%); margin-inline: auto; }
section { position: relative; }

/* ================= TOP BAR ================= */
.top-bar {
  background: var(--brown-950);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  padding: 8px 0;
  position: relative;
  z-index: 600;
}
.top-bar-inner { display: flex; justify-content: flex-end; align-items: center; }
.top-bar-contact { display: flex; gap: 20px; }
.top-bar-contact a { display: flex; align-items: center; gap: 6px; transition: 0.3s ease; font-weight: 500; }
.top-bar-contact a:hover { color: var(--gold-400); }
.top-bar-contact svg { width: 14px; height: 14px; color: var(--gold-500); }

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4 { color: var(--brown-900); line-height: 1.3; font-weight: 800; }
.section { padding: 65px 0; }
.section.alt { background: var(--beige-100); }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); font-size: 0.95rem; max-width: 600px; margin-bottom: 35px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: .03em; color: var(--gold-600); background: rgba(192,138,62,.1);
  border: 1px solid rgba(192,138,62,.28); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}
.eyebrow svg { width: 12px; height: 12px; }

/* ================= HEADER ================= */
header {
  position: sticky; top: 0; z-index: 500; background: rgba(251,247,239,.98);
  backdrop-filter: blur(16px); border-bottom: 1px solid rgba(92,54,32,.08);
  box-shadow: 0 4px 15px rgba(46,24,16,0.02);
}
.header-container {
  display: flex; flex-direction: column; width: min(1120px, 94%); margin-inline: auto;
}

.header-main-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 8px; gap: 15px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 50px; height: 50px; border-radius: 10px; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1);
  border: 1px solid rgba(92,54,32,.08); flex-shrink: 0;
}
.brand-logo img { width: 85%; height: 85%; object-fit: contain; }

.brand-text {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 2px; white-space: nowrap;
}
.brand-text .ar { font-family: var(--font-ar); font-weight: 800; font-size: 0.95rem; color: var(--brown-900); line-height: 1; }
.brand-text .en { font-family: var(--font-en); font-weight: 600; font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.3px; line-height: 1; }

.header-cta { display: flex; align-items: center; flex-shrink: 0; }

.lang-btn-icon {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 12px; border-radius: 50px; border: 1px solid rgba(92,54,32,0.15);
  color: var(--brown-900); font-weight: 700; font-size: 0.75rem; font-family: var(--font-en);
  transition: 0.3s ease; background: #fff;
}
.lang-btn-icon svg { width: 14px; height: 14px; color: var(--gold-600); transition: 0.3s ease; }
.lang-btn-icon:hover { border-color: var(--gold-500); box-shadow: 0 4px 10px rgba(192,138,62,0.15); }
.lang-btn-icon:hover svg { transform: rotate(15deg); }

nav.links {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  padding-bottom: 10px; width: 100%;
}
nav.links a {
  display: flex; align-items: center; gap: 5px; padding: 5px 10px;
  font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); transition: 0.3s ease;
  border-radius: 6px;
}
nav.links a svg { width: 16px; height: 16px; transition: 0.3s ease; color: var(--gold-600); }
nav.links a:hover { color: var(--brown-900); background: rgba(92,54,32,0.04); }
nav.links a:hover svg { transform: translateY(-2px); }

nav.links a.special-store, nav.links a.special-job { border: 1px solid rgba(192,138,62,0.3); color: var(--brown-900); }
nav.links a.special-store:hover, nav.links a.special-job:hover { background: var(--gold-500); color: #fff; border-color: var(--gold-500); }
nav.links a.special-store:hover svg, nav.links a.special-job:hover svg { color: #fff; }

.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 0.8rem;
  cursor: pointer; border: 1px solid transparent; transition: .3s ease; white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 6px 15px -5px rgba(169,119,51,.5); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(169,119,51,.7); }
.btn-outline { background: transparent; border-color: rgba(92,54,32,.25); color: var(--brown-800); }
.btn-outline:hover { background: var(--beige-200); transform: translateY(-2px); }
.btn-ghost-white { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ================= HERO ================= */
.hero { padding: 50px 0 60px; background: radial-gradient(circle at 85% 15%, rgba(212,168,87,.15), transparent 40%), radial-gradient(circle at 10% 90%, rgba(140,90,56,.1), transparent 40%), var(--cream-50); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content { position: relative; z-index: 5; }
.hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.hero h1 .accent { color: var(--gold-600); }
.hero p.lead { color: var(--ink-soft); font-size: 0.95rem; max-width: 580px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 450px; display: flex; align-items: center; justify-content: center; }
.logo-stage { width: 240px; height: 240px; border-radius: 50%; background: #fff; border: 1px solid rgba(92,54,32,.1); box-shadow: 0 20px 50px rgba(46,24,16,.1), 0 0 0 12px rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; position: relative; z-index: 10; animation: logoFloat 6s ease-in-out infinite; }
.logo-stage img { width: 65%; height: 65%; object-fit: contain; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.orbit { position: absolute; width: 360px; height: 360px; border: 1px dashed rgba(92,54,32,.2); border-radius: 50%; animation: rotateOrbit 35s linear infinite; }
@keyframes rotateOrbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.orbit-two { position: absolute; width: 440px; height: 440px; border: 1px solid rgba(192,138,62,.1); border-radius: 50%; animation: rotateOrbitReverse 45s linear infinite; }
@keyframes rotateOrbitReverse { from { transform: rotate(360deg); } to { transform: rotate(0); } }
.stat-row { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.5rem; color: var(--brown-900); font-weight: 900; line-height: 1.2; }
.stat span { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }
.seed-divider { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 20px 0; }
.seed-divider span { width: 6px; height: 12px; background: var(--gold-500); border-radius: 50%; opacity: .55; transform: rotate(20deg); }
.seed-divider span:nth-child(3n) { background: var(--brown-700); opacity: .9; transform: rotate(-15deg) scale(1.15); }
.seed-divider .line { height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }

/* ================= ABOUT & OTHERS ================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-copy p { color: var(--ink-soft); margin-bottom: 15px; font-size: 0.95rem; }
.value-list { display: grid; gap: 12px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 15px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-1); border: 1px solid rgba(92,54,32,.05); }
.value-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(150deg, var(--gold-400), var(--gold-600)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-icon svg { width: 20px; height: 20px; color: #fff; }
.value-item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.value-item p { font-size: 0.8rem; color: var(--ink-soft); }

.sections-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.section-card { background: #fff; border-radius: var(--radius-md); padding: 22px 15px; text-align: center; box-shadow: var(--shadow-1); border: 1px solid rgba(92,54,32,.05); transition: .3s ease; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(192,138,62,.2); }
.section-card .ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(150deg, var(--brown-700), var(--brown-900)); display: flex; align-items: center; justify-content: center; }
.section-card .ic svg { width: 24px; height: 24px; color: var(--gold-300); }
.section-card h3 { font-size: 0.9rem; transition: 0.3s; }
.section-card:hover h3 { color: var(--gold-600); }
.section-card p { font-size: 0.75rem; color: var(--ink-soft); }

.branches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.branch-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid rgba(92,54,32,.05); display: flex; flex-direction: column; transition: .3s ease; }
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.branch-top { padding: 20px 18px 15px; background: linear-gradient(160deg, var(--beige-200), var(--beige-100)); display: flex; align-items: center; gap: 12px; }
.branch-top .pin { width: 40px; height: 40px; border-radius: 10px; background: var(--brown-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.branch-top .pin svg { width: 20px; height: 20px; color: var(--gold-300); }
.branch-top h3 { font-size: 0.9rem; }
.branch-top span { font-size: 0.7rem; color: var(--ink-soft); }
.branch-body { padding: 15px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.branch-body p { font-size: 0.8rem; color: var(--ink-soft); flex: 1; }
.branch-body .btn { width: 100%; padding: 8px; font-size: 0.75rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: linear-gradient(160deg, var(--brown-900), var(--brown-800)); border-radius: var(--radius-lg); padding: 30px; color: var(--beige-100); display: flex; flex-direction: column; gap: 15px; transition: 0.3s ease; }
.contact-card.light { background: #fff; color: var(--ink); border: 1px solid rgba(92,54,32,.08); box-shadow: var(--shadow-1); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(150deg, var(--gold-400), var(--gold-600)); display: flex; align-items: center; justify-content: center; }
.contact-card .ic svg { width: 24px; height: 24px; color: #fff; }
.contact-card h3 { color: inherit; font-size: 1.05rem; }
.contact-card.light h3 { color: var(--brown-900); }
.contact-card p { font-size: 0.85rem; opacity: .85; }
.contact-value { font-size: 1rem; font-weight: 800; direction: ltr; }

/* ================= FOOTER ================= */
footer { background: var(--brown-950); color: var(--beige-200); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(230,213,178,.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand .brand-logo { width: 45px; height: 45px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; }
.footer-brand .brand-logo img { width: 85%; height: 85%; object-fit: contain; }
footer p.desc { font-size: 0.8rem; color: rgba(230,213,178,.6); max-width: 350px; line-height: 1.6; }
footer h4 { font-size: 0.85rem; margin-bottom: 12px; color: var(--gold-300); }
footer ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
footer ul a { font-size: 0.8rem; color: rgba(230,213,178,.7); display: flex; align-items: center; gap: 8px; transition: .25s ease; }
footer ul a:hover { color: var(--gold-300); }
footer ul svg { width: 14px; height: 14px; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.7rem; color: rgba(230,213,178,.5); }

/* ================= FLOATING WHATSAPP ================= */
.float-whatsapp { position: fixed; bottom: 20px; left: 20px; z-index: 800; width: 55px; height: 55px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -8px rgba(37,211,102,.6); animation: pulse-wa 2.6s ease-in-out infinite; }
.float-whatsapp svg { width: 28px; height: 28px; color: #fff; }
@keyframes pulse-wa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ================= RTL ================= */
[dir="rtl"] .hero { text-align: right; }
[dir="rtl"] .hero-actions { justify-content: flex-start; }
[dir="rtl"] .value-item { text-align: right; }
[dir="rtl"] .contact-card { text-align: right; }

/* ================= RESPONSIVE (الموبايل الملموم) ================= */
@media(max-width:1150px) {
  .top-bar-contact .hide-mobile { display: none; } 
  .top-bar-contact { gap: 15px; }
  .top-bar-contact a { font-size: 0.75rem; }
  
  .brand-text .ar { font-size: 0.85rem; }
  .brand-text .en { font-size: 0.7rem; }

  .sections-grid { grid-template-columns: repeat(3, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .stat-row { justify-content: center; }
  .hero-visual { min-height: 350px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:950px) {
  .header-main-row { flex-direction: column; justify-content: center; gap: 10px; padding: 12px 0 8px; }
  .brand { flex-direction: column; text-align: center; gap: 8px; }
  .brand-text { align-items: center; }
  .brand-logo { width: 55px; height: 55px; }
  
  nav.links { border-top: 1px solid rgba(92,54,32,.05); padding-top: 10px; gap: 10px; justify-content: space-around; }
  nav.links a span { display: none; }
  nav.links a { padding: 6px; min-width: auto; }
  nav.links a svg { width: 22px; height: 22px; margin: 0; }
  
  .header-cta { width: 100%; justify-content: center; }
}

@media(max-width:760px) {
  .section { padding: 50px 0; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .logo-stage { width: 200px; height: 200px; }
  .orbit { width: 280px; height: 280px; }
  .orbit-two { width: 320px; height: 320px; }
  .sections-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media(max-width:430px) {
  .brand-text { display: none; }
  .lang-btn-icon span { display: none; }
  .lang-btn-icon { padding: 6px; min-width: auto; }
  nav.links { gap: 2px; }
  nav.links a svg { width: 20px; height: 20px; }
  .hero-visual { min-height: 300px; }
  .logo-stage { width: 160px; height: 160px; }
  .sections-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}