/* ==========================================================================
   QasemOS — Qasem Operating System
   Design tokens are derived from the Qasem logo (purple #411660, green #063A07)
   ========================================================================== */
:root {
  --brand-950: #12061c;
  --brand-900: #1d0a2d;
  --brand-800: #2d1144;
  --brand-700: #411660;   /* logo purple */
  --brand-600: #56207d;
  --brand-500: #7438a6;
  --brand-400: #9a63cc;
  --brand-300: #c19ce6;
  --brand-200: #e0cdf4;
  --brand-100: #f3ebfa;
  --brand-50:  #faf6fd;

  --green-900: #063a07;   /* logo green */
  --green-600: #138a3c;
  --green-100: #e5f5ea;

  --ink: #170c22;
  --text: #3b3346;
  --muted: #6c6478;
  --line: #ebe5f1;
  --surface: #ffffff;
  --bg: #fcfbfe;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(29, 10, 45, .06), 0 1px 1px rgba(29, 10, 45, .04);
  --shadow: 0 10px 30px -12px rgba(45, 17, 68, .18), 0 4px 10px -6px rgba(45, 17, 68, .08);
  --shadow-lg: 0 30px 60px -20px rgba(45, 17, 68, .35);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
::selection { background: var(--brand-200); color: var(--brand-900); }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand-700); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.9; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brand-700);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-btn);
  color: #fff;
  font-weight: 700; font-size: .97rem; line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(65, 22, 96, .55); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--brand-200); }
.btn-outline:hover { background: var(--brand-50); border-color: var(--brand-400); box-shadow: none; }
.btn-whatsapp { background: #128c4a; }
.btn-whatsapp:hover { box-shadow: 0 12px 24px -10px rgba(18, 140, 74, .6); }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand-700); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--brand-300); }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-top: 14px; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin-top: 16px; }
.grad-text {
  background: linear-gradient(100deg, var(--brand-500), #b076e8 45%, var(--brand-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-950); color: #d9cce6; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .5em; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--brand-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(45, 17, 68, .35); background: rgba(255,255,255,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 50px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--brand-700); }
.brand-name b { color: var(--brand-500); font-weight: 800; }
.brand-sub { font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand.on-dark .brand-name { color: #fff; }
.brand.on-dark .brand-name b { color: var(--brand-300); }
.brand.on-dark .brand-sub { color: #bba9cc; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-weight: 650; font-size: .95rem; color: var(--text);
  transition: background .25s, color .25s;
}
.nav > a:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--brand-50); color: var(--brand-700); }
.nav > a[aria-current="page"] { color: var(--brand-700); background: var(--brand-100); }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-item { position: relative; }
.nav-item.open .nav-trigger .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(760px, 92vw);
  translate: -50% 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega a:hover { background: var(--brand-50); }
.mega-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--cbg); color: var(--c); flex: none; transition: transform .35s var(--ease); }
.mega a:hover .mega-icon { transform: scale(1.08) rotate(-4deg); }
.mega-title { font-weight: 750; color: var(--ink); font-size: .95rem; line-height: 1.3; display: block; }
.mega-host { font-size: .76rem; color: var(--brand-500); font-weight: 650; display: block; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--brand-50); font-size: .9rem; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18, 6, 28, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%);
  background: #fff; padding: 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; gap: 18px;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-links { display: grid; gap: 4px; }
