/**
 * DK Soft Radar — theme styles
 * Combo: Soft Surfaces (V4) + LeadRadar patterns (V7)
 * Type scale matched to original kuzmenov.ru (body 17px, brand 22px, subtitles 2rem, …)
 */

:root {
  --dk-blue-dark: #004466;
  --dk-blue: #0066cc;
  --dk-blue-link: #0076ff;
  --dk-blue-mid: #1583e9;
  --dk-blue-hover: #498dde;
  --dk-blue-soft: #e5f1ff;
  --dk-text: #212529;
  --dk-text-strong: #0e0e0e;
  --dk-muted: #6c757d;
  --dk-muted-2: #adadad;
  --dk-border: #d8d8d8;
  --dk-border-soft: #e0e0e0;
  --dk-bg: #ffffff;
  --dk-bg-page: #f3f6f9;
  --dk-bg-alt: #f7f7f7;
  --dk-bg-gray: #e9ecef;
  --dk-font: "Montserrat", Arial, sans-serif;
  --dk-fluid-pad: 50px;
  --dk-radius: 20px;
  --dk-shadow: 0 10px 40px rgba(0, 68, 102, 0.08);
  --dk-sticky-offset: 7.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--dk-sticky-offset);
}

body {
  margin: 0;
  font-family: var(--dk-font);
  font-size: 17px; /* original */
  font-weight: 400;
  line-height: 1.5;
  color: var(--dk-text);
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(21, 131, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 20%, rgba(0, 68, 102, 0.06), transparent 50%),
    var(--dk-bg-page);
  text-align: left;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--dk-blue-link); }
a:hover { color: var(--dk-blue-hover); text-decoration: none; }

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
.btn-dk:focus,
.btn-dk:focus-visible,
.nav-link:focus,
.nav-link:focus-visible,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible,
.chip:focus,
.chip:focus-visible,
.form-control:focus,
.btn:focus,
.btn:focus-visible,
summary:focus,
summary:focus-visible {
  outline: none;
  box-shadow: none;
}

.container-fluid.site-content {
  padding-left: var(--dk-fluid-pad);
  padding-right: var(--dk-fluid-pad);
}

@media (max-width: 992px) {
  :root { --dk-fluid-pad: 16px; }
}

/* —— Skip —— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--dk-blue);
  color: #fff !important;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* —— Buttons (original 14px / uppercase) —— */
.btn-dk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--dk-blue);
  border: 1px solid var(--dk-blue);
  border-radius: 25px;
  padding: 12px 32px;
  transition: background .2s, border-color .2s, box-shadow .25s ease, transform .2s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}
.btn-dk:hover {
  background: var(--dk-blue-hover);
  border-color: var(--dk-blue-hover);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 102, 204, 0.28);
}
.btn-dk-outline {
  background: transparent;
  color: var(--dk-blue) !important;
}
.btn-dk-outline:hover {
  background: var(--dk-blue);
  color: #fff !important;
}
.btn-dk-sm {
  min-height: 38px;
  padding: 10px 26px;
  font-size: 12px;
}
.btn-dk-block { width: 100%; }

/* —— Nav (Soft sticky + brand sizes from original) —— */
#mainNav {
  position: sticky;
  top: 10px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  margin: 10px 12px 0;
  box-shadow: 0 8px 30px rgba(0, 68, 102, 0.08);
  padding: 0;
  transition: border-radius .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease;
}
.has-toolbar #mainNav { top: 42px; }
@media screen and (max-width: 782px) {
  .has-toolbar #mainNav { top: 56px; }
}
/* Brand: as original kuzmenov.ru (dev/style.css) — size, spacing, scroll + underline hover */
#mainNav .navbar-brand {
  font-family: var(--dk-font);
  font-weight: 700;
  color: var(--dk-blue-dark) !important;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  padding: 18px 0;
  line-height: 1.15;
  transition:
    color .22s ease,
    font-size .22s cubic-bezier(.22, 1, .36, 1),
    letter-spacing .22s ease,
    font-weight .22s ease,
    padding .22s cubic-bezier(.22, 1, .36, 1);
}
#mainNav .navbar-brand span {
  position: relative;
  display: inline-block;
  transition: color .2s ease;
}
#mainNav .navbar-brand small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--dk-muted);
  margin-top: 2px;
  max-height: 24px;
  opacity: 1;
  overflow: hidden;
  transition:
    opacity .18s ease,
    max-height .22s cubic-bezier(.22, 1, .36, 1),
    margin .22s cubic-bezier(.22, 1, .36, 1);
}
#mainNav .navbar-brand .pill-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dk-blue);
  background: var(--dk-blue-soft);
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}
#mainNav .nav-link {
  font-weight: 500;
  font-size: 16px;
  color: var(--dk-text) !important;
  padding: 10px 14px !important;
  border-radius: 999px;
  line-height: 1;
  transition:
    background .2s ease,
    color .2s ease,
    font-size .22s cubic-bezier(.22, 1, .36, 1),
    padding .22s cubic-bezier(.22, 1, .36, 1);
}
#mainNav .nav-link:hover:not(.nav-cta),
#mainNav .nav-link.active:not(.nav-cta) {
  color: var(--dk-blue) !important;
  background: var(--dk-blue-soft);
}
#mainNav .nav-cta {
  background: var(--dk-blue) !important;
  color: #fff !important;
  margin-left: 6px;
}
#mainNav .nav-cta:hover,
#mainNav .menu-item-cta > a:hover {
  background: var(--dk-blue-hover) !important;
  color: #fff !important;
}
#mainNav .navbar-brand .custom-logo-link {
  display: inline-block;
}
#mainNav .navbar-brand .custom-logo {
  max-height: 48px;
  width: auto;
  transition: max-height .22s cubic-bezier(.22, 1, .36, 1);
}
#mainNav .nav-bar-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  transition: min-height .22s cubic-bezier(.22, 1, .36, 1);
}
#mainNav .navbar-toggler {
  border: none;
  padding: 10px 4px;
  margin: 0;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  order: 2;
  display: none;
}
#mainNav .navbar-brand {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
}
#mainNav .navbar-collapse {
  order: 3;
  flex-basis: 100%;
}
#mainNav .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
#mainNav .navbar-toggler-icon {
  width: 24px;
  height: 17px;
  display: block;
  position: relative;
  background-image: none !important;
  border-bottom: 1px solid var(--dk-blue-dark);
  transition: border-color .3s linear;
}
#mainNav .navbar-toggler-icon::before,
#mainNav .navbar-toggler-icon::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--dk-blue-dark);
  position: absolute;
  left: 0;
  top: 0;
  transition: transform .3s linear, top .3s linear;
}
#mainNav .navbar-toggler-icon::after {
  top: 8px;
}
#mainNav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  border-color: transparent;
}
#mainNav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(8px) rotate(-45deg);
}
#mainNav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(45deg);
}

@media (min-width: 992px) {
  #mainNav .navbar-brand {
    padding-right: 0;
    flex: 0 1 auto;
  }
  #mainNav .navbar-collapse {
    flex-basis: auto;
    order: 2;
  }
  #mainNav .navbar-toggler { display: none !important; }
  #mainNav.is-scrolled .nav-bar-inner {
    min-height: 58px;
    justify-content: space-between;
  }
  #mainNav.is-scrolled .navbar-brand {
    position: static;
    left: auto;
    transform: none;
    z-index: auto;
    text-align: left;
  }
  #mainNav.is-scrolled .nav-link {
    padding: 8px 12px !important;
    font-size: 15px;
  }
}

