/* WiseCloud — site styles. Brand colours come from the logo: navy #0135A2, cloud #24C2FF. */
:root {
  --ink: #0a1633;
  --ink-2: #26324f;
  --muted: #56637e;
  --line: #e1e7f0;
  --bg: #ffffff;
  --surface: #f3f6fb;
  --surface-2: #e9eff8;
  --brand: #0135a2;
  --brand-hover: #012a84;
  --sky: #24c2ff;
  --sky-ink: #0077b3;
  --sky-soft: #e5f6ff;
  --night: #061230;
  --night-2: #0c1d48;
  --night-line: rgba(255, 255, 255, .12);
  --on-night: #e8eefb;
  --on-night-muted: #a9b6d3;
  --ok: #0f8a5f;
  --err: #c0262d;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 51, .06);
  --shadow: 0 1px 2px rgba(10, 22, 51, .05), 0 18px 40px -18px rgba(10, 22, 51, .22);
  --shadow-lg: 0 2px 6px rgba(10, 22, 51, .06), 0 40px 80px -30px rgba(10, 22, 51, .35);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
svg.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--night { background: var(--night); color: var(--on-night); }

/* Type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--sky); }
.section--night .eyebrow, .hero .eyebrow { color: var(--sky); }
.h2 { font-size: clamp(32px, 4vw, 54px); }
.h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.015em; line-height: 1.2; font-weight: 700; }
.lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--muted); max-width: 62ch; }
.section--night .lead { color: var(--on-night-muted); }
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px 64px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.accent { color: var(--sky); }

/* Buttons */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn svg.i { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(1, 53, 162, .6); }
.btn:hover svg.i { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--sky { --bg: var(--sky); --fg: var(--night); }
.btn--sky:hover { --bg: #5fd3ff; box-shadow: 0 12px 28px -12px rgba(36, 194, 255, .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --bg: var(--surface); border-color: #c8d2e2; box-shadow: none; }
.btn--ghost-night { --bg: rgba(255, 255, 255, .06); --fg: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--ghost-night:hover { --bg: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 22, 51, .4); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a, .nav .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 500 15px/1 var(--body); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav .nav__btn:hover, .nav .nav__btn[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.nav__btn svg.i { font-size: 16px; transition: transform .2s; }
.nav__btn[aria-expanded="true"] svg.i { transform: rotate(180deg); }
.nav__drop { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: min(680px, 90vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); min-height: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.mega a:hover { background: var(--surface); }
.mega img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.header__end { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header__phone svg.i { color: var(--brand); }
.header__phone:hover { color: var(--brand); }
.lang {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line);
  font: 700 13px/1 var(--body); letter-spacing: .04em; text-decoration: none; color: var(--ink-2); transition: background-color .2s, border-color .2s;
}
.lang:hover { background: var(--surface); border-color: #c8d2e2; }
.langsw { position: relative; }
.lang__btn { display: inline-flex; gap: 4px; padding: 0 10px 0 14px; background: #fff; cursor: pointer; }
.lang__btn svg.i { font-size: 14px; transition: transform .2s; }
.lang__btn[aria-expanded="true"] { background: var(--surface); }
.lang__btn[aria-expanded="true"] svg.i { transform: rotate(180deg); }
.langs {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; display: grid; gap: 2px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.langs.is-open { opacity: 1; visibility: visible; transform: none; }
.langs a, .mlangs a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15px; }
.langs a b, .mlangs a b { font: 700 12px/1 var(--body); letter-spacing: .04em; color: var(--muted); width: 22px; }
.langs a:hover { background: var(--surface); }
.langs a[aria-current="true"], .mlangs a[aria-current="true"] { background: var(--sky-soft); color: var(--brand); font-weight: 600; }
.langs a[aria-current="true"] b, .mlangs a[aria-current="true"] b { color: var(--brand); }
.mlangs { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger svg.i { font-size: 20px; }
.mobile-menu { display: none; }

/* Hero (home) */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 18, 48, .94) 0%, rgba(6, 18, 48, .82) 38%, rgba(6, 18, 48, .15) 72%, rgba(6, 18, 48, 0) 100%);
}
.hero .wrap { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - var(--header-h)), 860px); padding-block: clamp(40px, 5vw, 64px); }
.hero__text { max-width: 620px; }
.hero h1 { font-size: clamp(36px, 4vw, 58px); letter-spacing: -.035em; line-height: 1.04; color: #fff; }
.hero h1 span { color: var(--sky); }
.hero__lead { margin-top: 18px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: #c9d4ec; max-width: 50ch; }
.hero__lead b { color: #fff; font-weight: 600; }
.hero .btns { margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.facts b { display: block; font: 800 28px/1 var(--head); color: #fff; letter-spacing: -.03em; }
.facts span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: #b9c6e2; max-width: 18ch; }

.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 5.6; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 18, 48, .45)); }
.pos {
  position: absolute; left: clamp(-72px, -4.5vw, -16px); bottom: 28px; width: min(292px, 74%);
  background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); font-size: 14px;
}
.pos__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.pos__top b { font-family: var(--head); font-size: 15px; }
.pos__badge { font-size: 12px; font-weight: 600; color: var(--sky-ink); background: var(--sky-soft); padding: 5px 10px; border-radius: 999px; }
.pos ul { padding: 8px 0; }
.pos li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.pos li i { font-style: normal; color: var(--muted); }
.pos li em { font-style: normal; font-weight: 600; color: var(--ink); min-width: 34px; text-align: right; }
.pos__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.pos__total b { font: 800 22px/1 var(--head); }
.pos__total small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.pos__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pos__actions span { display: grid; place-items: center; height: 40px; border-radius: 12px; font-weight: 600; font-size: 13px; }
.pos__actions span:first-child { background: var(--surface); color: var(--ink-2); }
.pos__actions span:last-child { background: var(--brand); color: #fff; }
.toast {
  position: absolute; right: clamp(-12px, -1vw, 0px); top: 36px; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600; max-width: 260px; line-height: 1.3;
}
.toast__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e3f6ee; color: var(--ok); flex: none; }
.toast__icon svg.i { font-size: 18px; }
.toast__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(15, 138, 95, .5); animation: pulse 2.6s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 138, 95, .45); } 70% { box-shadow: 0 0 0 10px rgba(15, 138, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 138, 95, 0); } }

/* Hero entrance — runs once on load */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: rise .9s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] > *:nth-child(4) { animation-delay: .24s; }
  [data-enter] > *:nth-child(5) { animation-delay: .32s; }
  [data-enter] > *:nth-child(6) { animation-delay: .4s; }
  .hero__bg img { animation: settle 1.8s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* Clients marquee */
.clients { padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.clients__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.clients__head h2 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.015em; }
.clients__head p { color: var(--muted); font-size: 15px; }
.clients__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex: none; transition: background-color .2s; }
.clients__toggle:hover { background: var(--surface); }
.clients__toggle svg.i { font-size: 16px; fill: currentColor; stroke: none; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); display: grid; gap: 14px; }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__row, .marquee.is-paused .marquee__row { animation-play-state: paused; }
.marquee__row img { width: 112px; height: 112px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.marquee__row img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__row [aria-hidden="true"] { display: none; }
  .clients__toggle { display: none; }
}

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__pain { margin-top: 28px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.about__card { background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 48px); position: relative; overflow: hidden; }
.about__card::after { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 194, 255, .55), transparent 65%); }
.about__card b { display: block; font: 800 clamp(72px, 9vw, 128px)/.9 var(--head); letter-spacing: -.05em; }
.about__card .stat-note { margin-top: 14px; font-weight: 600; font-size: 18px; max-width: 22ch; }
.about__card p.about__text { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); color: #dbe6ff; }

