/* ============================================================
   ALFAHA — B2B Sourcing & Export (alfaha.me)
   Core stylesheet. RTL overrides live in rtl.css (scoped [dir="rtl"])
   Palette: Navy #0b2545 · Gold #f5a623 · White #ffffff
   ============================================================ */

:root {
  --navy: #0b2545;
  --navy-800: #123159;
  --navy-700: #1a3d6d;
  --gold: #f5a623;
  --gold-dark: #c98a10;
  --gold-soft: #fdf3e0;
  --white: #ffffff;
  --bg: #f6f8fb;
  --text: #22303f;
  --muted: #5d6b7a;
  --border: #e2e8f0;
  --green: #25d366;
  --shadow: 0 2px 12px rgba(11, 37, 69, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.13);
  --radius: 12px;
  --font-latin: "Inter", system-ui, sans-serif;
  --font-arabic: "Cairo", "Inter", sans-serif;
  --font-cn: "Noto Sans SC", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-latin);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Language-specific typography (set via body.lang-*) */
body.lang-ar { font-family: var(--font-arabic); letter-spacing: 0 !important; }
body.lang-zh { font-family: var(--font-cn); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }

.section { padding: 84px 0; }
.section.alt { background: var(--bg); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.6;
}
.eyebrow.left::before { display: none; }

/* ---------- Inline SVG icons ---------- */
.icon-svg {
  width: 24px; height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-svg.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); box-shadow: 0 8px 22px rgba(245, 166, 35, 0.4); }
.btn-outline { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-lg); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: #1eb857; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4); }
.btn .icon-svg { width: 18px; height: 18px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: #081b33;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar a:hover { color: var(--gold); }
.topbar .icon-svg { width: 13px; height: 13px; }
.topbar .topbar-right { display: flex; gap: 20px; }
.topbar strong { color: var(--white); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: 4px; color: var(--white); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #ffc95e);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 3px 10px rgba(245, 166, 35, 0.4);
}
.logo span em { color: var(--gold); font-style: normal; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Language switcher — top right of header */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lang-btn .flag { font-size: 1.05rem; line-height: 1; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--white);
  color: var(--text);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 6px;
  display: none;
  z-index: 110;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: none; border: none;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  text-align: start;
}
.lang-menu button:hover { background: var(--bg); }
.lang-menu button.current { background: var(--gold-soft); color: var(--navy); font-weight: 700; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(245, 166, 35, 0.14), transparent 60%),
    linear-gradient(135deg, #081b33 0%, var(--navy) 55%, #17457f 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--gold); }
.hero h1 { color: var(--white); max-width: 780px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.sub { margin-top: 20px; max-width: 640px; font-size: 1.06rem; color: rgba(255, 255, 255, 0.82); }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-greeting {
  margin-top: 44px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

/* Hero / standalone stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
}
.stat { text-align: start; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--gold); line-height: 1.1; letter-spacing: -0.02em; }
.stat span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.7); }

/* Standalone (light background) stats variant */
.stats-light {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-light .stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 34px 0;
}
.stats-light .stat b { color: var(--navy); }
.stats-light .stat { text-align: center; }
.stats-light .stat span { color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-800); color: var(--white); padding: 30px 0; border-bottom: 3px solid var(--gold); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--gold);
  display: grid; place-items: center;
}
.trust-item .icon .icon-svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: 0.93rem; }
.trust-item small { color: rgba(255, 255, 255, 0.65); font-size: 0.79rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(245, 166, 35, 0.45); }
.card .card-icon {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .card-icon .icon-svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .learn {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.card .learn:hover { gap: 10px; color: var(--navy); }

/* ---------- SKU cards ---------- */
.cat-tabs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-tab:hover { border-color: var(--gold); color: var(--navy); }
.cat-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); }

.sku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.sku-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sku-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(245, 166, 35, 0.45); }

.sku-media {
  height: 150px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}