#mainNav.is-scrolled {
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 68, 102, 0.1);
}
#mainNav.is-scrolled .navbar-brand {
  color: #adadad !important;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 10px 0;
  text-align: left;
  position: relative;
}
#mainNav.is-scrolled .navbar-brand small {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}
#mainNav.is-scrolled .navbar-brand:hover span {
  color: #004466;
}
/* Original underline grow on hover (scrolled state only) */
#mainNav.is-scrolled .navbar-brand span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #004466;
  transform: scaleX(0);
  transition: transform .3s ease;
}
#mainNav.is-scrolled .navbar-brand:hover span::after {
  transform: scaleX(1);
}
#mainNav.is-scrolled .navbar-brand .custom-logo { max-height: 36px; }

@media (max-width: 991.98px) {
  #mainNav {
    margin: 8px 8px 0;
    border-radius: 16px;
  }
  #mainNav .site-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  #mainNav .navbar-toggler { display: inline-flex; }
  #mainNav .navbar-brand {
    font-size: 15px;
    letter-spacing: 1.2px;
    padding: 14px 0;
    max-width: calc(100% - 48px);
    padding-right: 8px;
  }
  #mainNav .navbar-brand small { display: none; }
  #mainNav .navbar-nav {
    border-top: 1px solid #eee;
    margin: 0 !important;
    padding: 8px 0 14px;
  }
  #mainNav .nav-link {
    display: block;
    font-size: 17px;
    padding: 14px 8px !important;
    border-bottom: 1px solid #eee;
    border-radius: 0;
  }
  #mainNav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }
  #mainNav .nav-cta {
    margin: 12px 0 0;
    text-align: center;
    border-radius: 999px !important;
    border-bottom: 0 !important;
  }
  #mainNav.is-scrolled .navbar-brand {
    margin: 0;
    position: static;
    transform: none;
    text-align: left;
  }
}

/* —— Hero Soft + LR accents —— */
.masthead {
  margin: 1rem var(--dk-fluid-pad) 0;
  border-radius: 24px;
  min-height: 52vh;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(135deg, var(--dk-blue-dark) 0%, var(--dk-blue-mid) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  box-shadow: 0 20px 50px rgba(0, 68, 102, 0.22);
  position: relative;
  overflow: hidden;
}
.masthead.masthead--home {
  min-height: min(56vh, 460px);
  text-align: center;
  justify-content: center;
  background-color: #004466;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(21, 131, 233, 0.35), transparent 55%),
    linear-gradient(rgba(0, 68, 102, 0.72), rgba(0, 68, 102, 0.88));
  background-position: center;
  padding: 2.75rem 0 2.35rem;
}
.masthead.masthead--home::before,
.masthead.masthead--home::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.masthead.masthead--home::before {
  inset: -30%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, 0.07) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255, 255, 255, 0.07) 23px 24px);
  animation: mast-grid 36s linear infinite;
}
.masthead.masthead--home::after {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  left: 12%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 131, 233, 0.28), transparent 68%);
  animation: mast-glow 14s ease-in-out infinite;
}
@keyframes mast-grid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(24px, 24px); }
}
@keyframes mast-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(18%, 12%) scale(1.12); opacity: 1; }
}
.masthead.masthead--home .site-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.masthead.masthead--home h1 {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  min-height: 1.25em;
  font-size: clamp(1.45rem, 3.4vw, 2.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.masthead.masthead--home .lead,
.masthead.masthead--home p {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.75);
}
.masthead.masthead--home .cta-row {
  justify-content: center;
  margin-bottom: 0;
}
.masthead .js-typed {
  display: inline;
}
.masthead .typed-cursor {
  display: inline-block;
  width: 0.08em;
  margin-left: 2px;
  background: #fff;
  color: transparent;
  animation: typed-blink 1s step-end infinite;
  vertical-align: baseline;
}
@keyframes typed-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.masthead .scroll-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  opacity: 0.65;
  animation: sdb 2s infinite;
}
.masthead .scroll-btn::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
}
@keyframes sdb {
  0%, 40% { transform: translate(0, 0); }
  20% { transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .masthead .typed-cursor { animation: none; }
  .masthead .scroll-btn { animation: none; }
  .masthead.masthead--home::before,
  .masthead.masthead--home::after { animation: none; }
}
.masthead .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.masthead .pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffa0;
  box-shadow: 0 0 0 3px rgba(125, 255, 160, 0.25);
}
.masthead h1 {
  font-size: 2.5rem; /* ~bootstrap/creative desktop */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 18ch;
}
.masthead h1 em {
  font-style: normal;
  color: #cfe7ff;
}
.masthead .lead,
.masthead p {
  font-size: 1.25rem; /* original desktop */
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-bottom: 22px;
  font-weight: 400;
}
.masthead .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.masthead .btn-dk-outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff !important;
}
.masthead .btn-dk-outline:hover {
  background: #fff;
  color: var(--dk-blue-dark) !important;
  border-color: #fff;
}
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}
.proof-row span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.hero-panel {
  background: #fff;
  color: var(--dk-text);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 40, 70, 0.2);
  font-size: 14px;
}
.hero-panel .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--dk-muted);
  margin-bottom: 12px;
}
.live-tag {
  color: #0a7a3e;
  background: #e8f8ef;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}
.metric {
  background: var(--dk-bg-alt);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.metric strong {
  display: block;
  font-size: 22px;
  color: var(--dk-blue-dark);
}
.metric span {
  font-size: 12px;
  color: var(--dk-muted);
}
.feed-item {
  background: var(--dk-blue-soft);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 6px;
}
.feed-item.spam {
  background: #f0f0f0;
  color: var(--dk-muted);
  text-decoration: line-through;
}

@media (max-width: 991.98px) {
  .masthead {
    min-height: auto;
    padding: 2.5rem 0;
  }
  .masthead.masthead--home {
    min-height: min(50vh, 400px);
    padding: 2.15rem 0 2rem;
  }
  .masthead h1 { font-size: 1.75rem; } /* original mobile */
  .masthead.masthead--home h1 {
    max-width: 100%;
    font-size: clamp(1.15rem, 4.6vw, 1.7rem);
    letter-spacing: 0.03em;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    min-height: 2.5em;
  }
  .masthead p,
  .masthead .lead { font-size: 1.15rem; }
}

/* —— Sections —— */
.page-section { padding: 2.75rem 0; }
.page-section.tight { padding-top: 2.75rem; } /* rhythm: no zero-gap sections */
.page-section--compact { padding: 1.75rem 0; }
.section-label,
.top_title {
  font-size: 14px; /* original top_title */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--dk-blue);
  margin-bottom: 10px;
}
.section-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--dk-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title,
.subtitle,
.index_subtitle {
  font-size: 2rem; /* original subtitle */
  font-weight: 500;
  color: var(--dk-text-strong);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.section-title.strong { font-weight: 700; }
.section-sub {
  color: var(--dk-muted);
  max-width: 48ch;
  margin-bottom: 1.5rem;
  font-size: 17px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.section-head .section-title { margin-bottom: 0; }
.section-head a {
  font-size: 14px;
  font-weight: 600;
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head--center .section-sub {
  margin-top: 6px;
}

@media (max-width: 991.98px) {
  .section-title,
  .subtitle,
  .index_subtitle {
    font-size: 1.7rem;
    line-height: 1.2;
  }
  .page-section { padding: 2.5rem 0; }
}

/* —— Soft panels / cards —— */
.panel {
  background: #fff;
  border-radius: var(--dk-radius);
  padding: 24px 26px;
  box-shadow: var(--dk-shadow);
  height: 100%;
  font-size: 17px;
  border: 1px solid transparent;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .25s ease, background .25s ease;
}
/* Surface modifiers — compose on .panel, .price-lr, .card-soft, … */
.is-lift {
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .25s ease, background .25s ease;
}
.is-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 68, 102, 0.1);
}
.is-tint {
  background: var(--dk-blue-soft);
}
.is-outline {
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: none;
}
.is-outline.is-lift:hover {
  border-color: rgba(0, 102, 204, 0.45);
  box-shadow: 0 14px 30px rgba(0, 68, 102, 0.1);
}
/* Always-on blue frame (like featured price). Works on any surface. */
.is-featured {
  border-color: var(--dk-blue) !important;
  background: linear-gradient(180deg, #fff 0%, var(--dk-blue-soft) 160%);
}
/* Scroll reveal — add .reveal; JS adds .is-in when visible */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s ease,
    border-color .25s ease,
    background .25s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal.is-lift:hover {
  /* until .is-in — keep hidden start state; hover only after appear */
  transform: translateY(18px);
}
.reveal.is-in.is-lift:hover {
  transform: translateY(-3px);
}
.ui-kit-reveal-before {
  opacity: 0.45;
  transform: translateY(18px);
}
.card-soft {
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px 24px;
  height: 100%;
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 68, 102, 0.05);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .25s ease, background .25s ease;
  display: flex;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
}
a.card-soft {
  cursor: pointer;
}
.card-soft.is-lift:hover,
a.card-soft.is-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(21, 131, 233, 0.16);
  border-color: rgba(21, 131, 233, 0.22);
  color: inherit !important;
}
.card-soft .num,
.step-card .n {
  font-weight: 700;
  color: var(--dk-blue);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}
.card-soft h3,
.step-card h3 {
  font-size: 20px; /* original .heads */
  font-weight: 500;
  margin-bottom: 10px;
}
.card-soft p,
.step-card p {
  margin: 0 0 16px;
  color: var(--dk-muted);
  font-size: 17px;
  flex: 1;
}
.card-soft .card-actions { margin-top: auto; }

.step-card {
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  box-shadow: var(--dk-shadow);
  transition: border-color .2s, box-shadow .2s;
}
.step-card:hover {
  border-color: var(--dk-blue-mid);
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.1);
}
.step-card .n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dk-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--dk-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-text);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
a.chip { color: var(--dk-text); text-decoration: none; }
.chip:hover,
.chip.active {
  background: var(--dk-blue);
  color: #fff !important;
  border-color: var(--dk-blue);
}

