/* Page polish + reveal animations (Motion stand-in) */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Reveal only after JS primed (html.js-anim) — prevents nav flicker */
html.js-anim [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-anim [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-anim [data-reveal]:not(.is-visible),
  html.js-anim [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stable header height — no py swap on scroll */
#header-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
#header-section.is-scrolled {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Process / home timeline connectors */
.process-stages-line {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0) 40%
  );
  background-size: 16px 100%;
}
.process-home-line {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 50%
  );
  background-size: 12px 100%;
}

/*
  Hover effects outside Tailwind @media (hover: hover) —
  so glow/border works on all pointers (incl. some Linux/touch setups).
*/
.process-step-card {
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.process-step-card:hover {
  border-color: color-mix(in srgb, var(--color-brand-pink) 20%, transparent) !important;
  background-color: rgba(13, 8, 24, 0.6) !important;
  box-shadow: 0 0 28px color-mix(in srgb, var(--color-brand-pink) 10%, transparent);
  transform: translateY(-2px);
}
.process-step-card:hover .lucide-sparkles {
  transform: scale(1.1);
}
.process-stage-item:hover .process-stage-glow {
  opacity: 1;
}
.process-step-card:hover .process-stage-glow {
  opacity: 1;
}
.process-stage-item:hover h3,
.process-step-card:hover h4 {
  color: var(--color-brand-pink);
}
.process-home-step:hover h3 {
  color: #a855f7;
}
.process-home-step:hover .process-stage-glow {
  opacity: 1;
}
.partner-chip:hover {
  transform: translateY(-1px);
}

/* Missing utility fallovers */
.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}
.hover\:border-brand-pink\/50:hover {
  border-color: rgba(244, 63, 94, 0.5);
}
.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}

.page-enter {
  /* disabled — caused flicker on every page navigation */
  animation: none;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Service hero media — prevent collapsed empty column */
#svc-hero {
  align-items: center;
}
#svc-hero .svc-hero__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 220px;
}
#svc-hero .svc-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#svc-hero-form .svc-hero-form__media {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 260px;
}
#svc-hero-form .svc-hero-form__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#mobile-drawer {
  display: none;
  overflow: hidden;
}
#mobile-drawer.is-open {
  display: block;
  animation: pageIn 0.3s ease both;
}
@media (min-width: 768px) {
  #mobile-drawer,
  #mobile-drawer.is-open {
    display: none !important;
  }
}

.lang-btn {
  color: #9ca3af;
  font-weight: 600;
}
.lang-btn:hover {
  color: #fff;
}
.lang-btn.is-active,
#lang-switcher a.is-active,
#mobile-lang-switcher a.is-active,
#lang-switcher a[aria-current="true"],
#mobile-lang-switcher a[aria-current="true"] {
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(90deg, var(--color-brand-pink), var(--color-brand-purple));
  box-shadow: 0 0 14px color-mix(in srgb, var(--color-brand-pink) 35%, transparent);
}

/* Hero badge — hide on mobile (overlaps headline), keep on lg+ */
#hero-value-badge {
  display: none;
}
@media (min-width: 1024px) {
  #hero-value-badge {
    display: block;
    top: 54%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 1280px) {
  #hero-value-badge {
    left: 51%;
    top: 55%;
  }
}

/* Hero side rails — removed from markup */

/* Hero height — shorter than full viewport */
#hero-section {
  min-height: 640px;
  padding-top: 7rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  #hero-section {
    min-height: 680px;
    height: 78vh;
    max-height: 820px;
  }
}

/* Stats crystal — seamless blend, no frame */
.stats-crystal {
  border: 0;
  background: transparent;
  isolation: isolate;
}
.stats-crystal::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.22) 0%,
    rgba(244, 63, 94, 0.1) 35%,
    transparent 70%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.stats-crystal__img {
  position: relative;
  z-index: 1;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    closest-side,
    #000 62%,
    rgba(0, 0, 0, 0.85) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    closest-side,
    #000 62%,
    rgba(0, 0, 0, 0.85) 78%,
    transparent 100%
  );
}

