/* Poppins + Roboto подключаются в _head.php через Google Fonts */

/* reveal-on-scroll — only when JS is present (.js gate = progressive enhancement) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Header nav links: underline-on-hover in brand blue (Webflow .nav-link-2 parity) */
.nav-link { font-family: Poppins, Arial, sans-serif; font-size: 17px; font-weight: 400; color: #02040b; transition: box-shadow .35s cubic-bezier(.23, 1, .32, 1), color .35s cubic-bezier(.23, 1, .32, 1); }
.nav-link:hover { box-shadow: inset 0 -2px 0 0 #356dff; color: #356dff; }
@media (prefers-reduced-motion: reduce) { .nav-link { transition: none; } }

/* Partner-logo strip: fixed height, natural width, no distortion */
/* Logos keep their aspect ratio and shrink with the row (rows never wrap, see index.php gj_logo_rows). */
.logo-strip li { flex: 0 1 auto; }
.logo-strip img { display: block; width: 100%; height: auto; max-height: 56px; object-fit: contain; }
@media (max-width: 767px) { .logo-strip img { max-height: 40px; } }

/* --- Blog article prose (light theme) --- */
.prose-article { max-width: 42rem; color: #1b1b1b; font-size: 1.0625rem; line-height: 1.75; }
.prose-article > * + * { margin-top: 1.25em; }
.prose-article h2 { margin-top: 2em; color: #02040b; font-weight: 700; font-size: 1.6rem; line-height: 1.25; letter-spacing: -0.01em; }
.prose-article h3 { margin-top: 1.6em; color: #02040b; font-weight: 600; font-size: 1.25rem; }
.prose-article strong { color: #02040b; font-weight: 700; }
.prose-article a { color: #2550d4; text-decoration: underline; text-decoration-color: rgba(53,109,255,.4); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.prose-article a:hover { color: #356dff; text-decoration-color: #356dff; }
.prose-article ul, .prose-article ol { padding-left: 1.4em; }
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li { margin-top: .5em; }
.prose-article li::marker { color: #356dff; }
.prose-article blockquote { border-left: 2px solid #356dff; padding-left: 1.1em; color: #4d4f54; font-style: italic; }
.prose-article code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em; background: #eaf0ff; border: 1px solid rgba(2,4,11,.08); border-radius: 5px; padding: .12em .4em; color: #02040b; }
.prose-article pre { background: #eaf0ff; border: 1px solid rgba(2,4,11,.1); border-radius: 12px; padding: 1.1em 1.25em; overflow-x: auto; }
.prose-article pre code { background: none; border: 0; padding: 0; font-size: .85rem; line-height: 1.6; color: #02040b; }
.prose-article img { border-radius: 12px; border: 1px solid rgba(2,4,11,.1); max-width: 100%; height: auto; }
.prose-article figure { margin-top: 2em; margin-bottom: 2em; }
.prose-article figure img { display: block; width: 100%; }
.prose-article figcaption { margin-top: .7em; color: #4d4f54; font-size: .9rem; line-height: 1.5; }
.prose-article hr { border: 0; border-top: 1px solid rgba(2,4,11,.12); }
.prose-article table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose-article th, .prose-article td { border: 1px solid rgba(2,4,11,.14); padding: .5em .75em; text-align: left; }
.prose-article th { color: #02040b; background: #eaf0ff; }

/* --- Header dropdown submenus (Services / Customer stories) --- */
/* Closed by default; opened only via .is-open — JS is the single source of truth for state
   (mouseenter/leave, focusin/out, click and Escape all just toggle this one class). */
.nav-dd-panel { display: none; }
@media (min-width: 1024px) {
  .nav-dd.is-open > .nav-dd-panel { display: block; }
}
.nav-dd-item { display: block; padding: 10px 20px; font-family: Poppins, Arial, sans-serif; font-size: 17px; line-height: 24px; color: #02040b; white-space: nowrap; }
.nav-dd-item:hover, .nav-dd-item:focus-visible { background: #d6e1ff; color: #356dff; }