/* Modules (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card p { color: var(--muted); font-size: 16px; }
.card .ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 8px;
  background: var(--sky-soft); color: var(--brand); font-size: 24px;
}
.bento .card { grid-column: span 2; }
.bento .card:nth-child(4), .bento .card:nth-child(5) { grid-column: span 3; }
.card--feature { background: var(--night); color: var(--on-night); border-color: transparent; overflow: hidden; }
.card--feature p { color: var(--on-night-muted); }
.card--feature .ico { background: rgba(36, 194, 255, .14); color: var(--sky); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; margin-top: auto; padding-top: 18px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky), rgba(36, 194, 255, .25)); transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .card--feature:hover .bars span { animation: grow 1.2s var(--ease) both; }
  .card--feature:hover .bars span:nth-child(2n) { animation-delay: .08s; }
  .card--feature:hover .bars span:nth-child(3n) { animation-delay: .16s; }
}
@keyframes grow { from { transform: scaleY(.3); } to { transform: none; } }
.stat-strip { display: flex; align-items: center; gap: 14px; margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Product (night) */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.plist { display: grid; gap: 4px; margin-top: 8px; }
.plist li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--night-line); }
.plist li:last-child { border-bottom: 1px solid var(--night-line); }
.plist .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(36, 194, 255, .12); color: var(--sky); font-size: 22px; }
.plist h3 { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.plist p { margin-top: 4px; color: var(--on-night-muted); font-size: 16px; }
.device { position: relative; }
.device::before { content: ''; position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(36, 194, 255, .45), transparent); filter: blur(30px); z-index: 0; }
.device img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }

