/* =====================================================================
   Mynd-Tech Systems Ltd — site styles
   Brand colours (from the logo): navy #062654 · teal #00869E · grey #7E8892
   ===================================================================== */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-700.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #062654; --navy-2: #0B3470; --navy-3: #031838;
  --teal: #00869E; --teal-ink: #006F83; --teal-bright: #22B8CF; --teal-50: #E6F5F7;
  --grey: #7E8892; --ink: #0E1B2E; --ink-2: #4A5565; --line: #E2E7EE; --bg-alt: #F4F7FA;
  --wa: #25D366; --wa-ink: #073B1E;
  --r: 14px; --r-lg: 20px; --sh: 0 1px 2px rgba(6,38,84,.06), 0 8px 24px rgba(6,38,84,.08);
  --wrap: 1180px;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Inter Display", "Inter", system-ui, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition: none !important; animation: none !important } }
body { margin: 0; font-family: var(--f-body); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block }
a { color: var(--teal-ink); text-underline-offset: 3px }
a:hover { color: var(--navy) }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700 }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700 }
h3 { font-size: 1.15rem; font-weight: 600 }
p { margin: 0 0 1em }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200 }
.skip:focus { left: 8px }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 4px }
.ic { width: 1.25em; height: 1.25em; flex: none }
.muted { color: var(--ink-2) } .small { font-size: .875rem } .center { text-align: center; margin-top: 28px }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.3em; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; line-height: 1.2 }
.btn:hover { transform: translateY(-1px) }
.btn-lg { padding: .95em 1.6em; font-size: 1.03rem }
.btn-primary { background: var(--teal-ink); color: #fff } .btn-primary:hover { background: var(--navy); color: #fff }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff } .btn-outline:hover { background: var(--navy); color: #fff }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff } .btn-ghost-light:hover { background: #fff; color: var(--navy) }
.btn-wa { background: var(--wa); color: var(--wa-ink) } .btn-wa:hover { background: #1EBE5B; color: var(--wa-ink) }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy-3); color: #C9D3E3; font-size: .82rem }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px }
.topbar a { color: #fff; text-decoration: none } .topbar a:hover { text-decoration: underline; color: #fff }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line) }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px }
.brand img { width: 210px; height: auto }
.nav { display: flex; align-items: center; gap: 22px }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0 }
.nav > ul > li { position: relative; display: flex; align-items: center }
.nav > ul > li > a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; border-radius: 8px }
.nav > ul > li > a:hover { color: var(--teal-ink); background: var(--teal-50) }
.nav a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal) }
.sub-tg { background: none; border: 0; padding: 6px 4px 6px 0; margin-left: -8px; color: var(--ink-2); cursor: pointer; display: flex }
.sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); padding: 8px; margin: 0; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none }
.sub a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500 }
.sub a:hover { background: var(--teal-50); color: var(--navy) } .sub .ic { color: var(--teal) }
.menu-tg { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer }
.menu-tg .ic { width: 24px; height: 24px }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1000px 500px at 85% 20%, rgba(34,184,207,.18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #DCE5F2; overflow: hidden; position: relative }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%) }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 92px }
.hero h1 { color: #fff } .hero h1 span, .page-hero h1 span { color: var(--teal-bright) }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px }
.kicker.light { color: var(--teal-bright) }
.lead { font-size: 1.15rem; color: inherit; opacity: .92; max-width: 60ch }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #B9C6DA }
.hero-trust li { display: flex; align-items: center; gap: 8px } .hero-trust .ic { color: var(--teal-bright) }
.hero-art { position: relative; min-height: 420px }
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2) }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF1F5; border-bottom: 1px solid var(--line) }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7CED8 } .b-bar span { margin-left: 10px; font-size: .75rem; color: var(--ink-2); background: #fff; padding: 2px 12px; border-radius: 6px; flex: 1 }
.hero-art .browser { position: absolute; top: 10px; right: 0; width: 92% }
.kpi-card { position: absolute; left: 0; bottom: 4px; width: 270px; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 48px rgba(0,0,0,.35) }
.kc-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .9rem; margin-bottom: 8px } .kc-h .ic { color: var(--teal) }
.kc-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 4px 0; border-bottom: 1px solid var(--line) } .kc-row b { color: var(--navy) }
.kc-bars { display: flex; align-items: flex-end; gap: 7px; height: 54px; margin-top: 12px }
.kc-bars i { flex: 1; background: linear-gradient(var(--teal-bright), var(--teal)); border-radius: 4px 4px 0 0 }
.chat-card { position: absolute; right: 18px; bottom: -6px; display: flex; gap: 10px; align-items: center; background: #DCF8C6; color: #0B3B1E; padding: 12px 14px; border-radius: 14px; box-shadow: 0 18px 36px rgba(0,0,0,.3); font-size: .85rem; max-width: 280px }
.chat-card .ic { color: #128C7E; width: 28px; height: 28px } .chat-card b { display: block } .chat-card span { opacity: .8 }

/* ---------- strip ---------- */
.strip { background: var(--teal-ink); color: #fff }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; gap: 18px }
.strip-in div { display: flex; flex-direction: column; border-left: 2px solid rgba(255,255,255,.3); padding-left: 16px }
.strip-in b { font-family: var(--f-head); font-size: 1.7rem; line-height: 1.1 } .strip-in span { font-size: .88rem; opacity: .9 }

/* ---------- sections ---------- */
.sec { padding: 88px 0 } .sec.alt { background: var(--bg-alt) }
.sec-h { max-width: 720px; margin-bottom: 40px } .sec-h p:last-child { color: var(--ink-2) }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none; color: var(--ink); transition: .2s; position: relative }
.svc-card:hover { border-color: var(--teal); box-shadow: var(--sh); transform: translateY(-3px); color: var(--ink) }
.svc-card p { color: var(--ink-2); font-size: .95rem; flex: 1 }
.svc-ic { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-ink); margin-bottom: 16px }
.svc-ic .ic { width: 24px; height: 24px } .svc-ic.lg { width: 60px; height: 60px } .svc-ic.lg .ic { width: 30px; height: 30px }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-ink); font-size: .92rem }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px }
.checks li { display: flex; gap: 10px; align-items: flex-start } .checks .ic { color: var(--teal); margin-top: 3px }
.checks.two-col { grid-template-columns: 1fr 1fr; gap: 12px 24px }
.duo { display: grid; gap: 14px; align-items: center }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh) }
.duo-card p { color: var(--ink-2); margin: 0 } .duo-card.dark { background: var(--navy); border-color: var(--navy) } .duo-card.dark h3 { color: #fff } .duo-card.dark p { color: #C9D3E3 }
.duo-card.dark .svc-ic { background: rgba(34,184,207,.15); color: var(--teal-bright) }
.duo-plus { text-align: center; font: 700 2rem var(--f-head); color: var(--teal); line-height: 1 }

/* work */
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px }
.work-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: .2s }
.work-card:hover { box-shadow: var(--sh); transform: translateY(-3px); color: var(--ink) }
.work-card img { width: 100%; height: 230px; object-fit: cover; object-position: top } .work-card img.doc { object-fit: cover; object-position: top center; background: #fff; border-bottom: 1px solid var(--line) }
.work-card > div { padding: 20px 22px 24px } .work-card p { color: var(--ink-2); font-size: .94rem; margin: 0 }
.tag-sm { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: relative }
.steps li b { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; font-family: var(--f-head); margin-bottom: 14px }
.steps li p { color: var(--ink-2); font-size: .95rem; margin: 0 }
.vsteps { padding-left: 20px; margin: 0 } .vsteps li { margin-bottom: 12px; color: var(--ink-2) } .vsteps b { color: var(--navy) }
.ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px }
.ind div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-weight: 500 }
.ind .ic { color: var(--teal); width: 24px; height: 24px }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; padding: 0 20px }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center }
.faq summary::-webkit-details-marker { display: none } .faq summary .ic { transition: transform .2s; color: var(--teal) }
.faq details[open] summary .ic { transform: rotate(180deg) } .faq details p { color: var(--ink-2); padding-bottom: 6px }