/* Trust bar — keep chip gap compact; section uses py-12 like original */
#partners-grid {
  gap: 0.75rem 1rem;
}

/* Partner chips — brand hover colors */
.partner-chip {
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.partner-chip__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.9;
}
.partner-chip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.partner-chip:hover .font-mono {
  opacity: 1;
}
.partner-chip:hover .partner-chip__icon {
  opacity: 1;
}
.partner-wordpress:hover {
  color: #21759b;
  border-color: rgba(33, 117, 155, 0.4);
  background: rgba(33, 117, 155, 0.1);
  box-shadow: 0 0 18px rgba(33, 117, 155, 0.15);
}
.partner-bitrix:hover {
  color: #ff3c00;
  border-color: rgba(255, 60, 0, 0.4);
  background: rgba(255, 60, 0, 0.1);
  box-shadow: 0 0 18px rgba(255, 60, 0, 0.15);
}
.partner-php:hover {
  color: #777bb4;
  border-color: rgba(119, 123, 180, 0.4);
  background: rgba(119, 123, 180, 0.1);
  box-shadow: 0 0 18px rgba(119, 123, 180, 0.15);
}
.partner-laravel:hover {
  color: #ff2d20;
  border-color: rgba(255, 45, 32, 0.4);
  background: rgba(255, 45, 32, 0.1);
  box-shadow: 0 0 18px rgba(255, 45, 32, 0.15);
}
.partner-modx:hover {
  color: #00b5e2;
  border-color: rgba(0, 181, 226, 0.4);
  background: rgba(0, 181, 226, 0.1);
  box-shadow: 0 0 18px rgba(0, 181, 226, 0.15);
}
.partner-figma:hover {
  color: #f24e1e;
  border-color: rgba(242, 78, 30, 0.4);
  background: rgba(242, 78, 30, 0.1);
  box-shadow: 0 0 18px rgba(242, 78, 30, 0.15);
}
.partner-google:hover {
  color: #4285f4;
  border-color: rgba(66, 133, 244, 0.4);
  background: rgba(66, 133, 244, 0.1);
  box-shadow: 0 0 18px rgba(66, 133, 244, 0.15);
}


/* Floating scroll-to-top */
.scroll-top-btn,
#btn-scroll-to-top.scroll-top-btn,
button#btn-scroll-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  backdrop-filter: blur(10px);
}
.scroll-top-btn.is-visible,
#btn-scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.discuss-modal-open .scroll-top-btn,
body.discuss-modal-open #btn-scroll-to-top {
  opacity: 0 !important;
  pointer-events: none !important;
}
.scroll-top-btn:hover,
#btn-scroll-to-top:hover {
  color: #fff;
  border-color: rgba(244, 63, 94, 0.55);
  background: rgba(244, 63, 94, 0.15);
}
@media (min-width: 640px) {
  .scroll-top-btn,
  #btn-scroll-to-top.scroll-top-btn,
  button#btn-scroll-to-top {
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

/* Honeypot — never visible */
.crope-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Prevent layout shift when modal locks scroll (scrollbar disappears) */
html {
  scrollbar-gutter: stable;
}
html.discuss-modal-open,
body.discuss-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  padding-right: var(--modal-sbw, 0px);
}
body.discuss-modal-open #header-section {
  padding-right: var(--modal-sbw, 0px);
}
.discuss-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.discuss-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.discuss-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.discuss-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 26.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 8, 24, 0.96);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(244, 63, 94, 0.12);
  padding: 1.25rem 1.2rem 1.15rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.discuss-modal.is-open .discuss-modal__dialog {
  transform: translateY(0) scale(1);
}
@media (min-width: 640px) {
  .discuss-modal__dialog {
    padding: 1.5rem 1.5rem 1.35rem;
  }
}
.discuss-modal__glow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  background: radial-gradient(
    circle at bottom right,
    rgba(244, 63, 94, 0.22),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.discuss-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.discuss-modal__close:hover {
  color: #fff;
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.12);
}
.discuss-modal__badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f43f5e;
}
.discuss-modal__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #f43f5e;
}
.discuss-modal__title {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  padding-right: 2rem;
}
.discuss-modal__subtitle {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 0 0 0.85rem;
  color: #9ca3af;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.discuss-modal__form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.4) transparent;
  padding-right: 0.15rem;
}
.discuss-modal__form input,
.discuss-modal__form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.discuss-modal__form textarea {
  resize: none;
  min-height: 3.5rem;
}
.discuss-modal__form input::placeholder,
.discuss-modal__form textarea::placeholder {
  color: #6b7280;
}
.discuss-modal__form input:focus,
.discuss-modal__form textarea:focus {
  border-color: #a855f7;
  background: rgba(255, 255, 255, 0.08);
}
.discuss-modal__form .is-invalid {
  border-color: #f43f5e !important;
}

