/* --- Self-hosted fonts (Figtree + DM Sans, SIL Open Font License 1.1) --------
   Served from our own domain on purpose: no third-party host can delay or block
   the page, and no visitor data is sent elsewhere (GDPR). These are variable
   fonts, so one file per subset covers every weight — declaring a weight RANGE
   means real 600/700 letterforms instead of the browser faking bold. latin-ext
   carries the Lithuanian and Polish accented characters.                     */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   websoni.com — design system
   Refined cobalt palette, dense editorial typography, flat-premium components.
   ========================================================================== */

:root {
  --accent: #2E6BF6;
  --accent-deep: #1B54DE;
  --accent-soft: #6E9BFF;
  --ink: #0A1735;
  --text: #4E5D7C;
  --muted: #8291AD;
  --tint: #EBF1FE;
  --tint-2: #D9E6FD;
  --band: #F4F7FD;
  --line: #E3EAF6;
  --white: #ffffff;
  --footer-bg: #0B1B3A;
  --footer-line: #1D3158;

  --font-head: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --r: 0px;
  --r-btn: 0px;
  --shadow-card: 0 2px 5px rgba(10, 23, 53, 0.05), 0 14px 34px rgba(10, 23, 53, 0.08);
  --shadow-card-hover: 0 6px 14px rgba(10, 23, 53, 0.07), 0 26px 54px rgba(10, 23, 53, 0.13);

  --header-h: 108px;
  --header-h-s: 74px;
  --ease: cubic-bezier(0.25, 0.6, 0.35, 1);
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.62;
  letter-spacing: 0.1px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.4px; }
p strong, li strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 400; background: var(--ink); color: #fff; padding: 10px 18px; }
.skip-link:focus { top: 10px; }

/* --- Layout ----------------------------------------------------------------- */
.container { max-width: 1330px; width: 100%; margin-inline: auto; padding-inline: 30px; position: relative; }
.block { position: relative; }

.row-2 { display: flex; align-items: center; gap: 56px; }
.row-2 > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 900px) {
  .row-2 { flex-direction: column; align-items: stretch; gap: 34px; }
}

/* --- Typography ------------------------------------------------------------- */
.h1 { font-size: 46px; line-height: 1.09; }
.h1 .accent-line, .h2 .accent-line { color: var(--accent); display: block; }
.h2 { font-size: 38px; line-height: 1.12; margin-bottom: 26px; }
.h2 .accent-first { color: var(--accent); display: block; }
.lead { font-size: 16.5px; }
@media (max-width: 1020px) { .h1 { font-size: 40px; } .h2 { font-size: 31px; } }
@media (max-width: 560px)  { .h1 { font-size: 32px; } .h2 { font-size: 26.5px; } }
p + p { margin-top: 16px; }

/* --- Buttons ----------------------------------------------------------------- */
.btn {
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.1; letter-spacing: 0;
  display: inline-flex; justify-content: center; align-items: center;
  padding: 17px 34px; border: 2px solid var(--accent); border-radius: var(--r-btn);
  background: var(--accent); color: #fff;
  cursor: pointer; transition: all 0.3s ease-out;
  box-shadow: 0 10px 24px rgba(46, 107, 246, 0.28);
}
.btn .icon { margin-left: 16px; transition: transform 0.3s ease-out; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(10, 23, 53, 0.24); }
.btn:hover .icon { transform: translateX(5px); }
.btn--sm { font-size: 15.5px; padding: 12px 22px; box-shadow: none; }
.btn--secondary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(10, 23, 53, 0.2); }
.btn--secondary:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(46, 107, 246, 0.3); }
.btn--stroke-white { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; box-shadow: none; }
.site-footer .btn--stroke-white:hover, .btn--stroke-white:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }

.more {
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink);
  display: inline-flex; align-items: center; transition: color 0.3s ease-out;
}
.more .icon { margin-left: 14px; transition: transform 0.3s ease-out; }
.more:hover .icon { transform: translateX(6px); }

