/* ARDO Dev — design system: design-system/ardo-dev/MASTER.md (UI UX Pro Max) */
:root {
  --color-primary: #2563EB;
  --color-primary-deep: #1D4ED8;
  --color-secondary: #3B82F6;
  --color-accent: #C2410C;
  --color-accent-hover: #9A3412;
  --color-background: #F8FAFC;
  --color-foreground: #0F172A;
  --color-text: #1E293B;
  --color-card: #FFFFFF;
  --color-muted: #E9EFF8;
  --color-muted-foreground: #475569;
  --color-border: #E2E8F0;
  --color-destructive: #DC2626;
  --color-success: #15803D;
  --color-ring: #2563EB;
  --navy: #0B1630;
  --navy-2: #12224A;

  --glass-bg: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-blur: 16px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(29, 78, 216, .35);

  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Almarai', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font: var(--font-latin);

  --space-section: clamp(72px, 10vw, 128px);
  --gutter: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
}
html[lang="ar"] { --font: var(--font-arabic); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--color-foreground); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--color-foreground); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top var(--dur-fast); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-cta { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 65, 12, .7); }
.btn-cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(154, 52, 18, .7); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--color-border); color: var(--color-foreground); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary-deep); background: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--color-primary-deep); }
.text-link .ic { transition: transform var(--dur-fast) var(--ease); }
.text-link:hover .ic { transform: translate(2px, -2px); }
[dir="rtl"] .text-link:hover .ic { transform: scaleX(-1) translate(2px, -2px); }
.text-link:hover span { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary-deep); margin-bottom: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow.light { color: #93C5FD; }

.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: var(--color-primary-deep); border: 1px solid #DBEAFE; }
.icon-tile .ic { width: 24px; height: 24px; }
.icon-tile.dark { background: rgba(59, 130, 246, .14); border-color: rgba(147, 197, 253, .22); color: #93C5FD; }

.card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color var(--dur), box-shadow var(--dur), border-color var(--dur); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom-color: rgba(226, 232, 240, .8); box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand img { width: 40px; height: auto; }
.brand-name { font-family: var(--font-latin); font-weight: 800; font-size: 21px; color: var(--color-foreground); letter-spacing: -.02em; direction: ltr; }
.brand-name b { color: var(--color-primary); font-weight: 800; margin-inline-start: 2px; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--color-muted-foreground); transition: color var(--dur-fast), background-color var(--dur-fast); }
.main-nav a:hover { color: var(--color-foreground); background: rgba(37, 99, 235, .07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--color-border); }
.lang-switch button { min-width: 40px; min-height: 38px; padding: 0 8px; border: 0; background: none; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--color-muted-foreground); transition: background-color var(--dur-fast), color var(--dur-fast); }
.lang-switch button[data-lang="ar"] { font-family: var(--font-arabic); font-size: 16px; }
.lang-switch button:hover { color: var(--color-foreground); }
.lang-switch button[aria-pressed="true"] { background: var(--color-foreground); color: #fff; }
.main-nav .nav-mobile-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--color-border); background: #fff; place-items: center; }