/* cta band + footer */
.cta-band { background: linear-gradient(120deg, var(--teal-ink), var(--navy)); color: #E6EEF7 }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 52px; padding-bottom: 52px }
.cta-in h2 { color: #fff; margin-bottom: .3em } .cta-in p { margin: 0; opacity: .9 } .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none }
.site-footer { background: var(--navy-3); color: #B6C2D6; font-size: .94rem }
.ft { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 40px }
.ft-brand img { width: 230px; margin-bottom: 16px } .ft .tag { color: var(--teal-bright); font-weight: 600; letter-spacing: .04em }
.ft h3 { color: #fff; font-size: 1rem; margin-bottom: 14px } .ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px }
.ft a { color: #D7E0EE; text-decoration: none } .ft a:hover { color: #fff; text-decoration: underline }
.ft-c li { display: flex; gap: 10px; align-items: flex-start } .ft-c .ic { color: var(--teal-bright); margin-top: 3px }
.ft-b { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; font-size: .84rem }
.ft-b a { color: #D7E0EE }
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: var(--wa-ink); font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,.22) }
.wa-fab .ic { width: 24px; height: 24px } .wa-fab:hover { color: var(--wa-ink); background: #1EBE5B }

/* page hero */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #DCE5F2; padding: 56px 0 64px; position: relative; overflow: hidden }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(34,184,207,.25), transparent 65%) }
.page-hero .wrap { position: relative; z-index: 1 } .page-hero h1 { color: #fff; max-width: 22ch } .page-hero .kicker { color: var(--teal-bright) }
.crumbs { font-size: .85rem; margin-bottom: 22px; color: #9FB0C9 } .crumbs a { color: #D7E0EE; text-decoration: none } .crumbs a:hover { text-decoration: underline }

/* services overview */
.svc-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: center }
.svc-row:first-child { padding-top: 0 } .svc-row-h p { color: var(--ink-2) }
.svc-row-b { background: var(--bg-alt); border-radius: var(--r-lg); padding: 28px } .svc-row-b .checks { margin: 0 }
.note-card { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; background: var(--teal-50); border-radius: var(--r-lg); padding: 24px 26px }
.note-card > .ic { width: 32px; height: 32px; color: var(--teal-ink) } .note-card p { margin: 0; color: var(--ink-2) }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px } .offer-grid.four { grid-template-columns: repeat(4, 1fr) }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px } .offer p { color: var(--ink-2); font-size: .95rem; margin: 0 }
.sec.alt .offer { background: #fff }
.downloads { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh) }
.downloads p { color: var(--ink-2) }
.dl { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); margin-top: 10px; text-decoration: none; color: var(--ink) }
.dl:hover { border-color: var(--teal); background: var(--teal-50); color: var(--ink) } .dl .ic { color: var(--teal-ink); width: 26px; height: 26px }
.dl b { display: block; color: var(--navy) } .dl small { color: var(--ink-2) }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.mod { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--r); padding: 24px }
.mod span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink) } .mod p { color: var(--ink-2); font-size: .95rem; margin: 0 }