.sku-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.sku-media .icon { position: relative; width: 56px; height: 56px; color: rgba(255,255,255,0.95); }
.sku-media .icon .icon-svg { width: 56px; height: 56px; stroke-width: 1.4; }
.sku-media.led { background: linear-gradient(135deg, #0b2545, #1a4d8f); }
.sku-media.phone { background: linear-gradient(135deg, #123159, #5b3ba8); }
.sku-media.cleaning { background: linear-gradient(135deg, #0e6e5c, #1a9c82); }
.sku-media .cat-chip {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 1;
}

.sku-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.sku-code {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1.4px;
}
.sku-body h3 { margin: 7px 0 6px; font-size: 1.02rem; }
.sku-desc { color: var(--muted); font-size: 0.85rem; min-height: 42px; }
.sku-specs { margin: 14px 0; display: flex; flex-direction: column; gap: 5px; }
.sku-specs li { font-size: 0.82rem; color: var(--text); display: flex; gap: 8px; align-items: baseline; }
.sku-specs li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.sku-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.8rem;
}
.sku-meta .moq strong { color: var(--navy); }
.certs { display: flex; gap: 5px; flex-wrap: wrap; }
.cert-badge {
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.6px;
  padding: 3px 7px; border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
}
.sku-card .btn { margin-top: 16px; justify-content: center; padding: 11px 16px; font-size: 0.87rem; }

.catalog-note {
  margin-top: 40px;
  text-align: center;
  color: #7a5a12;
  font-size: 0.89rem;
  background: var(--gold-soft);
  border: 1px solid #f0dcb0;
  border-radius: 10px;
  padding: 14px 22px;
  max-width: 660px;
  margin-inline: auto;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  counter-reset: step;
}
.step { text-align: center; position: relative; padding-top: 48px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.78rem;
  box-shadow: 0 0 0 5px var(--white);
}
.section.alt .step::before { box-shadow: 0 0 0 5px var(--bg); }
.step::after {
  content: "";
  position: absolute; top: 19px; left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step strong { display: block; font-size: 0.87rem; color: var(--navy); }
.step small { color: var(--muted); font-size: 0.74rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 52px; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 18px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.info-card h3 { margin-bottom: 12px; font-size: 0.98rem; }
.info-card ul li { padding: 5px 0; font-size: 0.92rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; padding: 28px 18px; }
.why-item .card-icon { margin-inline: auto; }
.why-item p { font-size: 0.87rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.form-group .err { color: #c0392b; font-size: 0.77rem; margin-top: 4px; display: none; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #c0392b; }
.form-group.invalid .err { display: block; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: #e8f8ee; color: #157347; border: 1px solid #b7e4c7; }
.form-status.error { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5c6cb; }

.contact-side .info-card { display: flex; gap: 14px; align-items: flex-start; }
.contact-side .info-card .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-side .info-card .card-icon .icon-svg { width: 21px; height: 21px; }
.contact-side .info-card p, .contact-side .info-card a { font-size: 0.92rem; color: var(--muted); word-break: break-word; }
.contact-side .info-card a:hover { color: var(--gold-dark); }
.qr-placeholder {
  width: 110px; height: 110px; flex: none;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--navy);
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(11,37,69,0.07) 6px 8px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(11,37,69,0.07) 6px 8px),
    var(--bg);
}
.map-embed {
  width: 100%;
  height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  filter: grayscale(0.25);
}

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: var(--white); }
.faq-q {
  width: 100%;
  background: none; border: none;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  padding: 17px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  cursor: pointer;
  text-align: start;
}
.faq-q .chev { transition: transform 0.2s; color: var(--gold-dark); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #081b33, var(--navy-700));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%; top: -120px;
  transform: translateX(-50%);
  width: 480px; height: 240px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.15), transparent 70%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 14px 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; }
.site-footer h4 {
  color: var(--white); font-size: 0.82rem; margin-bottom: 18px;
  letter-spacing: 2px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.site-footer h4::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 0.9rem; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--gold); }
.site-footer .about-blurb { font-size: 0.89rem; max-width: 340px; }
.footer-contact li { font-size: 0.9rem; display: flex; gap: 10px; align-items: baseline; }
.footer-contact .icon-svg { width: 15px; height: 15px; transform: translateY(2px); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); }
.wa-float .icon-svg { width: 28px; height: 28px; }

/* ============================================================
   AI chat widget (chatbot.js) — sits above the WhatsApp button
   ============================================================ */
.acb-launcher {
  position: fixed;
  bottom: 96px;
  inset-inline-end: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: var(--gold);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 37, 69, 0.4);
  z-index: 91;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.acb-launcher:hover { transform: scale(1.1); box-shadow: 0 14px 32px rgba(11, 37, 69, 0.5); }
.acb-launcher .icon-svg { width: 26px; height: 26px; }

.acb-panel {
  position: fixed;
  bottom: 164px;
  inset-inline-end: 26px;
  width: min(360px, calc(100vw - 40px));
  max-height: min(520px, calc(100vh - 200px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  z-index: 92;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.acb-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.acb-head {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #081b33, var(--navy-700));
  color: var(--white);
  padding: 14px 16px;
}
.acb-avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #ffc95e);
  color: var(--navy);
  display: grid; place-items: center;
  font-weight: 800;
}
.acb-head-txt { flex: 1; min-width: 0; }
.acb-title { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.acb-sub { font-size: 0.72rem; color: rgba(255, 255, 255, 0.65); }
.acb-close {
  background: none; border: none; color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem; cursor: pointer; padding: 4px 6px; flex: none;
}
.acb-close:hover { color: var(--white); }

.acb-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.acb-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}
.acb-msg a { color: var(--gold-dark); }
.acb-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border); color: var(--text); border-start-start-radius: 4px; }
.acb-user { align-self: flex-end; background: var(--navy); color: var(--white); border-end-end-radius: 4px; }
.acb-typing { color: var(--muted); font-style: italic; }
.acb-offline { background: var(--gold-soft); border-color: #f0dcb0; color: #7a5a12; }

.acb-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 95%; }
.acb-chip {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-align: start;
}
.acb-chip:hover { border-color: var(--gold); color: var(--gold-dark); }

.acb-form {
  display: flex; gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.acb-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
}
.acb-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15); }
.acb-send {
  width: 42px; height: 42px; flex: none;
  border: none; border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.acb-send:hover { background: var(--gold-dark); color: var(--white); }
.acb-send .icon-svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .acb-launcher { bottom: 90px; inset-inline-end: 20px; }
  .acb-panel { bottom: 158px; inset-inline-end: 20px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 80% 0%, rgba(245, 166, 35, 0.12), transparent 60%),
    linear-gradient(135deg, #081b33, var(--navy) 70%, #17457f);
  color: var(--white);
  padding: 76px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 660px; margin: 16px auto 0; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--gold); }

/* ---------- Scroll-reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar-right, .topbar .hide-sm { display: none; }
  .trust-grid, .why-grid, .stats-strip, .stats-light .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    inset-inline: 0;
    background: var(--navy-800);
    padding: 16px 6%;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .trust-grid, .why-grid, .form-row,
  .stats-strip, .stats-light .stats-inner { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 72px 0 60px; }
  .stats-strip { gap: 14px; }
}
