/* ============================================================================
   andBrand — Design System & Styles
   ----------------------------------------------------------------------------
   1.  Tokens (colors, type, spacing)
   2.  Reset & base
   3.  Layout helpers
   4.  Typography & gradient text
   5.  Buttons & badges
   6.  Header / navigation
   7.  Footer
   8.  Hero
   9.  Sections & shared components (cards, stats, process, work, testimonials)
   10. Page-specific
   11. Forms
   12. Animations & reveal
   13. RTL overrides
   14. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand gradient (orange → magenta → purple) taken from the logo */
  --c-orange:  #F7801A;
  --c-flame:   #F0592B;
  --c-magenta: #E52E71;
  --c-rose:    #C0257A;
  --c-purple:  #7A2E8E;
  --c-grape:   #4E1E6B;
  --c-navy:    #1E2A44;

  --brand-grad:  linear-gradient(135deg, #F7801A 0%, #E52E71 52%, #7A2E8E 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(247,128,26,.16), rgba(229,46,113,.16), rgba(122,46,142,.16));

  /* Surfaces (dark, premium — echoing the coming-soon page) */
  --ink:    #0A0A11;
  --ink-2:  #0F0F1A;
  --ink-3:  #15151F;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --line:   rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.14);

  --text:   #F5F5FA;
  --muted:  #A8A8BC;
  --muted-2:#7B7B90;

  /* Type */
  --font-en: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Tajawal', 'Poppins', sans-serif;
  --font: var(--font-en);

  /* Spacing / radius */
  --container: 1200px;
  --radius:    22px;
  --radius-sm: 14px;
  --section-y: clamp(72px, 10vw, 140px);

  --shadow:    0 30px 80px -30px rgba(0,0,0,.7);
  --shadow-glow: 0 20px 60px -15px rgba(229,46,113,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

html[lang="ar"] { --font: var(--font-ar); }

/* 2. RESET & BASE ---------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 12% -5%, rgba(247,128,26,.18), transparent 60%),
    radial-gradient(700px 500px at 100% 8%, rgba(122,46,142,.20), transparent 60%),
    radial-gradient(600px 600px at 50% 120%, rgba(229,46,113,.14), transparent 60%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-magenta); color: #fff; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.grid { display: grid; gap: 28px; }
.center { text-align: center; }

/* 4. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.25; }

.h-display { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); font-weight: 300; }
.muted { color: var(--muted); }

.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Eyebrow / tag label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-grad); border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn i { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
html[dir="rtl"] .btn:hover i { transform: translateX(-4px); }

.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-glow); background-size: 160% 160%; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px -18px rgba(229,46,113,.65); background-position: 100% 0; }

.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--c-orange); background: var(--surface-2); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -20px rgba(255,255,255,.5); }

.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-orange); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }
html[dir="rtl"] .link-arrow:hover i { transform: translateX(-5px); }

/* Pill badge */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: .82rem; font-weight: 500; color: var(--text); backdrop-filter: blur(8px);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 12px var(--c-orange); animation: pulse 2s infinite; }

/* 6. HEADER ---------------------------------------------------------------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  padding-block: 18px; border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,17,.72); backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line); padding-block: 12px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.logo img { width: 42px; height: 42px; border-radius: 12px; }
.logo .logo__b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 16px; border-radius: 100px; font-size: .95rem; font-weight: 500; color: var(--muted);
  position: relative; transition: color .3s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; inset-block-end: 2px; inset-inline: 16px; height: 2px;
  background: var(--brand-grad); border-radius: 2px;
}

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

.lang-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); font-weight: 700; font-size: .9rem; cursor: pointer;
  display: grid; place-items: center; transition: border-color .3s, background .3s, transform .3s;
}
.lang-toggle:hover { border-color: var(--c-orange); background: var(--surface-2); transform: rotate(-8deg); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* 7. FOOTER ---------------------------------------------------------------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 32px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 48px; }
.footer h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
html[lang="ar"] .footer h4 { letter-spacing: 0; }
.footer__brand p { color: var(--muted); max-width: 320px; margin-block: 18px 24px; font-weight: 300; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: var(--muted); transition: color .3s, padding .3s; }
.footer__links a:hover { color: var(--text); padding-inline-start: 6px; }

.footer__news form { display: flex; gap: 8px; margin-top: 14px; }
.footer__news input { flex: 1; padding: 13px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line-2); font-size: .9rem; }
.footer__news input:focus { outline: none; border-color: var(--c-orange); }
.footer__news button { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--brand-grad); color: #fff; cursor: pointer; font-size: 1.1rem; transition: transform .3s; }
.footer__news button:hover { transform: scale(1.08); }

.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 1.1rem; color: var(--muted);
  transition: .3s;
}
.socials a:hover { color: #fff; border-color: transparent; background: var(--brand-grad); transform: translateY(-4px); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom p { color: var(--muted-2); font-size: .88rem; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom nav a { color: var(--muted-2); font-size: .88rem; transition: color .3s; }
.footer__bottom nav a:hover { color: var(--text); }

/* 7b. FLOATING BUTTONS (WhatsApp + back-to-top) ---------------------------- */
.floats {
  position: fixed; z-index: 90; inset-block-end: 24px; inset-inline-end: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s, visibility .3s;
}
.float-btn:hover { transform: translateY(-4px) scale(1.06); }

/* WhatsApp — always visible, brand-green with a soft pulse */
.float-btn--wa { background: #25D366; box-shadow: 0 12px 30px -6px rgba(37,211,102,.55); }
.float-btn--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite;
}
.float-btn--wa { position: relative; }

/* Back-to-top — brand gradient, appears after scrolling */
.float-btn--top { background: var(--brand-grad); opacity: 0; visibility: hidden; transform: translateY(12px); }
.float-btn--top.show { opacity: 1; visibility: visible; transform: none; }
.float-btn--top.show:hover { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-glow); }

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 560px) {
  .floats { inset-block-end: 16px; inset-inline-end: 16px; gap: 12px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.45rem; }
}