.discuss-select {
  position: relative;
  z-index: 3;
}
.discuss-select__trigger {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.discuss-select__trigger:hover,
.discuss-select.is-open .discuss-select__trigger {
  border-color: #a855f7;
  background: rgba(255, 255, 255, 0.08);
}
.discuss-select__chevron {
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform 0.2s ease;
}
.discuss-select.is-open .discuss-select__chevron {
  transform: rotate(180deg);
  color: #a855f7;
}
.discuss-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 0.85rem;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: #0d0818;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 5;
  max-height: 14rem;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.45) transparent;
}
.discuss-select__list[hidden] {
  display: none;
}
.discuss-select__list li {
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  color: #e5e7eb;
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.discuss-select__list li:hover {
  background: rgba(168, 85, 247, 0.18);
  color: #fff;
}
.discuss-select__list li[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.25), rgba(168, 85, 247, 0.25));
  color: #fff;
}
.discuss-modal__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, #f43f5e, #a855f7);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.discuss-modal__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.4);
}
.discuss-modal__success {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
  font-size: 0.875rem;
  text-align: center;
}
.form-success-modal__icon {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
form.js-formit .is-invalid,
form.js-formit input.is-invalid,
form.js-formit textarea.is-invalid,
form.js-formit select.is-invalid {
  border-color: #f43f5e !important;
}

/* Honeypot — hidden from users, visible to naive bots */
.crope-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  z-index: 110;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  pointer-events: none;
}
.cookie-consent:not([hidden]) .cookie-consent__panel {
  pointer-events: auto;
}
.cookie-consent__panel {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 6, 18, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
}
.cookie-consent__title {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.cookie-consent__text {
  margin: 0;
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 36rem;
}
.cookie-consent__link {
  color: #c084fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__link:hover {
  color: #f472b6;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-consent__btn {
  border: 0;
  cursor: pointer;
  border-radius: 9999px;
  padding: 0.65rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cookie-consent__btn:active {
  transform: scale(0.97);
}
.cookie-consent__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cookie-consent__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cookie-consent__btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #f43f5e, #a855f7);
}
.cookie-consent__btn--primary:hover {
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.35);
}
@media (max-width: 640px) {
  .cookie-consent__panel {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent__actions {
    width: 100%;
  }
  .cookie-consent__btn {
    flex: 1;
    text-align: center;
  }
}

/* Branded 404 / 403 */
.error-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.error-hero__code {
  margin: 0;
  font-size: clamp(4.5rem, 18vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  background-image: linear-gradient(135deg, #f43f5e 0%, #a855f7 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-hero__title {
  margin: 0;
  max-width: 22rem;
}
.error-hero__text {
  margin: 0;
}
.error-hero__actions {
  width: 100%;
}
.error-hero__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 2.85rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.error-hero__btn--primary {
  border: 0;
  background: linear-gradient(90deg, #f43f5e, #a855f7);
  color: #fff;
}
.error-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.4);
}
.error-hero__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #e5e7eb;
}
.error-hero__btn--ghost:hover {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Article sidebar stick — lg:top-28 отсутствует в styles.css */
@media (min-width: 64rem) {
  #article-sticky-sidebar {
    position: sticky !important;
    top: 6rem !important;
    z-index: 20;
    align-self: start;
  }
  aside.lg\:col-span-4 {
    align-self: stretch;
  }
}

/* Platform accent themes — remaps brand tokens used by Svc* blocks / header CTAs */
body[data-platform="modx"] {
  --color-brand-pink: #10b981;
  --color-brand-purple: #34d399;
}
body[data-platform="laravel"] {
  --color-brand-pink: #ff2d20;
  --color-brand-purple: #ff7a45;
}
body[data-platform="opencart"] {
  --color-brand-pink: #1c90f3;
  --color-brand-purple: #38bdf8;
}
body[data-platform="wordpress"] {
  --color-brand-pink: #1c90f3;
  --color-brand-purple: #38bdf8;
}

body[data-platform] #main-content .text-brand-pink,
body[data-platform] #main-content .fill-brand-pink,
body[data-platform] #main-content .stroke-brand-pink {
  color: var(--color-brand-pink);
}
body[data-platform] #main-content .text-brand-purple {
  color: var(--color-brand-purple);
}
body[data-platform] #crope-root .bg-gradient-to-r.from-brand-pink {
  --tw-gradient-from: var(--color-brand-pink);
  --tw-gradient-to: var(--color-brand-purple);
}
body[data-platform] #btn-discuss-header,
body[data-platform] #mobile-discuss-btn,
body[data-platform] #main-content a.bg-gradient-to-r,
body[data-platform] #main-content button.bg-gradient-to-r {
  --tw-gradient-from: var(--color-brand-pink);
  --tw-gradient-to: var(--color-brand-purple);
  box-shadow: 0 0 20px color-mix(in srgb, var(--color-brand-pink) 40%, transparent);
}
body[data-platform] #main-content .hover\:border-brand-pink\/20:hover,
body[data-platform] #main-content .hover\:border-brand-pink\/25:hover,
body[data-platform] #main-content .hover\:border-brand-pink\/30:hover,
body[data-platform] #main-content .hover\:border-brand-pink\/40:hover {
  border-color: color-mix(in srgb, var(--color-brand-pink) 35%, transparent);
}
body[data-platform] footer .bg-gradient-to-r.from-brand-pink,
body[data-platform] footer a.bg-gradient-to-r,
body[data-platform] footer button.bg-gradient-to-r {
  --tw-gradient-from: var(--color-brand-pink);
  --tw-gradient-to: var(--color-brand-purple);
}