/* work page */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line) }
.case:first-child { padding-top: 0 } .case:last-child { border-bottom: 0 }
.case.rev .case-media { order: 2 }
.case-media { position: relative } .case .browser { box-shadow: var(--sh) }
.phone-shot { position: absolute; right: -10px; bottom: -30px; width: 150px; border-radius: 22px; border: 6px solid var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.25) }
.doc-shot { width: 78%; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--sh) }
.case-body h3 { font-size: 1rem; margin-top: 18px } .case-body p { color: var(--ink-2) }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 22px }
.stats div { background: var(--bg-alt); border-radius: var(--r); padding: 14px } .stats b { display: block; font: 700 1.35rem var(--f-head); color: var(--navy) } .stats span { font-size: .83rem; color: var(--ink-2) }

/* about */
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh) }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line) } .facts div:last-child { border-bottom: 0 }
.facts span { color: var(--ink-2) } .facts b { color: var(--navy); text-align: right }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start }
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh); scroll-margin-top: 110px }
.qform label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 16px }
.qform input, .qform select, .qform textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1.5px solid #CBD3DE; border-radius: 10px; background: #fff; min-height: 48px }
.qform input:focus, .qform select:focus, .qform textarea:focus { border-color: var(--teal); outline: 3px solid rgba(0,134,158,.15) }
.qform [aria-invalid="true"] { border-color: #C53030 }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.fbtns { display: flex; flex-wrap: wrap; gap: 12px }
.form-err { color: #B42318; font-weight: 600 } .form-ok { margin-top: 16px; background: #E8F7EE; border: 1px solid #A7DCBC; color: #0B5730; padding: 12px 14px; border-radius: 10px }
.cinfo { background: var(--bg-alt); border-radius: var(--r-lg); padding: 30px }
.clist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px }
.clist li { display: flex; gap: 14px; align-items: flex-start } .clist .ic { width: 24px; height: 24px; color: var(--teal-ink); margin-top: 2px }
.clist span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 600 }
.clist a { font-weight: 600; color: var(--navy); text-decoration: none } .clist a:hover { text-decoration: underline }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #E5E9EF }
.map iframe { width: 100%; height: 100%; border: 0 }
.prose { max-width: 760px } .prose h2 { font-size: 1.35rem; margin-top: 1.6em }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid, .modules { grid-template-columns: 1fr 1fr } .work-grid { grid-template-columns: 1fr 1fr } .work-grid .work-card:first-child { grid-column: 1 / -1 }
  .ft { grid-template-columns: 1fr 1fr } .offer-grid.four { grid-template-columns: 1fr 1fr } .ind { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 980px) {
  .menu-tg { display: inline-flex }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(88vw, 360px); background: #fff; flex-direction: column; align-items: stretch; padding: 84px 20px 24px; gap: 14px;
    transform: translateX(100%); transition: transform .25s; box-shadow: -20px 0 40px rgba(0,0,0,.15); overflow-y: auto; z-index: 99 }
  .nav.open { transform: none }
  .nav > ul { flex-direction: column; gap: 0 } .nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line) } .nav > ul > li > a { padding: 14px 6px; flex: 1; font-size: 1.05rem }
  .sub-tg { padding: 12px; margin: 0 } .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; width: 100%; display: none }
  .has-sub.open .sub { display: block } .has-sub:hover .sub { display: none } .has-sub.open:hover .sub { display: block }
  .menu-tg { position: relative; z-index: 101 }
  body.nav-open { overflow: hidden }
  .hero-in, .two, .case, .contact-grid, .svc-row { grid-template-columns: 1fr; gap: 36px }
  .case.rev .case-media { order: 0 } .hero-art { min-height: 360px; max-width: 560px }
  .strip-in { grid-template-columns: 1fr 1fr } .steps { grid-template-columns: 1fr 1fr } .offer-grid { grid-template-columns: 1fr 1fr }
  .cta-in { flex-direction: column; align-items: flex-start }
}
@media (max-width: 640px) {
  body { font-size: 16px } .sec { padding: 60px 0 } .hero-in { padding-top: 48px; padding-bottom: 64px }
  .topbar span:first-child { display: none } .topbar .wrap { justify-content: center }
  .brand img { width: 168px } .hd { min-height: 66px }
  .svc-grid, .modules, .work-grid, .steps, .offer-grid, .offer-grid.four, .ind, .checks.two-col, .frow, .stats { grid-template-columns: 1fr }
  .ft { grid-template-columns: 1fr; gap: 28px } .strip-in { grid-template-columns: 1fr 1fr } .strip-in b { font-size: 1.4rem }
  .hero-art { min-height: 300px } .kpi-card { width: 220px; padding: 12px 14px } .chat-card { display: none }
  .phone-shot { width: 110px; right: 0; bottom: -20px } .doc-shot { width: 92% }
  .qform { padding: 22px } .wa-fab span { display: none } .wa-fab { padding: 14px }
  .btn-lg { width: 100% } .hero-btns .btn { flex: 1 1 100% }
}
@media (max-width: 980px) {
  body.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(3,24,56,.5); z-index: 98 }
  .sub { white-space: normal }
  .has-sub.open .sub-tg .ic { transform: rotate(180deg) }
}