/* --- Checklist ---------------------------------------------------------------- */
.checklist { list-style: none; margin: 22px 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--text); line-height: 1.5; padding: 2px 0; }
.checklist .icon { flex: 0 0 auto; width: 21px; height: 21px; color: var(--accent); margin-top: 2px; stroke-width: 3.4px; }
.checklist strong { color: var(--ink); font-weight: 700; }

/* --- Header -------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200; background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.header-in { display: flex; align-items: center; height: var(--header-h); transition: height 0.3s; gap: 30px; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 2px 20px rgba(10, 23, 53, 0.08); }
.site-header.is-scrolled .header-in { height: var(--header-h-s); }

/* logo: mark + wordmark */
.logo { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.logo-mark { flex: 0 0 auto; }
.logo-word {
  font-family: var(--font-head); font-weight: 800; font-size: 27px; letter-spacing: -0.6px;
  color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline;
}
.logo-word::after { content: ''; width: 7px; height: 7px; background: var(--accent); margin-left: 5px; align-self: flex-end; margin-bottom: 2px; }
.logo-inv .logo-word { color: #fff; }
.logo-inv .logo-word::after { background: var(--accent-soft); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: 0;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link .icon { transition: transform 0.25s; }

.has-sub { position: relative; }
.has-sub.open .nav-link .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  min-width: 290px; background: #fff; box-shadow: 0 16px 50px rgba(10, 23, 53, 0.15);
  padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub ul { list-style: none; }
.sub a {
  display: block; padding: 11px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--ink);
  transition: color 0.18s, background 0.18s; white-space: nowrap;
}
.sub a:hover { color: var(--accent); background: var(--tint); }

.header-right { display: flex; align-items: center; gap: 18px; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); padding: 8px 6px;
}
.lang.open .lang-btn .icon { transform: rotate(180deg); }
.lang-btn .icon { transition: transform 0.2s; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 140px; list-style: none;
  background: #fff; box-shadow: 0 14px 44px rgba(10, 23, 53, 0.15); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 9px 14px; font-weight: 600; font-family: var(--font-head); font-size: 14.5px; color: var(--ink); }
.lang-menu a:hover { color: var(--accent); background: var(--tint); }
.lang-menu a[aria-current='true'] { color: var(--accent); }

/* burger */
.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger-box { position: relative; display: block; width: 24px; height: 18px; }
.burger-line, .burger-box::before, .burger-box::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2.6px; border-radius: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.burger-box::before { top: 0; }
.burger-line { top: 7.7px; }
.burger-box::after { top: 15.4px; }
.burger[aria-expanded='true'] .burger-box::before { top: 7.7px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger-line { opacity: 0; }
.burger[aria-expanded='true'] .burger-box::after { top: 7.7px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .nav, .lang-desktop, .header-cta { display: none; }
  .burger { display: grid; margin-left: auto; }
  :root { --header-h: 86px; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: #fff; padding: calc(var(--header-h) + 10px) 30px 40px;
  overflow-y: auto; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu:not([hidden]) { display: flex; }
body.menu-locked { overflow: hidden; }
.mm-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink);
  border-bottom: 1px solid var(--line); text-align: left;
}
.mm-acc-btn .icon { transition: transform 0.25s; }
.mm-group.open .mm-acc-btn .icon { transform: rotate(180deg); }
.mm-sub { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.mm-group.open .mm-sub { max-height: 480px; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group .mm-acc-btn { border-bottom: 0; }
.mm-sub a { display: block; padding: 10px 0 10px 18px; font-weight: 500; color: var(--text); }
.mm-sub a:hover { color: var(--accent); }
.mm-sub li:last-child { padding-bottom: 14px; }
.mm-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 18px; }
.mm-langs { display: flex; gap: 10px; }
.mm-langs a {
  flex: 1; text-align: center; padding: 11px; border: 2px solid var(--line); border-radius: var(--r-btn);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink);
}
.mm-langs a.is-current { border-color: var(--accent); color: var(--accent); }
.mm-contacts { display: grid; gap: 4px; text-align: center; font-size: 14px; }

/* --- Decorations & floating dots ------------------------------------------------ */
.dec { position: absolute; pointer-events: none; color: var(--accent); z-index: 1; }
.dec--dot::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dec--dot-sm::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.dec--cross::before { content: '+'; font-size: 24px; font-weight: 300; line-height: 1; font-family: var(--font-body); }
.dec--ring::before { content: ''; display: block; width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid currentColor; }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 10px); } }
.dec--f1 { animation: floatA 5s ease-in-out infinite; }
.dec--f2 { animation: floatB 7s ease-in-out infinite; }
.dec--f3 { animation: floatA 9s ease-in-out infinite reverse; }
@media (max-width: 900px) { .dec { display: none; } }