/* —— price-lr (required) —— */
.price-lr {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 22px 20px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--dk-shadow);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s cubic-bezier(.22,1,.36,1), background .25s ease;
  color: inherit !important;
  text-decoration: none !important;
}
a.price-lr {
  cursor: pointer;
}
.price-lr.is-lift:hover,
.price-lr.reveal.is-in.is-lift:hover,
a.price-lr.is-lift:hover {
  border-color: var(--dk-blue);
  box-shadow: 0 16px 34px rgba(0, 102, 204, 0.14);
  transform: translateY(-4px);
  color: inherit !important;
}
.price-lr .small.text-muted {
  font-size: 12px;
  font-weight: 600;
  color: var(--dk-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.price-lr .val {
  font-size: 30px; /* original item_price */
  font-weight: 700;
  color: var(--dk-blue-dark);
  line-height: 1.15;
  margin-bottom: 6px;
}
.price-lr h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--dk-text-strong);
}
.price-lr .hint {
  font-size: 14px;
  color: var(--dk-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.45;
}
.price-lr .btn-dk { margin-top: auto; pointer-events: none; }
.price-lr.is-featured {
  border-color: var(--dk-blue);
  background: linear-gradient(180deg, #fff 0%, var(--dk-blue-soft) 160%);
}
.price-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.price-badge--blue {
  background: var(--dk-blue);
  color: #fff;
}
.price-badge--gray {
  background: var(--dk-bg-gray);
  color: #495057;
}
.price-badge--green {
  background: #dff5e8;
  color: #1a6b3c;
}
.price-badge--red {
  background: #fde8e8;
  color: #b42318;
}
.pricing-note {
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dk-muted);
  box-shadow: 0 4px 16px rgba(0, 68, 102, 0.05);
  margin-top: 16px;
}

/* —— Projects / articles —— */
.project-soft {
  position: relative;
  display: block;
  height: 100%;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--dk-shadow);
  color: #fff !important;
  transition:
    transform .85s cubic-bezier(.16, 1, .3, 1),
    box-shadow .85s cubic-bezier(.16, 1, .3, 1);
}
.project-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 68, 102, 0.14);
}
.project-soft .thumb {
  position: absolute;
  inset: 0;
  height: auto;
  background: linear-gradient(120deg, var(--dk-blue), var(--dk-blue-dark));
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
  transition: transform 1.35s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.project-soft .thumb.thumb--shot {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.project-soft .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 40, 70, 0.08) 15%, rgba(0, 40, 70, 0.78) 100%);
  opacity: 0.88;
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1);
}
.project-soft .thumb.thumb--shot::after {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 40, 70, 0.42));
  opacity: 1;
}
.project-soft:hover .thumb { transform: scale(1.045); }
.project-soft:hover .thumb::after { opacity: 1; }
.project-soft:hover .thumb.thumb--shot::after {
  background: linear-gradient(180deg, rgba(0, 40, 70, 0.06) 25%, rgba(0, 40, 70, 0.52));
  opacity: 1;
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), background 1s ease;
}
.project-soft .body {
  position: relative;
  z-index: 2;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px 22px;
}
.project-soft h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.project-soft .year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
  font-weight: 600;
}
/* Smooth open: grid 0fr→1fr (no max-height jitter) */
.project-soft p {
  display: grid;
  grid-template-rows: 0fr;
  margin: 8px 0 0;
  transition: grid-template-rows .85s cubic-bezier(.16, 1, .3, 1);
}
.project-soft:hover p {
  grid-template-rows: 1fr;
}
.project-soft p > span {
  display: block;
  overflow: hidden;
  min-height: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1) .06s,
    transform .85s cubic-bezier(.16, 1, .3, 1);
}
.project-soft:hover p > span {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .project-soft p {
    grid-template-rows: 1fr;
  }
  .project-soft p > span {
    opacity: 1;
    transform: none;
  }
}

.article-lr {
  display: block;
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: 14px;
  padding: 18px 18px 20px;
  height: 100%;
  color: inherit !important;
  box-shadow: var(--dk-shadow);
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .28s ease;
}
.article-lr:hover {
  transform: translateY(-4px);
  border-color: var(--dk-blue-mid);
  box-shadow: 0 14px 28px rgba(0, 102, 204, 0.1);
}
.article-lr__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}
.article-lr__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.article-lr__date {
  font-size: 12px;
  color: var(--dk-muted);
  font-weight: 600;
}
.article-lr h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-lr p {
  margin: 0 0 12px;
  color: var(--dk-muted);
  font-size: 15px;
}
.article-lr .more {
  font-size: 13px;
  font-weight: 700;
  color: var(--dk-blue);
  display: inline-block;
  transition: transform .25s ease;
}
.article-lr:hover .more {
  transform: translateX(4px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dk-blue-soft);
  color: var(--dk-blue-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}
.pill-cat { margin: 0; }
a.pill-cat:hover {
  background: #d6e8ff;
  color: var(--dk-blue-dark);
}

/* —— Tools / plugins cards (kuzmenov.ru/tools.html) —— */
.resource-card {
  width: 100%;
  border: 1px solid var(--dk-border-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--dk-shadow);
}
.resource-card .card-header {
  background: #fff;
  border-bottom: 1px solid var(--dk-border-soft);
  font-size: 17px;
  font-weight: 600;
  color: var(--dk-text-strong);
  padding: 14px 18px;
}
.card-horizontal {
  display: flex;
  flex: 1 1 auto;
}
.img-square-wrapper {
  padding: 16px 0 16px 18px;
  flex: 0 0 auto;
}
.img-square-wrapper img,
.img-square-wrapper .img-placeholder {
  width: 120px;
  height: auto;
  max-width: 120px;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
.img-square-wrapper .img-placeholder {
  height: 120px;
  background: linear-gradient(135deg, var(--dk-blue-soft), #d7e8fb);
}
.tools .card-body {
  padding: 12px 18px 18px;
}
.resource-card .item__body p {
  font-size: 15px;
  color: var(--dk-text);
  margin-bottom: 10px;
}
.resource-card .item__body p:last-of-type {
  margin-bottom: 14px;
}
@media (max-width: 575.98px) {
  .card-horizontal { flex-direction: column; }
  .img-square-wrapper {
    padding: 16px 18px 0;
  }
  .img-square-wrapper img,
  .img-square-wrapper .img-placeholder {
    width: 96px;
    max-width: 96px;
  }
}

.news-mini a,
.news-mini__item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--dk-border-soft);
  color: var(--dk-text) !important;
  text-decoration: none !important;
}
.news-mini a:last-child,
.news-mini__item:last-child { border-bottom: 0; }
.news-mini a:hover,
.news-mini__item:hover { color: var(--dk-blue) !important; }
.news-mini__title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: inherit;
}
.news-mini__excerpt {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--dk-muted);
}
.news-mini__item:hover .news-mini__excerpt {
  color: var(--dk-muted);
}

