/* ==========================================================
   CORPORATE THEME by NovaSonic Global
   VOICE   : confident, clear, professional
   IDEA    : a company profile brochure, crisp and structured
   PICTURE : live dashboard mockup on a dark, glowing hero
   COLOUR  : cobalt brand, white ground, sharp coral accent
   TYPE    : Space Grotesk (headings) + Inter (body)
   LAYOUT  : full-width bands, 1200px content, stacks under 760px

   >>> CLIENT KE LIYE SIRF YE VARIABLES BADLEIN (brand colors) <<<
   ========================================================== */
:root {
  --brand: #1240e0;        /* main color   */
  --brand-dark: #0b2a9c;   /* hover/deep   */
  --accent: #ff5a3c;       /* buttons/CTA  */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --max: 1200px;

  color-scheme: light dark;
  --bg: light-dark(#ffffff, #0a0d18);
  --bg-soft: light-dark(#eef2ff, #121831);
  --card: light-dark(#ffffff, #151c36);
  --ink: light-dark(#0f172a, #eef1fb);
  --muted: light-dark(#4b5568, #a9b1c8);
  --line: light-dark(#dfe4f2, #26304f);
  --brand-ink: light-dark(var(--brand), color-mix(in srgb, var(--brand) 45%, #fff)); /* brand color for text */
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);
  --night: #070b1a;        /* dark sections (hero, footer) */
  --on-brand: #ffffff;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
}
:root[data-theme=light] { color-scheme: light }
:root[data-theme=dark] { color-scheme: dark }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 80px }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); overflow-x: clip }
img, svg { max-width: 100%; display: block }
a { color: var(--brand-ink) }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em }
h3 { font-size: 20px }
p { margin: 0 0 1em }
.container { width: min(var(--max), 100% - 2 * max(5vw, 16px)); margin-inline: auto }
.band { padding-block: clamp(56px, 8vw, 104px) }
.band.soft { background: var(--bg-soft) }
.band.brand { background: var(--brand); color: var(--on-brand) }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch }
.band.brand .lead { color: rgba(255, 255, 255, .85) }
.section-head { max-width: 680px; margin-bottom: 44px }
.section-head.center { margin-inline: auto; text-align: center }
.section-head.center .lead { margin-inline: auto }
.kicker { display: inline-block; font-weight: 600; font-size: 14px; color: var(--accent); margin-bottom: 10px }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100 }
.skip:focus { left: 8px }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s }
.btn:hover { transform: translateY(-2px) }
.btn-primary { background: var(--accent); color: #fff !important }
.btn-primary:hover { background: var(--accent-hover) }
.btn-outline { border-color: currentColor; color: var(--ink) !important; background: transparent }
.band.brand .btn-outline { color: #fff !important }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s }
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(15, 23, 42, .3) }
.nav { transition: min-height .25s }
.site-header.scrolled .nav { min-height: 62px }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px }
.logo { display: flex; align-items: center; gap: 10px; font: 700 21px var(--font-head); color: var(--ink) !important; text-decoration: none }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; flex: none }
.logo-mark svg { width: 100%; height: 100% }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0 }
.menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink) !important; text-decoration: none; font-weight: 500 }
.menu a:hover { background: var(--bg-soft) }
.menu a.btn-primary { color: #fff !important }
.menu a.btn-primary:hover { background: var(--accent-hover) }
.menu a[aria-current=page] { color: var(--brand-ink) !important; font-weight: 600 }
.menu .btn { display: inline-flex; margin-left: 8px; padding: 0 20px }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .2s }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0 }
.menu-toggle span::before { top: -6px }
.menu-toggle span::after { top: 6px }
.menu-toggle[aria-expanded=true] span { background: transparent }
.menu-toggle[aria-expanded=true] span::before { top: 0; transform: rotate(45deg) }
.menu-toggle[aria-expanded=true] span::after { top: 0; transform: rotate(-45deg) }

@media (max-width: 1080px) {
  .menu-toggle { display: block }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px max(5vw, 16px) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none }
  .menu.open { display: flex }
  .menu a { padding: 14px 12px }
  .menu .btn { display: flex; margin: 8px 0 0 }
}

