/* ==========================================================================
   QasemOS — Qasem Online Services
   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; }
[hidden] { display: none !important; }
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); white-space: nowrap;
  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.3fr 1fr 1fr 1.05fr 1.1fr; gap: 36px; }
.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 { max-width: 100%; min-width: 0;
  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; line-height: 1.55; color: var(--muted); margin-top: 14px; display: block; position: relative; padding-left: 24px; }
.form-hint .icon { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; color: var(--brand-400); }
.form-hint a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
/* Enquiry form buttons: WhatsApp full width, then the two other options side by side */
form[data-enquiry] .form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form[data-enquiry] .form-actions .btn { justify-content: center; width: 100%; }
form[data-enquiry] .form-actions .btn-whatsapp { grid-column: 1 / -1; }
@media (max-width: 420px) { form[data-enquiry] .form-actions { grid-template-columns: 1fr; } }

/* 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 page */
.about-hero { padding-bottom: clamp(110px, 12vw, 150px); }
.about-hero .page-hero-inner { grid-template-columns: 1.05fr .95fr; }
.about-hero h1 { max-width: 640px; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-visual-os .os-window { transform: none; }
.about-facts-wrap { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -56px); }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(33, 9, 51, .14); overflow: hidden; }
.about-facts > div { padding: 24px 22px; display: grid; gap: 4px; align-content: start; }
.about-facts > div + div { border-left: 1px solid var(--line); }
.about-fact-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 10px; }
.about-fact-icon .icon { width: 20px; height: 20px; }
.about-facts b { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--ink); letter-spacing: -.02em; overflow-wrap: anywhere; }
.about-facts span:not(.about-fact-icon) { color: var(--muted); font-size: .92rem; }
.about-area-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.about-area { grid-column: span 2; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.about-area:nth-child(4):nth-last-child(2), .about-area:nth-child(5):last-child { grid-column: span 3; }
.about-area:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.about-area-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-500, #7438a6), var(--brand-800, #411660)); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 22px rgba(65, 22, 96, .25); }
.about-area-icon .icon { width: 24px; height: 24px; }
.about-area h3 { font-size: 1.18rem; color: var(--ink); }
.about-area > p { color: var(--muted); margin: 8px 0 16px; font-size: .95rem; }
.about-area ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.about-area li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-50); color: var(--ink); font-weight: 700; font-size: .94rem; transition: background .3s, color .3s; }
.about-area li a:hover { background: var(--cbg); color: var(--c); }
.about-area-svc { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--c); }
.about-area-svc .icon { width: 16px; height: 16px; }
.about-area li .icon-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--brand-300); transition: transform .3s, color .3s; }
.about-area li a:hover .icon-arrow { transform: translateX(3px); color: var(--c); }
.about-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-value { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, var(--brand-50)); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.about-value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.about-value-num { position: absolute; right: 18px; top: 10px; font-size: 4.2rem; font-weight: 800; line-height: 1; color: var(--brand-100, #f3ebfa); letter-spacing: -.04em; }
.about-value-icon { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-700); color: #fff; margin-bottom: 18px; }
.about-value-icon .icon { width: 24px; height: 24px; }
.about-value h3 { position: relative; color: var(--ink); font-size: 1.15rem; }
.about-value p { position: relative; color: var(--muted); margin-top: 8px; font-size: .95rem; }
@media (max-width: 1080px) {
  .about-area-grid { grid-template-columns: repeat(2, 1fr); }
  .about-area, .about-area:nth-child(4):nth-last-child(2), .about-area:nth-child(5):last-child { grid-column: auto; }
  .about-area:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .about-hero .page-hero-inner { grid-template-columns: 1fr; }
  .about-hero { padding-bottom: 84px; }
  .about-facts-wrap { margin-top: -30px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .about-facts > div:nth-child(3) { border-left: 0; }
  .about-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .about-facts > div { padding: 18px 16px; }
  .about-area-grid { grid-template-columns: 1fr; }
  .about-area:last-child:nth-child(odd) { grid-column: auto; }
}
.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; }

/* Spam trap in public forms (honeypot): never visible to people */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Service pages: key benefits strip under the hero */
.svc-perks-wrap { position: relative; z-index: 3; margin-top: clamp(-64px, -5vw, -44px); }
.svc-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(33, 9, 51, .14); overflow: hidden; }
.svc-perks li + li { border-left: 1px solid var(--line); }
.svc-perk { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 22px 20px; color: var(--muted); font-size: .86rem; line-height: 1.45; transition: background .25s; }
a.svc-perk:hover { background: var(--cbg, var(--brand-50)); }
.svc-perk strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 3px; overflow-wrap: anywhere; }
.sp-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cbg, var(--brand-50)); color: var(--c, var(--brand-600)); }
.sp-icon .icon { width: 21px; height: 21px; }
@media (max-width: 1080px) {
  .svc-perks { grid-template-columns: repeat(2, 1fr); }
  .svc-perks li:nth-child(3) { border-left: 0; }
  .svc-perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .svc-perks-wrap { margin-top: -32px; }
  .svc-perks { grid-template-columns: 1fr; }
  .svc-perks li + li { border-left: 0; border-top: 1px solid var(--line); }
  .svc-perk { padding: 16px; }
}