/* —— Page hero / breadcrumbs —— */
.page-hero,
.single-hero {
  margin: 1.25rem var(--dk-fluid-pad) 0;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 32px;
  box-shadow: var(--dk-shadow);
  text-align: center;
}
.page-hero .container-fluid.site-content,
.single-hero .container-fluid.site-content {
  padding-left: 0;
  padding-right: 0;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1,
.single-hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  color: var(--dk-text-strong);
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-hero p,
.single-lead {
  color: var(--dk-muted);
  margin: 14px auto 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.5;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--dk-muted);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--dk-muted); }
.breadcrumbs a:hover { color: var(--dk-blue); }
.breadcrumbs span[aria-current="page"] {
  color: var(--dk-text-strong);
  font-weight: 600;
}
.single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 2px 0 16px;
}
.single-stat {
  font-size: 12px;
  font-weight: 600;
  color: var(--dk-muted);
}

.extra-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  color: inherit !important;
  box-shadow: var(--dk-shadow);
  border: 1px solid transparent;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .25s ease;
}
.extra-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 131, 233, 0.22);
  box-shadow: 0 16px 34px rgba(0, 102, 204, 0.12);
}
.extra-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--dk-text-strong);
}
.extra-card p {
  margin: 0;
  color: var(--dk-muted);
  font-size: 15px;
}

/* —— Toolbar —— */
.ux-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ux-search {
  flex: 1 1 220px;
  max-width: 360px;
  position: relative;
}
.ux-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--dk-border-soft);
  border-radius: 999px;
  padding: 10px 16px 10px 40px;
  font-size: 14px;
  background: #fff;
  font-family: var(--dk-font);
}
.ux-search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 2px solid var(--dk-muted);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}
.result-meta {
  font-size: 13px;
  color: var(--dk-muted);
  margin-bottom: 14px;
}

/* —— FAQ / CTA —— */
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: var(--dk-shadow);
  padding: 0 18px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px 16px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--dk-blue);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 16px;
  color: var(--dk-muted);
  font-size: 15px;
}

.page-section--cta {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  border-radius: 18px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  box-shadow: var(--dk-shadow);
}
.cta-panel__copy {
  flex: 1 1 280px;
  min-width: 0;
}
.cta-panel__title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--dk-blue-dark);
  margin: 0 0 8px;
  line-height: 1.3;
}
.cta-panel__text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dk-muted);
  max-width: 42rem;
}
.cta-panel__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.cta-panel__facts li {
  font-size: 13px;
  font-weight: 500;
  color: var(--dk-muted);
  line-height: 1.35;
}
.cta-panel__facts li strong {
  font-weight: 700;
  color: var(--dk-blue-dark);
}
.cta-panel__action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 200px;
}
.cta-panel__action .btn-dk {
  text-align: center;
  white-space: nowrap;
}
.cta-panel__hint {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--dk-muted);
}
.cta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #0a7a3e;
  font-size: 13px;
  font-weight: 700;
}
.cta-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fad5b;
  box-shadow: 0 0 0 0 rgba(31, 173, 91, 0.55);
  animation: cta-status-pulse 1.8s ease-out infinite;
}
@keyframes cta-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 173, 91, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(31, 173, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 173, 91, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-status__dot { animation: none; }
}
@media (max-width: 767.98px) {
  .cta-panel {
    padding: 22px 20px;
  }
  .cta-panel__action {
    width: 100%;
    min-width: 0;
  }
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.service-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--dk-blue-dark);
}
.service-feature p {
  font-size: 14px;
  color: var(--dk-muted);
  line-height: 1.5;
}
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ui-kit__block {
  margin-bottom: 36px;
}
.ui-kit__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dk-blue-dark);
}
.ui-kit__lead {
  font-size: 15px;
  color: var(--dk-muted);
  max-width: 70ch;
  margin: 0 0 14px;
  line-height: 1.5;
}
.ui-kit__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ui-kit__grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 767.98px) {
  .ui-kit__grid-2 { grid-template-columns: 1fr; }
}
.ui-kit-nav-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--dk-shadow);
}
.ui-kit-nav-demo a {
  font-weight: 500;
  font-size: 15px;
  color: var(--dk-text) !important;
  text-decoration: none !important;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* A — soft pill (текущий на сайте) */
.ui-kit-nav-demo--a a.is-on,
.ui-kit-nav-demo--a a:hover {
  color: var(--dk-blue) !important;
  background: var(--dk-blue-soft);
}
/* B — gray soft: выбран, выглядит «неактивным» */
.ui-kit-nav-demo--b a.is-on,
.ui-kit-nav-demo--b a:hover {
  color: var(--dk-muted) !important;
  background: var(--dk-bg-gray);
}
/* C — gray text only */
.ui-kit-nav-demo--c a.is-on,
.ui-kit-nav-demo--c a:hover {
  color: var(--dk-muted) !important;
  background: transparent;
  font-weight: 600;
}
/* D — gray underline */
.ui-kit-nav-demo--d a {
  border-radius: 0;
  padding: 8px 6px;
}
.ui-kit-nav-demo--d a.is-on,
.ui-kit-nav-demo--d a:hover {
  color: var(--dk-muted) !important;
  background: transparent;
  box-shadow: inset 0 -2px 0 #c5c9ce;
}
.ui-kit-code {
  display: block;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f2433;
  color: #d7e6f2;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
  border: 1px solid #1a3550;
}
.ui-kit-code code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.ui-kit-table-wrap {
  overflow-x: auto;
}
.ui-kit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ui-kit-table th,
.ui-kit-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--dk-border-soft);
}
.ui-kit-table th {
  color: var(--dk-blue-dark);
  font-weight: 700;
  white-space: nowrap;
}
.ui-kit-table code {
  font-size: 12px;
  white-space: nowrap;
}
.is-ui-kit .page-section--cta {
  padding-left: 0;
  padding-right: 0;
}
.is-ui-kit .page-section--cta .container-fluid.site-content {
  padding-left: 0;
  padding-right: 0;
}

/* Full-bleed rule — use with Bootstrap spacing, e.g. class="rule-full my-4" */
.rule-full {
  display: block;
  width: 100%;
  height: 1px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 0;
  background: var(--dk-border-soft);
}
.donate-section {
  scroll-margin-top: var(--dk-sticky-offset);
}
.is-single-articles .comments-section {
  padding-top: 1.5rem;
  padding-bottom: 0;
}
.is-single-articles .comments-section .section-head {
  margin-bottom: 0.85rem;
}
.is-single-articles .comments-section .ad-slot--inline {
  margin-bottom: 14px;
}
.is-single-articles .donate-section.page-section--compact {
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}
#about {
  scroll-margin-top: var(--dk-sticky-offset);
}
.donate-section--page {
  padding-top: 0;
}

