/* Klinikaime promo site — implements design frame 11a (Klinikaime Redesign.dc.html) */

:root {
  --blue: #0447FC;
  --blue-dark: #0338d1;
  --ink: #0b0f1a;
  --dark: #0f1524;
  --text: #374151;
  --muted: #6b7280;
  --body: #4b5563;
  --border: #d7dce3;
  --border-soft: #e8ebef;
  --row-line: #eef0f3;
  --bg-subtle: #fbfcfd;
  --bg-head: #f7f8fa;
  --green: #059669;
  --footer-text: #8b96ad;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Top info bar ---------- */
.topbar { background: var(--dark); font-size: 12px; color: var(--footer-text); }
.topbar .wrap { min-height: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 5px; padding-bottom: 5px; }
.topbar .ver { font-family: ui-monospace, Menlo, monospace; color: #c8d0e0; }
.topbar a { color: #7d9bfa; }
.topbar .spacer { flex: 1; }

/* Cloud-deprecation notice banner (site-wide, above the top bar) */
.depr-banner { background: #92400e; color: #fff; font-size: 12.5px; }
.depr-banner .wrap { min-height: 34px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.depr-banner > .wrap > .ms { font-size: 18px; color: #fdba74; flex: none; }
.depr-banner .depr-text { flex: 1; min-width: 220px; line-height: 1.45; color: #fde9d6; }
.depr-banner .depr-text b { font-weight: 700; color: #fff; }
.depr-banner .depr-cta { display: inline-flex; align-items: center; gap: 3px; color: #fff; font-weight: 700; white-space: nowrap; }
.depr-banner .depr-cta .ms { font-size: 15px; color: #fff; }
.depr-banner .depr-cta:hover { text-decoration: underline; }
@media (max-width: 640px) { .depr-banner { font-size: 11.5px; } .depr-banner .depr-text { min-width: 0; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav .wrap { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 28px; height: 28px; border-radius: 6px; background: var(--blue); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.brand .name { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.brand .tag { font-size: 10.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 3px; padding: 2px 6px; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 3px; }
.nav-dropdown-toggle .ms { font-size: 17px; transition: transform .18s ease; }
.nav-dropdown:hover .nav-dropdown-toggle .ms, .nav-dropdown:focus-within .nav-dropdown-toggle .ms { transform: rotate(180deg); }
.nav-mega { position: absolute; top: calc(100% + 19px); left: 50%; z-index: 60; width: 620px; padding: 24px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none; background: #fff; border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 18px 34px rgba(15, 21, 36, .16); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.nav-dropdown:hover .nav-mega, .nav-dropdown:focus-within .nav-mega { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
/* Invisible hover bridge over the gap between toggle and menu — keeps :hover alive while the cursor crosses it. */
.nav-mega::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
.nav-mega > p { margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nav-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 18px; }
.nav-links .nav-mega-grid a { min-height: 46px; padding: 8px; display: flex; align-items: center; gap: 10px; border-radius: 4px; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.nav-links .nav-mega-grid a:hover { background: #f4f7fe; color: var(--blue); }
.nav-mega-grid .ms { color: var(--blue); font-size: 21px; }
.nav-links .nav-mega-all { margin: 15px 8px 0; display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13px; font-weight: 800; }
.nav-mega-all .ms { font-size: 16px; }
.nav .spacer { display: none; }
.nav .btn { justify-self: end; }
.nav-cta { display: flex; align-items: center; gap: 8px; justify-self: end; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 4px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--border); color: #1f2937; font-weight: 600; }
.btn-outline:hover { border-color: #b6bfcb; color: #1f2937; }
.btn-outline-blue { background: #fff; border: 1px solid var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: #f4f7fe; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 12.5px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14px; }
.btn-table { height: 32px; padding: 0 14px; font-size: 11.5px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--border); }
.hero .wrap { padding-top: 60px; padding-bottom: 56px; display: grid; grid-template-columns: 460px 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.hero .lead { font-size: 15px; line-height: 1.65; color: var(--body); margin-top: 15px; }
.hero .checks { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; font-size: 13.5px; color: var(--text); }
.hero .checks span { display: flex; gap: 9px; align-items: center; }
.hero .checks .ms { font-size: 17px; color: var(--blue); }
.hero .cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero .note { margin-top: 15px; font-size: 12px; color: var(--muted); }

/* App window frame + screenshot slots */
.frame { overflow: hidden; background: var(--dark); border: 1px solid #cbd2dc; border-radius: 8px; box-shadow: 0 8px 22px rgba(15, 21, 36, .12); }
.frame .chrome { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 7px; }
.frame .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #3a4358; }
.frame .chrome .title { font-size: 10px; color: var(--footer-text); margin-left: 5px; font-style: normal; }
.shot { position: relative; overflow: hidden; background: #17203a; }
.shot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; }
.shot.empty::after {
  content: attr(data-label);
  position: absolute; inset: 8px;
  display: grid; place-items: center;
  border: 1.5px dashed #3a4358; border-radius: 3px;
  color: var(--footer-text); font-size: 12.5px; font-weight: 600;
  text-align: center; padding: 12px;
}
.shot-hero, .shot-showcase { aspect-ratio: 16 / 9; }

/* ---------- Numbers bar ---------- */
.numbers { border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers .cell { padding: 16px 24px 16px 0; border-right: 1px solid var(--border-soft); }
.numbers .cell + .cell { padding-left: 24px; }
.numbers .cell:last-child { border-right: 0; }
.numbers b { display: block; font-size: 21px; font-weight: 800; }
.numbers small { font-size: 11.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section .wrap { padding-top: 56px; padding-bottom: 56px; }
.section { border-bottom: 1px solid var(--border); scroll-margin-top: 60px; }
.section.alt { background: var(--bg-subtle); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.section-head p { font-size: 13.5px; color: var(--muted); margin-top: 5px; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: #fff; }
.module { padding: 22px 24px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); margin-right: -1px; margin-bottom: -1px; }
.module h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 14.5px; font-weight: 800; }
.module .ms { font-size: 20px; color: var(--blue); }
.module p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Departments ---------- */
.department-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: #fff; }
.department-card { min-height: 136px; padding: 22px 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); margin-right: -1px; margin-bottom: -1px; }
.department-card .ms { color: var(--blue); font-size: 25px; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.department-card h3 { color: var(--ink); font-size: 14px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Clients ---------- */
.client-carousel { position: relative; overflow: hidden; padding: 1px; }
.client-carousel::before, .client-carousel::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; width: 72px; pointer-events: none; }
.client-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg-subtle), transparent); }
.client-carousel::after { right: 0; background: linear-gradient(270deg, var(--bg-subtle), transparent); }
.client-track { display: flex; width: max-content; gap: 12px; animation: client-scroll 45s linear infinite; }
.client-carousel:hover .client-track { animation-play-state: paused; }
.client-logo { width: 176px; height: 86px; flex: 0 0 176px; padding: 16px 20px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.client-logo img { display: block; max-width: 100%; max-height: 48px; object-fit: contain; }
@keyframes client-scroll { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .client-track { animation: none; } }

/* ---------- Showcase ---------- */
.showcase-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.showcase-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 6px 13px; border-radius: 4px; border: 1px solid var(--border); background: #fff; color: var(--text); font: 600 12.5px Inter, sans-serif; cursor: pointer; }
.tab:hover { border-color: #b6bfcb; }
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Pricing ---------- */
.pricing-scroll { overflow-x: auto; }
.pricing { min-width: 920px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: #fff; }
.prow { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; border-bottom: 1px solid var(--row-line); font-size: 12.5px; }
.prow:last-child { border-bottom: 0; }
.prow > div { padding: 10px 16px; border-left: 1px solid var(--border-soft); }
.prow > div:first-child { border-left: 0; padding-left: 18px; color: var(--text); font-weight: 600; }
.prow .hl { border-left: 2px solid var(--blue); background: #fbfdff; }
.prow.head { background: var(--bg-head); border-bottom: 1px solid var(--border); }
.prow.head > div { padding: 16px; }
.prow.head .plan { font-size: 13.5px; font-weight: 800; }
.prow.head .who { font-size: 11px; color: var(--muted); font-weight: 400; }
.prow.head .price { font-size: 23px; font-weight: 800; margin-top: 6px; }
.prow.head .price-sub { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .02em; margin-top: 2px; text-transform: uppercase; }
.prow .dim { color: var(--muted); }
.prow.head .hl { background: #f4f7fe; }
.prow.head .hl .plan { color: var(--blue-dark); }
.badge-pop { font-size: 9px; font-weight: 700; background: var(--blue); color: #fff; border-radius: 3px; padding: 2px 6px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
.prow .ck { font-size: 16px; color: var(--green); }
.prow.foot { background: var(--bg-head); }
.prow.foot > div:first-child { font-size: 11px; color: var(--muted); font-weight: 400; align-self: center; }
.pricing-notes { margin-top: 15px; font-size: 12.5px; color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; }
.pricing-notes span { display: inline-flex; align-items: center; gap: 6px; }
.pricing-notes .ms { font-size: 16px; color: var(--text); }
.pricing-notes a { font-weight: 600; }

/* ---------- Value bullets (pricing sell points) ---------- */
.value-bullets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; margin-bottom: 24px; max-width: 900px; }
.value-bullets span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.value-bullets .ms { font-size: 17px; color: var(--green); }

/* ---------- Requirements ---------- */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; }
.req-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.req-card header { padding: 10px 16px; border-bottom: 1px solid var(--border-soft); background: var(--bg-head); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.req-card header .ms { font-size: 17px; color: var(--text); }
.req-card ul { list-style: none; padding: 6px 0; }
.req-card li { display: grid; grid-template-columns: 130px 1fr; padding: 7px 16px; border-bottom: 1px solid #f3f4f6; font-size: 12.5px; }
.req-card li:last-child { border-bottom: 0; }
.req-card li span { color: var(--muted); }
.req-card li b { font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--footer-text); }
.footer .wrap { padding-top: 44px; padding-bottom: 24px; }
.footer .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer .about { max-width: 280px; }
.footer .brand-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer .brand-row .mark { width: 28px; height: 28px; border-radius: 7px; background: var(--blue); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.footer .brand-row b { font-size: 15px; font-weight: 800; color: #fff; }
.footer .about p { font-size: 12.5px; line-height: 1.6; }
.footer .about .footer-security { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: #b4bed0; font-size: 11.5px; line-height: 1.5; }
.footer-security .ms { flex: 0 0 auto; margin-top: 1px; color: #7d9bfa; font-size: 16px; }
.footer-security b { color: #fff; }
.footer .links { display: flex; gap: 56px; }
.footer .col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer .col b { color: #fff; font-weight: 700; margin-bottom: 2px; }
.footer .col a { color: var(--footer-text); }
.footer .col a:hover { color: #fff; }
.footer .legal { border-top: 1px solid #2a3350; margin-top: 30px; padding-top: 16px; font-size: 11.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer .legal a { color: var(--footer-text); }
.footer .legal a:hover { color: #fff; }

/* ---------- Logo images ---------- */
.brand-logo { height: 26px; width: auto; display: block; }
.footer-logo { height: 24px; width: auto; display: block; }

/* ---------- Subpage header ---------- */
.page-head { border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.page-head .wrap { padding-top: 44px; padding-bottom: 40px; }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.page-head p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 640px; line-height: 1.6; }

/* ---------- Legal pages ---------- */
.legal-page .wrap { padding-top: 48px; padding-bottom: 64px; }
.legal-content { max-width: 820px; }
.legal-content > p { color: var(--body); font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
.legal-content h2 { margin: 32px 0 9px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.legal-content .legal-date { margin-bottom: 28px; color: var(--muted); font-size: 12px; font-weight: 600; }
.legal-content a { font-weight: 600; }

/* ---------- Departments page ---------- */
.departments-page-head { background: var(--bg-subtle); }
.departments-page-head .wrap { max-width: 920px; margin: 0 auto; }
.departments-page-head h1 { max-width: 720px; }
.department-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.department-showcase { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 6px; }
.department-copy { padding: 22px 22px 18px; }
.department-copy > .ms { color: var(--blue); font-size: 25px; }
.department-copy h2 { margin-top: 12px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.department-copy p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.department-placeholder { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8b96a8; background: #f7f8fa; border-top: 1px solid var(--border-soft); font-size: 12px; font-weight: 600; text-align: center; }
.department-placeholder .ms { color: #a8b1c0; font-size: 27px; }

/* ---------- Active nav link ---------- */
.nav-links a.active { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap { padding-top: 46px; padding-bottom: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.cta-band p { font-size: 13.5px; opacity: .9; margin-top: 5px; max-width: 520px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #eef3ff; color: var(--blue-dark); }
.btn-ghost-white { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-white:hover { border-color: #fff; color: #fff; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 24px; }
.contact-card .cc-ic { width: 42px; height: 42px; border-radius: 10px; background: #eef3ff; display: grid; place-items: center; margin-bottom: 12px; }
.contact-card .cc-ic .ms { font-size: 22px; color: var(--blue); }
.contact-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.contact-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.contact-card .cc-links { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; }
.contact-card .cc-links a { display: inline-flex; align-items: center; gap: 8px; }
.contact-card .cc-links .ms { font-size: 17px; }

/* ---------- Ordering steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 20px 22px; }
.step-card .num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.step-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.step-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Footer contact ---------- */
.foot-contact { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; font-size: 13px; }
.foot-contact a { color: var(--footer-text); display: inline-flex; align-items: center; gap: 7px; }
.foot-contact a:hover { color: #fff; }
.foot-contact .ms { font-size: 16px; }

/* ---------- Per-PC (seat) banner ---------- */
.seat-banner { border: 1px solid #d6e0fd; background: #f4f7fe; border-radius: 6px; padding: 18px 22px; margin-bottom: 22px; }
.seat-banner .sb-main { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.seat-banner .sb-base, .seat-banner .sb-add { display: flex; flex-direction: column; }
.seat-banner .sb-k { font-size: 12px; color: var(--muted); font-weight: 600; }
.seat-banner .sb-price { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.seat-banner .sb-add .sb-price { color: var(--blue); }
.seat-banner .sb-plus { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid #d6e0fd; display: grid; place-items: center; }
.seat-banner .sb-plus .ms { font-size: 18px; color: var(--blue); }
.seat-banner .sb-note { font-size: 12.5px; color: var(--text); margin-top: 12px; line-height: 1.5; max-width: 760px; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card { background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 22px; }
.how-ic { width: 42px; height: 42px; border-radius: 10px; background: #eef3ff; display: grid; place-items: center; margin-bottom: 12px; }
.how-ic .ms { font-size: 22px; color: var(--blue); }
.how-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.how-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.how-foot { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 10px 14px; }
.how-foot .ms { font-size: 17px; color: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.faq-item h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.faq-item h3 .ms { font-size: 18px; color: var(--blue); }
.faq-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .department-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numbers .wrap { grid-template-columns: repeat(2, 1fr); }
  .numbers .cell { padding: 14px 20px 14px 0; }
  .numbers .cell:nth-child(even) { border-right: 0; padding-left: 20px; }
  .numbers .cell:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .brand .tag { display: none; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .wrap { grid-template-columns: 1fr auto; }
}

@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .department-showcase-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 25px; }
  .value-bullets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 29px; }
  .modules { grid-template-columns: 1fr; }
  .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .department-card { min-height: 118px; padding: 18px 16px; gap: 10px; }
  .department-card .ms { font-size: 22px; }
  .department-card h3 { font-size: 13px; }
  .client-carousel::before, .client-carousel::after { width: 34px; }
  .client-logo { width: 140px; height: 72px; flex-basis: 140px; padding: 14px; }
  .client-logo img { max-height: 40px; }
  .req-grid { grid-template-columns: 1fr; }
  .footer .links { gap: 36px; }
  .topbar .support { display: none; }
  .seat-banner .sb-main { gap: 14px; }
}