/* ---------- Hero (see Premium hero below) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px); background: var(--night); color: #fff; isolation: isolate }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), radial-gradient(400px 260px at 10% 120%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%) }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent) }
.page-hero .lead, .page-hero .meta, .page-hero .author small { color: #b9c1d9 }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px }
.crumbs a { color: var(--muted) !important }
.page-hero .crumbs, .page-hero .crumbs a { color: #b9c1d9 !important }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.card p { color: var(--muted); margin: 0 }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; text-decoration: none; color: var(--brand-ink) }
.more svg { width: 18px; height: 18px; transition: transform .2s }
.more:hover svg, .post-link:hover .more svg { transform: translateX(4px) }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 18px }
.icon svg { width: 26px; height: 26px }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px }
.checks li { display: flex; gap: 12px; align-items: flex-start }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-top: 1px }
.panel { background: var(--brand); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px }
.panel .stat strong { display: block; font: 700 clamp(34px, 4vw, 46px)/1 var(--font-head) }
.panel .stat span { opacity: .85 }

/* ---------- Steps ---------- */
.steps { counter-reset: step }
.step { position: relative; padding-top: 56px }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brand-ink); color: var(--brand-ink); font: 700 17px var(--font-head); display: grid; place-items: center }
.step p { color: var(--muted) }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 20px }
.quote blockquote { margin: 0; font-size: 17px; color: var(--ink) }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none }
.who small { display: block; color: var(--muted) }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; text-align: center }

/* ---------- Team ---------- */
.member { text-align: center }
.member .avatar { width: 88px; height: 88px; font-size: 28px; margin: 0 auto 16px }
.member h3 { margin-bottom: 4px }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; min-height: 44px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brand); transition: transform .2s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0 }

/* ---------- Pricing ---------- */
.price { display: flex; flex-direction: column; gap: 16px }
.price .amount { font: 700 38px/1 var(--font-head); white-space: nowrap }
.price .amount small { font: 400 15px var(--font-body); color: var(--muted) }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted) }
.price ul li::before { content: "✓  "; color: var(--brand); font-weight: 700 }
.price .btn { margin-top: auto }
.price.featured { border: 2px solid var(--brand); position: relative }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px }