/* Plugin card */
.plugin-card {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 24px 26px;
  height: 100%;
  box-shadow: var(--dk-shadow);
  border: 1px solid transparent;
  color: inherit !important;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .3s ease;
}
.plugin-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: 0 18px 40px rgba(0, 68, 102, 0.14);
}
.plugin-card__platform {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dk-blue);
  margin-bottom: 8px;
}
.plugin-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.plugin-card p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--dk-muted);
}
.plugin-card__meta {
  display: flex;
  gap: 8px;
}

/* —— Footer —— */
.site-footer {
  margin: 20px var(--dk-fluid-pad) 28px;
  background: var(--dk-blue-dark);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  padding: 28px 0 0;
  font-size: 15px;
  overflow: hidden;
}
.site-footer a { color: #fff; }
.site-footer .foot-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.site-footer .foot-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .foot-menu li { margin-bottom: 7px; }
.site-footer .foot-menu a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-footer .foot-menu a:hover {
  color: #9fd0ff;
  border-bottom-color: #9fd0ff;
}
.site-footer .foot-note {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 14px;
  opacity: 0.88;
}
.site-footer .foot-note a {
  color: #fff;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer .foot-note a:hover {
  color: #9fd0ff;
  border-bottom-color: #9fd0ff;
}
.site-footer .foot-bottom {
  margin-top: 24px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}
.site-footer .foot-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 16px;
  padding-bottom: 18px;
  opacity: 0.9;
}
.site-footer .foot-bottom a {
  text-decoration: underline;
}
.site-footer .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
  font-size: 14px;
}

/* Article layout + ad */
.single-layout {
  margin-top: 16px;
}
.single-layout .single-panel { margin: 0; }
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ad-slot {
  border: 2px dashed rgba(0, 102, 204, 0.45);
  border-radius: 14px;
  background: rgba(229, 241, 255, 0.55);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ad-slot__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dk-blue);
  margin-bottom: 8px;
}
.ad-slot__body {
  font-size: 14px;
  color: var(--dk-muted);
  line-height: 1.4;
}
.ad-slot__body span {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dk-blue-dark);
}
.ad-slot.card {
  padding: 0;
  box-shadow: none;
  overflow: hidden;
}
.ad-slot.card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  padding: 14px 14px;
}
.ad-slot.card .ad-slot__label {
  margin-bottom: 0;
}
.ad-slot__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.ad-slot__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 102, 204, 0.28);
  background: #fff;
  color: var(--dk-blue) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s cubic-bezier(.22,1,.36,1);
}
.ad-slot__link:hover {
  background: var(--dk-blue);
  border-color: var(--dk-blue);
  color: #fff !important;
  transform: translateY(-1px);
}
.ad-slot__note {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dk-muted);
  max-width: 22rem;
}
.ad-slot--inline .card-body {
  align-items: stretch;
  text-align: left;
  gap: 10px;
}
.ad-slot--inline .ad-slot__label {
  text-align: left;
}
.ad-slot--inline .ad-slot__links {
  flex-direction: row;
  flex-wrap: wrap;
}
.ad-slot--inline .ad-slot__link {
  flex: 1 1 160px;
}
.ad-slot--inline .ad-slot__note {
  max-width: none;
  text-align: left;
}
@media (max-width: 991.98px) {
  .article-sidebar .ad-slot--sidebar {
    display: none !important;
  }
  .single-layout__main {
    margin-bottom: 1rem !important;
  }
  .single-layout__comments {
    padding-top: 1.15rem;
  }
  .single-panel--article {
    padding: 18px 14px;
  }
  .single-panel--article > .rule-full,
  .share-block {
    margin-left: -14px;
    margin-right: -14px;
  }
  .share-block {
    padding-left: 14px;
    padding-right: 14px;
  }
  .donate-strip {
    padding: 14px;
  }
  .donate-strip__title {
    font-size: 15px;
  }
  .ad-slot.card .card-body {
    padding: 12px;
    gap: 8px;
  }
  .ad-slot__link {
    min-height: 44px;
    font-size: 13px;
  }
  .ad-slot--inline .ad-slot__links {
    flex-direction: column;
  }
  .ad-slot--inline .ad-slot__link {
    flex: 1 1 auto;
    width: 100%;
  }
  .ad-slot__note {
    font-size: 12px;
    max-width: none;
  }
  .article-sidebar {
    gap: 12px;
  }
}
@media (min-width: 992px) {
  .ad-slot--mobile-only {
    display: none !important;
  }
}
.side-block {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--dk-shadow);
  padding: 16px 18px 18px;
}
.side-block__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dk-blue);
  margin-bottom: 12px;
}
.side-rec {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--dk-border-soft);
  color: inherit !important;
}
.side-rec:last-child { border-bottom: 0; padding-bottom: 0; }
.side-rec time {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--dk-muted);
  margin-bottom: 3px;
}
.side-rec span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dk-text-strong);
}
.side-rec:hover span { color: var(--dk-blue); }
@media (max-width: 991.98px) {
  .article-sidebar { position: static; }
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-block;
  min-width: 2.4rem;
  padding: 8px 12px;
  margin-left: -1px;
  line-height: 1.25;
  text-align: center;
  color: var(--dk-blue);
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  font-size: 15px;
  font-weight: 600;
}
.pagination .page-numbers:first-child,
.nav-links .page-numbers:first-child {
  border-radius: 10px 0 0 10px;
}
.pagination .page-numbers:last-child,
.nav-links .page-numbers:last-child {
  border-radius: 0 10px 10px 0;
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  z-index: 1;
  color: #fff;
  background: var(--dk-blue);
  border-color: var(--dk-blue);
}
.pagination a.page-numbers:hover,
.nav-links a.page-numbers:hover {
  background: var(--dk-blue-soft);
  color: var(--dk-blue-dark);
}
.navigation.pagination { margin-top: 24px; }

/* —— Mobile CTA —— */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 68, 102, 0.18);
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-cta p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-text-strong);
  line-height: 1.3;
}
.mobile-cta span {
  display: block;
  font-weight: 500;
  color: var(--dk-muted);
  font-size: 11px;
}
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 88px; }
}

/* —— Content singles —— */