.drawer-links a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-weight: 650; color: var(--ink); }
.drawer-links a:hover { background: var(--brand-50); }
.drawer-links .mega-icon { width: 36px; height: 36px; border-radius: 10px; }
.drawer-label { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 10px 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, #4a1d6e 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #2d1144 0%, transparent 60%),
              var(--brand-950);
  color: #ddd0ea;
  padding: clamp(64px, 9vw, 110px) 0 clamp(80px, 10vw, 130px);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: #7438a6; top: -120px; right: 8%; }
.blob-2 { width: 320px; height: 320px; background: #3b1263; bottom: -140px; left: 10%; animation-delay: -5s; }
.blob-3 { width: 220px; height: 220px; background: #138a3c; opacity: .22; top: 40%; right: 38%; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.06); }
  66% { transform: translate(-25px, 20px) scale(.96); }
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; font-weight: 600; color: #e9dff3;
}
.hero-badge .pill { background: var(--brand-500); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; margin-top: 24px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .6s var(--ease);
  background: linear-gradient(100deg, #d6b8f5, #a46ee0 55%, #7fd49b); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.rotator span.is-active { opacity: 1; transform: none; }
.rotator span.is-leaving { opacity: 0; transform: translateY(-40%); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 540px; margin-top: 22px; color: #cdbfdb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: #bda9d1; }
.hero-contact a { display: inline-flex; gap: .5em; align-items: center; transition: color .2s; }
.hero-contact a:hover { color: #fff; }
.hero-contact .icon { width: 17px; height: 17px; color: var(--brand-300); }

/* OS window mock */
.os-window {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: windowIn 1s var(--ease) .2s both;
}
@keyframes windowIn { from { opacity: 0; transform: translateY(30px) scale(.96) rotateX(8deg); } to { opacity: 1; transform: none; } }
.os-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.os-dots { display: flex; gap: 7px; }
.os-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.2); }
.os-dots i:nth-child(1) { background: #ff6b6b; } .os-dots i:nth-child(2) { background: #ffc94d; } .os-dots i:nth-child(3) { background: #4fd18b; }
.os-url { flex: 1; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.22); font-size: .8rem; color: #cbb9de; font-weight: 600; }
.os-url .icon { width: 14px; height: 14px; color: #7fd49b; }
.os-body { padding: 22px; }
.os-greeting { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.os-greeting strong { color: #fff; font-size: 1.05rem; }
.os-greeting small { display: block; color: #a993bf; font-size: .8rem; }
.os-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: .85rem; }
.os-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.os-app {
  display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
  padding: 16px 8px 14px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  color: #eadff5; font-size: .8rem; font-weight: 650; line-height: 1.2;
  transition: background .3s, transform .4s var(--ease), border-color .3s;
  animation: appIn .7s var(--ease) both;
  animation-delay: calc(.5s + var(--i) * .07s);
}
.os-app:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.os-app .app-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -8px var(--glow); transition: transform .4s var(--ease); }
.os-app:hover .app-icon { transform: scale(1.1) rotate(-6deg); }
.os-app .app-icon .icon { width: 22px; height: 22px; }
@keyframes appIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.os-toast {
  position: absolute; left: -28px; top: -34px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  font-size: .84rem; line-height: 1.3; max-width: 290px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.os-toast.swap { opacity: 0; transform: translateY(10px); }
.os-toast .app-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: none; }
.os-toast .app-icon .icon { width: 19px; height: 19px; }
.os-toast b { display: block; font-size: .78rem; color: var(--brand-500); }
.hero-visual { position: relative; perspective: 1200px; }
.hero-visual .float-badge {
  position: absolute; right: -18px; bottom: -20px; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: .82rem; box-shadow: 0 16px 30px -12px rgba(19, 138, 60, .6);
  animation: bob 5s ease-in-out infinite;
}
.float-badge .icon { width: 16px; height: 16px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-700); color: #f1e6fb; overflow: hidden; padding: 18px 0; position: relative; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marquee-item .icon { color: var(--brand-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service directory ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 650; font-size: .92rem; cursor: pointer; color: var(--text);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); }
.chip[aria-pressed="true"] { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.chip .count { font-size: .75rem; padding: 1px 7px; border-radius: 99px; background: var(--brand-100); color: var(--brand-700); }
.chip[aria-pressed="true"] .count { background: rgba(255,255,255,.18); color: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .4s, scale .4s;
}
.service-card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 10%, transparent), transparent 60%);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.service-card:hover::before { opacity: 1; }
.service-card.is-hidden { display: none; }
.service-card.is-entering { animation: cardIn .55s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cbg); color: var(--c);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: var(--c); color: #fff; }
.service-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .4s var(--ease); }
.service-arrow .icon { width: 18px; height: 18px; }
.service-card:hover .service-arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(45deg); }
.service-card h3 { font-size: 1.3rem; }
.service-host { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--c); }
.service-host .icon { width: 14px; height: 14px; }
.service-card p { color: var(--muted); margin-top: 12px; font-size: .96rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.service-tags span { font-size: .76rem; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
.service-card .stretched { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* ---------- Spotlight tabs (from sketch hierarchy) ---------- */
.spotlight { background: linear-gradient(180deg, var(--brand-50), #fff); }
.tabs { display: inline-flex; padding: 6px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; flex-wrap: wrap; }
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5em;
  border: 0; background: none; cursor: pointer; padding: .7em 1.2em; border-radius: 999px;
  font-weight: 700; font-size: .93rem; color: var(--muted); transition: color .3s;
}
.tab .icon { width: 18px; height: 18px; }
.tab[aria-selected="true"] { color: #fff; }
.tab-indicator { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--brand-700); transition: transform .5s var(--ease), width .5s var(--ease); }
.tab-panels { margin-top: 36px; }
.tab-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active > * { animation: panelIn .6s var(--ease) both; }
.tab-panel.is-active > *:nth-child(2) { animation-delay: .08s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 12px; }
.tab-copy p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.tab-copy .btn { margin-top: 26px; }
.tree { position: relative; display: grid; gap: 14px; }
.tree-root {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: var(--brand-800); color: #fff; font-weight: 750;
}
.tree-root .service-icon { width: 46px; height: 46px; background: rgba(255,255,255,.12); color: #fff; }
.tree-root small { display: block; font-weight: 600; color: var(--brand-300); font-size: .8rem; }
.tree-branches { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; padding-top: 22px; }
.tree-branches::before { content: ""; position: absolute; top: 0; left: 30px; width: 2px; height: 22px; background: var(--brand-200); }
.tree-branches::after { content: ""; position: absolute; top: 10px; left: 30px; right: 30px; height: 2px; background: var(--brand-200); }
.leaf {
  position: relative; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.leaf:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.leaf .service-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.leaf .service-icon .icon { width: 20px; height: 20px; }
.leaf strong { display: block; color: var(--ink); font-size: 1rem; }
.leaf span { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: 1.05rem; margin-bottom: 20px;
  position: relative;
}
.step-num::after { content: ""; position: absolute; inset: -6px; border-radius: 18px; border: 2px dashed var(--brand-200); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.steps-line { position: absolute; top: 54px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--brand-200), var(--brand-400), var(--brand-200)); z-index: -1; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.steps.in-view .steps-line { transform: scaleX(1); }

/* ---------- Why / features ---------- */
.why { background: var(--brand-950); color: #cdbfdb; overflow: hidden; isolation: isolate; }
.why .section-title { color: #fff; }
.why .section-lead { color: #b6a3c9; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .5s var(--ease), border-color .3s; }
.why-card:hover { background: rgba(255,255,255,.07); transform: translateY(-5px); border-color: rgba(193, 156, 230, .35); }
.why-card .service-icon { background: rgba(193, 156, 230, .14); color: var(--brand-300); margin-bottom: 20px; }
.why-card h3 { color: #fff; font-size: 1.12rem; }
.why-card p { margin-top: 8px; font-size: .94rem; color: #b3a1c5; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside .contact-mini { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.faq-aside .contact-mini p { color: var(--muted); font-size: .95rem; margin: 6px 0 16px; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.faq[open] { border-color: var(--brand-200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-toggle .icon { width: 16px; height: 16px; }
.faq[open] .faq-toggle { transform: rotate(45deg); background: var(--brand-700); color: #fff; }
.faq-body { padding: 0 22px 22px; color: var(--muted); }
.faq-body-inner { overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(72px, 10vw, 120px); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 60%, #7a3fb0);
  color: #e6daf2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); animation: float 14s ease-in-out infinite; }
.cta-logo { position: absolute; z-index: -1; right: 4%; bottom: -60px; width: 300px; opacity: .08; }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-box p { margin-top: 14px; font-size: 1.08rem; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; justify-content: space-between; padding: 1.05em 1.4em; }
.cta-actions .btn span { display: inline-flex; align-items: center; gap: .6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: #b7a6c8; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-about p { margin-top: 18px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 16px; font-weight: 750; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { transition: color .2s; display: inline-flex; align-items: center; gap: .5em; }
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 16px; height: 16px; color: var(--brand-300); }
.footer-col small { display: block; font-size: .74rem; color: #8a77a0; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #8f7ca6; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #e0d2ee; transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--brand-600); transform: translateY(-3px); }
.social .icon { width: 18px; height: 18px; }

/* Floating WhatsApp */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #128c4a;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7);
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #128c4a; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-label { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px); transition: all .3s var(--ease); pointer-events: none; }
.fab:hover .fab-label { opacity: 1; transform: none; }

/* ---------- Page hero (service pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 90% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%), var(--brand-950);
  color: #d6c8e4; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: #a995bd; margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 14px; height: 14px; }
.page-hero-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.host-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .84rem; font-weight: 700; color: #fff; }
.host-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 0 rgba(79, 209, 139, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); } 70% { box-shadow: 0 0 0 9px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.035em; line-height: 1.05; margin-top: 22px; }
.page-hero .lead { font-size: 1.15rem; margin-top: 20px; max-width: 600px; color: #cbbcd9; }
.glance {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: windowIn .9s var(--ease) .15s both;
}
.glance-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.glance-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 14px 30px -10px var(--c); }
.glance-icon .icon { width: 28px; height: 28px; }
.glance-head strong { color: #fff; font-size: 1.15rem; display: block; }
.glance-head small { color: #a995bd; }
.glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.glance li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #e2d6ee; }
.glance li .icon { width: 19px; height: 19px; color: #4fd18b; margin-top: 2px; }
.glance-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; }

/* Offerings */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer {
  position: relative; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.offer:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.offer .service-icon { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; }
.offer:hover .service-icon { background: var(--c); color: #fff; transform: rotate(-8deg); }
.offer h3 { font-size: 1.12rem; }
.offer p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* Requirements + form */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split > :first-child { position: sticky; top: 110px; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.checklist .icon { color: var(--green-600); width: 22px; height: 22px; }
.note { display: flex; gap: 10px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.note .icon { color: var(--brand-500); width: 18px; height: 18px; margin-top: 3px; }

.form-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.45rem; }
.form-card > p { color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s; font-size: .97rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.field input:user-invalid { border-color: #d64545; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-flex; align-items: center; gap: 6px; padding: .5em .95em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; transition: all .25s; background: var(--bg); }
.checks input:checked + span { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.checks input:focus-visible + span { outline: 3px solid var(--brand-300); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-hint { font-size: .84rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; }
.form-hint .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--brand-400); }

/* Related services */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related a { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.related a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.related .mega-icon { width: 40px; height: 40px; }
.related small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }

/* About / contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; border-radius: var(--radius-xl); background: linear-gradient(140deg, var(--brand-100), #fff); border: 1px solid var(--line); padding: 48px; display: grid; place-items: center; aspect-ratio: 1 / .85; overflow: hidden; }
.about-visual img { width: 62%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(65, 22, 96, .25)); }
.about-visual .orbit { position: absolute; inset: 12%; border: 2px dashed var(--brand-200); border-radius: 50%; animation: spin 40s linear infinite; }
.about-visual .orbit i { position: absolute; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--brand-600); }
.about-visual .orbit i .icon { width: 20px; height: 20px; animation: spin 40s linear infinite reverse; }
.prose p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: block; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .service-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.contact-card strong { display: block; color: var(--ink); }
.contact-card span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; word-break: break-word; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); line-height: 1; }

/* ---------- Live workers feed (maids.qasem.ae) ---------- */
.workers-feed-section { background: linear-gradient(180deg, var(--brand-50), #fff); }
.feed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.feed-head .section-lead { max-width: 620px; }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feed-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: cardIn .6s var(--ease) both; }
.feed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feed-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #8d55c0 0%, transparent 55%), linear-gradient(135deg, var(--brand-700), var(--brand-900)); overflow: hidden; }
.feed-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.feed-avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3); }
.feed-ref { position: absolute; top: 12px; left: 12px; padding: .3em .75em; border-radius: 999px; background: rgba(18,6,28,.72); color: #fff; font-size: .74rem; font-weight: 800; }
.feed-badge { position: absolute; top: 12px; right: 12px; padding: .28em .7em; border-radius: 999px; background: #e5f5ea; color: #138a3c; font-size: .74rem; font-weight: 800; }
.feed-body { padding: 18px 20px 20px; display: grid; gap: 10px; flex: 1; }
.feed-body h3 { font-size: 1.15rem; }
.feed-meta { color: var(--muted); font-size: .9rem; }
.feed-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-tags span { font-size: .75rem; font-weight: 650; padding: .3em .7em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.feed-body .btn { margin-top: auto; }
.feed-card.skeleton { min-height: 360px; padding: 0; }
.feed-card.skeleton span { display: block; aspect-ratio: 16 / 10; background: var(--brand-100); }
.feed-card.skeleton i { display: block; height: 14px; margin: 18px 20px 0; border-radius: 8px; background: #f0ebf5; }
.feed-card.skeleton i:nth-child(3) { width: 60%; }
.feed-card.skeleton i:nth-child(4) { width: 40%; }
.feed-card.skeleton span, .feed-card.skeleton i { background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.feed-fallback { display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feed-fallback[hidden] { display: none; }
.feed-fallback .service-icon { --c: #56207d; --cbg: #f3ebfa; flex: none; }
.feed-fallback p { color: var(--muted); margin-top: 4px; }
.feed-fallback .btn { margin-left: auto; }
.apply-online .service-icon { margin-bottom: 18px; }
.apply-online > p { margin-top: 8px; }
.apply-online .checklist { margin-top: 18px; }
@media (max-width: 1080px) { .feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feed-grid { grid-template-columns: 1fr; } .feed-fallback { flex-direction: column; align-items: flex-start; } .feed-fallback .btn { margin-left: 0; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .related, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav, .header-cta .btn-call { display: none; }
  .menu-toggle { display: grid; }
  .hero-inner, .page-hero-inner, .tab-panel, .split, .faq-layout, .about-grid, .cta-box { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .os-toast { left: 8px; top: -44px; }
  .hero-visual { margin-top: 40px; margin-bottom: 20px; }
  .split > :first-child { position: static !important; }
  .hero-visual .float-badge { right: 8px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .values { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .services-grid, .offer-grid, .why-grid, .related, .contact-cards, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .os-apps { gap: 8px; }
  .os-app { font-size: .72rem; padding: 12px 4px; }
  .os-app .app-icon { width: 40px; height: 40px; }
  .header-cta .btn-head { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tabs { border-radius: 20px; }
  .tab { flex: 1 1 auto; justify-content: center; }
  .brand img { width: 42px; }
  .topbar-group.left { display: none; }
  .topbar .container { justify-content: center; }
  .cta-actions .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