/* --- Intro (hero) --------------------------------------------------------------- */
.block__intro { padding-top: calc(var(--header-h) + 34px); padding-bottom: 36px; overflow: clip; }
.block__intro .row-2 { align-items: center; gap: 40px; }
.block__intro .row-2 > .intro-copy { flex: 0 0 46%; }
.intro-copy .h1 { margin-bottom: 20px; }
.intro-copy > p { max-width: 540px; font-size: 16px; }
.intro-logos { display: flex; align-items: center; gap: 30px; margin: 26px 0 32px; }
.intro-logos svg { height: 42px; width: auto; color: var(--ink); opacity: 0.88; transition: opacity 0.25s, transform 0.25s; }
.intro-logos svg:hover { opacity: 1; transform: translateY(-3px); }
.intro-art { display: grid; place-items: center; position: relative; }
.intro-art svg { width: 100%; max-width: 680px; height: auto; }
@media (max-width: 900px) {
  .block__intro { padding-top: calc(var(--header-h) + 18px); padding-bottom: 40px; }
  .block__intro .row-2 > .intro-copy { flex: 1 1 auto; }
  .intro-art { max-width: 460px; margin-inline: auto; }
}

/* --- Offer boxes ------------------------------------------------------------------ */
.block__offer { padding-top: 26px; padding-bottom: 44px; }
.offer-boxes { display: flex; flex-wrap: wrap; gap: 28px; }
.offer-item {
  flex: 1 1 calc(33.333% - 19px); min-width: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--tint); border-radius: var(--r); padding: 34px 32px 30px; position: relative;
  transition: background 0.3s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease-out;
  transform: translateY(0);
}
.offer-item:hover { background: var(--accent); transform: translateY(-10px); box-shadow: 0 24px 48px rgba(46, 107, 246, 0.32); }
.offer-item .icon-circle {
  width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; justify-content: center; align-items: center; margin-bottom: 22px;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}