.entry-content {
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  overflow-wrap: break-word;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.3;
  scroll-margin-top: 6rem;
  color: var(--dk-text-strong);
}
.entry-content h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 1.4rem 0 0.55rem;
  scroll-margin-top: 6rem;
}
.entry-content h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.2rem 0 0.45rem;
  scroll-margin-top: 6rem;
}
.entry-content p { margin: 0 0 1.05rem; }
.entry-content a {
  color: var(--dk-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: var(--dk-blue-hover); }
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.05rem;
  padding-left: 1.35rem;
}
.entry-content li { margin-bottom: 0.4rem; }
.entry-content li ul,
.entry-content li ol { margin: 0.35rem 0 0.55rem; }
.entry-content li::marker { color: var(--dk-blue); }
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0;
}
.entry-figure {
  margin: 0 0 1.25rem;
  max-width: 100%;
}
.entry-figure a {
  display: block;
  line-height: 0;
  text-decoration: none !important;
}
.entry-figure a[data-lightbox] {
  cursor: zoom-in;
}
.entry-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.entry-figure figcaption {
  margin-top: 0.55rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dk-muted);
  text-align: center;
}
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
  margin: 0 0 1.25rem;
  max-width: 100%;
}
.entry-content figcaption,
.entry-content .wp-caption-text {
  margin-top: 0.55rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dk-muted);
  text-align: center;
}
.entry-content .alignleft {
  float: left;
  margin: 0.25rem 1.25rem 1rem 0;
  max-width: 46%;
}
.entry-content .alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.25rem;
  max-width: 46%;
}
.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 575.98px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 1rem;
  }
}
.entry-content blockquote {
  margin: 0 0 1.05rem;
  padding: 12px 16px;
  border-left: 3px solid var(--dk-blue);
  background: var(--dk-blue-soft);
  border-radius: 0 10px 10px 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite {
  display: block;
  margin-top: 0.55rem;
  font-size: 13px;
  font-style: normal;
  color: var(--dk-muted);
}
.entry-content pre,
.entry-content pre.dk-code,
.dk-code {
  background: #f0f4f8;
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 1.05rem;
  border: 1px solid var(--dk-border-soft);
}
.entry-content pre.dk-code:not(.dk-code-block),
.dk-code:not(.dk-code-block) {
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.entry-content pre.dk-code-block {
  padding: 12px 16px;
  min-height: 0;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
}
.entry-content code {
  font-size: 0.9em;
  background: #f0f4f8;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.entry-content pre code {
  background: none;
  padding: 0;
}
.entry-content kbd {
  display: inline-block;
  font-size: 0.85em;
  font-family: var(--dk-font);
  font-weight: 600;
  padding: 0.12em 0.45em;
  border-radius: 5px;
  border: 1px solid var(--dk-border-soft);
  background: #fff;
  box-shadow: 0 1px 0 var(--dk-border-soft);
  color: var(--dk-blue-dark);
}
.entry-content .table-wrap {
  overflow-x: auto;
  margin: 0 0 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--dk-border-soft);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0;
}
.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--dk-border-soft);
  text-align: left;
  vertical-align: top;
}
.entry-content th {
  background: var(--dk-bg-page, #f7f9fc);
  font-weight: 700;
  color: var(--dk-blue-dark);
}
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content .entry-dl {
  margin: 0 0 1.05rem;
  padding: 0;
}
.entry-content .entry-dl dt {
  font-weight: 700;
  color: var(--dk-blue-dark);
  margin-top: 0.65rem;
}
.entry-content .entry-dl dt:first-child { margin-top: 0; }
.entry-content .entry-dl dd {
  margin: 0.2rem 0 0;
  color: var(--dk-muted);
}
.entry-content .entry-hr,
.entry-content hr {
  border: 0;
  border-top: 1px solid var(--dk-border-soft);
  margin: 1.5rem 0;
}
.entry-content .entry-callout {
  margin: 0 0 1.05rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dk-blue-soft);
  border: 1px solid rgba(0, 102, 204, 0.16);
  font-size: 15px;
  line-height: 1.5;
}
.entry-content .entry-callout--warn {
  background: #fff8e8;
  border-color: rgba(179, 92, 0, 0.25);
}
.entry-note {
  font-size: 15px;
  color: var(--dk-muted);
  border-left: 3px solid var(--dk-blue);
  padding-left: 0.85rem;
  margin: 1.25rem 0 0 !important;
}
.content-panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--dk-shadow);
  margin: 16px var(--dk-fluid-pad);
}

.single-panel {
  margin: 16px var(--dk-fluid-pad) 0;
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--dk-shadow);
}
.single-panel--article > .rule-full {
  width: auto;
  margin-left: -26px;
  margin-right: -26px;
}
.share-block {
  margin: 1.5rem -26px 0;
  padding: 1.25rem 26px;
  border-top: 1px solid var(--dk-border-soft);
  border-bottom: 1px solid var(--dk-border-soft);
}
.is-single-projects .entry-content {
  max-width: none;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-muted);
  margin-right: 4px;
}
.share-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--dk-bg-page);
  color: var(--dk-text) !important;
  border: 1px solid var(--dk-border-soft);
  text-decoration: none !important;
}
.share-btn:hover {
  border-color: var(--dk-blue-mid);
  color: var(--dk-blue) !important;
}
.js-blog-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dk-blue) !important;
}
.link-arrow span { line-height: 1.3; }
.icon-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.link-arrow:hover .icon-arrow--right { transform: translateX(2px); }
.link-arrow:hover .icon-arrow--left { transform: translateX(-2px); }
.post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--dk-border-soft);
  font-size: 14px;
  font-weight: 700;
}
.is-single-articles .post-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.section-head .link-arrow {
  font-size: 14px;
  font-weight: 700;
}
.article-lr .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Plugin download block */
.plugin-download {
  margin-bottom: 28px;
  padding: 22px 24px;
  background: var(--dk-bg-page, #f4f7fa);
  border: 1px solid var(--dk-border-soft);
  border-radius: 16px;
}
.plugin-download__head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dk-blue);
  margin-bottom: 14px;
}
.plugin-download__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0 0 16px;
  padding: 0;
}
.plugin-download__meta > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plugin-download__meta dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-muted);
}
.plugin-download__meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--dk-text-strong);
}
.plugin-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-gallery { margin: 0; }
.project-shot {
  margin: 0 0 12px;
}
.project-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}
.project-facts {
  background: var(--dk-bg-page);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid var(--dk-border-soft);
}
.project-info {
  margin: 20px var(--dk-fluid-pad) 0;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px 34px;
  box-shadow: var(--dk-shadow);
  text-align: center;
}
.project-info__title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--dk-text-strong);
}
.project-info__list {
  margin: 0 auto 22px;
  max-width: 28rem;
  text-align: left;
}
.project-info__list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--dk-border-soft);
  font-size: 15px;
}
.project-info__list > div:last-child { border-bottom: 0; }
.project-info__list dt {
  color: var(--dk-muted);
  font-weight: 500;
  margin: 0;
}
.project-info__list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: var(--dk-text-strong);
}

.donate-card {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 16px;
  background: transparent;
  border: 2px solid rgba(0, 102, 204, 0.28);
  box-shadow: none;
  overflow: hidden;
}
.donate-card__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dk-blue);
}
.donate-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dk-blue-dark);
}
.donate-card__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dk-muted);
}
.donate-card .btn-dk {
  margin-bottom: 0;
  letter-spacing: 0.06em;
}

/* Compact thank strip under article */
.donate-strip {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(229, 241, 255, 0.95), rgba(255, 255, 255, 0.92)),
    #fff;
  border: 1px solid rgba(0, 102, 204, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  scroll-margin-top: var(--dk-sticky-offset);
}
.donate-strip.is-open { align-items: flex-start; }
.donate-strip__copy {
  flex: 1 1 240px;
  min-width: 0;
}
.donate-strip__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dk-blue-dark);
  line-height: 1.3;
}
.donate-strip__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--dk-muted);
  max-width: 36rem;
}
.donate-strip__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.donate-strip__actions .btn-dk {
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.donate-mini {
  width: 100%;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 102, 204, 0.12);
}
.donate-mini[hidden] { display: none !important; }
.donate-mini__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: end;
}
.donate-mini__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dk-muted);
  margin-bottom: 4px;
}
.donate-mini__field input[type="number"],
.donate-mini__field input[type="text"] {
  width: 110px;
  padding: 10px 12px;
  border: 1px solid var(--dk-border-soft);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}
.donate-mini__field--grow {
  flex: 1 1 180px;
  min-width: 0;
}
.donate-mini__field--grow input[type="text"] {
  width: 100%;
}
.donate-mini__field input:focus {
  outline: none;
  border-color: var(--dk-blue-mid);
}
.donate-mini__pay {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-text);
  padding-bottom: 10px;
}
.donate-mini__pay label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
}
@media (max-width: 560px) {
  .donate-strip__actions { width: 100%; }
  .donate-strip__actions .btn-dk { width: 100%; }
  .donate-mini__row .btn-dk { width: 100%; }
}
.donate-form-wrap {
  max-width: 34rem;
  margin: 0 auto;
}
.donate-form-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--dk-shadow);
  overflow: hidden;
  border: 1px solid var(--dk-border-soft);
}
.donate-form-card__head {
  background: var(--dk-blue-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 18px;
}
.donate-form-card__body { padding: 20px 22px 22px; }
.donate-form .form-group { margin-bottom: 16px; }
.donate-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dk-text-strong);
}
.donate-form .form-control {
  display: block;
  width: 100%;
  border: 1px solid var(--dk-border-soft);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 15px;
  background: #fff;
}
.donate-form .form-control:focus {
  outline: none;
  border-color: var(--dk-blue-mid);
  box-shadow: none;
}
.donate-pay-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 4px 0 18px;
}
.donate-pay-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}
.donate-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.donate-why {
  font-size: 13px;
  color: var(--dk-muted) !important;
  text-decoration: underline;
}