/* ---------- CTA ---------- */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px }
.cta h2 { margin: 0 }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 16px var(--font-body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px }
.field textarea { min-height: 140px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent) }
.field .err { display: none; color: #d92d20; font-size: 14px; margin-top: 4px }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d92d20 }
.field.invalid .err { display: block }
.req { color: #d92d20 }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; background: #e7f8ee; color: #0a6b35; font-weight: 500 }
.form-msg.show { display: block }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px }
.info-list li { display: flex; gap: 14px; align-items: flex-start }
.info-list .icon { margin: 0; flex: none }
.info-list strong { display: block }
.info-list span, .info-list a { color: var(--muted); overflow-wrap: anywhere }
.nowrap { white-space: nowrap }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #b8c0d8; padding-block: 64px 28px }
.site-footer a { color: #b8c0d8 !important; text-decoration: none }
.site-footer a:hover { color: #fff !important }
.site-footer .logo { color: #fff !important }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px }
.foot-h { color: #fff; font-size: 16px; margin-bottom: 16px }
.foot-about { margin: 16px 0 20px; max-width: 34ch }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #26304f; margin-top: 48px; padding-top: 24px; font-size: 14px }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 60; transition: transform .2s }
.wa:hover { transform: scale(1.08) }
.wa svg { width: 30px; height: 30px; fill: #fff }


/* ---------- Utilities ---------- */
.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 }
.narrow { max-width: 820px }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: #c9d0e4; font-size: 14px }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 24px }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; color: #c9d0e4 !important; text-decoration: none }
.topbar-info a:hover { color: #fff !important }
.topbar svg { width: 15px; height: 15px; flex: none }
.social { display: flex; gap: 8px }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: inherit !important; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s }
.social a:hover { background: var(--brand); color: #fff !important; transform: translateY(-2px) }
.social svg { width: 16px; height: 16px }
.topbar .social a { width: 30px; height: 30px; background: transparent }
.site-footer .social a { width: 40px; height: 40px }

/* ---------- Section head with button ---------- */
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 44px }
.section-head-row .section-head { margin-bottom: 0 }

/* ---------- Case studies ---------- */
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.case-art { aspect-ratio: 16 / 9 }
.case-art svg { width: 100%; height: 100% }
.c1 { background: linear-gradient(135deg, #ff8a6b, #ff5a3c) }
.c2 { background: linear-gradient(135deg, #34d399, #0f9f6e) }
.c3 { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 60%, #fff), var(--brand)) }
.c4 { background: linear-gradient(135deg, #fbbf24, #f59e0b) }
.c5 { background: linear-gradient(135deg, #7dd3fc, #0284c7) }
.c6 { background: linear-gradient(135deg, #a5b4fc, #4f46e5) }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.case-body h3 { margin: 4px 0 0 }
.case-body p { color: var(--muted); margin: 0 }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px }
.case-result { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px }
.case-result strong { font: 700 22px var(--font-head); color: var(--ink); margin-right: 6px; white-space: nowrap }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; transition: .2s }
.chip:hover { border-color: var(--brand) }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff }
.case[hidden] { display: none }
.empty { text-align: center; color: var(--muted); padding: 40px 0 }

/* ---------- Blog ---------- */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.post-link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none }
.post-art { aspect-ratio: 16 / 9; position: relative; overflow: hidden }
.post-art::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -12%; bottom: -30%; background: rgba(255, 255, 255, .18) }
.post-art::before { content: ""; position: absolute; width: 30%; aspect-ratio: 1; border-radius: 24%; left: 10%; top: 18%; background: rgba(255, 255, 255, .22); transform: rotate(12deg) }
.p1 { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #fff)) }
.p2 { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)) }
.p3 { background: linear-gradient(135deg, #0f9f6e, #6ee7b7) }
.p4 { background: linear-gradient(135deg, #f59e0b, #fde68a) }
.p5 { background: linear-gradient(135deg, #0284c7, #7dd3fc) }
.p6 { background: linear-gradient(135deg, #4f46e5, #c4b5fd) }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.post-body h2, .post-body h3 { margin: 0 }
.post-body p { color: var(--muted); margin: 0 }
.meta { font-size: 14px; color: var(--muted) }
.featured-post .post-link { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) }
.featured-post .post-art { aspect-ratio: auto; min-height: 300px }
.featured-post .post-body { padding: clamp(24px, 4vw, 48px); justify-content: center; gap: 14px }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px }
.pager a { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink) !important; font-weight: 600 }
.pager a:hover { border-color: var(--brand) }
.pager a[aria-current=page] { background: var(--brand); border-color: var(--brand); color: #fff !important }
.pager svg { width: 16px; height: 16px }

/* ---------- Article ---------- */
.author { display: flex; align-items: center; gap: 12px; margin-top: 20px }
.author small { display: block; color: var(--muted) }
.page-hero .meta { display: block; margin-bottom: 10px }
.hero-img { border-radius: var(--radius); margin-bottom: 40px; aspect-ratio: 21 / 9 }
.prose { font-size: 17px; line-height: 1.75 }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.8em 0 .5em }
.prose ul { padding-left: 1.2em; margin: 0 0 1em }
.prose li { margin-bottom: .4em }
.prose blockquote { margin: 1.8em 0; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font: 600 20px/1.5 var(--font-head) }
.callout { padding: 16px 20px; border-radius: 10px; background: light-dark(#fff7e6, #2a2110); border: 1px solid light-dark(#f5d48a, #5c4716); font-size: 15px }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600 }
.share .social a { background: var(--bg-soft); color: var(--ink) !important }
.share .social a:hover { background: var(--brand); color: #fff !important }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 8px }
.newsletter input { flex: 1; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid #26304f; background: #121831; color: #fff; font: 16px var(--font-body) }
.newsletter input::placeholder { color: #8891ab }
.newsletter input:focus { outline: none; border-color: color-mix(in srgb, var(--brand) 45%, #fff) }
.newsletter .btn { width: 48px; padding: 0; flex: none }
.newsletter .btn svg { width: 20px; height: 20px }
.nl-msg { min-height: 1.5em; font-size: 14px; margin: 8px 0 0 }
.nl-msg.err { color: #ff8a7a }
.nl-msg.ok { color: #6ee7b7 }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 26px; bottom: 90px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s }
.to-top.show { opacity: 1; visibility: visible; transform: none }
.to-top svg { width: 20px; height: 20px }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center }
.nf-code { font: 700 clamp(96px, 18vw, 180px)/1 var(--font-head); background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px }

@media (max-width: 760px) {
  .featured-post .post-link { grid-template-columns: minmax(0, 1fr) }
  .featured-post .post-art { min-height: 200px }
  .hide-sm { display: none !important }
  .topbar .social { display: none }
  .site-footer { padding-bottom: 150px }
}
@media (max-width: 420px) {
  .topbar-info a[href^="mailto"] { display: none }
}


/* ---------- Premium hero ---------- */
.hero-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px) }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 420px at 80% 10%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 70%),
  radial-gradient(500px 320px at 0% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%) }
.hero-glow::after { content: ""; position: absolute; inset: 0; 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 60% 30%, #000 20%, transparent 75%) }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); align-items: center }
.hero-copy h1 { color: #fff; margin: 20px 0 18px; font-size: clamp(36px, 5vw, 58px) }
.hero-copy .lead { color: #c3cae0 }
.hero-copy .btn-row { margin-top: 32px }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; color: #e3e7f5 }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2) }
.btn svg { width: 18px; height: 18px }
.btn-ghost { color: #fff !important; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22) }
.btn-ghost:hover { background: rgba(255,255,255,.16) }
.trust { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: #aab3cc; font-size: 14px }
.trust strong { display: block; font: 700 30px var(--font-head); color: #fff }

/* dashboard mockup */
.mock-wrap { position: relative; padding: 24px 0 }
.mock { background: #fff; color: #0f172a; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transform-origin: left center }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4fb; border-bottom: 1px solid #e3e8f4 }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe9 }
.mock-bar i:first-child { background: #ff6b5c } .mock-bar i:nth-child(2) { background: #ffbd2e } .mock-bar i:nth-child(3) { background: #28c940 }
.mock-bar span { margin-left: 12px; font-size: 12px; color: #6b7590; background: #fff; padding: 3px 12px; border-radius: 6px }
.mock-body { display: grid; grid-template-columns: 56px minmax(0, 1fr) }
.mock-side { background: #f7f9fd; border-right: 1px solid #e9edf6; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px }
.mock-side b { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); margin-bottom: 6px }
.mock-side span { width: 22px; height: 6px; border-radius: 3px; background: #dde3f0 }
.mock-side span.on { background: var(--brand) }
.mock-main { padding: 16px; display: grid; gap: 12px }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.kpi { border: 1px solid #e9edf6; border-radius: 10px; padding: 10px 12px }
.kpi small { display: block; font-size: 11px; color: #6b7590 }
.kpi strong { display: block; font: 700 18px var(--font-head); margin: 2px 0; white-space: nowrap }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600 }
.kpi em.up { color: #0f9f6e }
.mock-chart { border: 1px solid #e9edf6; border-radius: 10px; padding: 10px 12px 6px }
.mock-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #6b7590; margin-bottom: 4px }
.legend { display: inline-flex; align-items: center; gap: 6px }
.legend i { width: 10px; height: 3px; border-radius: 2px; background: var(--brand) }
.mock-chart svg { width: 100%; height: 110px }
.mock-chart .grid-lines line { stroke: #eef1f7; stroke-width: 1 }
.mc-line { stroke: var(--brand); stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s .4s ease forwards }
@keyframes draw { to { stroke-dashoffset: 0 } }
.mock-rows { display: grid; gap: 8px }
.mock-rows div { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #e9edf6; border-radius: 10px; padding: 8px 10px }
.mock-rows .av { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center }
.mock-rows .av.alt { background: var(--accent) }
.mock-rows b { height: 7px; border-radius: 4px; background: #e3e8f4 }
.mock-rows em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #0f7a4e }
.mock-rows em.mid { background: #fef3c7; color: #92600a }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; color: #0f172a; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); animation: floaty 6s ease-in-out infinite }
.float-card strong { display: block; font: 700 16px var(--font-head) }
.float-card small { color: #6b7590; font-size: 12px; white-space: nowrap }
.fc-1 { left: -28px; bottom: 6px }
.fc-2 { right: -12px; top: -4px; animation-delay: -3s }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); display: grid; place-items: center }
.fc-icon svg { width: 20px; height: 20px }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent) }
@keyframes floaty { 50% { transform: translateY(-8px) } }

/* ---------- Client logos marquee ---------- */
.logos { padding-block: 36px; border-bottom: 1px solid var(--line); background: var(--bg) }
.logos-label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 32s linear infinite }
.marquee:hover .marquee-track { animation-play-state: paused }
.lg { display: inline-flex; align-items: center; gap: 10px; font: 700 22px var(--font-head); color: var(--ink); opacity: .55; white-space: nowrap; transition: opacity .2s }
.lg:hover { opacity: .9 }
.lg svg { width: 26px; height: 26px; fill: currentColor }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)) } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.bento-card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 28px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)) }
.bento-card p { color: var(--muted); margin: 0 }
.bento-card .more { margin-top: auto; padding-top: 18px }
.b-feature { grid-row: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--card)), var(--card) 60%) }
.b-feature h3 { font-size: 26px }
.mini-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px }
.mini-list li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--brand-ink) }
.b-art { margin-top: 24px; margin-bottom: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); padding: 14px; box-shadow: var(--shadow) }
.b-win { display: flex; gap: 5px; margin-bottom: 14px }
.b-win i { width: 8px; height: 8px; border-radius: 50%; background: var(--line) }
.b-lines { display: grid; gap: 8px }
.b-lines b { height: 8px; border-radius: 4px; background: var(--bg-soft) }
.b-lines b:first-child { background: color-mix(in srgb, var(--brand) 30%, var(--bg-soft)) }
.b-btn { width: 90px; height: 24px; border-radius: 999px; background: var(--accent); margin-top: 14px }
.b-dark { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; background: var(--night); border-color: var(--night); color: #fff }
.b-dark .icon { margin: 0; grid-row: span 2 }
.b-dark h3 { margin: 0; align-self: end }
.b-dark p { grid-column: 2; align-self: start }
.b-dark .more { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0 }
.b-dark p { color: #b9c1d9 }
.b-dark .icon { background: rgba(255,255,255,.08); color: #fff }
.b-dark .more { color: #fff }

/* ---------- Testimonial slider ---------- */
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px }
.slider::-webkit-scrollbar { display: none }
.slide { scroll-snap-align: start; margin: 0 }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px }
.quote-card blockquote { margin: 0; font-size: 17px }
.stars { color: #f5b301; letter-spacing: 2px }
.avatar.alt { background: var(--accent) }
.slider-nav { display: flex; gap: 10px }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .2s }
.round-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff }
.round-btn svg { width: 20px; height: 20px }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .b-feature { grid-row: auto; grid-column: span 2 }
  .slider { grid-auto-columns: calc((100% - 24px) / 2) }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) }
  .mock-wrap { max-width: 620px; margin-inline: auto; width: 100% }
  .mock { transform: none }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr) }
  .b-feature { grid-column: auto }
  .b-dark { display: flex; flex-direction: column; align-items: flex-start }
  .b-dark .icon { margin-bottom: 18px }
  .b-dark h3 { margin-bottom: .5em }
  .b-dark .more { margin-top: 18px }
  .slider { grid-auto-columns: 88% }
  .hide-xs { display: none }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .mock-body { grid-template-columns: minmax(0, 1fr) }
  .mock-side { display: none }
  .fc-1 { left: -6px; bottom: -10px }
  .fc-2 { right: -6px; top: 0 }
  .float-card { padding: 10px 12px }
  .marquee-track { gap: 40px }
  .lg { font-size: 18px }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease }
.js .reveal.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .js .reveal { opacity: 1; transform: none; transition: none }
  .btn, .card, .wa, .case, .post, .to-top, .social a, .bento-card { transition: none }
  .marquee-track, .float-card { animation: none }
  .mc-line { animation: none; stroke-dashoffset: 0 }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 760px) {
  .hero-grid, .split, .g-2 { grid-template-columns: minmax(0, 1fr) }
  .form .row { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 560px) {
  .g-3, .g-4, .foot-grid { grid-template-columns: minmax(0, 1fr) }
  .btn-row .btn { flex: 1 1 100% }
  .card { padding: 22px }
}