/* Guides list (qasem.ae/guides) */
.guides-hero .page-hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
.guides-search { position: relative; display: block; margin-top: 30px; max-width: 560px; }
.guides-search .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--brand-500); pointer-events: none; }
.guides-search input { width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 18px; border: 0; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 600; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); }
.guides-search input:focus { outline: 3px solid rgba(193, 156, 230, .55); outline-offset: 2px; }
.guides-count { margin-top: 14px; font-size: .9rem; color: #b8a6ca; }
.guide-feature { position: relative; display: grid; gap: 12px; padding: 28px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(10, 2, 20, .45); overflow: hidden; transition: transform .45s var(--ease); }
.guide-feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad, linear-gradient(90deg, var(--brand-500), var(--brand-800))); }
.guide-feature:hover { transform: translateY(-5px); }
.gf-label { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gf-label .icon { width: 14px; height: 14px; }
.gf-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad, var(--brand-700)); color: #fff; box-shadow: 0 12px 24px -8px var(--glow, rgba(65,22,96,.5)); }
.gf-icon .icon { width: 26px; height: 26px; }
.guide-feature strong { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -.015em; }
.gf-sum { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.gf-meta, .gi-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.gf-meta > span, .gi-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-meta .icon, .gi-meta .icon { width: 15px; height: 15px; }
.gf-go, .gi-go { font-weight: 800; color: var(--c, var(--brand-700)); }
.gf-go .icon, .gi-go .icon { transition: transform .3s; }
.guide-feature:hover .gf-go .icon, .guide-item:hover .gi-go .icon { transform: translateX(4px); }
.guide-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.guide-topic { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .25s; }
.guide-topic .icon { width: 16px; height: 16px; color: var(--c, var(--brand-600)); }
.guide-topic b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .76rem; text-align: center; }
.guide-topic:hover { border-color: var(--c, var(--brand-300)); transform: translateY(-2px); }
.guide-topic.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.guide-topic.is-active .icon { color: #fff; }
.guide-topic.is-active b { background: rgba(255,255,255,.2); color: #fff; }
.guide-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-item { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.guide-item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad, var(--brand-500)); opacity: 0; transition: opacity .3s; }
.guide-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.guide-item:hover::before { opacity: 1; }
.gi-top { display: flex; align-items: center; gap: 10px; }
.gi-icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--cbg, var(--brand-50)); color: var(--c, var(--brand-700)); transition: background .3s, color .3s; }
.gi-icon .icon { width: 20px; height: 20px; }
.guide-item:hover .gi-icon { background: var(--c, var(--brand-700)); color: #fff; }
.gi-tag { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c, var(--brand-700)); }
.guide-item h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; }
.guide-item p { color: var(--muted); font-size: .94rem; line-height: 1.55; flex: 1; }
.guide-item[hidden] { display: none; }
.guides-none { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 20px; border-radius: 22px; border: 1.5px dashed var(--line); background: #fff; }
.guides-none[hidden] { display: none; }
.guides-none strong { font-size: 1.1rem; color: var(--ink); }
.guides-none p { color: var(--muted); margin: 0 0 8px; }
.guides-ask { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 24px 26px; border-radius: 22px; background: linear-gradient(120deg, var(--brand-50), #fff); border: 1px solid var(--line); }
.ga-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-700); color: #fff; }
.ga-icon .icon { width: 24px; height: 24px; }
.guides-ask > div:nth-child(2) { flex: 1; min-width: 0; }
.guides-ask strong { display: block; font-size: 1.08rem; color: var(--ink); }
.guides-ask p { color: var(--muted); margin: 4px 0 0; font-size: .94rem; }
.ga-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1080px) { .guide-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) {
  .guides-hero .page-hero-inner { grid-template-columns: 1fr; }
  .guides-ask { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .guide-list-grid { grid-template-columns: 1fr; }
  .guide-topics { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .guide-topics::-webkit-scrollbar { display: none; }
  .guide-topic { flex: none; }
  .guide-feature { padding: 22px; }
  .ga-actions, .ga-actions .btn { width: 100%; justify-content: center; }
}

/* Contact page */
.contact-hero .page-hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #bfaed1; font-size: .92rem; font-weight: 600; }
.contact-trust li { display: inline-flex; align-items: center; gap: 8px; }
.contact-trust .icon { width: 17px; height: 17px; color: #4fd18b; }
.contact-panel { position: relative; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(10, 2, 20, .45); display: grid; gap: 10px; }
.contact-panel-head { padding: 4px 6px 10px; }
.contact-panel-head strong { display: block; color: #fff; font-size: 1.12rem; }
.contact-panel-head span { display: block; color: #a995bd; font-size: .88rem; margin-top: 2px; }
.contact-way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.contact-way:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10, 2, 20, .35); }
.contact-way-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cbg); color: var(--c); transition: background .3s, color .3s; }
.contact-way-icon .icon { width: 22px; height: 22px; }
.contact-way:hover .contact-way-icon { background: var(--c); color: #fff; }
.contact-way-text { flex: 1; min-width: 0; display: grid; }
.contact-way-text small { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.contact-way-text b { font-size: 1.02rem; font-weight: 800; overflow-wrap: anywhere; }
.contact-way-text em { font-style: normal; font-size: .84rem; color: var(--muted); }
.contact-way-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); transition: background .3s, color .3s; }
.contact-way-go .icon { width: 17px; height: 17px; }
.contact-way:hover .contact-way-go { background: var(--c); color: #fff; }
.contact-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; counter-reset: none; }
.contact-steps li { position: relative; display: flex; gap: 16px; padding: 0 0 22px; }
.contact-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: linear-gradient(var(--brand-200), transparent); }
.contact-steps li > span { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-700); color: #fff; font-weight: 800; box-shadow: 0 8px 18px rgba(65, 22, 96, .25); }
.contact-steps strong { display: block; color: var(--ink); font-size: 1.02rem; margin-top: 2px; }
.contact-steps p { color: var(--muted); margin: 4px 0 0; font-size: .95rem; }
.contact-facts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.contact-facts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-facts .icon { flex: none; width: 22px; height: 22px; color: var(--brand-600, #6b2a96); }
.contact-facts span { display: grid; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-facts small { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-service { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.contact-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-service .service-icon { flex: none; width: 46px; height: 46px; margin: 0; }
.contact-service:hover .service-icon { background: var(--c); color: #fff; }
.contact-service-text { flex: 1; min-width: 0; display: grid; }
.contact-service-text strong { font-size: 1rem; }
.contact-service-text small { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.contact-service .icon-arrow { flex: none; width: 18px; height: 18px; color: var(--brand-300); transition: transform .3s, color .3s; }
.contact-service:hover .icon-arrow { transform: translateX(4px); color: var(--c); }
@media (max-width: 1080px) { .contact-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .contact-hero .page-hero-inner { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .contact-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-panel { padding: 14px; border-radius: 22px; }
  .contact-way { padding: 12px; gap: 12px; }
  .contact-way-icon { width: 42px; height: 42px; }
  .contact-service-grid { grid-template-columns: 1fr; }
}

.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; }
}

/* ==========================================================================
   Mobile polish
   ========================================================================== */
.tab-indicator { top: 0; height: auto; }
.drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-cta .btn { padding: .9em 1em; }
.cta-ellipsis { min-width: 0; }
.cta-ellipsis > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 920px) {
  /* Full-screen menu with a fixed action bar */
  .drawer-panel { width: 100%; padding: 0; gap: 0; padding-top: env(safe-area-inset-top, 0px); }
  .drawer-head { position: sticky; top: 0; z-index: 2; padding: 12px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .drawer-panel > .drawer-links { padding: 8px 12px; }
  .drawer-head + .drawer-links { padding-top: 12px; }
  .drawer-label { margin: 14px 24px 2px; }
  .drawer-links a { padding: 9px 10px; }
  .drawer-links .mega-title { font-size: .95rem; }
  .drawer-cta { position: sticky; bottom: 0; margin-top: auto; z-index: 2; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding: 40px 0 56px; }
  .hero-actions { margin-top: 26px; }
  .hero-contact { margin-top: 22px; gap: 8px 18px; font-size: .88rem; }
  .os-toast { display: none; }
  .hero-visual { margin-top: 12px; }
  .hero-visual .float-badge { right: 10px; bottom: -16px; }
  .page-hero { padding: 36px 0 48px; }
  .page-hero .lead { font-size: 1.02rem; }

  /* Service tabs: equal segments, icon above the label */
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; padding: 5px; border-radius: 18px; }
  .tab { flex-direction: column; gap: 6px; padding: .8em .35em; font-size: .78rem; line-height: 1.25; text-align: center; border-radius: 14px; white-space: normal; }
  .tab .icon { width: 20px; height: 20px; }
  .tab-indicator { border-radius: 14px; }
  .tab-panels { margin-top: 26px; }
  .tab-panel { gap: 26px; }

  /* Call-to-action box: one line per button */
  .cta-box { padding: 30px 20px; border-radius: 24px; gap: 26px; }
  .cta-num { display: none; }
  .cta-actions .btn { white-space: nowrap; padding: .95em 1.2em; font-size: .98rem; }
  .cta-logo { width: 200px; }

  /* Footer: services side by side */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-about, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding: 52px 0 calc(90px + env(safe-area-inset-bottom, 0px)); }
  .footer-bottom { margin-top: 36px; }

  /* Floating WhatsApp button */
  .fab { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .fab svg { width: 25px; height: 25px; }
  .fab-label { display: none; }

  .faq summary { padding: 16px 18px; font-size: .97rem; }
  .faq-body { padding: 0 18px 18px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .service-card { padding: 22px; }
  .form-card { padding: 22px 18px; }
}

/* small phones: keep call-to-action buttons on one clean line */
@media (max-width: 640px) {
  .cta-actions .btn .cta-num { display: none; }
}

/* never let animations (slide-ins) make the page scroll sideways */
html, body { overflow-x: clip; }

/* ---------- Dropdowns (select.js) — rounded, animated, bottom sheet on phones ---------- */
.sel { position: relative; display: block; min-width: 0; width: 100%; }
.sel.sel-inline { display: inline-block; width: auto; vertical-align: middle; }
.sel > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sel-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; text-align: left; cursor: pointer;
  padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-weight: 600; line-height: 1.35; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sel-btn:hover { border-color: var(--brand-300); }
.sel-btn:focus-visible, .sel.open .sel-btn { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100); }
.sel-btn:disabled { opacity: .55; cursor: not-allowed; }
.sel-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-val.ph { color: var(--muted); font-weight: 500; }
.sel-chev { flex: none; width: 18px; height: 18px; color: var(--brand-500); transition: transform .3s var(--ease); }
.sel.open .sel-chev { transform: rotate(180deg); }
.has-error .sel-btn { border-color: var(--bad, #d14343) !important; background-color: #fffafa !important; }

.sel-pop {
  position: fixed; z-index: 1000; display: flex; flex-direction: column; min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(45, 17, 68, .32), 0 8px 16px -8px rgba(45, 17, 68, .12);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .18s ease, transform .24s var(--ease);
}
.sel-pop.up { transform: translateY(6px) scale(.98); transform-origin: bottom center; }
.sel-pop.show { opacity: 1; transform: none; }
.sel-search { display: flex; align-items: center; gap: 8px; margin: 2px 2px 6px; padding: 9px 12px; border-radius: 11px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-500); flex: none; }
.sel-search svg { width: 16px; height: 16px; flex: none; }
.sel-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .92rem; color: var(--ink); padding: 0; }
.sel-list { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 2px; outline: none; scrollbar-width: thin; scrollbar-color: var(--brand-200) transparent; }
.sel-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--text); transition: background .15s, color .15s; }
.sel-opt[hidden] { display: none; }
.sel-opt span { flex: 1; min-width: 0; }
.sel-opt.active { background: var(--brand-50); color: var(--brand-800); }
.sel-opt[aria-selected="true"] { color: var(--brand-700); font-weight: 750; background: var(--brand-100); }
.sel-opt[aria-selected="true"].active { background: var(--brand-100); }
.sel-opt.ph { color: var(--muted); font-weight: 500; }
.sel-opt[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.sel-tick { flex: none; width: 16px; height: 16px; color: var(--brand-600); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.sel-opt[aria-selected="true"] .sel-tick { opacity: 1; transform: none; }
.sel-empty { padding: 14px 12px; color: var(--muted); font-size: .9rem; text-align: center; }

/* phones: options slide up from the bottom */
.sel-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(18, 6, 28, .45); opacity: 0; transition: opacity .25s; }
.sel-backdrop.show { opacity: 1; }
.sel-pop.sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 72vh; border-radius: 24px 24px 0 0; padding: 8px 12px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); border: 0; }
.sel-pop.sheet.show { transform: none; }
.sel-sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 6px 12px; flex: none; color: var(--ink); font-size: 1.05rem; }
.sel-sheet-head::before { content: ""; position: absolute; left: 50%; top: 4px; width: 42px; height: 5px; margin-left: -21px; border-radius: 9px; background: var(--line); }
.sel-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--brand-50); color: var(--brand-700); cursor: pointer; }
.sel-x svg { width: 18px; height: 18px; }
.sel-pop.sheet .sel-opt { padding: 14px; font-size: 1rem; }
.sel-pop.sheet .sel-search { margin: 0 0 8px; }
body.sel-locked { overflow: hidden; }
.search-inline .sel + .icon { position: static; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .sel-pop, .sel-backdrop, .sel-chev { transition: none; } }
.sel-search input::-webkit-search-cancel-button, .sel-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.sel-opt.ph[aria-selected="true"] { background: none; color: var(--muted); font-weight: 500; }
.sel-opt.ph[aria-selected="true"].active { background: var(--brand-50); }
.sel-opt.ph .sel-tick { display: none; }