/* 8. HERO ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.hero .h-display { margin-block: 22px 26px; }
.hero .lead { max-width: 620px; margin-bottom: 40px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__word { display: inline-block; }
.hero__word--grad { position: relative; }

/* Floating gradient orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; opacity: .55; }
.orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--c-orange), transparent 70%); top: -120px; inset-inline-end: -80px; animation: float 9s ease-in-out infinite; }
.orb--2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--c-purple), transparent 70%); bottom: -140px; inset-inline-start: -100px; animation: float 11s ease-in-out infinite reverse; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--c-magenta), transparent 70%); top: 40%; inset-inline-end: 30%; opacity: .35; animation: float 13s ease-in-out infinite; }

/* Paper-plane motif (echoes the logo) */
.hero__plane { position: absolute; z-index: 1; inset-inline-end: 6%; top: 22%; width: clamp(120px, 20vw, 260px); opacity: .9; animation: floatPlane 7s ease-in-out infinite; }
.hero__plane svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(229,46,113,.4)); }

/* Scroll hint */
.scroll-hint { position: absolute; inset-block-end: 34px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; z-index: 2; }
html[lang="ar"] .scroll-hint { letter-spacing: 0; }
html[dir="rtl"] .scroll-hint { transform: translateX(50%); }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-hint .mouse::before { content: ""; position: absolute; top: 7px; inset-inline-start: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 4px; background: var(--c-orange); animation: mouse 1.8s infinite; }

/* Inner-page hero (shorter) */
.page-hero { position: relative; padding-top: clamp(150px, 20vw, 210px); padding-bottom: clamp(48px, 7vw, 90px); overflow: hidden; text-align: center; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.page-hero .lead { margin-top: 22px; }

/* 9. SHARED COMPONENTS ----------------------------------------------------- */

/* Glass card */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 22px; color: #fff; background: var(--brand-grad-soft);
  border: 1px solid var(--line-2); color: var(--c-orange);
  transition: background .4s, color .4s;
}
.card:hover .card__icon { background: var(--brand-grad); color: #fff; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-weight: 300; }
.card__num { position: absolute; inset-block-start: 22px; inset-inline-end: 26px; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.045); line-height: 1; }

/* Grid columns */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Split layout (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--reverse .split__visual { order: -1; }

.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--muted); }
.check-list i { color: var(--c-orange); font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }

/* Decorative brand visual (CSS-art, never breaks) */
.brand-visual {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius);
  background: var(--brand-grad); overflow: hidden; box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.brand-visual::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 40%),
  radial-gradient(circle at 80% 90%, rgba(0,0,0,.3), transparent 50%); }
.brand-visual__ampersand { font-size: clamp(9rem, 22vw, 16rem); font-weight: 800; color: rgba(255,255,255,.92); position: relative; z-index: 1; line-height: 1; }
.brand-visual__ring { position: absolute; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; }
.brand-visual__ring--1 { inset: 12%; }
.brand-visual__ring--2 { inset: 24%; border-style: dashed; animation: spin 30s linear infinite; }

