/* BOS - Business Optimal Solutions - site styles */
:root {
  --blue: #189bc9;
  --blue-dark: #0f7aa3;
  --blue-deep: #0a5677;
  --blue-soft: #e6f4fa;
  --navy: #0b2433;
  --ink: #1b2631;
  --muted: #5b6875;
  --line: #e2e9ef;
  --bg-soft: #f4f9fc;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 36, 51, .08);
  --shadow-lg: 0 24px 60px rgba(11, 36, 51, .16);
  --font: "Kumbh Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(24, 155, 201, .55); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
h2.title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(24, 155, 201, .35); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue-deep); }
.btn--white:hover { color: var(--blue-dark); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.btn--outline-white { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--blue-deep); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; list-style: none; }
.nav__links a {
  color: var(--white);
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 11px 24px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.9rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.site-header.is-solid { background: var(--white); box-shadow: 0 6px 24px rgba(11, 36, 51, .08); height: 72px; }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.site-header.is-solid .nav__links a { color: var(--ink); }
.site-header.is-solid .nav__links a:hover, .site-header.is-solid .nav__links a[aria-current="page"] { color: var(--blue); }
.site-header.is-solid .nav-toggle { color: var(--ink); }
.site-header.is-solid .btn--outline-white { border-color: var(--blue); color: var(--blue); }
.site-header.is-solid .btn--outline-white:hover { background: var(--blue); color: var(--white); }

/* Brand background: deep navy to blue, used by the hero, page titles, numbers band and call-to-action */
:root {
  --brand-gradient:
    radial-gradient(1100px 620px at 82% 18%, rgba(54, 209, 220, .28), transparent 60%),
    radial-gradient(900px 520px at 5% 95%, rgba(24, 155, 201, .35), transparent 60%),
    linear-gradient(135deg, #061b29 0%, #0a3550 48%, #0f6f9b 100%);
  --dot-grid: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
}

/* Hero: text + BOS Web on a laptop, a shop till and an employee's phone */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  background: var(--brand-gradient);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--dot-grid);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: calc(var(--header-h) + 30px); padding-bottom: 130px; }
.hero__content { max-width: 560px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: inherit;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__badge:hover { color: inherit; background: rgba(255, 255, 255, .18); }
.hero__badge b { background: var(--white); color: var(--blue-deep); border-radius: 999px; padding: 2px 10px; font-size: .75rem; letter-spacing: .08em; }
.hero__kicker { font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .92; margin-bottom: 10px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.12rem; opacity: .95; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.devices { position: relative; min-height: 470px; }
.device-laptop { position: absolute; left: 4%; right: 0; top: 0; }
.device-laptop__screen { background: #0b1620; border-radius: 14px 14px 0 0; padding: 10px 10px 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .1); }
.device-laptop__screen img { border-radius: 4px; }
.device-laptop__base { height: 16px; margin: 0 -6%; background: linear-gradient(#cdd6dd, #8c99a4); border-radius: 0 0 16px 16px; }
.device-tablet { position: absolute; left: -6%; bottom: 10px; width: 46%; background: #0b1620; padding: 9px; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .12); animation: device-float 7s ease-in-out infinite; }
.device-tablet img { border-radius: 9px; }
.device-phone { position: absolute; right: -2%; bottom: -30px; width: 236px; aspect-ratio: 9 / 18.5; border-radius: 30px; background: #0b1620; padding: 9px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .12); animation: device-float 6s ease-in-out infinite 1.5s; }
.devices__labels { position: absolute; left: 0; right: 0; bottom: -78px; display: flex; justify-content: center; gap: 18px; font-size: .85rem; font-weight: 600; opacity: .85; }
.devices__labels i { color: #8ce6ff; margin-right: 4px; }
@keyframes device-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* The phone screens: drawn in HTML like the real apps (every name and figure is demo data). Each screen is laid out at the
   real 390 px phone width and scaled down (--s) to the hero phone. main.js shows them one after the other (.is-on). */
.pp-stage { position: relative; height: 100%; border-radius: 23px; overflow: hidden; background: #f2f5f9; --s: .559; }
.pp-stage .pp { position: absolute; left: 0; top: 0; width: 390px; height: calc(100% / var(--s)); transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden;
  opacity: 0; transition: opacity .7s ease; pointer-events: none; background: #f2f5f9; color: #0f1b2d;
  font: 15px/1.4 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; --wp-navy: #0c5275; --wp-blue: #0877a2; --wp-sky: #1b9cc8; --wp-muted: #5a6577; --wp-line: #e6ebf1; }
.pp-stage .pp.is-on { opacity: 1; }
.pp--sales { --wp-navy: #0877a2; }
.pp--emp { background: #f3f6f8; }
.pp-stage i.bi { line-height: 1; }
.wp-top { background: var(--wp-navy); color: #f4fbff; }
.wp-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 2px; font-size: 14px; font-weight: 700; }
.wp-status i { margin-left: 3px; }
.wp-status.is-dark { color: #0f1b2d; }
.wp-headrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px 6px; }
.wp-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wp-logo { flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.wp-logo img { display: block; width: 40px; height: 40px; }
.wp-company { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: 14px; white-space: nowrap; }
.wp-company i { font-size: 11px; opacity: .8; }
.wp-me { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wp-sky); color: #fff; font-weight: 700; font-size: 14px; }
.wp-hero { padding: 6px 20px 54px; }
.wp-hero small { display: block; font-size: 13px; color: #b8d7e6; }
.wp-hero h1 { margin: 2px 0 0; font-size: 26px; font-weight: 700; color: #f4fbff; }
.wp-card { display: block; background: #fff; border-radius: 18px; padding: 16px; margin: 12px 16px 0; box-shadow: 0 1px 2px rgba(12, 82, 117, .08); }
.wp-lead { margin-top: -40px; box-shadow: 0 6px 20px rgba(12, 82, 117, .14); }
.wp-label { font-size: 12px; color: var(--wp-muted); font-weight: 600; }
.wp-big { font-size: 34px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.wp-sub { font-size: 12px; color: var(--wp-muted); }
.wp-split { display: flex; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--wp-line); }
.wp-split strong { font-size: 17px; }
.wp-bars { width: 100%; height: 60px; margin-top: 12px; display: block; }
.wp-bars rect { fill: #cfe5ef; }
.wp-bars rect.now { fill: var(--wp-sky); }
.wp-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--wp-muted); }
.wp-wait { display: flex; align-items: center; gap: 12px; background: #fff4e5; color: #8a3c00; }
.wp-grow { flex: 1; min-width: 0; }
.wp-wait strong, .wp-clock strong { display: block; }
.wp-wait small, .wp-clock small { display: block; font-size: 12px; }
.wp-count { width: 36px; height: 36px; border-radius: 10px; background: #b54708; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.wp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 16px 0; }
.wp-tiles--up { margin-top: -40px; position: relative; gap: 8px; }
.wp-tile { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 2px rgba(12, 82, 117, .08); min-width: 0; }
.wp-tile strong { font-size: 19px; }
.wp-up { color: #0f6b3c; font-weight: 700; }
.wp-over { color: #b42318; font-weight: 600; }
.wp-hand { margin: 10px 18px 0; font-size: 12px; font-weight: 600; color: var(--wp-muted); }
.wp-actions { display: flex; gap: 10px; margin: 10px 16px 0; }
.wp-btn { flex: 1; min-height: 50px; padding: 0 10px; border-radius: 14px; border: 1px solid #c9d4e0; background: #fff; color: #0f1b2d; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.wp-btn--go { background: var(--wp-blue); border-color: var(--wp-blue); color: #fff; }
.wp-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--wp-line); font-size: 14px; }
.wp-label + .wp-line { border-top: 0; margin-top: 2px; }
.wp-line i { color: #a8b5c0; }
.wp-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; height: 80px; padding: 8px 6px 16px; background: #fff; border-top: 1px solid #e3e8ef; }
.wp-bar::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 128px; height: 5px; margin-left: -64px; border-radius: 3px; background: #0f1b2d; opacity: .28; }
.wp-tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--wp-muted); }
.wp-tab i { font-size: 23px; }
.wp-tab.on { color: var(--wp-blue); font-weight: 700; }
.wp-tab b { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #b54708; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
/* Employee Portal home */
.wp-pad { padding-bottom: 90px; }
.wp-ehero { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 12px 16px 0; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #0c5275, #1b9cc8); color: #fff; box-shadow: 0 6px 18px rgba(8, 119, 162, .25); }
.wp-ehero small { opacity: .8; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.wp-ehero h1 { margin: 4px 0 4px; font-size: 22px; font-weight: 750; line-height: 1.2; color: #fff; }
.wp-ehero p { margin: 0; font-size: 14px; opacity: .88; }
.wp-eav { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .45); font-weight: 700; }
.wp-clock { display: flex; align-items: center; gap: 12px; }
.wp-cicon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #e3f3fa; color: var(--wp-blue); font-size: 19px; }
.wp-pill { flex: none; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: #e7f4ec; color: #0f6b3c; }
.wp-bigb { color: var(--wp-blue); }
.wp-bigb span { font-size: 16px; font-weight: 600; color: var(--wp-muted); letter-spacing: 0; }
.wp-meter { height: 8px; border-radius: 4px; background: #e3f3fa; margin: 8px 0 6px; overflow: hidden; }
.wp-meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1b9cc8, #0877a2); }
.wp-block { width: 100%; margin-top: 12px; }
.wp-acts .wp-label { margin-bottom: 4px; }
.wp-act { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-top: 8px; border: 1px solid #e6ebf1; border-left: 4px solid #1b9cc8; border-radius: 12px; }
.wp-act > i:first-child { font-size: 19px; color: #1b9cc8; }
.wp-act span { flex: 1; min-width: 0; }
.wp-act strong { display: block; font-size: 14px; }
.wp-act small { display: block; font-size: 12px; color: var(--wp-muted); }
.wp-act > i:last-child { color: #a8b5c0; }
.wp-act.is-ok { border-left-color: #0f6b3c; } .wp-act.is-ok > i:first-child { color: #0f6b3c; }
.wp-act.is-warn { border-left-color: #b54708; } .wp-act.is-warn > i:first-child { color: #b54708; }
.phone-label b { font-weight: 600; transition: opacity .3s ease; }
.phone-label.is-swapping b { opacity: 0; }
.device-phone::before { content: ""; position: absolute; z-index: 2; top: 15px; left: 50%; width: 62px; height: 17px; margin-left: -31px; border-radius: 10px; background: #0b1620; }

/* Highlights strip (overlaps the hero) */
.highlights { position: relative; z-index: 5; margin-top: -70px; }
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.highlight { padding: 30px 26px; display: flex; gap: 16px; align-items: flex-start; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight i { font-size: 1.7rem; color: var(--blue); line-height: 1; margin-top: 2px; }
.highlight h3 { font-size: 1.05rem; margin-bottom: 4px; }
.highlight p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Module cards */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 24px; }
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #36d1dc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.module-card:hover::before { transform: scaleX(1); }
.module-card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: background .25s, color .25s;
}
.module-card:hover .module-card__icon { background: var(--blue); color: var(--white); }
.module-card h3 { font-size: 1.2rem; }
.module-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.module-card .more i { transition: transform .2s; }
.module-card:hover .more i { transform: translateX(4px); }

/* Showcase */
.showcase__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.showcase__tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.showcase__tab:hover { border-color: var(--blue); color: var(--blue); }
.showcase__tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.showcase__panel { display: grid; grid-template-columns: 1fr 2.1fr; gap: 44px; align-items: center; }
.showcase__panel[hidden] { display: none; }
.showcase__text h3 { font-size: 1.6rem; }
.showcase__text p { color: var(--muted); }
.browser {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef3f7; border-bottom: 1px solid var(--line); }
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #c9d4dd; }
.browser__bar span:nth-child(1) { background: #ff6159; }
.browser__bar span:nth-child(2) { background: #ffbd2e; }
.browser__bar span:nth-child(3) { background: #28c941; }
.browser__bar em { margin-left: 12px; font-style: normal; font-size: .8rem; color: var(--muted); background: var(--white); border-radius: 6px; padding: 2px 14px; flex: 1; max-width: 320px; }
.browser img { width: 100%; }

/* Stats band */
.stats {
  position: relative;
  color: var(--white);
  background: var(--brand-gradient);
  padding: 80px 0;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; }
.stat__label { margin-top: 10px; font-weight: 600; opacity: .92; }

/* Clients */
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.client {
  display: grid;
  place-items: center;
  height: 130px;
  padding: 18px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s;
}
.client img { max-height: 92px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.client:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.client:hover img { filter: none; opacity: 1; }

/* Why us */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.split__media img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 30px; margin-top: 26px; }
.why__item { display: flex; gap: 16px; }
.why__item i {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.3rem;
}
.why__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why__item p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\F64D";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .95rem;
  transition: transform .25s, background .25s, color .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--blue); color: var(--white); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-item .faq-body p:last-child { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.contact__cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-card i { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.2rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--blue); }
.form-card { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 38px; }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfd9e2;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fbfdfe;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(24, 155, 201, .15); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-message { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-message.is-success { display: block; background: #e7f7ee; color: #17663a; border: 1px solid #b9e5ca; }
.form-message.is-error { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }

/* Call-to-action band */
.cta {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-gradient);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta p { margin: 0; opacity: .92; max-width: 560px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: var(--white);
  background: var(--brand-gradient);
  isolation: isolate;
  padding: calc(var(--header-h) + 70px) 0 80px;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; }
.page-hero p { max-width: 620px; font-size: 1.1rem; opacity: .95; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .92rem; margin-bottom: 14px; opacity: .9; list-style: none; }
.breadcrumb a { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .7; }

/* Modules page */
.module-nav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.module-nav ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; padding: 12px 0; scrollbar-width: thin; }
.module-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.module-nav a:hover { border-color: var(--blue); color: var(--blue); }
.module-nav a.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.module-detail { padding: 84px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.module-detail:nth-child(even) { background: var(--bg-soft); }
.module-detail__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.module-detail:nth-child(even) .module-detail__text { order: 2; }
.module-detail__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: var(--blue); color: var(--white); font-size: 1.8rem; margin-bottom: 20px; box-shadow: 0 12px 26px rgba(24, 155, 201, .35); }
.module-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.module-detail .intro { color: var(--muted); font-size: 1.05rem; }
.feature-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before {
  content: "\F633";
  font-family: "bootstrap-icons";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .85rem;
  font-weight: 700;
}

/* About page */
.about-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.about-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.about-card i { font-size: 2rem; color: var(--blue); display: block; margin-bottom: 14px; }
.about-card h3 { font-size: 1.3rem; }
.about-card p { color: var(--muted); }
.prose { max-width: 860px; margin: 0 auto; }
.prose p { color: var(--muted); font-size: 1.04rem; }

/* Footer */
.site-footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: 80px 0 0;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto auto;
  width: 640px; height: 260px;
  background: url("../img/world-map.png") center / contain no-repeat;
  opacity: .18;
  pointer-events: none;
}
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--white); }
.footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .95rem; }
.footer__contact li { display: flex; gap: 10px; font-size: .95rem; }
.footer__contact i { color: var(--blue); margin-top: 3px; }
.footer__bottom {
  position: relative;
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue-dark); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .showcase__panel { grid-template-columns: 1fr; gap: 28px; }
  .showcase__text { text-align: center; max-width: 680px; margin: 0 auto; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 96px 28px 28px;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .18);
    transform: translateX(100%);
    transition: transform .3s;
  }
  .nav.is-open { transform: none; }
  .nav__links { flex-direction: column; gap: 6px; width: 100%; }
  .nav__links a { color: var(--ink); display: block; padding: 10px 0; font-size: 1.1rem; }
  .nav .btn--outline-white { border-color: var(--blue); color: var(--blue); }
  .nav-toggle { position: relative; z-index: 2; }
  .site-header.nav-opened .nav-toggle { color: var(--ink); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 170px; }
  .devices { min-height: 380px; }
  .device-laptop { left: 0; }
  .device-tablet { left: -2%; width: 50%; }
  .device-phone { width: 164px; right: 0; border-radius: 24px; }
  .pp-stage { --s: .374; border-radius: 17px; }
  .device-phone::before { display: none; }
  .devices__labels { display: none; }
  .split, .contact, .module-detail__grid { grid-template-columns: 1fr; gap: 36px; }
  .module-detail:nth-child(even) .module-detail__text { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .split__media { max-width: 560px; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .section { padding: 72px 0; }
  .brand img { height: 44px; }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .why__grid, .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .form-card { padding: 26px 20px; }
  .cta { padding: 40px 26px; }
  .module-detail { padding: 60px 0; }
}
@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
  .clients__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .client { height: 104px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device-tablet, .device-phone { animation: none; }
  .pp-stage .pp { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .module-card:hover, .client:hover { transform: none; }
}
.module-detail .btn { white-space: normal; text-align: center; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-map { display: grid; gap: 10px; }
.contact-map iframe { width: 100%; height: 240px; border: 0; border-radius: var(--radius); background: var(--blue-soft); }
.module-detail--text-only .module-detail__grid { grid-template-columns: 1fr; }
.module-detail--text-only .intro { max-width: 820px; }
.module-detail--text-only .feature-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
@media (max-width: 760px) { .module-detail--text-only .feature-list { grid-template-columns: 1fr; } }