/* ---------- Date picker (date.js) ---------- */
.dp { position: relative; display: block; width: 100%; min-width: 0; }
.dp > input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dp .dp-ic { flex: none; width: 18px; height: 18px; color: var(--brand-500); }
.dp.open .sel-btn { border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100); }
.dp-pop { padding: 12px; gap: 6px; }
.dp-pop.sheet { padding: 8px 14px calc(18px + env(safe-area-inset-bottom)); }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 2px 2px 6px; }
.dp-nav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--brand-50); color: var(--brand-700); cursor: pointer; transition: background .2s; }
.dp-nav:hover { background: var(--brand-100); }
.dp-nav svg { width: 18px; height: 18px; }
.dp-title { display: flex; gap: 4px; }
.dp-pick { border: 0; background: none; font: inherit; font-weight: 800; font-size: 1rem; color: var(--ink); padding: 6px 10px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.dp-pick:hover, .dp-pick.on { background: var(--brand-50); color: var(--brand-700); }
.dp-grid { display: grid; gap: 2px; }
.dp-days { grid-template-columns: repeat(7, 1fr); }
.dp-dow { display: grid; place-items: center; height: 30px; font-size: .74rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.dp-day, .dp-cell { position: relative; border: 0; background: none; font: inherit; font-weight: 600; color: var(--text); border-radius: 12px; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.dp-day { aspect-ratio: 1; min-height: 36px; font-size: .92rem; }
.dp-day:hover:not([disabled]), .dp-cell:hover:not([disabled]) { background: var(--brand-50); color: var(--brand-800); }
.dp-day.today { color: var(--brand-600); font-weight: 800; }
.dp-day.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.dp-day.chosen, .dp-cell.chosen { background: linear-gradient(140deg, var(--brand-600), var(--brand-800)) !important; color: #fff !important; font-weight: 800; box-shadow: 0 8px 16px -8px rgba(65, 22, 96, .7); }
.dp-day.chosen::after { background: #fff; }
.dp-day:focus-visible, .dp-cell:focus-visible, .dp-pick:focus-visible, .dp-nav:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 1px; }
.dp-day[disabled], .dp-cell[disabled] { color: #c9c2d2; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }
.dp-months { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dp-years { grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 252px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dp-cell { padding: 12px 4px; font-size: .92rem; }
.dp-cell.focus:not(.chosen) { background: var(--brand-50); }
.dp-time { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--brand-50); font-weight: 700; color: var(--ink); }
.dp-time span { margin-right: auto; }
.dp-time input { width: 64px; padding: 8px; border-radius: 10px; border: 1.5px solid var(--brand-200); background: #fff; font: inherit; font-weight: 700; text-align: center; }
.dp-time input:focus { outline: none; border-color: var(--brand-500); }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.dp-link { border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); padding: 6px 10px; border-radius: 10px; cursor: pointer; }
.dp-link:hover { background: var(--brand-50); color: var(--brand-700); }
.dp-link.strong { color: var(--brand-600); }
.dp-pop.sheet .dp-day { min-height: 44px; font-size: 1rem; }
.dp-day[disabled], .dp-cell[disabled] { text-decoration: none; color: #cfc8d8; }
.dp-pop.sheet { overflow-y: auto; max-height: 88vh; }
.dp-pop.sheet .dp-day { aspect-ratio: auto; height: 44px; min-height: 0; }
.dp-pop.sheet .dp-dow { height: 26px; }
.dp-pop.sheet .dp-head { padding-bottom: 2px; }
.dp-pop.sheet .sel-sheet-head { padding: 16px 4px 6px; }

/* ---------- Privacy Policy & Terms ---------- */
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.legal-doc { max-width: 760px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal-doc h2 { margin: 36px 0 10px; color: var(--ink); font-size: 1.3rem; letter-spacing: -.01em; }
.legal-doc h2:first-child, .legal-doc > p:first-child { margin-top: 0; }
.legal-doc h3 { margin: 24px 0 8px; color: var(--ink); font-size: 1.08rem; }
.legal-doc p { margin: 12px 0; }
.legal-doc ul, .legal-doc ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-doc strong { color: var(--ink); }
.legal-doc blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--brand, #411660); background: #faf7fd; border-radius: 0 12px 12px 0; }
.legal-side { position: sticky; top: 100px; }
/* Legal pages (redesign) */
.legal-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.legal-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; color: #cdbddc; font-size: .9rem; font-weight: 700; transition: background .25s, color .25s; }
.legal-tabs a .icon { width: 16px; height: 16px; }
.legal-tabs a:hover { color: #fff; }
.legal-tabs a.is-active { background: #fff; color: var(--brand-800); }
.legal-hero h1 { margin-top: 22px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: #bfaed1; font-size: .92rem; font-weight: 600; }
.legal-meta span { display: inline-flex; align-items: center; gap: 7px; }
.legal-meta .icon { width: 16px; height: 16px; color: var(--brand-300); }
.legal-section .legal-doc { max-width: none; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(33, 9, 51, .06); counter-reset: legal; }
.legal-section .legal-doc h2 { counter-increment: legal; display: flex; align-items: baseline; gap: 12px; scroll-margin-top: 110px; padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.legal-section .legal-doc h2::before { content: counter(legal, decimal-leading-zero); flex: none; font-size: .82rem; font-weight: 800; color: var(--brand-500); background: var(--brand-50); border-radius: 8px; padding: 3px 7px; letter-spacing: .02em; }
.legal-section .legal-doc > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-section .legal-doc > p:first-child { font-size: 1.08rem; color: var(--ink); }
.legal-section .legal-doc ul li::marker { color: var(--brand-400); }
.legal-section .legal-side { display: grid; gap: 16px; }
.legal-toc { padding: 20px 20px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; max-height: 52vh; overflow: auto; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-size: .76rem; font-weight: 800; color: var(--brand-300); padding-top: 2px; }
.legal-toc a:hover { background: var(--brand-50); color: var(--ink); }
.legal-toc a.is-active { background: var(--brand-50); color: var(--brand-800); }
.legal-toc a.is-active::before { color: var(--brand-600); }
.legal-print { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--brand-700); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.legal-print:hover { border-color: var(--brand-300); background: var(--brand-50); }
.legal-print .icon { width: 17px; height: 17px; }
@media print {
  .site-header, .site-footer, .topbar, .legal-side, .legal-tabs, .breadcrumb, .fab, .cta-section { display: none !important; }
  .page-hero.legal-hero { background: #fff !important; color: #000; padding: 0 0 12px; }
  .legal-hero h1 { color: #000; }
  .legal-meta { color: #333; }
  .legal-wrap { display: block; }
  .legal-section .legal-doc { border: 0; box-shadow: none; padding: 0; }
}

.legal-card { display: grid; gap: 10px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line, #ece6f2); box-shadow: 0 20px 40px -30px rgba(65, 22, 96, .35); }
.legal-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.legal-card a { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.legal-card a .icon { width: 18px; height: 18px; color: #7438a6; flex: none; }
.legal-card .legal-other { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line, #ece6f2); color: #7438a6; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-consent { font-size: .85rem; color: var(--muted); }
.legal-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-side { position: static; }
}
.footer-bottom .legal-links a { color: inherit; transition: color .2s; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.guide-card { --c: var(--brand-500); display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--muted);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.guide-card h3 { margin: 0; color: var(--ink); font-size: 1.12rem; line-height: 1.35; }
.guide-card p { margin: 0; font-size: .95rem; line-height: 1.6; flex: 1; }
.guide-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.guide-tag .icon { width: 14px; height: 14px; }
.guide-meta { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.guide-meta .icon { width: 15px; height: 15px; }
.guide-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--c); font-weight: 700; }
.guides-band { background: var(--brand-100, #f3ebfa); }
.guides-more { margin: 22px 0 0; text-align: center; }
.guides-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-600); }
.guide-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; opacity: .85; font-size: .92rem; }
.guide-byline .icon { width: 16px; height: 16px; }
.guide-doc h2 { scroll-margin-top: 100px; }

/* ---------- Typing & Travel online requests ---------- */
.ord-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.ord-hero h1 { max-width: 820px; }
.ord-section { padding-top: clamp(32px, 5vw, 56px); }
.ord-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ord-main { display: grid; gap: 20px; min-width: 0; }
.ord-form { display: grid; gap: 4px; }
.ord-form .form-grid { margin-top: 16px; }
.ord-step-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.15rem; margin: 26px 0 14px; }
.ord-step-title:first-of-type { margin-top: 6px; }
.ord-step-title > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-600, #56207d); color: #fff; font-size: .9rem; flex: none; }
.ord-step-title small { font-weight: 600; font-size: .8rem; color: var(--muted); }
.ord-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ord-type { position: relative; cursor: pointer; }
.ord-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ord-type span { display: flex; align-items: center; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .93rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.ord-type:hover span { border-color: var(--brand-300, #c4a0e0); transform: translateY(-1px); }
.ord-type input:checked + span { border-color: var(--brand-600, #56207d); background: var(--brand-50, #faf5ff); box-shadow: 0 0 0 4px var(--brand-100, #f3ebfa); }
.ord-type input:focus-visible + span { outline: 3px solid var(--brand-300, #c4a0e0); outline-offset: 2px; }
.ord-docs { display: grid; gap: 10px; }
.ord-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.ord-doc select, .ord-doc input[type=text], .ord-doc input:not([type]) { min-width: 0; width: 100%; padding: .75em .9em; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfafd; font: inherit; font-size: .92rem; }
.ord-file { display: flex; align-items: center; gap: 10px; min-width: 0; padding: .7em 1em; border-radius: 12px; border: 1.5px dashed var(--brand-200, #e1cdef); background: var(--brand-50, #faf5ff); color: var(--brand-700, #411660); font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s; }
.ord-file:hover { border-color: var(--brand-400, #9b5fc4); }
.ord-file.has-file { border-style: solid; background: #fff; }
.ord-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ord-file .icon { width: 18px; height: 18px; flex: none; }
.ord-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-file.wide { flex: 1 1 220px; }
.ord-form .consent { margin-top: 22px; }
.ord-submit { margin-top: 18px; justify-self: start; }
.ord-free { margin-top: 10px; }
.ord-aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.ord-card { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -32px rgba(65, 22, 96, .35); min-width: 0; }
.ord-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 12px; }
.ord-card h3 .icon { width: 20px; height: 20px; color: var(--brand-600, #56207d); }
.ord-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ord-steps li { display: flex; gap: 12px; align-items: flex-start; }
.ord-steps b { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50, #faf5ff); color: var(--brand-600, #56207d); flex: none; }
.ord-steps b .icon { width: 18px; height: 18px; }
.ord-steps span { display: grid; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.ord-steps strong { color: var(--ink); font-size: .93rem; }
.checklist.small li { font-size: .9rem; }
.ord-help { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ord-help p { flex: 1 1 100%; margin: 0 0 4px; font-weight: 700; }
.ord-find { max-width: 560px; margin: 0 auto; display: grid; }
.ord-progress { list-style: none; margin: 0; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-radius: 22px; background: #fff; border: 1px solid var(--line); counter-reset: s; }
.ord-progress li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); }
.ord-progress li::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 3px; border-radius: 3px; background: var(--line); }
.ord-progress li:first-child::before { display: none; }
.ord-progress li.done::before, .ord-progress li.now::before { background: var(--brand-500, #7438a6); }
.ord-progress b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f1edf5; color: var(--muted); font-size: .9rem; position: relative; z-index: 1; }
.ord-progress b .icon { width: 18px; height: 18px; }
.ord-progress .done b { background: var(--brand-600, #56207d); color: #fff; }
.ord-progress .now b { background: #fff; color: var(--brand-700, #411660); box-shadow: 0 0 0 3px var(--brand-500, #7438a6), 0 0 0 8px var(--brand-100, #f3ebfa); }
.ord-progress .now span, .ord-progress .done span { color: var(--ink); }
.ord-attn { display: flex; gap: 16px; align-items: flex-start; border-color: #f6d39b; background: #fffaf0; }
.ord-attn p { color: var(--ink); margin: 0 0 12px; }
.ord-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ord-ic.warn { background: #fde9c4; color: #9a5b06; }
.ord-ic .icon { width: 22px; height: 22px; }
.ord-pay { border: 2px solid var(--brand-200, #e1cdef); }
.ord-pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ord-pay-head small { display: block; color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.ord-pay-head strong { font-size: clamp(1.8rem, 5vw, 2.4rem); letter-spacing: -.03em; color: var(--ink); }
.ord-quote-note { margin: 10px 0 0; color: var(--muted); }
.ord-card-pay { display: grid; gap: 8px; margin-top: 18px; }
.ord-card-pay .btn { justify-content: center; }
.ord-card-pay small { display: flex; align-items: center; gap: 6px; font-size: .8rem; }
.ord-card-pay small .icon { width: 14px; height: 14px; }
.ord-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; font-weight: 650; margin: 16px 0 6px; }
.ord-or::before, .ord-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ord-bank { display: grid; gap: 8px; margin: 12px 0; padding: 14px 16px; border-radius: 14px; background: #faf8fc; }
.ord-bank div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.ord-bank dt { color: var(--muted); }
.ord-bank dd { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ord-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ord-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ord-files a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--brand-50, #faf5ff); color: var(--ink); font-weight: 700; transition: background .2s; }
.ord-files a:hover { background: var(--brand-100, #f3ebfa); }
.ord-files .icon { width: 20px; height: 20px; color: var(--brand-600, #56207d); flex: none; }
.ord-files small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.ord-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ord-tl li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.ord-tl li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.ord-tl .dot { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--brand-200, #e1cdef); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--brand-300, #c4a0e0); flex: none; }
.ord-tl li:first-child .dot { background: var(--brand-600, #56207d); }
.ord-tl p { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ord-tl small { color: var(--muted); font-size: .8rem; }
.ord-reply { display: grid; gap: 12px; }
.ord-reply h3 { margin-bottom: 0; }
.ord-reply .btn { justify-self: start; }
.ord-kv { display: grid; gap: 10px; margin: 0; }
.ord-kv div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.ord-kv dt { color: var(--muted); flex: none; }
.ord-kv dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.svc-order-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 960px) {
  .ord-wrap { grid-template-columns: 1fr; }
  .ord-aside { position: static; }
}
@media (max-width: 560px) {
  .ord-doc { grid-template-columns: 1fr; gap: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
  .ord-types { grid-template-columns: 1fr 1fr; }
  .ord-type span { min-height: 48px; padding: 10px 12px; font-size: .86rem; }
  .ord-progress { padding: 14px 8px; }
  .ord-progress li { font-size: .7rem; }
  .ord-card { padding: 18px; }
  .ord-submit { justify-self: stretch; justify-content: center; }
}
.svc-track-link { margin-top: 16px; }
.svc-track-link a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.svc-track-link .icon { width: 16px; height: 16px; }
.offer-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.offer-link .offer-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: .88rem; color: var(--c, #56207d); }
.offer-link .offer-go .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.offer-link:hover .offer-go .icon { transform: translateX(4px); }
.svc-order-card .checklist { margin: 18px 0 4px; }

/* ---------- Typing services catalogue ---------- */
.tc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; position: sticky; top: 84px; z-index: 5; padding: 10px 0; background: var(--bg, #faf8fc); }
.tc-tabs a { padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; transition: border-color .2s, color .2s; }
.tc-tabs a:hover { border-color: var(--brand-400, #9b5fc4); color: var(--brand-700, #411660); }
.tc-cat { padding-top: 28px; scroll-margin-top: 150px; }
.tc-cat-title { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 16px; letter-spacing: -.02em; }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.tc-card { position: relative; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tc-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -30px rgba(65, 22, 96, .5); border-color: var(--brand-200, #e1cdef); }
.tc-main { display: flex; flex-direction: column; height: 100%; padding: 22px; color: inherit; text-decoration: none; }
.tc-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-500, #7438a6), var(--brand-700, #411660)); color: #fff; margin-bottom: 14px; }
.tc-ic .icon { width: 24px; height: 24px; }
.tc-card h3 { font-size: 1.08rem; padding-right: 44px; }
.tc-card p { margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.tc-meta { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.tc-meta li { display: flex; align-items: center; gap: 5px; }
.tc-meta .icon { width: 15px; height: 15px; }
.tc-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tc-price { font-weight: 800; color: var(--ink); }
.tc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; color: var(--brand-600, #56207d); }
.tc-go .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tc-card:hover .tc-go .icon { transform: translateX(4px); }
.tc-wa { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e8f7ee; color: #128c4a; transition: background .2s, transform .2s; }
.tc-wa:hover { background: #d3f0df; transform: scale(1.05); }
.tc-wa svg { width: 20px; height: 20px; }
.tc-help { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.tc-help p { color: var(--muted); margin-top: 4px; }
/* document slots */
.td-list { display: grid; gap: 10px; }
.td-slot { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--brand-200, #e1cdef); background: #fbf8fd; cursor: pointer; transition: border-color .2s, background .2s; min-width: 0; }
.td-slot:hover { border-color: var(--brand-400, #9b5fc4); }
.td-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.td-slot:focus-within { outline: 3px solid var(--brand-200, #e1cdef); outline-offset: 2px; }
.td-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--brand-200, #e1cdef); color: transparent; background: #fff; flex: none; transition: all .25s; }
.td-check .icon { width: 16px; height: 16px; }
.td-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.td-text strong { font-size: .95rem; color: var(--ink); }
.td-text em { font-style: normal; font-weight: 600; font-size: .75rem; color: var(--muted); margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #f1edf5; }
.td-text small { color: var(--muted); font-size: .8rem; }
.td-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--brand-600, #56207d) !important; font-weight: 650; }
.td-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-100, #f3ebfa); color: var(--brand-700, #411660); flex: none; }
.td-btn .icon { width: 18px; height: 18px; }
.td-slot.has-file { border-style: solid; border-color: #9ed9b4; background: #f2fbf5; }
.td-slot.has-file .td-check { background: #16a34a; border-color: #16a34a; color: #fff; }
.td-slot.has-file .td-name { color: #15803d !important; }
.td-slot.has-error { border-color: #e5484d; background: #fff6f6; }
.td-slot.has-error .td-name { color: #c0262d !important; }
.td-summary h3 { font-size: 1.1rem; }
.ord-wa-nudge { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-color: #b7e6c9; background: #f3fbf6; }
.ord-wa-nudge p { flex: 1 1 220px; margin: 0; color: var(--ink); }
@media (max-width: 560px) {
  .tc-tabs { top: 70px; overflow-x: auto; flex-wrap: nowrap; margin: 0 -16px; padding: 10px 16px; }
  .tc-grid { grid-template-columns: 1fr; }
  .td-slot { padding: 12px; gap: 10px; }
  .td-btn { display: none; }
  .tc-help { padding: 20px; }
}
.ord-ic svg { width: 22px; height: 22px; }

/* ---------- Travel search (Travelpayouts widgets) ---------- */
.tr-search { background: linear-gradient(180deg, #fff, var(--bg, #faf8fc)); }
.tr-widgets { display: grid; gap: 20px; margin-top: 28px; }
.tr-widget { padding: clamp(16px, 3vw, 26px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -36px rgba(65, 22, 96, .45); min-width: 0; overflow: hidden; }
.tr-widget h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.tr-widget h3 .icon { width: 22px; height: 22px; color: var(--brand-600, #56207d); }
.tr-embed { min-height: 120px; max-width: 100%; overflow-x: auto; }
.tr-embed iframe, .tr-embed > div { max-width: 100% !important; }
.tr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.tr-note { margin-top: 16px; text-align: center; font-size: .82rem; color: var(--muted); }

/* Enquiry form result line */
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .93rem; font-weight: 600; line-height: 1.5; }
.form-status.is-ok { background: #ecfdf3; color: #146c43; border: 1px solid #b7ebcd; }
.form-status.is-error { background: #fef2f2; color: #b42318; border: 1px solid #fecdca; }
.form-card .form-actions { flex-wrap: wrap; }

/* Upload helper notes (upload.js) */
.up-note { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #146c43; }
.up-note.is-bad { color: #b42318; }

/* ---------- Sign in & track menu (main website) ---------- */
.acct-menu { position: relative; }
.acct-menu .acct-trigger { gap: 6px; padding: .55em 1em; border: 1.5px solid var(--brand-200, #e0cdf4); background: #fff; color: var(--brand-700); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.acct-menu .acct-trigger:hover, .acct-menu.open .acct-trigger { background: var(--brand-50); border-color: var(--brand-300, #c19ce6); color: var(--brand-700); }
.acct-menu .acct-trigger > .icon:first-child { width: 17px; height: 17px; }
.acct-trigger > .icon:last-child { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.acct-menu.open .acct-trigger > .icon:last-child { transform: rotate(180deg); }
.acct-mega { left: auto; right: 0; translate: none; width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px; transform-origin: top right; }
.acct-col { display: grid; gap: 2px; align-content: start; }
.acct-label { display: flex; align-items: center; gap: 8px; margin: 2px 8px 6px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acct-label .icon { width: 15px; height: 15px; }
.acct-mega a { padding: 10px; gap: 12px; align-items: center; }
.acct-mega a strong { display: block; color: var(--ink); font-size: .95rem; }
.acct-mega a small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.acct-mega .mega-icon { width: 38px; height: 38px; border-radius: 11px; }
.acct-mega .mega-icon .icon { width: 19px; height: 19px; }
.acct-note { margin: 6px 10px 2px; font-size: .78rem; color: var(--muted); }
.acct-drawer .drawer-links a span small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.drawer-label:has(.icon) { display: flex; align-items: center; gap: 7px; }
.drawer-label .icon { width: 14px; height: 14px; flex: none; }
.svc-drawer { display: grid; gap: 10px; padding: 14px 16px 6px; }
.svc-drawer .drawer-label { margin: 0 0 2px; padding: 0; }
.svc-drawer .btn { justify-content: center; }
.svc-primary { background: var(--c, var(--brand-700)); border-color: transparent; color: #fff; }
.svc-primary:hover { filter: brightness(1.08); color: #fff; }
.header-cta .lab-short { display: none; }
@media (max-width: 1280px) {
  .header-cta .svc-second .lab-long { display: none; } .header-cta .svc-second .lab-short { display: inline; }
  .site-header .nav > a, .site-header .nav-trigger { padding: 10px 11px; }
}
@media (max-width: 1080px) { .site-header:has(.svc-primary) .acct-trigger span, .site-header:has(.svc-primary) .acct-trigger > .icon:last-child { display: none; } }
@media (max-width: 920px) {
  .acct-mega { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; max-height: calc(100vh - 96px); overflow: auto; }
}
@media (max-width: 640px) {
  .acct-mega { grid-template-columns: 1fr; }
  .header-cta { gap: 6px; }
  .header-cta .svc-second { display: none; }
  .header-cta .svc-primary .lab-long { display: none; }
  .header-cta .svc-primary .lab-short { display: inline; }
  .acct-trigger { padding: .5em .75em; }
  .acct-trigger > .icon:last-child { display: none; }
  .site-header:has(.svc-primary) .acct-menu { display: none; }
}
@media (max-width: 339px) { .acct-trigger span { display: none; } }

/* ---------- Tadbeer portal: account button & phone menu ---------- */
.header-cta .portal-acct { display: inline-flex; white-space: nowrap; }
.portal-drawer-acct { display: grid; gap: 10px; margin: 8px 16px 4px; padding: 16px; border-radius: 18px; background: var(--brand-50, #faf7fd); border: 1px solid var(--line); }
.portal-drawer-acct p { margin: 0 0 2px; }
.portal-drawer-acct strong { display: block; color: var(--ink); }
.portal-drawer-acct small { display: block; color: var(--muted); font-size: .85rem; }
.portal-drawer-acct .btn { justify-content: center; }
@media (max-width: 1180px) { .site-header .nav > a { padding: 10px 10px; font-size: .92rem; } }
@media (max-width: 339px) { .header-cta .portal-acct span { display: none; } }
.header-cta .cl-signin, .header-cta .cl-open { display: inline-flex; white-space: nowrap; }
@media (max-width: 339px) { .header-cta .cl-signin span, .header-cta .cl-open span { display: none; } }
/* Each site's main action stays visible on phones (Send money, Get a quote) */
.header-cta .hdr-main { display: inline-flex; white-space: nowrap; }
@media (max-width: 380px) { .header-cta .hdr-main .icon { display: none; } .header-cta .hdr-main, .header-cta .portal-acct, .header-cta .cl-signin, .header-cta .acct-trigger { padding-left: .7em; padding-right: .7em; } }

/* ---------- Narrow phones: logo + one action + menu button always fit (all Qasem sites) ---------- */
@media (max-width: 480px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand img { width: 36px; height: auto; }
  .site-header .brand-name { font-size: 1.08rem; }
  .site-header .brand-sub { font-size: .5rem; letter-spacing: .12em; white-space: nowrap; }
  .site-header .header-cta { gap: 6px; flex: none; }
  .site-header .header-cta .btn { font-size: .82rem; padding: .5em .8em; gap: .35em; }
  .site-header .header-cta .btn .icon { width: 15px; height: 15px; }
  .site-header .menu-toggle { width: 42px; height: 42px; border-radius: 12px; }
}
@media (max-width: 380px) {
  .site-header .brand-sub { display: none; }
  .site-header .header-cta .btn { padding: .5em .7em; }
}