.project-facts__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.project-facts dl { margin: 0 0 20px; }
.project-facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--dk-border-soft);
  font-size: 14px;
}
.project-facts dl > div:last-child { border-bottom: 0; }
.project-facts dt {
  color: var(--dk-muted);
  font-weight: 500;
  margin: 0;
}
.project-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: var(--dk-text-strong);
}

.related-block {
  margin-top: 28px;
  padding-top: 8px;
}

/* Browser window screenshots */
.browser-window-link {
  display: block;
  color: inherit !important;
}
.browser-window {
  display: block;
  background: #f4f7fa;
  border: 1px solid var(--dk-border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 68, 102, 0.1);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.browser-window-link:hover .browser-window {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.14);
}
.browser-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #fff, #eef2f6);
  border-bottom: 1px solid var(--dk-border-soft);
}
.browser-window__bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d7de;
}
.browser-window__bar .dot:nth-child(1) { background: #ff5f57; }
.browser-window__bar .dot:nth-child(2) { background: #febc2e; }
.browser-window__bar .dot:nth-child(3) { background: #28c840; }
.browser-window__url {
  margin-left: 8px;
  flex: 1;
  font-size: 12px;
  color: var(--dk-muted);
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-window img {
  display: block;
  width: 100%;
  height: auto;
}
.project-shots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 575.98px) {
  .project-shots-row { grid-template-columns: 1fr; }
}

/* TOC — align with article column, not a centered 68ch measure */
.toc {
  background: var(--dk-bg-page);
  border: 1px solid var(--dk-border-soft);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 22px;
  max-width: none;
  width: 100%;
}
.toc details {
  margin: 0;
}
.toc__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dk-blue);
  margin: 0;
  list-style: none;
}
.toc summary.toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.toc summary.toc__title::-webkit-details-marker {
  display: none;
}
.toc summary.toc__title::marker {
  content: none;
}
.toc summary.toc__title::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--dk-blue);
  border-bottom: 2px solid var(--dk-blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.toc details[open] > summary.toc__title {
  margin-bottom: 10px;
}
.toc details[open] > summary.toc__title::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
.toc summary.toc__title:focus,
.toc summary.toc__title:focus-visible {
  outline: none;
  box-shadow: none;
}
.toc__list {
  margin: 0;
  padding-left: 1.1rem;
}
.toc__item {
  margin-bottom: 6px;
  font-size: 15px;
}
.toc__item--h3 {
  margin-left: 0.85rem;
  font-size: 14px;
}
.toc__item a {
  color: var(--dk-text);
  font-weight: 500;
}
.toc__item a:hover { color: var(--dk-blue); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 30, 50, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background .35s ease, opacity .35s ease, visibility .35s ease;
}
.lightbox.is-open {
  background: rgba(0, 30, 50, 0.84);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity .4s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1);
}
.lightbox.is-open .lightbox__img {
  opacity: 1;
  transform: none;
}
.lightbox__cap {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .35s ease .08s;
}
.lightbox.is-open .lightbox__cap {
  opacity: 1;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .3s ease, transform .3s ease, background .2s;
}
.lightbox.is-open .lightbox__close {
  opacity: 1;
  transform: none;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img,
  .lightbox__cap,
  .lightbox__close {
    transition: none;
  }
}

/* 404 */
.error-hero {
  margin: 1.25rem var(--dk-fluid-pad) 0;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px 28px;
  box-shadow: var(--dk-shadow);
  text-align: center;
}
.error-hero__code {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--dk-blue-soft);
  color: var(--dk-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.error-hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dk-text-strong);
  margin: 0 auto 10px;
}
.error-hero__lead {
  max-width: 42ch;
  margin: 0 auto 22px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--dk-muted);
}
.error-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 32rem;
  margin: 0 auto;
}
.error-search input[type="search"] {
  flex: 1 1 200px;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--dk-border-soft);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
  background: #fff;
}
.error-search input[type="search"]:focus {
  border-color: var(--dk-blue-mid);
}
.error-search .btn-dk {
  height: 46px;
  border-radius: 999px;
}
.error-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--dk-shadow);
  border: 1px solid transparent;
  color: inherit !important;
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .2s ease, box-shadow .28s ease;
}
.error-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 34px rgba(0, 68, 102, 0.12);
}
.error-card__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dk-blue);
  margin-bottom: 8px;
}
.error-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--dk-blue-dark);
}
.error-card p {
  margin: 0;
  font-size: 14px;
  color: var(--dk-muted);
}
.is-404 .page-hero { display: none; }

/* Empty / 404 */
.empty-state {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--dk-shadow);
}
.empty-state--lg { padding: 48px 28px; }
.empty-state h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.empty-state p {
  color: var(--dk-muted);
  margin: 0 0 18px;
}
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card-soft.is-lift:hover,
  .project-soft:hover,
  .article-lr:hover,
  .price-lr.is-lift:hover,
  a.price-lr.is-lift:hover,
  .extra-card:hover,
  .is-lift:hover,
  .reveal.is-lift:hover,
  .reveal.is-in.is-lift:hover,
  .btn-dk:hover {
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Native comments —— */
.comments-section {
  scroll-margin-top: var(--dk-sticky-offset, 7.5rem);
}
.dk-comments {
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: var(--dk-shadow);
}
.dk-comments__count {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dk-text-strong);
  margin: 0 0 16px;
}
.dk-comments__empty,
.dk-comments__closed {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--dk-muted);
}
.dk-comments__list,
.dk-comments__list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dk-comments__list .children {
  margin: 12px 0 0 56px;
  padding: 0;
  border: 0;
}
.dk-comment {
  margin: 0 0 12px;
}
.dk-comment__body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.dk-comment__avatar {
  flex: none;
}
.dk-comment__avatar img,
.dk-comment__avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 68, 102, 0.12);
  box-sizing: border-box;
}
.dk-comment__avatar img {
  display: block;
  object-fit: cover;
}
.dk-comment__avatar-letter {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}
.dk-comment__bubble {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: 14px;
  padding: 12px 14px 8px;
}
.dk-comment--staff > .dk-comment__body > .dk-comment__bubble {
  background: var(--dk-bg-page);
}
.dk-comment__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 6px;
  min-height: 20px;
}
.dk-comment__who {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}
.dk-comment__author,
.dk-comment__author a {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--dk-text-strong) !important;
}
.dk-comment__role,
.dk-comment__pending-badge,
.dk-comment__pin-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 8px;
  height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  vertical-align: middle;
}
.dk-comment__role {
  background: var(--dk-blue-soft);
  color: var(--dk-blue);
}
.dk-comment__pending-badge {
  background: #fff0e6;
  color: #c2410c;
}
.dk-comment__pin-badge {
  background: var(--dk-blue-soft);
  color: var(--dk-blue);
}
.dk-comment__meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: none;
  margin: 0;
}
.dk-comment__date {
  font-size: 12px;
  font-weight: 500;
  color: var(--dk-muted);
}
.dk-comment__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--dk-text);
}
.dk-comment__text p:last-child { margin-bottom: 0; }
.dk-comment__awaiting {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--dk-muted);
}
.dk-comment__approve {
  color: #1a7f37 !important;
}
.dk-comment__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 8px 0 0;
}
.dk-comment__reply {
  display: inline-flex;
  align-items: center;
}
.dk-comment__reply a,
.dk-comment__mod-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dk-blue) !important;
}
.dk-comment--pinned > .dk-comment__body > .dk-comment__bubble {
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.08);
}
.dk-comment:target > .dk-comment__body > .dk-comment__bubble,
.dk-comment.is-flash > .dk-comment__body > .dk-comment__bubble {
  border-color: rgba(0, 102, 204, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.18);
  transition: box-shadow .45s ease, border-color .45s ease;
}
.dk-comment__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a0aab4;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}
.dk-comment__copy:hover {
  background: var(--dk-blue-soft);
  color: var(--dk-blue);
}
.dk-comment__copy.is-copied {
  color: var(--dk-blue);
}
.dk-comment__copy.is-copied::after {
  content: "Скопировано";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--dk-text-strong);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}