.offer-item:hover .icon-circle { background: #fff; color: var(--accent); }
.offer-item .title { font-size: 21px; font-weight: 800; margin: 0 0 16px; transition: color 0.3s ease-out; }
.offer-item p { color: var(--text); font-size: 15px; line-height: 1.6; transition: color 0.3s ease-out; }
.offer-item p strong { transition: color 0.3s ease-out; }
.offer-item p + p { margin-top: 12px; }
.offer-item .more { margin-top: 24px; transition: color 0.3s ease-out; }
.offer-item .more .icon { color: var(--accent); transition: color 0.3s ease-out, transform 0.3s ease-out; }
.offer-item:hover .title, .offer-item:hover p, .offer-item:hover p strong,
.offer-item:hover .more, .offer-item:hover .more .icon { color: #fff; }
.offer-item .link { position: absolute; inset: 0; border-radius: var(--r); }
@media (max-width: 1020px) { .offer-item { flex-basis: calc(50% - 14px); } }
@media (max-width: 640px)  { .offer-item { flex-basis: 100%; } }

/* --- Other services (service-page cross-navigation) -------------------------------- */
.block__other { background: var(--band); padding: 78px 0; }
.block__other .h2 { margin-bottom: 34px; }
.block__other .offer-item { background: #fff; }
.block__other .offer-item:hover { background: var(--accent); }
.block__other .offer-item .title { font-family: var(--font-head); }

/* --- Image-with-text --------------------------------------------------------------- */
.block__iwt { padding: 78px 0; overflow: clip; }
.block__iwt.pb0 { padding-bottom: 26px; }
.iwt-img { display: grid; place-items: center; }
.iwt-img svg, .iwt-img img { max-width: 600px; max-height: 460px; width: 100%; height: auto; }
.iwt-content .btn { margin-top: 14px; align-self: flex-start; }
.iwt-content { display: flex; flex-direction: column; align-items: flex-start; }
.iwt-content > p { max-width: 560px; }
@media (max-width: 900px) { .iwt-img { max-width: 480px; margin-inline: auto; } .block__iwt { padding: 54px 0; } }

/* --- Projects band ------------------------------------------------------------------- */
.block__projects { background: var(--band); padding: 84px 0; overflow: clip; }
.block__projects .h2 { margin-bottom: 38px; }
.proj-card {
  background: #fff; display: block; position: relative; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.proj-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-card-hover); }
.proj-media { overflow: hidden; aspect-ratio: 16 / 11; background: var(--tint); position: relative; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 4.5s ease; }
.proj-card:hover .proj-media img { transform: translateY(-4%); }
.proj-body { padding: 20px 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.proj-cat { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 5px; }
.proj-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.proj-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--accent); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.proj-card:hover .proj-arrow { background: var(--accent); color: #fff; transform: rotate(-45deg); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; } }

/* --- Carousel (projects) --------------------------------------------------------------- */
.carousel { position: relative; }
.car-viewport { overflow: hidden; margin: -30px; padding: 30px; }
.car-track { display: flex; transition: transform 0.55s var(--ease); }
.car-slide { flex: 0 0 33.333%; padding: 0 14px; min-width: 0; }
.car-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.car-dot { width: 9px; height: 9px; border-radius: 50%; background: #C9D4E8; transition: background 0.25s, transform 0.25s; padding: 0; }
.car-dot.is-active { background: var(--accent); transform: scale(1.3); }
@media (max-width: 1020px) { .car-slide { flex-basis: 50%; } }
@media (max-width: 640px)  { .car-slide { flex-basis: 100%; } }

/* --- Benefits: navy editorial numbered list ------------------------------------------------ */
.block__benefits { padding: 88px 0; background: var(--footer-bg); color: #A9B7D6; overflow: clip; }
.block__benefits::before {
  content: ''; position: absolute; top: -160px; left: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: rgba(46, 107, 246, 0.13);
  animation: bubbleDrift 13s ease-in-out infinite;
}
@keyframes bubbleDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, 12px) scale(1.06); }
}
.block__benefits .container { position: relative; }
.benefits-cols { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
@media (max-width: 900px) { .benefits-cols { grid-template-columns: 1fr; } }
.benefits-intro .h2 { color: #fff; margin-bottom: 18px; }
.benefits-intro .h2 .accent-first { color: var(--accent-soft); }
.benefits-intro p { font-size: 15.5px; max-width: 420px; }
.benefits-intro .btn { margin-top: 28px; }
.benefits-list { list-style: none; }
.b-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 24px 0 22px; border-bottom: 1px solid var(--footer-line);
  transition: transform 0.3s var(--ease);
}
.benefits-list .b-row:first-child { padding-top: 6px; }
.b-row:hover { transform: translateX(10px); }
.b-num {
  font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--accent-soft);
  padding-top: 3px; letter-spacing: 1px; transition: color 0.3s;
}
.b-row:hover .b-num { color: #FFB83D; }
.b-row .title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 6px; }
.b-row p { font-size: 14.5px; line-height: 1.62; }
.b-row p strong { color: #DCE4F5; }

/* numbered chips reused on the contact page (light background) */
.next-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .next-steps-grid { grid-template-columns: 1fr; } }
.ns-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ns-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.ns-card .ns-num { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--accent); margin-bottom: 12px; }
.ns-card .title { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 7px; }
.ns-card p { font-size: 14.5px; }

/* --- FAQ ---------------------------------------------------------------------------------- */
.block__faq { background: var(--band); padding: 84px 0; }
.block__faq .h2 { text-align: center; margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.acc { background: #fff; box-shadow: 0 1px 3px rgba(10, 23, 53, 0.05); transition: box-shadow 0.3s; }
.acc.open { box-shadow: var(--shadow-card); }
.acc-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.acc-btn .icon { flex: 0 0 auto; color: var(--accent); transition: transform 0.3s var(--ease); }
.acc.open .acc-btn .icon { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.acc.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-in { overflow: hidden; min-height: 0; }
.acc-panel p { padding: 0 22px 18px; font-size: 14.5px; }

/* --- Contact form ---------------------------------------------------------------------------- */
.block__cf { padding: 78px 0 84px; overflow: clip; }
.block__cf .h2 { text-align: center; font-size: 32px; max-width: 760px; margin: 0 auto 40px; line-height: 1.22; }
@media (max-width: 1020px) { .block__cf .h2 { font-size: 30px; } }
@media (max-width: 560px)  { .block__cf .h2 { font-size: 26.5px; } }
.block__cf .h2 .accent-word { color: var(--accent); }
.cf-form { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 20px; }
@media (max-width: 700px) { .cf-row { grid-template-columns: 1fr; } }
.cf-input {
  width: 100%; border: 1.5px solid var(--line); background: #fff;
  padding: 13px 16px; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-input::placeholder { color: var(--muted); }
.cf-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(46, 107, 246, 0.14); }
.field.err .cf-input { border-color: #e5484d; }
.field-err { display: none; font-size: 12px; color: #d93036; margin-top: 4px; }
.field.err .field-err { display: block; }

.cf-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 22px; }
.cf-checks label { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; cursor: pointer; color: var(--text); }
.cf-checks input, .consent input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #C6D2E6; background: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; transition: all 0.2s; }
.cf-checks input:checked, .consent input:checked { background: var(--accent); border-color: var(--accent); }
.cf-checks input:checked::before, .consent input:checked::before {
  content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(0.5px, -1px);
}
.cf-bottom { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
@media (max-width: 700px) { .cf-bottom { grid-template-columns: 1fr; } }
.cf-textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.consent input { margin-top: 2px; }
.consent a { color: var(--accent); font-weight: 600; }
.cf-submit { display: flex; justify-content: center; margin-top: 28px; }
.cf-art { position: absolute; right: -76px; bottom: -78px; width: 440px; opacity: 0.95; pointer-events: none; z-index: 0; }
.cf-bottom { position: relative; z-index: 2; }
@media (max-width: 1100px) { .cf-art { display: none; } }
.form-note { display: none; margin: 18px auto 0; max-width: 640px; padding: 12px 16px; font-size: 14px; text-align: center; }
.form-note.ok { display: block; background: #e8f9f0; color: #18794e; }
.form-note.bad { display: block; background: #fdebec; color: #ce2c31; }

/* --- Page intro (subpages) --------------------------------------------------------------------- */
.page-title-wrap { padding-top: calc(var(--header-h) + 44px); padding-bottom: 26px; }
.page-title-wrap .h1 { margin-bottom: 16px; max-width: 820px; }
.page-title-wrap .lead { max-width: 660px; }

/* --- Contact page -------------------------------------------------------------------------------- */
.contact-wrap { padding: 34px 0 84px; }
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel {
  background: var(--footer-bg); border-radius: var(--r); padding: 36px 34px; color: #B9C6E2;
  position: relative; overflow: hidden;
}
.contact-panel::after {
  content: ''; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(46, 107, 246, 0.25);
  animation: bubbleDrift 11s ease-in-out infinite;
}
.contact-panel::before {
  content: ''; position: absolute; right: 30px; bottom: 96px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-soft); opacity: 0.8;
}
.contact-panel h2 { color: #fff; font-size: 23px; margin-bottom: 8px; }
.contact-panel .cp-sub { font-size: 14.5px; margin-bottom: 28px; }
.contact-panel .cp-sub strong { color: #fff; }
.cp-item { display: flex; gap: 15px; align-items: flex-start; padding: 13px 0; position: relative; z-index: 1; }
.cp-item + .cp-item { border-top: 1px solid var(--footer-line); }
.cp-ic {
  flex: 0 0 auto; width: 46px; height: 46px; background: rgba(46, 107, 246, 0.2);
  color: var(--accent-soft); display: grid; place-items: center;
}
.cp-item small { display: block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #7E90B8; margin-bottom: 2px; }
.cp-item a, .cp-item .val { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; }
.cp-item a:hover { color: var(--accent-soft); }
.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 34px;
  box-shadow: var(--shadow-card);
}
.contact-form-card .cf-form { max-width: none; }
.contact-form-card .form-title { font-size: 23px; margin-bottom: 24px; }

/* --- Project detail ------------------------------------------------------------------------------- */
.pd-head { padding-top: calc(var(--header-h) + 38px); padding-bottom: 44px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--muted); transition: color 0.2s; margin-bottom: 32px; }
.back-link:hover { color: var(--accent); }
.back-link .icon { transition: transform 0.25s; }
.back-link:hover .icon { transform: translateX(-5px); }
.pd-cat { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.pd-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; gap: 30px; } }
.pd-meta { border-top: 1px solid var(--line); }
.pd-meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pd-meta dt { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.pd-meta dd { color: var(--ink); font-weight: 600; }
.pd-scope { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-scope span { padding: 4px 12px; background: var(--tint); color: var(--accent); font-size: 12.5px; font-weight: 700; }

.pd-shots { padding: 8px 30px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1120px; margin-inline: auto; }
.pd-shots .shot { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); align-self: start; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pd-shots .shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pd-shots .shot-full { grid-column: 1 / -1; }
@media (max-width: 700px) { .pd-shots { grid-template-columns: 1fr; } }

.next-proj {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--band); border-radius: var(--r); padding: 34px 40px;
  transition: background 0.3s ease-out;
}
.next-proj:hover { background: var(--accent); }
.next-proj small { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; transition: color 0.3s; }
.next-proj .np-name { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--ink); transition: color 0.3s; }
.next-proj .icon { color: var(--ink); transition: color 0.3s; }
.next-proj:hover small, .next-proj:hover .np-name, .next-proj:hover .icon { color: #fff; }

/* --- Projects listing ------------------------------------------------------------------------------ */
.plist { padding: 40px 0 84px; }

/* --- Prose (privacy) --------------------------------------------------------------------------------- */
.prose { max-width: 720px; padding-bottom: 84px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }

/* --- 404 ----------------------------------------------------------------------------------------------- */
.nf { min-height: 68vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(80px, 16vw, 150px); line-height: 1; color: var(--accent); }
.nf h1 { font-size: 32px; margin: 10px 0 12px; }
.nf p { margin-bottom: 26px; }

/* --- Footer --------------------------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: #A9B7D6; padding: 64px 0 24px; position: relative; overflow: clip; }
.site-footer::before {
  content: ''; position: absolute; top: -140px; right: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(46, 107, 246, 0.14);
  animation: bubbleDriftBig 10s ease-in-out infinite;
}
@keyframes bubbleDriftBig {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-34px, 26px) scale(1.09); }
}
.site-footer .container { position: relative; }
.f-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 980px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.f-brand .logo { margin-bottom: 20px; }
.f-name { font-family: var(--font-head); font-weight: 600; color: #DCE4F5; font-size: 15px; margin-bottom: 16px; max-width: 250px; }
.f-contacts { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.f-contacts a { color: #DCE4F5; font-weight: 500; transition: color 0.2s; }
.f-contacts a:hover { color: var(--accent-soft); }
.f-title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 16px; margin-bottom: 18px; }
.f-col ul { list-style: none; display: grid; gap: 10px; }
.f-col a { font-size: 14.5px; color: #A9B7D6; transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.f-cta-text { font-size: 14.5px; margin-bottom: 20px; }
.f-cta-text strong { color: #fff; }
.f-bottom { border-top: 1px solid var(--footer-line); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #7E90B8; }
.f-langs { display: flex; gap: 4px; }
.f-langs a { padding: 4px 10px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #A9B7D6; }
.f-langs a:hover { color: #fff; }
.f-langs a.is-current { color: #fff; background: rgba(46, 107, 246, 0.35); }

/* --- Reveal (AOS-like) ----------------------------------------------------------------------------
   Content-first rule: text is VISIBLE by default. It is only hidden for the
   scroll animation when JavaScript is confirmed running (html.js) and the
   watchdog has not fired (html.reveal-all). If the script is blocked, times
   out, or throws, the page still shows everything. Never a blank page.       */
html.js:not(.reveal-all) [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--d, 0s);
}
html.js:not(.reveal-all) [data-reveal='left'] { transform: translateX(-44px); }
html.js:not(.reveal-all) [data-reveal='right'] { transform: translateX(44px); }
html.js [data-reveal].in-view { opacity: 1; transform: none; }
html.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }

/* Above the fold (hero + page title) never waits for the script: these animate
   with a pure-CSS entrance that plays on load, so the headline is always there.
   Deliberately animating transform only, never opacity — a browser that never
   runs the animation (a page opened in a background tab freezes it on its first
   frame) then shows the text in place rather than holding it invisible. */
@keyframes revealUp { from { transform: translateY(26px); } to { transform: none; } }
@keyframes revealRight { from { transform: translateX(40px); } to { transform: none; } }
html.js .page-title-wrap [data-reveal],
html.js .pd-head [data-reveal],
html.js .block__intro [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: revealUp 0.6s var(--ease) both; animation-delay: var(--d, 0s);
}
html.js .block__intro [data-reveal='right'] { animation-name: revealRight; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js:not(.reveal-all) [data-reveal] { opacity: 1; transform: none; }
}

/* --- Fallbacks when JavaScript never arrives -------------------------------------------------------
   Applies when JS is disabled outright (html.no-js) or when the watchdog fired
   before main.js booted (html.reveal-all). Everything stays
   reachable: navigation, FAQ answers, all project cards.                     */
/* The header's opaque state is normally applied on scroll by the script; without
   it the header would stay transparent and content would scroll under the logo. */
html.no-js .site-header, html.reveal-all .site-header {
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 2px 20px rgba(10, 23, 53, 0.08); transition: none;
}
html.no-js .burger, html.reveal-all .burger { display: none; }
html.no-js .nav, html.reveal-all .nav { display: block; margin-left: auto; }
html.no-js .nav-list, html.reveal-all .nav-list {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
html.no-js .nav .sub, html.reveal-all .nav .sub { display: none; }
html.no-js .lang-desktop, html.reveal-all .lang-desktop { display: flex; }
html.no-js .lang-menu, html.reveal-all .lang-menu {
  position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
  display: flex; gap: 8px; padding: 0; border: 0; background: none; min-width: 0;
}
html.no-js .lang-btn, html.reveal-all .lang-btn { display: none; }
html.no-js .lang-menu a, html.reveal-all .lang-menu a { padding: 4px 6px; font-size: 13px; }
/* Below the burger breakpoint the fallback nav needs more than one row, so the
   header stops floating and simply takes the space it needs (--header-h drives
   every section's top offset, so zeroing it keeps the spacing correct). */
@media (max-width: 1120px) {
  html.no-js, html.reveal-all { --header-h: 0px; --header-h-s: 0px; }
  html.no-js .site-header, html.reveal-all .site-header { position: static; }
  html.no-js .header-in, html.reveal-all .header-in {
    height: auto; flex-wrap: wrap; padding: 14px 0; row-gap: 10px; gap: 16px;
  }
  html.no-js .nav, html.reveal-all .nav { width: 100%; order: 4; margin-left: 0; }
  html.no-js .nav-list, html.reveal-all .nav-list {
    gap: 4px 18px; font-size: 15px; justify-content: flex-start;
  }
  html.no-js .nav-list > li, html.reveal-all .nav-list > li { white-space: nowrap; }
}
/* FAQ answers readable without the toggle script */
html.no-js .acc-panel, html.reveal-all .acc-panel { grid-template-rows: 1fr; transition: none; }
html.no-js .acc-btn .icon, html.reveal-all .acc-btn .icon { display: none; }
/* Carousel becomes a plain grid so every project is visible */
html.no-js .car-track, html.reveal-all .car-track { flex-wrap: wrap; transform: none !important; row-gap: 28px; transition: none; }
html.no-js .car-dots, html.reveal-all .car-dots { display: none; }
/* Contact form cannot submit without the script — point people at the address */
.form-fallback { display: none; }
html.no-js .form-fallback, html.reveal-all .form-fallback { display: block; margin-top: 14px; font-size: 14.5px; }
html.no-js .cf-submit, html.reveal-all .cf-submit { display: none; }
@media print { html [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; } }