/* Image frame (for optional photos, with gradient fallback) */
.img-frame { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--brand-grad); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.img-frame--wide img { aspect-ratio: 3/2; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 32px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat__num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.stat__num .suffix { font-size: .6em; }
.stat__label { color: var(--muted); margin-top: 10px; font-size: .95rem; }

/* Process timeline */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process__line { position: absolute; inset-block-start: 34px; inset-inline: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
html[dir="rtl"] .process__line { background: linear-gradient(270deg, transparent, var(--line-2), transparent); }
.process__step { text-align: center; position: relative; z-index: 1; }
.process__badge {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; background: var(--ink-3); border: 1px solid var(--line-2);
  transition: .4s var(--ease);
}
.process__step:hover .process__badge { background: var(--brand-grad); color: #fff; transform: scale(1.1) translateY(-4px); border-color: transparent; box-shadow: var(--shadow-glow); }
.process__step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process__step p { color: var(--muted); font-size: .95rem; font-weight: 300; }

/* Work / portfolio */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.work-filters button {
  padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--muted); font-weight: 500; cursor: pointer; transition: .3s;
}
.work-filters button:hover { color: var(--text); border-color: var(--c-orange); }
.work-filters button.active { background: var(--brand-grad); color: #fff; border-color: transparent; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; display: block; }
.work-card__bg { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.work-card__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 25% 25%, rgba(255,255,255,.22), transparent 45%),
  radial-gradient(circle at 85% 85%, rgba(0,0,0,.35), transparent 55%); }
.work-card:hover .work-card__bg { transform: scale(1.08); }
.work-card__overlay { position: absolute; inset: 0; z-index: 2; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(6,6,12,.78) 0%, rgba(6,6,12,.15) 55%, transparent 100%); }
.work-card__tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .85; margin-bottom: 8px; }
html[lang="ar"] .work-card__tag { letter-spacing: 0; }
.work-card__title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.work-card__desc { color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 300; max-height: 0; opacity: 0; overflow: hidden; transition: .4s var(--ease); }
.work-card:hover .work-card__desc { max-height: 80px; opacity: 1; }
.work-card__view { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .9rem; color: #fff; }
.work-card__amp { position: absolute; inset-block-start: 20px; inset-inline-end: 24px; font-size: 3.4rem; font-weight: 800; color: rgba(255,255,255,.28); z-index: 2; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.testi__quote-mark { font-size: 3rem; line-height: .6; color: var(--c-magenta); font-family: Georgia, serif; margin-bottom: 8px; }
.testi p { color: var(--text); font-weight: 300; font-size: 1.05rem; margin-bottom: 24px; flex: 1; }
.testi__person { display: flex; align-items: center; gap: 14px; }
.testi__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.testi__name { font-weight: 600; font-size: .98rem; }
.testi__role { color: var(--muted); font-size: .85rem; }
.stars { color: var(--c-orange); margin-bottom: 16px; letter-spacing: 2px; }

/* CTA band */
.cta-band { position: relative; border-radius: clamp(24px, 4vw, 40px); overflow: hidden; padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px); text-align: center; background: var(--brand-grad); box-shadow: var(--shadow-glow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 20%, rgba(255,255,255,.28), transparent 40%),
  radial-gradient(circle at 85% 85%, rgba(0,0,0,.28), transparent 50%); }
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.12rem; margin-bottom: 34px; }
.cta-band__amp { position: absolute; font-size: 26rem; font-weight: 800; color: rgba(255,255,255,.08); inset-block-start: -6rem; inset-inline-end: -2rem; z-index: 0; line-height: 1; }

/* Mission / Vision cards */
.mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 4px; height: 100%; background: var(--brand-grad); }
.mv-card .eyebrow { margin-bottom: 14px; }
.mv-card p { font-size: 1.15rem; color: var(--text); font-weight: 300; }

/* 11. FORMS ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 15px 18px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--line-2); font-size: .98rem; transition: border-color .3s, background .3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-orange); background: var(--surface-2); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--c-magenta); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A8A8BC' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
html[dir="rtl"] .field select { background-position: left 18px center; }
.field select option { background: var(--ink-2); color: var(--text); }

.form-note { padding: 16px 20px; border-radius: var(--radius-sm); font-size: .95rem; margin-top: 4px; display: none; }
.form-note.show { display: block; }
.form-note--success { background: rgba(52,199,89,.12); border: 1px solid rgba(52,199,89,.4); color: #7ee787; }
.form-note--error { background: rgba(229,46,113,.12); border: 1px solid rgba(229,46,113,.4); color: #ff9ec0; }

/* Contact info list */
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.contact-item:hover { border-color: var(--line-2); background: var(--surface-2); }
.contact-item__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.3rem; color: var(--c-orange); flex-shrink: 0; }
.contact-item__label { font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.contact-item__value { font-weight: 600; }

/* 12. ANIMATIONS ----------------------------------------------------------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@keyframes floatPlane { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(-4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }
@keyframes mouse { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%, 12px); } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 13. RTL ------------------------------------------------------------------ */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .split--reverse .split__visual { order: 0; }

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cols-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .process__line { display: none; }
}

@media (max-width: 860px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }

  /* Mobile nav drawer */
  .mobile-nav {
    position: fixed; inset: 0; z-index: 99; background: rgba(10,10,17,.96); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav a { font-size: 1.6rem; font-weight: 600; padding: 12px; color: var(--muted); transition: color .3s; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--text); }
  .mobile-nav .btn { display: inline-flex; margin-top: 20px; }
}

@media (min-width: 861px) { .mobile-nav { display: none; } }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__visual { order: -1; }
  .cols-2, .cols-3, .work-grid, .testi-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__plane { display: none; }
  .scroll-hint { display: none; } /* avoids overlap with stacked hero CTAs on mobile */
  .cols-4, .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .cols-4, .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
}
