/* ============================================================
   Arab Inspire — Design System
   Pure HTML/CSS/JS · EN/AR · RTL ready
   ============================================================ */
:root {
  --navy: #0a1b2b;
  --navy-2: #11304a;
  --navy-3: #163c5a;
  --gold: #c9a227;
  --gold-2: #e2c25c;
  --gold-soft: #f7eecf;
  --sand: #f7f4ec;
  --sand-2: #efe9da;
  --ink: #1d2935;
  --muted: #5f6f7e;
  --white: #ffffff;
  --line: #e5e0d4;
  --danger: #c0392b;
  --ok: #1d9a5c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 4px 14px rgba(10, 27, 43, .08);
  --shadow-md: 0 12px 34px rgba(10, 27, 43, .14);
  --shadow-lg: 0 24px 60px rgba(10, 27, 43, .22);
  --grad-gold: linear-gradient(135deg, #e2c25c, #c9a227 55%, #a5831d);
  --grad-navy: linear-gradient(140deg, #0a1b2b, #11304a 60%, #163c5a);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', 'Cairo', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: 'Cairo', 'Poppins', sans-serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 22px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); font-weight: 700; }
.section { padding: 84px 0; }
.section.tint { background: var(--sand); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }

.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 46px; font-size: 16px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }
.center .kicker::before, .center .kicker::after {
  content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px;
}
.center .kicker::after { content: ""; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar { background: var(--navy); color: #cdd8e2; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 9px; }
.topbar a:hover { color: var(--gold-2); }
.topbar-contacts { display: flex; gap: 22px; align-items: center; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contacts svg { width: 15px; height: 15px; fill: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--gold); }
.socials svg { width: 14px; height: 14px; fill: #dfe8ef; }
.socials a:hover svg { fill: var(--navy); }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 13px; font-weight: 600; padding: 5px 13px;
  border-radius: 999px; transition: all .25s var(--ease);
}
.lang-toggle:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lang-toggle .globe { width: 14px; height: 14px; fill: currentColor; }
.lang-toggle .caret { width: 9px; height: 9px; fill: currentColor; opacity: .7; transition: transform .25s; }
.lang-select-wrap { position: relative; }
.lang-drop {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-md);
  min-width: 148px; padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .22s var(--ease); z-index: 60;
}
html[dir="rtl"] .lang-drop { right: auto; left: 0; }
.lang-drop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-drop button {
  display: flex; width: 100%; gap: 8px; align-items: center;
  padding: 9px 12px; border: 0; background: transparent; color: var(--ink);
  border-radius: 7px; font-size: 14px; font-weight: 600;
}
.lang-drop button:hover { background: var(--sand); color: var(--navy); }
.lang-drop button.active { color: var(--gold); }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(10,27,43,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; }
.logo-text { display: none; }
.logo-text strong { display: block; font-size: 17px; color: var(--navy); letter-spacing: .4px; }
.logo-text span { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; font-size: 14.5px; font-weight: 600; color: var(--navy);
  border-radius: 8px;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover svg { transform: rotate(180deg); }
.nav-link svg { width: 11px; height: 11px; fill: currentColor; transition: transform .25s; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .24s var(--ease); border: 1px solid var(--line);
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: var(--ink);
}
.dropdown a:hover { background: var(--sand); color: var(--gold); padding-left: 20px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 26px; height: 2.5px; border-radius: 3px; background: var(--navy); transition: all .28s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,27,43,.98);
  display: flex; flex-direction: column; padding: 26px 26px 40px;
  transform: translateX(100%); transition: transform .34s var(--ease);
  overflow-y: auto;
}
html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mobile-nav .logo img { filter: drop-shadow(0 0 6px rgba(0,0,0,.3)); }
.mobile-close { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; }
.mobile-link {
  display: block; color: #e8eef4; font-size: 20px; font-weight: 600;
  padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-link:hover { color: var(--gold-2); }
.mobile-sub { padding-inline-start: 18px; }
.mobile-sub a { display: block; font-size: 15px; color: #aebcc9; padding: 10px 4px; font-weight: 500; }
.mobile-sub a:hover { color: var(--gold-2); }

/* ============================================================
   Buttons & badges
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; transition: all .28s var(--ease);
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 8px 20px rgba(201,162,39,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(201,162,39,.5); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1db954; transform: translateY(-2px); }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: #8a6d12; font-size: 12.5px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: calc(100vh - 78px); min-height: 560px; max-height: 820px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease); z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,20,34,.86) 0%, rgba(8,20,34,.55) 45%, rgba(8,20,34,.15) 100%);
}
html[dir="rtl"] .hero-slide::after { background: linear-gradient(-100deg, rgba(8,20,34,.86), rgba(8,20,34,.55) 45%, rgba(8,20,34,.15)); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; fill: var(--gold-2); }
.hero-title {
  color: #fff; font-size: clamp(30px, 5.4vw, 58px); font-weight: 800;
  max-width: 720px; margin-bottom: 20px; text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-title span { color: var(--gold-2); }
.hero-desc { color: #d7e0e8; font-size: 17px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-dots { position: absolute; z-index: 4; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: transparent; transition: all .3s; }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }

.hero-arrows { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(4px); transition: all .25s; }
.hero-arrows:hover { background: var(--gold); color: var(--navy); }
.hero-arrows svg { width: 20px; height: 20px; fill: currentColor; }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
html[dir="rtl"] .hero-prev { left: auto; right: 24px; }
html[dir="rtl"] .hero-next { right: auto; left: 24px; }
html[dir="rtl"] .hero-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .hero-next svg { transform: scaleX(-1); }

.hero-scroll {
  position: absolute; z-index: 4; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; opacity: .8;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .wheel { width: 24px; height: 38px; border: 2px solid #fff; border-radius: 12px; position: relative; }
.hero-scroll .wheel::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--gold-2); border-radius: 3px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ============================================================
   Stats band
   ============================================================ */
.stats-strip { position: relative; z-index: 10; margin-top: -56px; }
.stats-grid {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 32px 22px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat-num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; color: var(--navy); line-height: 1; }
.stat-num .suffix { color: var(--gold); }
.stat-label { margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ============================================================
   Cards & grids
   ============================================================ */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

/* Service card */
.service-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.service-card img { height: 240px; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover img { transform: scale(1.08); }
.service-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; background: linear-gradient(180deg, transparent 30%, rgba(8,20,34,.9));
  color: #fff;
}
.service-overlay h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.service-overlay p { font-size: 13.5px; color: #cfd9e2; max-height: 0; overflow: hidden; opacity: 0; transition: all .4s var(--ease); }
.service-card:hover .service-overlay p { max-height: 90px; opacity: 1; }
.service-overlay .arrow-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--gold-2); font-weight: 700; font-size: 14px; }
.service-overlay .arrow-link svg { width: 15px; height: 15px; fill: currentColor; transition: transform .25s; }
.service-card:hover .arrow-link svg { transform: translateX(4px); }
html[dir="rtl"] .service-card:hover .arrow-link svg { transform: translateX(-4px) scaleX(-1); }

/* Feature/icon card */
.feature-card { padding: 32px 26px; }
.feature-icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-navy); margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(10,27,43,.28);
}
.feature-icon svg { width: 28px; height: 28px; fill: var(--gold-2); }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }
.feature-card .num {
  position: absolute; top: 22px; right: 24px; font-size: 40px; font-weight: 800;
  color: var(--sand-2); line-height: 1;
}
html[dir="rtl"] .feature-card .num { right: auto; left: 24px; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.about-card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.about-line {
  position: absolute; inset: 12px; border: 1.6px dashed #dce2e9;
  border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.about-card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.about-card .exp-badge {
  position: absolute; bottom: -22px; inset-inline-end: -14px; background: var(--grad-navy);
  color: #fff; padding: 22px 26px; border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow-lg);
}
.exp-badge strong { font-size: 34px; color: var(--gold-2); display: block; line-height: 1; }
.exp-badge span { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.about-card .about-orn { position: absolute; width: 27px; height: 27px; color: #c7d1db; z-index: 2; }
.about-card .about-orn svg { width: 100%; height: 100%; display: block; }
.about-orn-1 { top: -13px; inset-inline-start: -13px; }
.about-orn-2 { bottom: -13px; inset-inline-start: -13px; }

.split-list { display: grid; gap: 14px; margin-block: 24px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.split-list li svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
html[dir="rtl"] .split-list li svg { transform: scaleX(-1); }

/* ============================================================
   Clients marquee
   ============================================================ */
.marquee { overflow: hidden; position: relative; padding-block: 8px; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 74px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.75); transition: all .3s; }
.marquee-track img:hover { filter: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* Cert strip */
.cert-strip { background: var(--grad-navy); padding: 26px 0; }
.cert-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 34px; }
.cert-inner img { height: 58px; width: auto; opacity: .92; filter: brightness(1.1); transition: transform .3s; }
.cert-inner img:hover { transform: scale(1.12); }

/* ============================================================
   Testimonials
   ============================================================ */
.tst-slider { position: relative; max-width: 760px; margin-inline: auto; }
.tst-slide { display: none; animation: fadeUp .5s var(--ease); }
.tst-slide.active { display: block; }
.tst-card { background: #fff; border-radius: var(--radius); padding: 44px 40px; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.tst-quote {
  width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--grad-gold); display: grid; place-items: center;
}
.tst-quote svg { width: 24px; height: 24px; fill: #fff; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; }
.stars svg { width: 19px; height: 19px; fill: var(--gold); }
.tst-text { font-size: 16.5px; color: var(--ink); font-style: italic; margin-bottom: 22px; }
.tst-who strong { display: block; color: var(--navy); font-size: 16px; }
.tst-who span { font-size: 13px; color: var(--muted); }
.tst-controls { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.tst-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .25s;
}
.tst-controls button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tst-controls svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--grad-navy); position: relative; overflow: hidden; text-align: center;
  padding: 76px 0;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(226,194,92,.12);
}
.cta-band::before { width: 320px; height: 320px; top: -140px; right: -80px; }
.cta-band::after { width: 260px; height: 260px; bottom: -120px; left: -60px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #c7d3de; max-width: 620px; margin: 0 auto 34px; font-size: 16px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  position: relative; padding: 120px 0 90px; color: #fff; text-align: center;
  background: linear-gradient(100deg, rgba(8,20,34,.88), rgba(8,20,34,.6)), var(--navy) url('../images/services-bg.jpg') center/cover fixed;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin-bottom: 12px; }
.page-hero h1 span { color: var(--gold-2); }
.page-hero p { color: #d5dee7; max-width: 620px; margin: 0 auto; font-size: 16.5px; }
.page-hero .crumbs { display: flex; justify-content: center; gap: 10px; margin-top: 22px; font-size: 14px; color: #aebcc9; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: var(--gold-2); }
.page-hero .crumbs .sep { opacity: .5; }
.page-hero .crumbs .current { color: var(--gold-2); font-weight: 600; }

/* ============================================================
   Steps / process
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: 15px;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(201,162,39,.4);
}
.step-icon { width: 58px; height: 58px; margin: 10px auto 16px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.step-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step:hover { transform: translateY(-6px); }

/* ============================================================
   Timeline
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin-inline: auto; padding-inline-start: 40px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 12px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--gold), var(--navy)); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 38px 26px; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -36px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.18); }
html[dir="rtl"] .tl-item { padding: 0 26px 38px 0; }
.tl-year { font-weight: 800; color: var(--gold); font-size: 18px; margin-bottom: 4px; }
.tl-item h3 { font-size: 18px; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 50px; }
.contact-card { text-align: center; padding: 34px 20px; }
.contact-card .cc-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-navy); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(10,27,43,.26); }
.contact-card .cc-icon svg { width: 26px; height: 26px; fill: var(--gold-2); }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); }
.contact-card a:hover { color: var(--gold); }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px;
  font-size: 14.5px; color: var(--ink); background: var(--sand); transition: all .25s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201,162,39,.14); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 16px; height: 16px; fill: var(--ok); flex-shrink: 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ============================================================
   Pricing / benefits
   ============================================================ */
.benefit-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.benefit-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--grad-gold); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(201,162,39,.35); }
.benefit-icon svg { width: 24px; height: 24px; fill: #fff; }
.benefit-item h3 { font-size: 17px; margin-bottom: 6px; }
.benefit-item p { font-size: 14px; color: var(--muted); }

.plan { text-align: center; padding: 38px 30px; position: relative; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: var(--navy); padding: 6px 18px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: 15px; color: var(--muted); margin: 8px 0 22px; }
.plan ul { text-align: start; display: grid; gap: 12px; margin-bottom: 28px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.plan ul li svg { width: 18px; height: 18px; fill: var(--ok); flex-shrink: 0; margin-top: 3px; }
.plan ul li.no svg { fill: var(--danger); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: start; background: none; border: 0; padding: 20px 22px; font-size: 15.5px; font-weight: 700; color: var(--navy); }
.faq-q .fc { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--sand); display: grid; place-items: center; transition: all .3s; }
.faq-q .fc svg { width: 13px; height: 13px; fill: var(--gold); transition: transform .3s; }
.faq-item.open .faq-q .fc { background: var(--grad-gold); }
.faq-item.open .faq-q .fc svg { transform: rotate(45deg); fill: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 22px 22px; font-size: 14.5px; color: var(--muted); }

/* ============================================================
   Team
   ============================================================ */
.team-card { text-align: center; overflow: hidden; }
.team-card .avatar { height: 230px; background: var(--grad-navy); display: grid; place-items: center; position: relative; overflow: hidden; }
.team-card .avatar svg { width: 92px; height: 92px; fill: rgba(255,255,255,.16); }
.team-card .avatar .initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 800; color: rgba(255,255,255,.14); }
.team-card h3 { font-size: 17px; margin-top: 20px; }
.team-card p { font-size: 13.5px; color: var(--gold); font-weight: 600; margin-bottom: 18px; }

/* ============================================================
   Animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   Floating buttons (Chat + WhatsApp + Back to top)
   ============================================================ */
.float-wrap { position: fixed; z-index: 70; bottom: 22px; right: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
html[dir="rtl"] .float-wrap { right: auto; left: 22px; }

.chat-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-navy); border: 0; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .28s var(--ease); }
.chat-btn:hover { transform: scale(1.08); }
.chat-btn svg { width: 27px; height: 27px; fill: var(--gold-2); }
.chat-btn.bot-open svg.bot { display: none; }
.chat-btn svg.close { display: none; }
.chat-btn.bot-open svg.close { display: block; fill: #fff; }
.chat-btn .ping { position: absolute; width: 12px; height: 12px; background: var(--gold); border: 2px solid #fff; border-radius: 50%; top: 2px; right: 2px; animation: pulse-ring 2s infinite; }
.chat-btn .tooltip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .25s; }
.chat-btn .tooltip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--navy); }
.chat-btn:hover .tooltip { opacity: 1; visibility: visible; right: 72px; }
html[dir="rtl"] .chat-btn .tooltip { right: auto; left: 70px; }
html[dir="rtl"] .chat-btn .tooltip::after { right: auto; left: -5px; }
html[dir="rtl"] .chat-btn:hover .tooltip { right: auto; left: 72px; }

.whatsapp-float { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); animation: pulse-ring 2.4s infinite; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.to-top { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold); border: 0; color: var(--navy); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(201,162,39,.4); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================
   Chatbot panel
   ============================================================ */
.chatbot {
  position: fixed; z-index: 80; bottom: 96px; right: 22px;
  width: min(400px, calc(100vw - 40px)); height: min(600px, calc(100vh - 130px));
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
html[dir="rtl"] .chatbot { right: auto; left: 22px; }
.chatbot.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chat-head { background: var(--grad-navy); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 13px; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.chat-avatar svg { width: 22px; height: 22px; fill: var(--navy); }
.chat-avatar .online { position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; background: #25d366; border: 2px solid var(--navy-3); border-radius: 50%; }
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-info strong { display: block; font-size: 15px; line-height: 1.3; }
.chat-head-info span { font-size: 12px; color: var(--gold-2); display: flex; align-items: center; gap: 5px; }
.chat-head-info span .dot { width: 7px; height: 7px; background: #25d366; border-radius: 50%; display: inline-block; }
.chat-head-actions { display: flex; gap: 6px; }
.chat-head-actions button { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); border: 0; color: #fff; display: grid; place-items: center; transition: all .25s; }
.chat-head-actions button:hover { background: var(--gold); color: var(--navy); }
.chat-head-actions svg { width: 16px; height: 16px; fill: currentColor; }

.chat-body { flex: 1; overflow-y: auto; background: var(--sand); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 84%; display: flex; flex-direction: column; gap: 3px; animation: fadeUp .35s var(--ease); }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg .bubble { padding: 11px 15px; font-size: 14px; line-height: 1.55; border-radius: 16px; }
.msg.bot .bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.msg.user .bubble { background: var(--grad-navy); color: #fff; border-bottom-right-radius: 4px; }
.msg .time { font-size: 10.5px; color: var(--muted); padding-inline: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--gold); color: #8a6d12; background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; transition: all .25s;
}
.chip:hover { background: var(--grad-gold); color: var(--navy); border-color: transparent; transform: translateY(-1px); }
.chip-wrap { animation: fadeUp .4s var(--ease); }
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-foot { border-top: 1px solid var(--line); background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-mode {
  display: flex; align-items: center; justify-content: space-between; padding: 0 4px;
  font-size: 11.5px; color: var(--muted);
}
.chat-mode .md { display: flex; align-items: center; gap: 6px; }
.chat-mode .shine { width: 8px; height: 8px; border-radius: 50%; background: var(--green, var(--muted)); }
.chat-mode button.gear { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; color: var(--muted); font-size: 11.5px; padding: 2px 6px; border-radius: 6px; }
.chat-mode button.gear:hover { color: var(--gold); }
.chat-mode button.gear svg { width: 13px; height: 13px; fill: currentColor; }

.chat-input-row { display: flex; gap: 9px; align-items: flex-end; }
.chat-input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px;
  font-size: 14px; background: var(--sand); resize: none; max-height: 110px; min-height: 44px;
  transition: border-color .25s;
}
.chat-input:focus { outline: none; border-color: var(--gold); background: #fff; }
.chat-send { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--grad-gold); border: 0; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(201,162,39,.45); transition: transform .22s; }
.chat-send:hover { transform: scale(1.08); }
.chat-send svg { width: 19px; height: 19px; fill: var(--navy); }
.chat-send:disabled { opacity: .5; cursor: not-allowed; }

.chat-legal { text-align: center; font-size: 10.5px; color: var(--muted); }
.chat-legal a { color: var(--gold); font-weight: 600; }

/* ---- Chatbot settings popup ---- */
.chat-settings {
  position: absolute; inset: 0 0 0 auto; width: 100%; background: #fff; z-index: 6;
  padding: 20px; overflow-y: auto; display: none;
}
.chatbot.settings-open .chat-settings { display: block; }
.chat-settings h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.chat-settings h3 svg { width: 20px; height: 20px; fill: var(--gold); }
.setting-row { margin-bottom: 16px; }
.setting-row label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.setting-row input, .setting-row select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 14px; background: var(--sand);
}
.setting-row input:focus { outline: none; border-color: var(--gold); background: #fff; }
.setting-note { font-size: 12px; color: var(--muted); background: var(--gold-soft); border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; display: flex; gap: 8px; }
.setting-note svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.chat-settings .btn { width: 100%; }
.chat-settings .save-status { font-size: 13px; text-align: center; margin-top: 10px; font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
footer { background: var(--navy); color: #aebcc9; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 46px; padding: 70px 0 46px; }
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-brand .socials a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.footer-brand .socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 38px; height: 2.5px; border-radius: 3px; background: var(--grad-gold); }
html[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul a::before { content: "›"; color: var(--gold); font-weight: 700; font-size: 16px; transition: transform .25s; }
html[dir="rtl"] .footer-col ul a::before { content: "‹"; }
.footer-col ul a:hover { color: var(--gold-2); padding-left: 4px; }
html[dir="rtl"] .footer-col ul a:hover { padding-left: 0; padding-right: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 14px; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--gold-2); }

.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input { flex: 1; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 999px; padding: 11px 16px; color: #fff; font-size: 13.5px; }
.newsletter input::placeholder { color: #7d8b99; }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button { background: var(--grad-gold); color: var(--navy); border: 0; border-radius: 999px; padding: 0 18px; font-weight: 700; font-size: 14px; }
.newsletter button:hover { filter: brightness(1.07); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: var(--gold-2); font-weight: 600; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .made svg { width: 14px; height: 14px; fill: var(--danger); }

/* ============================================================
   Page banner / misc
   ============================================================ */
.banner-strip { background: var(--gold-soft); border-inline-start: 5px solid var(--gold); padding: 18px 24px; border-radius: var(--radius-sm); display: flex; gap: 14px; align-items: flex-start; margin-bottom: 40px; }
.banner-strip svg { width: 24px; height: 24px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.banner-strip p { font-size: 15px; color: #6b5518; }
.banner-strip a { color: var(--navy); font-weight: 700; text-decoration: underline; }

.avatar-circle { display: grid; place-items: center; }

.divider-gold { height: 3px; width: 64px; border-radius: 3px; background: var(--grad-gold); margin: 16px auto 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .nav-menu { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .topbar-contacts a span { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .g-5 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stats-strip { margin-top: -30px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 0 70px; }
  .hero-arrows { display: none; }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tst-card { padding: 30px 22px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .logo-text { display: none; }
}

/* ---- Cookie consent bar ---- */
.cookie-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 9999; max-width: 560px; width: calc(100% - 32px);
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35); font-size: 13px; line-height: 1.5;
}
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar .btn { padding: 9px 22px; font-size: 13.5px; white-space: nowrap; }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-bar { animation: cookieIn .5s var(--ease); }

/* ---- 404 page ---- */
.not-found { padding: 90px 0 120px; }
.nf-code {
  font-size: clamp(90px, 16vw, 150px); font-weight: 800; line-height: 1;
  background: linear-gradient(var(--gold), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .02em; margin-bottom: 18px;
}
.nf-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}