@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

:root {
  --gold: #F5C842;
  --gold-dark: #D4A91E;
  --black: #0E0E0E;
  --dark: #181818;
  --dark2: #222;
  --gray: #888;
  --light-bg: #F7F6F2;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --wa-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 58px; height: 58px; background: var(--wa-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  animation: none;
}
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.1); }
}

.wa-fab-tooltip {
  position: absolute; right: 68px;
  background: var(--black); color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-fab-tooltip::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--black); border-right: none;
}
.wa-fab:hover .wa-fab-tooltip { opacity: 1; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: var(--black); border-bottom: 1px solid #2a2a2a;
}

.logo {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem;
  color: var(--gold); letter-spacing: -.5px; text-decoration: none;
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
}
.logo-dot { color: #fff; font-weight: 400; }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  color: #aaa; text-decoration: none;
  font-size: .9rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

/* ── LANGUAGE DROPDOWN ── */
.lang-dropdown { position: relative; }

.lang-dropdown-btn {
  display: flex; align-items: center; gap: .45rem;
  background: #2a2a2a; border: 1px solid #3a3a3a;
  border-radius: 9px; padding: .4rem .85rem;
  color: #ccc; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  white-space: nowrap; letter-spacing: .3px;
  font-family: inherit;
}
.lang-dropdown-btn:hover { border-color: #555; background: #333; color: #fff; }
.lang-dropdown-btn .lang-flag { font-size: 1rem; }
.lang-dropdown-btn .lang-chevron {
  width: 12px; height: 12px; margin-left: 2px;
  transition: transform .2s;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #1a1a1a; border: 1px solid #333; border-radius: 12px;
  padding: .4rem; min-width: 160px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}

.lang-option {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .85rem; border-radius: 8px;
  color: #aaa; font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.lang-option:hover { background: #2a2a2a; color: #fff; }
.lang-option.active { background: rgba(245,200,66,.12); color: var(--gold); }
.lang-option .opt-flag { font-size: 1.1rem; }
.lang-option .opt-label { flex: 1; }
.lang-option .opt-check {
  width: 14px; height: 14px; opacity: 0;
  fill: none; stroke: var(--gold); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.lang-option.active .opt-check { opacity: 1; }

.nav-cta {
  background: var(--gold); color: var(--black);
  padding: .5rem 1.2rem; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: .9rem;
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-dark); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; background: none; border: none;
  margin-left: .3rem; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--gold);
  border-radius: 2px; transition: all .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 57px; left: 0; right: 0;
  background: #111; border-bottom: 1px solid #2a2a2a;
  z-index: 99; max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 600px; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
.mobile-menu ul li a {
  display: block; padding: .9rem 1.5rem; color: #ccc;
  text-decoration: none; font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid #1e1e1e; transition: color .2s, background .2s;
}
.mobile-menu ul li a:hover { color: var(--gold); background: rgba(245,200,66,.05); }

.mobile-menu-cta {
  margin: 1rem 1.5rem 0; display: block;
  background: var(--gold); color: var(--black); text-align: center;
  padding: .85rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: 1rem;
}

.mobile-lang-section {
  padding: .75rem 1.5rem 1rem;
  border-top: 1px solid #1e1e1e;
  margin-top: .5rem;
}
.mobile-lang-label {
  font-size: .7rem; font-weight: 600; color: #555;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .6rem;
}
.mobile-lang-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem;
}
.mobile-lang-opt {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .5rem .25rem; border-radius: 8px; cursor: pointer;
  background: #1e1e1e; border: 1.5px solid transparent; transition: all .15s;
}
.mobile-lang-opt:hover { background: #2a2a2a; }
.mobile-lang-opt.active { border-color: var(--gold); background: rgba(245,200,66,.08); }
.mobile-lang-opt .m-flag { font-size: 1.2rem; }
.mobile-lang-opt .m-code { font-size: .65rem; font-weight: 700; color: #888; letter-spacing: .5px; }
.mobile-lang-opt.active .m-code { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: var(--black); color: var(--white);
  padding: 6rem 3rem 5rem; position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute; bottom: -2rem; right: -1rem;
  font-family: 'Sora', sans-serif;
  font-size: clamp(6rem,16vw,16rem); font-weight: 800;
  color: rgba(255,255,255,.025); line-height: 1;
  user-select: none; letter-spacing: -8px; pointer-events: none;
}
.hero-inner { max-width: 700px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,200,66,.12); border: 1px solid rgba(245,200,66,.3);
  color: var(--gold); font-size: .78rem; font-weight: 600;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
  letter-spacing: .5px; text-transform: uppercase;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem,6vw,5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--gold); }

.hero-desc {
  color: #999; font-size: 1rem;
  max-width: 520px; margin-bottom: 2rem; line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold); color: var(--black);
  padding: .85rem 1.8rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  background: transparent; color: var(--white);
  padding: .85rem 1.8rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1.5px solid #444; transition: all .2s; white-space: nowrap;
}
.btn-outline:hover { border-color: #666; background: rgba(255,255,255,.05); }

/* ── STATS ── */
.stats-bar {
  background: var(--gold); padding: 1.2rem 3rem;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Sora', sans-serif; font-size: 1.8rem;
  font-weight: 800; color: var(--black); line-height: 1;
}
.stat-label {
  font-size: .75rem; font-weight: 600; color: rgba(0,0,0,.6);
  text-transform: uppercase; letter-spacing: .5px; margin-top: .2rem;
}

/* ── SECTIONS ── */
section { padding: 5rem 3rem; }
.container { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -1px; margin-bottom: .8rem;
}
.section-sub { color: var(--gray); font-size: 1rem; margin-bottom: 3rem; max-width: 520px; }

/* ── SERVICES ── */
.services { background: var(--light-bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 1.25rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  border: 1px solid #E8E6E0; position: relative; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.service-card .popular-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--black);
  font-size: .68rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: .5px;
}
.service-icon {
  width: 44px; height: 44px; background: var(--black); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.2rem;
}
.service-card h3 {
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .5rem;
}
.service-card p { color: #666; font-size: .88rem; line-height: 1.6; }

/* ── AREAS ── */
.areas { background: var(--white); }
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
  gap: .9rem; margin-top: 2rem;
}
.area-chip {
  background: var(--light-bg); border: 1px solid #E8E6E0; border-radius: 10px;
  padding: .85rem 1rem; display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; font-weight: 500; color: var(--black);
  transition: border-color .2s, background .2s;
}
.area-chip:hover { border-color: var(--gold); background: rgba(245,200,66,.06); }
.area-chip .chip-icon { font-size: 1rem; flex-shrink: 0; }

/* ── WHY ── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.why-item { padding: 1.5rem; border-left: 3px solid var(--gold); }
.why-icon { font-size: 1.5rem; margin-bottom: .8rem; }
.why-item h3 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: .4rem;
}
.why-item p { color: #666; font-size: .88rem; line-height: 1.6; }

/* ── FAQ ── */
.faq { background: var(--light-bg); }
.faq-list { max-width: 680px; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid #DDD; padding: 1.4rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq-q::after {
  content: '+'; font-size: 1.4rem; font-weight: 400;
  color: var(--gold-dark); flex-shrink: 0; transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  color: #555; font-size: .92rem; line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: .8rem; }

/* ── CONTACT ── */
.contact-section { background: var(--black); color: var(--white); text-align: center; }
.contact-section .section-title { color: var(--white); }
.contact-sub { color: #888; font-size: 1rem; margin-bottom: 2.5rem; }

.phone-link {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--gold); color: var(--black);
  padding: 1rem 2.5rem; border-radius: var(--radius);
  font-family: 'Sora', sans-serif; font-size: clamp(1rem,3vw,1.4rem);
  font-weight: 800; text-decoration: none;
  transition: background .2s, transform .2s;
  margin-bottom: 1rem; letter-spacing: -.5px;
}
.phone-link:hover { background: var(--gold-dark); transform: scale(1.02); }

.wa-link {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #4ECB71; text-decoration: none; font-weight: 600;
  font-size: 1rem; margin-top: .5rem; transition: opacity .2s;
}
.wa-link:hover { opacity: .8; }

.contact-meta {
  display: flex; justify-content: center; gap: 3rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid #2a2a2a; flex-wrap: wrap;
}
.contact-meta-item { text-align: center; }
.contact-meta-label {
  font-size: .72rem; color: #555; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: .3rem;
}
.contact-meta-val { color: #ccc; font-size: .92rem; }

/* ── FOOTER ── */
footer {
  background: #0a0a0a; color: #444; text-align: center;
  padding: 2rem 3rem; font-size: .82rem; border-top: 1px solid #1a1a1a;
}
footer span { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: .9rem 1.5rem; }
  section { padding: 4rem 1.5rem; }
  .stats-bar { padding: 1.2rem 1.5rem; }
}

@media (max-width: 768px) {
  nav { padding: .85rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .lang-dropdown { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero { padding: 4.5rem 1.25rem 3.5rem; }
  .hero h1 { letter-spacing: -1px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 1rem 1.25rem; }
  section { padding: 3.5rem 1.25rem; }
  .areas-grid { grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); }
  .contact-meta { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; letter-spacing: -.5px; }
  .hero-bg-text { display: none; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-btns { flex-direction: column; }
  .phone-link { font-size: 1rem; padding: .85rem 1.5rem; }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .contact-meta { flex-direction: column; gap: 1.2rem; align-items: center; }
  .wa-fab { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab-tooltip { display: none; }
}

/* ── RTL (Arabic) ── */
[dir="rtl"] .hero-inner { text-align: right; }
[dir="rtl"] .faq-q { flex-direction: row-reverse; }
[dir="rtl"] .wa-fab { right: auto; left: 1.5rem; }
[dir="rtl"] .wa-fab-tooltip { right: auto; left: 68px; }
[dir="rtl"] .wa-fab-tooltip::after {
  right: auto; left: -5px;
  border-left: none; border-right-color: var(--black);
}
[dir="rtl"] .why-item { border-left: none; border-right: 3px solid var(--gold); }
[dir="rtl"] .service-card .popular-tag { right: auto; left: 1rem; }
[dir="rtl"] .lang-dropdown-menu { right: auto; left: 0; }