.dk-comments__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 12px;
  min-height: 20px;
}
.dk-comments__toolbar-spacer {
  flex: 1;
}
.dk-comments__mod {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.dk-comments__mod a { color: var(--dk-blue) !important; }
.dk-comments__identity {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dk-muted);
}
.dk-comments__identity-sep {
  margin: 0 8px;
  color: var(--dk-border);
  font-weight: 500;
}
.dk-comments__identity a {
  color: var(--dk-blue) !important;
}
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.dk-comments__respond {
  margin-top: 8px;
}
.dk-comments__list + .dk-comments__respond {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dk-border-soft);
}
.comment-reply-title {
  display: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dk-text-strong);
  margin: 0 0 12px;
}
#respond.is-replying .comment-reply-title {
  display: block;
}
.comment-reply-title small {
  font-weight: 600;
  font-size: 13px;
  margin-left: 8px;
}
.dk-comment-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
}
.dk-comment-form__field { margin: 0; }
.dk-comment-form .form-control {
  display: block;
  width: 100%;
  border: 1px solid var(--dk-border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
}
.dk-comment-form textarea.form-control {
  min-height: 52px;
  line-height: 1.5;
  resize: vertical;
  transition: min-height .2s ease;
}
.dk-comment-form.is-open textarea.form-control { min-height: 110px; }
.dk-comment-form .form-control:focus {
  outline: none;
  border-color: var(--dk-blue-mid);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}
.dk-comment-form:not(.is-open) .comment-form-author,
.dk-comment-form:not(.is-open) .form-submit {
  display: none;
}
.dk-comment-form.is-open {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.dk-comment-form__comment { grid-column: 1 / -1; }
.dk-comment-form.is-open .comment-form-author { grid-column: 1; }
.dk-comment-form.is-open .form-submit {
  grid-column: 2;
  margin: 0;
}
.dk-comment-form--auth.is-open {
  grid-template-columns: 1fr auto;
}
.dk-comment-form--auth.is-open .form-submit {
  grid-column: 1 / -1;
  justify-self: end;
}
.dk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dk-comment-form .comment-form-cookies-consent { display: none; }
.dk-notify {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.dk-notify.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dk-notify__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 68, 102, 0.28);
}
.dk-notify__card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border: 1px solid var(--dk-border-soft);
  border-radius: var(--dk-radius);
  box-shadow: var(--dk-shadow);
  padding: 28px 28px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity .4s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1);
}
.dk-notify.is-open .dk-notify__card {
  opacity: 1;
  transform: none;
}
.dk-notify__text {
  margin: 0 0 20px;
  font-family: var(--dk-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dk-text-strong);
}
.dk-notify__ok {
  min-width: 7rem;
}
@media (prefers-reduced-motion: reduce) {
  .dk-notify,
  .dk-notify__card {
    transition: none;
  }
}
@media (max-width: 767px) {
  .dk-comments { padding: 16px 12px; border-radius: 16px; }
  .dk-comments__list .children {
    margin-left: 28px;
    padding: 0;
    border: 0;
  }
  .dk-comment__body { gap: 10px; }
  .dk-comment__avatar img,
  .dk-comment__avatar-letter {
    width: 40px;
    height: 40px;
  }
  .dk-comment__avatar-letter { font-size: 14px; }
  .dk-comment__bubble {
    padding: 10px 12px 8px;
    border-radius: 12px;
  }
  .dk-comment__top {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 8px;
  }
  .dk-comment__who { flex: 1 1 auto; }
  .dk-comment__meta {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .dk-comment__text { font-size: 15px; }
  .dk-comments__toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .dk-comment-form.is-open { grid-template-columns: 1fr; }
  .dk-comment-form.is-open .comment-form-author,
  .dk-comment-form.is-open .form-submit,
  .dk-comment-form--auth.is-open .form-submit { grid-column: 1; }
  .dk-comment-form .btn-dk { width: 100%; }
}
@media (max-width: 420px) {
  .dk-comments__list .children { margin-left: 16px; }
  .dk-comment__date { font-size: 11px; }
}

/* —— Contacts page —— */
.contact-hero {
  margin: 1rem var(--dk-fluid-pad) 0;
  border-radius: 24px;
  min-height: min(52vh, 420px);
  padding: 28px 24px 36px;
  background:
    radial-gradient(ellipse 65% 55% at 90% 10%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 45% at 8% 90%, rgba(0, 40, 70, 0.35), transparent 55%),
    linear-gradient(135deg, var(--dk-blue-dark) 0%, var(--dk-blue-mid) 100%);
  color: #fff;
  box-shadow: var(--dk-shadow);
  display: flex;
  align-items: flex-end;
}
.contact-hero__inner {
  max-width: 44rem;
  padding-left: 0;
  padding-right: 0;
}
.contact-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}
.contact-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.contact-hero .breadcrumbs a:hover { color: #fff; }
.contact-hero .breadcrumbs span[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}
.contact-hero__brand {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}
.contact-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  max-width: 18ch;
}
.contact-hero__lead {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}
.contact-hero__cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.contact-hero__cta .btn-dk {
  background: #fff;
  color: var(--dk-blue-dark) !important;
}
.contact-hero__cta .btn-dk:hover {
  background: #eef5ff;
  color: var(--dk-blue) !important;
}
.contact-hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.contact-hero__hint .cta-status__dot {
  background: #7dffb0;
  box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.45);
  animation: cta-status-pulse-light 1.8s ease-out infinite;
}
@keyframes cta-status-pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(125, 255, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 255, 176, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero__hint .cta-status__dot { animation: none; }
}

.contact-stats {
  padding-top: 1.75rem;
  padding-bottom: 0.5rem;
}
.contact-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 18px;
}
.contact-stat {
  padding: 8px 4px 4px;
  border-bottom: 1px solid var(--dk-border-soft);
}
.contact-stat__value {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dk-blue-dark);
  letter-spacing: -0.02em;
}
.contact-stat__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk-muted);
  line-height: 1.35;
}

.contact-flow {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.contact-flow__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--dk-text-strong);
}
.contact-flow__lead {
  margin: 0 0 22px;
  color: var(--dk-muted);
  font-size: 16px;
  max-width: 36rem;
}
.contact-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-flow__list > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
}
.contact-flow__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dk-blue-soft);
  color: var(--dk-blue);
  font-size: 14px;
  font-weight: 700;
}
.contact-flow__list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--dk-text-strong);
}
.contact-flow__list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dk-muted);
  max-width: 40rem;
}

.contact-more {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
.contact-more__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 28px 40px;
  align-items: start;
}
.contact-more__block h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--dk-text-strong);
}
.contact-more__block p {
  margin: 0 0 18px;
  color: var(--dk-muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 38rem;
}
.contact-more__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-more__aside {
  padding-top: 4px;
  border-top: 1px solid var(--dk-border-soft);
}
.contact-more__aside-label {
  margin: 14px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dk-muted-2);
}
.contact-more__aside-label:first-child { margin-top: 0; }
.contact-more__aside-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dk-text);
}
.contact-more__aside-text strong {
  color: var(--dk-blue-dark);
}

@media (max-width: 991.98px) {
  .contact-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-more__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 575.98px) {
  .contact-hero {
    margin: 0.75rem 8px 0;
    min-height: 0;
    padding: 22px 18px 28px;
  }
  .contact-hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
}