/* Quiz FAB — desktop right edge only */
.quiz-fab {
  display: none;
}
@media (min-width: 768px) {
  .quiz-fab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 85;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 0.95rem 0.85rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    /* physical right radius → after rotate(180) faces the page */
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(135deg, var(--color-brand-pink), var(--color-brand-purple));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    cursor: pointer;
    box-shadow: -8px 0 28px color-mix(in srgb, var(--color-brand-pink) 35%, transparent);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease;
  }
  .quiz-fab:hover {
    filter: brightness(1.05);
    transform: translateY(-50%) rotate(180deg) translateX(-2px);
    box-shadow: -10px 0 34px color-mix(in srgb, var(--color-brand-pink) 45%, transparent);
  }
  .quiz-fab__icon {
    display: none;
  }
  .quiz-fab__text {
    line-height: 1.1;
    white-space: nowrap;
  }
  body.discuss-modal-open .quiz-fab {
    opacity: 0;
    pointer-events: none;
  }
}

.quiz-modal__dialog {
  max-width: 28rem;
}
.quiz-modal__head {
  margin-bottom: 0.25rem;
}
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0.65rem;
}
.quiz-progress__bar {
  flex: 1;
  height: 0.35rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quiz-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-brand-pink), var(--color-brand-purple));
  transition: width 0.3s ease;
}
.quiz-progress__label {
  font-size: 0.7rem;
  font-family: var(--font-mono, monospace);
  color: #9ca3af;
  white-space: nowrap;
}
.quiz-modal__title {
  font-size: 1.35rem;
}
.quiz-step[hidden] {
  display: none !important;
}
.quiz-step__q {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.quiz-step__hint {
  margin: -0.4rem 0 0.9rem;
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.45;
}
.quiz-options {
  display: grid;
  gap: 0.55rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.quiz-option:hover {
  border-color: color-mix(in srgb, var(--color-brand-pink) 45%, transparent);
  background: color-mix(in srgb, var(--color-brand-pink) 8%, transparent);
}
.quiz-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--color-brand-pink) 65%, transparent);
  background: color-mix(in srgb, var(--color-brand-pink) 14%, transparent);
  color: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-brand-pink) 25%, transparent);
}
.quiz-option input {
  accent-color: var(--color-brand-pink);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.quiz-contacts {
  display: grid;
  gap: 0.55rem;
}
.quiz-contacts input,
.quiz-contacts textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 2, 12, 0.6);
  color: #fff;
  padding: 0.75rem 0.9rem;
  font-size: 0.86rem;
}
.quiz-contacts input:focus,
.quiz-contacts textarea:focus {
  outline: none;
  border-color: var(--color-brand-pink);
}
.quiz-modal__nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.quiz-modal__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.quiz-modal__btn--primary {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--color-brand-pink), var(--color-brand-purple));
}
.quiz-modal__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px color-mix(in srgb, var(--color-brand-pink) 35%, transparent);
}
.quiz-modal__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #e5e7eb;
}
.quiz-modal__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.quiz-modal__btn[hidden] {
  display: none !important;
}
.quiz-modal__quick {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quiz-modal__quick:hover {
  color: #fff;
}
.quiz-step--invalid .quiz-option {
  border-color: rgba(244, 63, 94, 0.45);
}

/* Tech pills — icons + brand tint */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem 0.7rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: default;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.tech-pill__icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  opacity: 0.95;
}
.tech-pill__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tech-pill__label {
  white-space: nowrap;
}
.tech-pill:hover {
  transform: translateY(-1px);
  color: #fff;
}