/* Hero */
.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 32px; margin-top: -72px; padding-top: calc(72px + clamp(32px, 6vw, 72px)); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 80% -10%, #DBEAFE 0%, transparent 60%), var(--color-background); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero .b1 { width: 520px; height: 520px; background: #93C5FD; top: -160px; inset-inline-end: -120px; animation: drift 18s var(--ease) infinite alternate; }
.hero .b2 { width: 380px; height: 380px; background: #C7D2FE; top: 280px; inset-inline-start: -160px; animation: drift 22s var(--ease) infinite alternate-reverse; }
.hero .b3 { width: 260px; height: 260px; background: #FDBA74; top: 380px; inset-inline-end: 22%; opacity: .35; animation: drift 16s var(--ease) infinite alternate; }
.hero .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--color-border); font-size: 14px; font-weight: 600; color: var(--color-muted-foreground); box-shadow: var(--shadow-sm); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; text-wrap: balance; }
html[lang="ar"] .hero h1 { font-size: clamp(34px, 4.8vw, 56px); }
.grad { background: linear-gradient(100deg, var(--color-primary) 10%, #7C3AED 60%, var(--color-accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .grad { background-image: linear-gradient(260deg, var(--color-primary) 10%, #7C3AED 60%, var(--color-accent) 100%); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--color-muted-foreground); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-muted-foreground); }
.hero-trust .ic { width: 18px; height: 18px; color: var(--color-success); stroke-width: 2.6; }

.hero-visual { position: relative; padding: 28px 0 40px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--color-border); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F1F5F9; border-bottom: 1px solid var(--color-border); direction: ltr; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.browser-bar i:nth-child(1) { background: #F87171; } .browser-bar i:nth-child(2) { background: #FBBF24; } .browser-bar i:nth-child(3) { background: #34D399; }
.browser-bar span { margin-inline-start: 10px; flex: 1; max-width: 260px; height: 22px; line-height: 22px; padding: 0 12px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--color-muted-foreground); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-visual .browser { padding: 0; border-radius: 18px; box-shadow: var(--shadow-lg); transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transition: transform 600ms var(--ease); }
[dir="rtl"] .hero-visual .browser { transform: perspective(1600px) rotateY(8deg) rotateX(3deg); }
.hero-visual:hover .browser { transform: perspective(1600px) rotateY(0) rotateX(0); }
.hero-visual .browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.float-card { position: absolute; border-radius: 18px; padding: 14px; }
.chat-card { width: 270px; inset-inline-start: -36px; bottom: -6px; animation: bob 6s ease-in-out infinite; }
.order-card { inset-inline-end: -18px; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-head b, .order-card b { display: block; font-size: 14px; color: var(--color-foreground); line-height: 1.3; }
.fc-head small, .order-card small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted-foreground); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), #7C3AED); color: #fff; flex: none; }
.avatar .ic { width: 18px; height: 18px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; display: inline-block; }
.oc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #DCFCE7; color: var(--color-success); }
.bubble { font-family: var(--font-arabic); font-size: 14px; line-height: 1.55; padding: 8px 12px; border-radius: 16px; max-width: 88%; width: fit-content; margin-top: 6px; }
/* Customer on the right (white), bot on the left (blue): physical sides, the demo is always in darija. */
.bubble.in { background: #fff; color: var(--color-foreground); border: 1px solid var(--color-border); margin-left: auto; margin-right: 0; border-bottom-right-radius: 4px; }
.bubble.out { background: var(--color-primary); color: #fff; margin-right: auto; margin-left: 0; border-bottom-left-radius: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); margin-top: 48px; padding: 8px; }
.stats > div { padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.stats > div + div { border-inline-start: 1px solid rgba(148, 163, 184, .3); }
.stats strong { font-family: var(--font-latin); font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--color-foreground); letter-spacing: -.02em; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--color-muted-foreground); }

/* Clients */
.clients { padding: 28px 0 8px; }
.clients-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.clients p { font-size: 13px; font-weight: 700; color: var(--color-muted-foreground); text-transform: uppercase; letter-spacing: .1em; }
html[lang="ar"] .clients p { letter-spacing: 0; font-size: 14px; }
.clients ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.clients li { font-family: var(--font-latin); font-size: 19px; font-weight: 800; color: #94A3B8; letter-spacing: -.01em; direction: ltr; }

/* Section heads */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--color-muted-foreground); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { position: relative; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #BFDBFE; }
.service h3 { font-size: 20px; font-weight: 800; margin-top: 6px; }
.service p { color: var(--color-muted-foreground); font-size: 15px; }
.ticks { display: grid; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--color-border); }
.ticks li { position: relative; padding-inline-start: 26px; font-size: 14px; font-weight: 600; color: var(--color-text); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #DBEAFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.service.featured { background: linear-gradient(180deg, #fff, #F5F8FF); border-color: #BFDBFE; box-shadow: 0 0 0 1px #BFDBFE, var(--shadow); }
.service.featured .icon-tile { background: linear-gradient(135deg, var(--color-primary), #7C3AED); color: #fff; border: 0; }
.svc-order { align-self: flex-start; margin-top: -2px; }
.badge { position: absolute; top: 20px; inset-inline-end: 20px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #FFEDD5; color: var(--color-accent-hover); }

/* Bots */
.bots { background: var(--navy); color: #CBD5E1; overflow: hidden; isolation: isolate; }
.bots-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 15% 0%, rgba(37, 99, 235, .35), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(124, 58, 237, .25), transparent 60%); }
.bots .b1 { width: 420px; height: 420px; background: #2563EB; opacity: .25; top: 20%; inset-inline-end: 10%; }
.bots .b2 { width: 300px; height: 300px; background: #EA580C; opacity: .14; bottom: -80px; inset-inline-start: 30%; }
.bots-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.bots h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); font-weight: 800; text-wrap: balance; }
.bots-copy > p { margin-top: 18px; font-size: 18px; color: #CBD5E1; max-width: 560px; }
.bot-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.bf { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color var(--dur), border-color var(--dur); }
.bf:hover { background: rgba(255, 255, 255, .07); border-color: rgba(147, 197, 253, .25); }
.bf h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.bf p { font-size: 14px; color: #94A3B8; }

.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone { width: min(340px, 100%); border-radius: 40px; padding: 12px; background: linear-gradient(160deg, #1E293B, #0F172A); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-radius: 30px 30px 0 0; border-bottom: 1px solid var(--color-border); }
.phone-top b { display: block; color: var(--color-foreground); font-size: 15px; line-height: 1.3; font-family: var(--font-latin); }
.phone-top small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted-foreground); }
.phone-chat { height: 360px; padding: 14px; background: #F1F5F9; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden; }
.phone-chat .bubble { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.phone-chat .bubble.show { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--color-primary); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; margin-right: auto; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.saved { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 6px 0; padding: 6px 12px; border-radius: 999px; background: #DCFCE7; color: #166534; font-size: 12px; font-weight: 700; font-family: var(--font); opacity: 0; transition: opacity 260ms; }
.saved.show { opacity: 1; }
.saved .ic { width: 14px; height: 14px; stroke-width: 3; }
.phone-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 0; padding: 12px 14px; background: #fff; border-radius: 0 0 30px 30px; color: #94A3B8; font-size: 14px; }
.phone-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--color-primary); flex: none; }
.phone-caption { margin-top: 16px; font-size: 13px; color: #94A3B8; text-align: center; }

/* Work */
.work-list { display: grid; gap: 28px; }
.work { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), border-color var(--dur); }
.work:hover { box-shadow: var(--shadow); border-color: #BFDBFE; }
.work:nth-child(even) .work-media { order: 2; }
.work-media { position: relative; padding-bottom: 24px; padding-inline-end: 48px; }
.work-media .browser { box-shadow: var(--shadow); }
.work-media .browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work:hover .work-media .browser img { transform: scale(1.03); }
.mini-phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 28%; max-width: 150px; border-radius: 22px; padding: 5px; background: #0F172A; box-shadow: 0 20px 40px -16px rgba(15, 23, 42, .5); }
.mini-phone img { border-radius: 17px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.work-cat { font-size: 13px; font-weight: 700; color: var(--color-primary-deep); }
.work h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin: 6px 0 12px; font-family: var(--font-latin); }
.work-copy p { color: var(--color-muted-foreground); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--color-muted); color: var(--color-text); }

/* Process */
.process { background: linear-gradient(180deg, var(--color-background), #EEF3FB); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; position: relative; overflow: hidden; }
.step-n { display: inline-block; font-family: var(--font-latin); font-size: 14px; font-weight: 800; color: var(--color-primary); padding: 6px 12px; border-radius: 999px; background: #EFF6FF; margin-bottom: 18px; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--color-muted-foreground); font-size: 15px; }
.step::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary), #7C3AED); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
[dir="rtl"] .step::after { transform-origin: right; }
.step:hover::after { transform: scaleX(1); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.promise p { font-size: 14px; color: var(--color-muted-foreground); }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-inner .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq-inner .section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); transition: border-color var(--dur), box-shadow var(--dur); }
.faq-list details[open] { border-color: #BFDBFE; box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; font-weight: 700; font-size: 17px; color: var(--color-foreground); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--color-primary); transition: transform var(--dur) var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--color-muted-foreground); }

/* Contact */
.contact { padding-top: 0; }
.contact-box { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding: clamp(24px, 4vw, 56px); border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(239, 246, 255, .85)); }
.contact-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #BFDBFE; filter: blur(80px); opacity: .6; top: -180px; inset-inline-start: -120px; z-index: -1; }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.contact-copy > p { margin-top: 14px; font-size: 17px; color: var(--color-muted-foreground); }
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--color-border); transition: border-color var(--dur-fast), transform var(--dur-fast); }
.channel:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.channel b { display: block; font-size: 15px; color: var(--color-foreground); }
.channel small { font-size: 14px; color: var(--color-muted-foreground); }
#ch-wa .icon-tile { background: #DCFCE7; border-color: #BBF7D0; color: #15803D; }

.contact-form { display: grid; gap: 18px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 700; color: var(--color-foreground); }
.field label em { color: var(--color-destructive); font-style: normal; }
.field label small { font-weight: 500; color: var(--color-muted-foreground); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--color-foreground); background: #fff; border: 1.5px solid #CBD5E1; border-radius: 12px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 42px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field-hint { font-size: 13px; color: var(--color-muted-foreground); }
.field-error { display: none; font-size: 13px; font-weight: 600; color: var(--color-destructive); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--color-destructive); }
.field.invalid .field-error { display: block; }
.field.invalid .field-hint { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-weight: 600; font-size: 15px; min-height: 1px; }
.form-status.ok { color: var(--color-success); padding: 14px 16px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; }
.form-status.err { color: var(--color-destructive); padding: 14px 16px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); background: #fff; padding: 40px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand p { margin-top: 6px; color: var(--color-muted-foreground); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; color: var(--color-muted-foreground); border-radius: 999px; }
.site-footer nav a:hover { color: var(--color-foreground); background: var(--color-muted); }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 14px; color: var(--color-muted-foreground); }

.wa-float { position: fixed; z-index: 40; bottom: 20px; inset-inline-end: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #16A34A; color: #fff; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .7); transition: transform var(--dur-fast) var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float[hidden] { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .service-grid, .steps, .promises { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .bots-inner { grid-template-columns: 1fr; gap: 56px; }
  .work { grid-template-columns: 1fr; gap: 28px; }
  .work:nth-child(even) .work-media { order: 0; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-inner .section-head { position: static; }
  .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; inset-inline: 12px; margin: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--color-border); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease), visibility var(--dur-fast); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { min-height: 48px; padding: 0 16px; font-size: 16px; color: var(--color-foreground); border-radius: 12px; }
  .main-nav .nav-mobile-cta { display: inline-flex; margin-top: 6px; color: #fff; border-radius: 999px; }
  .main-nav .nav-mobile-cta:hover { color: #fff; background: var(--color-accent-hover); }
  .header-actions { margin-inline-start: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-inline-start: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(148, 163, 184, .3); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 10px; min-height: 64px; }
  .hero { margin-top: -64px; padding-top: calc(64px + 28px); }
  .brand-name { font-size: 19px; }
  .brand img { width: 34px; }
  .lang-switch button { min-width: 36px; padding: 0 6px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 12px 0 70px; }
  .hero-visual .browser, [dir="rtl"] .hero-visual .browser { transform: none; }
  .chat-card { width: 230px; inset-inline-start: -4px; bottom: 0; }
  .order-card { inset-inline-end: -4px; top: -12px; padding: 10px 12px 10px 10px; }
  .order-card small { display: none; }
  .service-grid, .steps, .promises, .bot-features, .field-row { grid-template-columns: 1fr; }
  .stats > div { padding: 14px 12px; }
  .stats span { font-size: 13px; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16px; }
  .work { padding: 16px; border-radius: 22px; }
  .work-media { padding-inline-end: 32px; padding-bottom: 18px; }
  .clients li { font-size: 16px; }
  .contact-box { border-radius: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual .browser, [dir="rtl"] .hero-visual .browser { transform: none; }
}