/* Formats grid */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 22px;
  border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--night-2);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.fcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 48, 0) 35%, rgba(6, 18, 48, .88)); }
.fcard h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; padding-right: 44px; }
.fcard .go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background-color .25s, transform .3s var(--ease); }
.fcard .go svg.i { font-size: 18px; }
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fcard:hover img { transform: scale(1.03); }
.fcard:hover .go { background: var(--sky); color: var(--night); transform: rotate(-45deg); }
.fcard--wide { grid-column: span 2; }

/* Why us */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.statement { font: 800 clamp(36px, 4.6vw, 64px)/1.04 var(--head); letter-spacing: -.035em; }
.statement span { display: block; color: var(--brand); }
.why__text { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 40ch; }
.why__list { display: grid; gap: 12px; }
.why__list li {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font: 700 18px/1.3 var(--head); letter-spacing: -.01em; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.why__list li:hover { transform: translateX(4px); border-color: #c9d6ea; box-shadow: var(--shadow); }
.why__list .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 22px; flex: none; }

/* Benefits */
.benefits { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.benefits__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.benefits__aside .btn { margin-top: 32px; }
.blist { counter-reset: b; }
.blist li { counter-increment: b; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.blist li:last-child { border-bottom: 1px solid var(--line); }
.blist li::before { content: counter(b, decimal-leading-zero); font: 800 15px/1.9 var(--head); color: var(--sky-ink); letter-spacing: .04em; }
.blist h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.015em; }
.blist p { margin-top: 8px; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.review { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.review:nth-child(4), .review:nth-child(5) { grid-column: span 3; }
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review blockquote { margin: 0; font-size: 17px; color: var(--ink-2); }
.review blockquote::before { content: '“'; display: block; font: 800 56px/.6 var(--head); color: var(--sky); margin-bottom: 14px; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review .ava { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--brand); font: 800 17px/1 var(--head); flex: none; }
.review figcaption b { display: block; font-weight: 700; }
.review figcaption span { display: block; font-size: 14px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .h2 { color: #fff; }
.contact__list { display: grid; gap: 12px; margin-top: 36px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; color: #fff; font-weight: 600; font-size: 19px; border-bottom: 1px solid var(--night-line); transition: color .2s; }
.contact__list a:hover { color: var(--sky); }
.contact__list .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(36, 194, 255, .12); color: var(--sky); font-size: 20px; flex: none; }
.contact__list small { display: block; font-size: 13px; font-weight: 500; color: var(--on-night-muted); }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--night-line); color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }
.social svg.i { font-size: 18px; }

.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form h3 { font-size: 24px; letter-spacing: -.02em; }
.form > p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.fields { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field label i { color: var(--err); font-style: normal; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface);
  font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c8d2e2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(1, 53, 162, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); background: #fff6f6; }
.field__err { display: none; font-size: 13px; color: var(--err); font-weight: 500; }
.field.has-error .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 8px; }
.form__consent { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form__consent a { color: var(--brand); }
.form__status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.form__status.is-ok { display: block; background: #e3f6ee; color: #0b6b4a; }
.form__status.is-err { display: block; background: #fdecec; color: #a01d23; }

/* Floating quick-contact button + dialog */
.fab {
  position: fixed; left: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 0;
  height: 60px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; color: #fff;
  background: var(--brand); box-shadow: 0 14px 30px -10px rgba(1, 53, 162, .6), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  transition: transform .25s var(--ease), box-shadow .25s, opacity .3s, visibility .3s, background-color .2s;
}
.fab__icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; flex: none; }
.fab__icon svg.i { font-size: 26px; }
.fab__icon::after {
  content: ''; position: absolute; top: 12px; right: 12px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--sky); border: 2px solid var(--brand);
}
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 15px; transition: max-width .35s var(--ease), padding .35s var(--ease); }
.fab:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(1, 53, 162, .7); }
.fab:hover .fab__label, .fab:focus-visible .fab__label { max-width: 220px; padding-right: 22px; }
.fab:active { transform: scale(.96); }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (prefers-reduced-motion: no-preference) {
  .fab::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brand);
    animation: fab-ring 3s var(--ease) 1.5s 3; pointer-events: none;
  }
}
@keyframes fab-ring { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }

.quick {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: transparent; color: var(--ink); overflow: visible; margin: auto auto 24px 24px;
}
.quick::backdrop { background: rgba(6, 18, 48, .5); backdrop-filter: blur(3px); }
.quick .form { position: relative; max-height: calc(100svh - 48px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.quick .form > p { padding-right: 24px; }
.quick .fields { margin-top: 20px; gap: 14px; }
.quick .field textarea { min-height: 88px; }
.quick__badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); color: var(--brand); font-size: 24px; margin-bottom: 16px; }
.quick h3 { padding-right: 44px; }
.quick__close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.quick__close:hover { background: var(--surface-2); transform: rotate(90deg); }
.quick__close svg.i { font-size: 20px; }
.quick__call { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 15px; }
.quick__call svg.i { color: var(--brand); font-size: 18px; }
.quick__call b { color: var(--ink); }
.quick__call:hover b { color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .quick[open] { animation: quick-in .35s var(--ease); }
  .quick[open]::backdrop { animation: fade-in .3s ease; }
}
@keyframes quick-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.quick-open { overflow: hidden; }

/* Footer */
.footer { background: #040b20; color: var(--on-night-muted); padding-top: clamp(56px, 7vw, 88px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 30ch; }
.footer h2 { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--on-night-muted); transition: color .2s; }
.footer li a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--night-line); font-size: 14px; }
.footer__bottom a { color: var(--on-night-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.footer__group { color: var(--on-night-muted); letter-spacing: .02em; }
.footer__group b { color: #fff; font-weight: 700; letter-spacing: .08em; }

/* Segment page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }
.shero { background: var(--surface); position: relative; overflow: hidden; }
.shero::before { content: ''; position: absolute; width: 720px; height: 720px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 194, 255, .22), transparent 65%); }
.shero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 88px); min-height: min(calc(100svh - var(--header-h)), 780px); }
.shero h1 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; }
.shero .eyebrow { color: var(--brand); }
.shero__intro { margin-top: 22px; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 58ch; }
.shero .btns { margin-top: 32px; }
.shero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 14px; font-weight: 500; }
.shero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.shero__badges svg.i { color: var(--ok); font-size: 18px; }
.shero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.shero__photo img { width: 100%; height: 100%; object-fit: cover; }

.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.feat li { counter-increment: f; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s; }
.feat li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feat li::before { content: counter(f, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font: 800 15px/1 var(--head); }
.split-device { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq { display: grid; gap: 12px; }
.others a.others__call { background: var(--brand); color: #fff; border-color: transparent; }
.others__call .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 22px; flex: none; }
.others__call b { display: block; font: 800 18px/1.2 var(--head); margin-top: 2px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfd9ea; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font: 700 18px/1.35 var(--head); letter-spacing: -.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--brand); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.others a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; transition: transform .25s var(--ease), box-shadow .25s; }
.others a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.others img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }

/* Policy */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.015em; }
.doc p, .doc li { color: var(--ink-2); margin-top: 10px; }
.doc ul { padding-left: 1.2em; list-style: disc; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf b { display: block; font: 800 clamp(96px, 16vw, 200px)/.9 var(--head); color: var(--brand); letter-spacing: -.06em; }
.nf h1 { font-size: clamp(28px, 3vw, 40px); margin-top: 16px; }
.nf .btns { justify-content: center; margin-top: 28px; }

/* Responsive */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .nav a, .nav .nav__btn { padding: 0 10px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .nav, .header__phone, .header .btn { display: none; }
  .header__end { margin-left: auto; }
  .burger { display: inline-grid; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff; overflow-y: auto;
    padding: 24px var(--gutter) 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { display: flex; align-items: center; min-height: 52px; font: 700 22px/1.2 var(--head); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .sub a { font: 600 17px/1.3 var(--body); min-height: 48px; color: var(--ink-2); padding-left: 16px; }
  .mobile-menu .btns { margin-top: 28px; }
  .mobile-menu .mlangs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 24px; }
  .mobile-menu .mlangs a { font: 500 15px/1.2 var(--body); border: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 48px; }
  .langsw { display: none; }
  .mobile-menu .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open .fab { display: none; }
  .shero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero::before { background: linear-gradient(90deg, rgba(6, 18, 48, .94) 0%, rgba(6, 18, 48, .85) 55%, rgba(6, 18, 48, .35) 100%); }
  .shero__photo { aspect-ratio: 16 / 11; }
  .head--split { grid-template-columns: 1fr; }
  .about, .product, .why, .benefits, .contact, .split-device, .faq-wrap { grid-template-columns: 1fr; }
  .benefits__aside { position: static; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .fcard--wide { grid-column: span 1; }
  .fcard { min-height: 320px; }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .others { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card, .bento .card:nth-child(4), .bento .card:nth-child(5) { grid-column: span 1; }
  .bento .card:first-child { grid-column: span 2; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review, .review:nth-child(4), .review:nth-child(5) { grid-column: span 1; }
  .review:last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { height: 32px; }
  .btns .btn, .mobile-menu .btn, .benefits__aside .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .facts b { font-size: 24px; }
  .facts span { font-size: 13px; }
  .hero .wrap { justify-content: flex-start; min-height: 0; padding-top: 236px; padding-bottom: 40px; }
  .hero__bg { bottom: auto; height: 300px; }
  .hero__bg img { object-position: 68% 60%; }
  .hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 18, 48, 0) 40%, var(--night) 100%); }
  .hero::before { display: none; }
  .formats, .feat, .others, .bento, .reviews { grid-template-columns: 1fr; }
  .fcard--wide, .bento .card:first-child, .review:last-child { grid-column: span 1; }
  .fcard { min-height: 280px; }
  .clients__head { align-items: flex-start; }
  .marquee__row img { width: 88px; height: 88px; border-radius: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .blist li { grid-template-columns: 1fr; gap: 6px; }
  .why__list li { font-size: 17px; padding: 16px; }
  .fab { left: 16px; bottom: 16px; height: 56px; }
  .fab__icon { width: 56px; height: 56px; }
  .fab:hover .fab__label { max-width: 0; padding-right: 0; }
  .quick { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .quick .form { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92svh; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  @media (prefers-reduced-motion: no-preference) { .quick[open] { animation: sheet-in .35s var(--ease); } }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
