/* =================================================================
   PROMETHEUS — Premium light/white design system
   Fonts: Sora (display) + Inter (body)
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-tint: #eef3fb;

  /* Ink / text */
  --ink: #101a2e;
  --ink-2: #3f4b60;
  --muted: #6b7890;

  /* Lines */
  --line: #e6ecf5;
  --line-strong: #d7e0ee;

  /* Brand (matches the logo gradient) */
  --brand-1: #9cc2ec;
  --brand-2: #5e8fc7;
  --brand-3: #34568d;
  --brand-ink: #2f4f86;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #6ea6e3 0%, #4173b3 60%, #34568d 100%);
  --grad-text: linear-gradient(120deg, #4f86c6 0%, #3a63a0 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);

  /* Effects */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px -6px rgba(20, 40, 80, 0.12);
  --shadow: 0 16px 40px -18px rgba(20, 40, 80, 0.20);
  --shadow-lg: 0 30px 70px -28px rgba(20, 40, 80, 0.28);
  --glass: rgba(255, 255, 255, 0.72);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

img { max-width: 100%; display: block; }

button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section-tint {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.kicker {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 18px;
}

.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  --pad-y: 13px;
  --pad-x: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(52, 86, 141, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(52, 86, 141, 0.65);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
  color: var(--brand-ink);
}

.btn-whatsapp {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}
.btn-whatsapp::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  border-color: #25d366;
}

.btn-sm { --pad-y: 9px; --pad-x: 18px; font-size: 0.88rem; }
.btn-lg { --pad-y: 16px; --pad-x: 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* =================================================================
   NAVBAR
   ================================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(20, 40, 80, 0.25);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}
/* Full wordmark logo used in the navbar */
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}
.brand-mark { height: 34px; width: auto; }
.brand-name {
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle (EN / العربية) */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-family: "Sora", "Cairo", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
  color: var(--brand-ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(50px, 9vw, 110px));
  padding-bottom: clamp(70px, 11vw, 140px);
  overflow: hidden;
  background: var(--grad-soft);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.orb-1 {
  width: 480px; height: 480px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, #bcd6f6 0%, rgba(188, 214, 246, 0) 70%);
}
.orb-2 {
  width: 420px; height: 420px;
  top: 40px; right: -60px;
  background: radial-gradient(circle, #cfd4fb 0%, rgba(207, 212, 251, 0) 70%);
}
.orb-3 {
  width: 360px; height: 360px;
  bottom: -120px; left: 38%;
  background: radial-gradient(circle, #d6ecf9 0%, rgba(214, 236, 249, 0) 70%);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 86, 141, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 86, 141, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(94, 143, 199, 0.18);
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 22px;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 38px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* =================================================================
   ABOUT
   ================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4fc, #dfeaf8);
  color: var(--brand-ink);
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.glass-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.glass-card p { color: var(--muted); font-size: 0.96rem; }

/* =================================================================
   AI AGENTS
   ================================================================= */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.agent-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.agent-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.agent-card:hover::before { transform: scaleX(1); }
.agent-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-2);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.agent-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.agent-card p { color: var(--muted); font-size: 0.95rem; }

/* =================================================================
   APPLICATIONS
   ================================================================= */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.app-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(110, 166, 227, 0.5), rgba(110, 166, 227, 0) 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.app-card:hover::after { opacity: 1; }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-logo {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 10px 20px -10px rgba(52, 86, 141, 0.6);
}
.app-platform {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-ink);
  background: #eef4fc;
  border: 1px solid #dde9f7;
  padding: 5px 11px;
  border-radius: 999px;
}
.app-name { font-size: 1.32rem; margin-bottom: 8px; }
.app-desc { color: var(--muted); font-size: 0.95rem; }

/* =================================================================
   DEVELOPING MORE
   ================================================================= */
.more-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}
.more-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.more-tile {
  height: 96px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%),
    linear-gradient(135deg, #f3f7fd, #eaf1fa);
  background-size: 220% 100%, 100% 100%;
  animation: shimmer 3.4s var(--ease) infinite;
}
.more-tile:nth-child(2) { animation-delay: 0.5s; }
.more-tile:nth-child(3) { animation-delay: 1s; }
.more-tile.soon {
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--brand-ink);
  border-style: solid;
  border-color: var(--line);
}
@keyframes shimmer {
  0% { background-position: -120% 0, 0 0; }
  100% { background-position: 220% 0, 0 0; }
}

/* =================================================================
   FINAL CTA
   ================================================================= */
.cta-band {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 75%);
}
.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.cta-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  max-width: 22ch;
  text-shadow: 0 2px 18px rgba(20, 40, 80, 0.25);
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35);
}
.cta-band .btn-primary:hover { background: #f3f8ff; }

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin: 28px 0 22px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-method:hover { transform: translateX(4px); border-color: var(--brand-2); }
.cm-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cm-value {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.contact-whatsapp {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.contact-loc {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Form */
.contact-form-wrap {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #aab4c5; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(94, 143, 199, 0.15);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #e0556b;
  box-shadow: 0 0 0 4px rgba(224, 85, 107, 0.12);
}
.field-error {
  font-size: 0.78rem;
  color: #d23d57;
  min-height: 1px;
}

/* Honeypot — visually hidden but present in DOM.
   Uses the clip technique (no large offsets) so it never creates
   horizontal overflow, which would break RTL/mobile layout. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success { color: #18935a; }
.form-status.error { color: #d23d57; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: #0f1a2e;
  color: #c3cddd;
  padding-top: clamp(48px, 7vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .brand-name { color: #fff; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag {
  font-family: "Sora", sans-serif;
  color: #e7eefb;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.footer-loc { font-size: 0.9rem; color: #8d9bb4; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #9fadc6; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 22px; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #8d9bb4;
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 940px) {
  .more-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a::after { display: none; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .contact-whatsapp .btn { width: 100%; }
  .brand-logo { height: 38px; }
  .lang-btn { min-width: 52px; height: 36px; padding: 0 11px; font-size: 0.8rem; }
  .nav-actions { gap: 8px; }
}

/* =================================================================
   ACCESSIBILITY — reduced motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 3px solid rgba(94, 143, 199, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =================================================================
   ARABIC + RTL
   Applied when <html dir="rtl" lang="ar"> (toggled by js/main.js)
   ================================================================= */
[dir="rtl"] body,
[dir="rtl"] {
  font-family: "Cairo", "Inter", system-ui, sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .btn,
[dir="rtl"] .kicker,
[dir="rtl"] .cm-value,
[dir="rtl"] .footer-tag {
  font-family: "Cairo", "Sora", sans-serif;
}

/* Arabic reads a touch larger / looser for comfort */
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .section-title { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .kicker { letter-spacing: 0.04em; }
[dir="rtl"] .agent-num,
[dir="rtl"] .app-name,
[dir="rtl"] .brand-name { letter-spacing: 0; }

/* Keep brand wordmark, app names, numerals and tech labels left-to-right */
[dir="rtl"] .app-name,
[dir="rtl"] .agent-num,
[dir="rtl"] .cm-value,
[dir="rtl"] [dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Flip the directional accents */
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .agent-card::before { transform-origin: right; }
[dir="rtl"] .contact-method:hover { transform: translateX(-4px); }
[dir="rtl"] .more-tile { animation-direction: reverse; }

/* Uppercase tracking looks wrong on Arabic labels */
[dir="rtl"] .footer-col h4,
[dir="rtl"] .cm-label {
  text-transform: none;
  letter-spacing: 0;
}