.tech-pill--laravel { color: #ff6b61; border-color: rgba(255, 45, 32, 0.35); background: rgba(255, 45, 32, 0.08); }
.tech-pill--laravel:hover { color: #ff2d20; border-color: rgba(255, 45, 32, 0.55); background: rgba(255, 45, 32, 0.14); box-shadow: 0 0 22px rgba(255, 45, 32, 0.2); }

.tech-pill--modx { color: #34d399; border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.08); }
.tech-pill--modx:hover { color: #10b981; border-color: rgba(16, 185, 129, 0.55); background: rgba(16, 185, 129, 0.14); box-shadow: 0 0 22px rgba(16, 185, 129, 0.2); }

.tech-pill--wordpress { color: #60a5fa; border-color: rgba(28, 144, 243, 0.35); background: rgba(28, 144, 243, 0.08); }
.tech-pill--wordpress:hover { color: #1c90f3; border-color: rgba(28, 144, 243, 0.55); background: rgba(28, 144, 243, 0.14); box-shadow: 0 0 22px rgba(28, 144, 243, 0.2); }

.tech-pill--opencart { color: #60a5fa; border-color: rgba(28, 144, 243, 0.35); background: rgba(28, 144, 243, 0.08); }
.tech-pill--opencart:hover { color: #1c90f3; border-color: rgba(28, 144, 243, 0.55); background: rgba(28, 144, 243, 0.14); box-shadow: 0 0 22px rgba(28, 144, 243, 0.2); }

.tech-pill--php { color: #a5b4fc; border-color: rgba(119, 123, 180, 0.4); background: rgba(119, 123, 180, 0.1); }
.tech-pill--php:hover { color: #c7d2fe; border-color: rgba(119, 123, 180, 0.6); box-shadow: 0 0 22px rgba(119, 123, 180, 0.2); }

.tech-pill--mysql { color: #67e8f9; border-color: rgba(0, 117, 143, 0.45); background: rgba(0, 117, 143, 0.12); }
.tech-pill--mysql:hover { color: #22d3ee; box-shadow: 0 0 22px rgba(34, 211, 238, 0.18); }

.tech-pill--postgresql { color: #93c5fd; border-color: rgba(51, 103, 145, 0.45); background: rgba(51, 103, 145, 0.12); }
.tech-pill--postgresql:hover { color: #60a5fa; box-shadow: 0 0 22px rgba(96, 165, 250, 0.18); }

.tech-pill--redis { color: #fca5a5; border-color: rgba(216, 44, 32, 0.4); background: rgba(216, 44, 32, 0.1); }
.tech-pill--redis:hover { color: #f87171; box-shadow: 0 0 22px rgba(216, 44, 32, 0.2); }

.tech-pill--vue { color: #6ee7b7; border-color: rgba(65, 184, 131, 0.4); background: rgba(65, 184, 131, 0.1); }
.tech-pill--vue:hover { color: #41b883; box-shadow: 0 0 22px rgba(65, 184, 131, 0.2); }

.tech-pill--react { color: #7dd3fc; border-color: rgba(97, 218, 251, 0.4); background: rgba(97, 218, 251, 0.1); }
.tech-pill--react:hover { color: #61dafb; box-shadow: 0 0 22px rgba(97, 218, 251, 0.2); }

.tech-pill--tailwind { color: #7dd3fc; border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.1); }
.tech-pill--tailwind:hover { color: #38bdf8; box-shadow: 0 0 22px rgba(56, 189, 248, 0.2); }

.tech-pill--docker { color: #7dd3fc; border-color: rgba(13, 183, 237, 0.4); background: rgba(13, 183, 237, 0.1); }
.tech-pill--docker:hover { color: #0db7ed; box-shadow: 0 0 22px rgba(13, 183, 237, 0.2); }

.tech-pill--git { color: #fdba74; border-color: rgba(240, 80, 50, 0.4); background: rgba(240, 80, 50, 0.1); }
.tech-pill--git:hover { color: #f05032; box-shadow: 0 0 22px rgba(240, 80, 50, 0.2); }

.tech-pill--aws { color: #fbbf24; border-color: rgba(255, 153, 0, 0.4); background: rgba(255, 153, 0, 0.1); }
.tech-pill--aws:hover { color: #ff9900; box-shadow: 0 0 22px rgba(255, 153, 0, 0.2); }

.tech-pill--html5 { color: #fdba74; border-color: rgba(227, 79, 38, 0.4); background: rgba(227, 79, 38, 0.1); }
.tech-pill--css3 { color: #93c5fd; border-color: rgba(38, 77, 228, 0.4); background: rgba(38, 77, 228, 0.1); }
.tech-pill--js { color: #fde047; border-color: rgba(240, 219, 79, 0.4); background: rgba(240, 219, 79, 0.1); }
.tech-pill--figma { color: #f9a8d4; border-color: rgba(242, 78, 30, 0.35); background: rgba(242, 78, 30, 0.08); }
.tech-pill--api,
.tech-pill--nodejs,
.tech-pill--fenom,
.tech-pill--pdotools,
.tech-pill--formit,
.tech-pill--minishop2,
.tech-pill--mfilter2,
.tech-pill--twig,
.tech-pill--ocmod { color: #c4b5fd; border-color: rgba(168, 85, 247, 0.35); background: rgba(168, 85, 247, 0.08); }
.tech-pill--payment { color: #86efac; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.tech-pill--telegram { color: #7dd3fc; border-color: rgba(34, 158, 217, 0.4); background: rgba(34, 158, 217, 0.1); }
.tech-pill--seo { color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); }
.tech-pill--crm,
.tech-pill--automation { color: #fda4af; border-color: rgba(244, 63, 94, 0.35); background: rgba(244, 63, 94, 0.08); }
.tech-pill--generic:hover {
  border-color: color-mix(in srgb, var(--color-brand-pink) 45%, transparent);
  background: color-mix(in srgb, var(--color-brand-pink) 12%, transparent);
  color: #fff;
  box-shadow: 0 0 22px color-mix(in srgb, var(--color-brand-pink) 18%, transparent);
}
