/* Global 1Click agency chrome (header/footer) */
:root {
  --agency-ink: #17152b;
  --agency-muted: #5d5a78;
  --agency-blue: #3f5eff;
  --agency-blue-2: #2a45d9;
  --agency-wrap: 1180px;
  --font-agency-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-agency-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
}

    :root {
      --bg: #ebe8ff;
      --bg-soft: rgba(255, 255, 255, 0.55);
      --bg-tint: #e4e9ff;
      --ink: #17152b;
      --muted: #5d5a78;
      --line: rgba(255, 255, 255, 0.7);
      --blue: #3f5eff;
      --blue-2: #2a45d9;
      --blue-soft: #7b93ff;
      --cyan: #4ecbff;
      --green: #12b886;
      --red: #e85a5a;
      --shadow: 0 22px 60px rgba(80, 50, 180, 0.16);
      --radius: 20px;
      --wrap: 1180px;
      --card: rgba(255, 255, 255, 0.78);
    }
    .wrap { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      text-decoration: none; border: 0; cursor: pointer;
      font-weight: 700; border-radius: 12px; padding: 0.95rem 1.25rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .btn:hover { transform: translateY(-2px); }#nav .btn-primary, #footer .btn-primary{
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      color: #fff; box-shadow: 0 12px 28px rgba(23, 99, 229, 0.28);
    }#nav .btn-primary:hover, #footer .btn-primary:hover{ box-shadow: 0 16px 34px rgba(23, 99, 229, 0.38); }
    .btn-ghost {
      background: #fff; color: var(--ink); border: 1px solid var(--line);
    }
    .btn-ghost:hover { border-color: #b7cdf0; background: #f7faff; }
    .btn-dark { background: var(--ink); color: #fff; }
    .btn-dark:hover { background: var(--blue); }

    /* Мягкий «всплыв» карточек после появления */
    @keyframes cardSettle {
      0% { transform: translateY(10px); opacity: 0.65; }
      100% { transform: none; opacity: 1; }
    }

        /* NAV */
    .nav {
      position: sticky;
      top: 0;
      z-index: 250;
      width: 100%;
      padding: 0.7rem 0 0.55rem;
      background: rgba(16, 21, 43, 0.88);
      border-bottom: 1px solid rgba(166,184,255,0.1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      pointer-events: auto;
    }
    .nav-inner {
      position: relative;
      display: flex; align-items: center; justify-content: space-between;
      gap: 1rem; min-height: 56px;
      padding: 0.42rem 0.42rem 0.42rem 0.95rem;
      border: 1px solid rgba(166,184,255,0.14);
      border-radius: 999px;
      background: rgba(16, 21, 43, 0.72);
      box-shadow: inset 0 1px rgba(255,255,255,0.05);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      pointer-events: auto;
      overflow: visible;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      min-width: 0;
      flex: 0 1 auto;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      min-width: max-content;
      text-decoration: none;
      line-height: 0;
    }
    .logo img {
      display: block;
      width: auto;
      height: 34px;
    }
    .logo .logo-img-dark { display: block; }
    .logo .logo-img-light { display: none; }
    html[data-stage-theme="day"] .logo .logo-img-dark { display: none; }
    html[data-stage-theme="day"] .logo .logo-img-light { display: block; }
    .logo::before { content: none; }
    .nav-msg {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      min-width: 0;
      padding: 0.2rem 0 0.2rem 0.75rem;
      border-left: 1px solid rgba(166,184,255,0.16);
    }
    .nav-msg-text {
      display: grid;
      gap: 0.05rem;
      min-width: 0;
      color: #a8b0c9;
      font-size: 0.78rem;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.01em;
    }
    .nav-msg-text .nav-msg-short { display: none; }
    .nav-msg-links {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      flex-shrink: 0;
    }
    .nav-msg-links a {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid rgba(166,184,255,0.14);
      background: rgba(255,255,255,0.06);
      text-decoration: none;
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }
    .nav-msg-links a:hover,
    .nav-msg-links a:focus-visible {
      transform: translateY(-1px);
      background: rgba(118,234,214,0.12);
      border-color: rgba(118,234,214,0.28);
      outline: none;
    }
    .nav-msg-links svg {
      width: 17px;
      height: 17px;
      display: block;
    }
    .nav-panel {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex: 0 0 auto;
      overflow: visible;
    }
    .nav-links {
      display: flex; align-items: center; gap: 0.1rem;
      list-style: none; font-size: 0.8rem; font-weight: 800; color: #c5cadb;
      padding: 0.18rem;
      border: 1px solid rgba(166,184,255,0.12);
      border-radius: 999px;
      background: rgba(255,255,255,0.04);
      flex: 0 0 auto;
    }
    .nav-links > li { position: relative; flex: 0 0 auto; }
    .nav-links > li > a,
    .nav-link-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
      min-height: 36px;
      padding: 0.5rem 0.65rem;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: #c5cadb;
      font: inherit;
      font-weight: 800;
      white-space: nowrap;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }
    .nav-links > li > a:hover,
    .nav-links > li > a:focus-visible,
    .nav-link-btn:hover,
    .nav-link-btn:focus-visible,
    .nav-item.is-open > .nav-link-btn {
      color: #f5f7ff;
      background: rgba(118,234,214,0.12);
      box-shadow: inset 0 0 0 1px rgba(118,234,214,0.22);
      transform: translateY(-1px);
      outline: none;
    }
    .nav-chevron {
      width: 0.45rem;
      height: 0.45rem;
      border-right: 1.8px solid currentColor;
      border-bottom: 1.8px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      transition: transform 0.2s ease;
    }
    .nav-item.is-open .nav-chevron {
      transform: rotate(225deg) translateY(-1px);
    }
    .nav-item::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 0.85rem;
      z-index: 39;
    }
    .nav-mega {
      position: absolute;
      top: calc(100% + 0.45rem);
      left: 0;
      z-index: 40;
      display: grid;
      grid-template-columns: max-content max-content;
      gap: 0.2rem 0.75rem;
      width: max-content;
      max-width: calc(100vw - 2rem);
      padding: 0.7rem;
      border: 1px solid rgba(166,184,255,0.16);
      border-radius: 18px;
      background:
        radial-gradient(circle at 10% 0%, rgba(118,234,214,0.12), transparent 36%),
        linear-gradient(160deg, rgba(20,26,52,0.98), rgba(10,14,30,0.98));
      box-shadow: 0 22px 48px rgba(0,0,0,0.34), inset 0 1px rgba(255,255,255,0.06);
      opacity: 0;
      visibility: hidden;
      transform: translateY(6px);
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }
    .nav-mega::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 0.55rem;
    }
    .nav-item.is-open > .nav-mega,
    .nav-item:hover > .nav-mega,
    .nav-item:focus-within > .nav-mega {
      opacity: 1;
      visibility: visible;
      transform: none;
      pointer-events: auto;
    }
    .nav-mega a {
      display: flex;
      align-items: center;
      min-height: 40px;
      padding: 0.55rem 0.7rem;
      border-radius: 12px;
      color: #d7dcef;
      font-size: 0.82rem;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
      transition: background 0.18s ease, color 0.18s ease;
    }
    .nav-mega a:hover,
    .nav-mega a:focus-visible {
      background: rgba(118,234,214,0.1);
      color: #76ead6;
      outline: none;
    }
    .nav-cta {
      min-height: 40px;
      padding: 0.68rem 0.9rem;
      font-size: 0.8rem;
      border-radius: 999px;
      white-space: nowrap;
      flex: 0 0 auto;
      background: #76ead6 !important;
      color: #071019 !important;
      box-shadow: 0 10px 24px rgba(118,234,214,0.18) !important;
    }
    .nav-contacts {
      display: none;
    }
    .nav-toggle {
      display: none;
      position: relative;
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      padding: 0;
      border-radius: 50%;
      border: 1px solid rgba(118,234,214,0.2);
      background: rgba(255,255,255,0.06);
      cursor: pointer;
      box-shadow: inset 0 1px rgba(255,255,255,0.08);
      appearance: none;
      -webkit-appearance: none;
    }
    .nav-toggle i,
    .nav-toggle::before,
    .nav-toggle::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: #f5f7ff;
      transform: translate(-50%, -50%);
      transform-origin: center;
      transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .nav-toggle::before { transform: translate(-50%, calc(-50% - 6px)); }
    .nav-toggle::after { transform: translate(-50%, calc(-50% + 6px)); }
    .nav.is-open .nav-toggle i { opacity: 0; }
    .nav.is-open .nav-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
    .nav.is-open .nav-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
    @keyframes coreCtaShine {
      0%, 42% { transform: translateX(-55%) skewX(-18deg); opacity: 0; }
      52% { opacity: 1; }
      78%, 100% { transform: translateX(70%) skewX(-18deg); opacity: 0; }
    }
    @keyframes coreCtaGlow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(118, 234, 214, 0); }
      50% { box-shadow: 0 0 0 6px rgba(118, 234, 214, 0.12), 0 0 16px rgba(155, 92, 255, 0.28); }
    }
    @keyframes coreCtaBar {
      0%, 100% { transform: scaleY(0.42); opacity: 0.65; }
      50% { transform: scaleY(1); opacity: 1; }
    }
    @keyframes moduleGlow {
      0%, 18%, 100% { opacity: 0; }
      8% { opacity: 1; }
    }
    @keyframes moduleDot {
      0%, 18%, 100% { opacity: 0.4; transform: scale(0.85); }
      8% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 14px rgba(113,226,203,0.9); }
    }
    @keyframes moduleSweep {
      0%, 62% { transform: translateX(0) skewX(-18deg); opacity: 0; }
      72% { opacity: 1; }
      90%, 100% { transform: translateX(450%) skewX(-18deg); opacity: 0; }
    }
    .svc-actions .btn {
      width: auto;
      padding: 0.52rem 0.95rem;
      font-size: 0.9rem;
      border-radius: 10px;
    }

    @keyframes usShine {
      0% { transform: translateX(-120%); }
      100% { transform: translateX(120%); }
    }
    @keyframes usNumSoft {
      0% { opacity: 0; transform: translateY(8px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes usCheckSoft {
      0% { transform: scale(0.92); opacity: 0.7; }
      50% { transform: scale(1.06); opacity: 1; }
      100% { transform: scale(1); opacity: 1; }
    }
    @keyframes winBadgeIn {
      0% { opacity: 0; transform: translateY(-8px) scale(0.9); }
      12% { opacity: 1; transform: translateY(0) scale(1); }
      78% { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translateY(-4px) scale(0.96); }
    }

    @media (prefers-reduced-motion: reduce) {
      .market-card--out tbody td.us-cell.is-win::before,
      .market-card--out tbody td.us-cell.is-win::after,
      .market-card--out tbody td.us-cell.is-win .val-main,
      .market-card--out tbody td.us-cell.is-win .ico--ok,
      .market-card--out tbody td.us-cell.is-win .win-badge {
        animation: none !important;
      }
    }
    @media (max-width: 720px) {
      .market-lock-form .row-2 { grid-template-columns: 1fr; }
      .market-lock-bar { flex-direction: column; align-items: stretch; }
      .market-lock-bar .btn { width: 100%; text-align: center; }
    }

    @media (max-width: 980px) {
      .compare-head { grid-template-columns: 1fr; align-items: start; }
      .market-board { grid-template-columns: 1fr; }
      .market-table tbody tr { height: auto; }
    }
    @media (max-width: 980px) {
      #compare.compare-night .compare-head {
        grid-template-columns: 1fr;
      }
      #compare.compare-night .compare-head h2 { width: auto; }
      #compare.compare-night .compare-head .lead {
        justify-self: start;
        max-width: none;
      }
    }
    @keyframes nightBloom {
      0% { opacity: 0; }
      28% { opacity: 1; }
      100% { opacity: 0; }
    }
    @keyframes nightOrbit {
      0% { offset-distance: 0%; opacity: 0; }
      22% { opacity: 1; }
      78% { opacity: 1; }
      100% { offset-distance: 100%; opacity: 0; }
    }
    @keyframes nightSpring {
      0% { transform: scale(0.78); opacity: 0; }
      58% { transform: scale(1.1); opacity: 1; }
      100% { transform: scale(1); }
    }
    @keyframes nightIcoRing {
      0% { box-shadow: 0 0 0 0 rgba(118,234,214,0.55); }
      65% { box-shadow: 0 0 0 12px rgba(118,234,214,0); }
      100% { box-shadow: 0 6px 16px rgba(118,234,214,0.22); }
    }
    #compare.compare-night .btn-ghost {
      color: #d7dcef;
      border-color: rgba(166,184,255,0.2);
      background: rgba(255,255,255,0.04);
    }
    @keyframes processShine {
      0% { transform: translateX(-130%); }
      100% { transform: translateX(130%); }
    }
    @keyframes processNumPulse {
      0%, 100% { filter: drop-shadow(0 0 8px rgba(118,234,214,0.18)); }
      50% { filter: drop-shadow(0 0 16px rgba(181,122,255,0.38)); }
    }
    @keyframes processPriceGlow {
      0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 8px rgba(118,234,214,0.22)); }
      50% { background-position: 100% 50%; filter: drop-shadow(0 0 16px rgba(181,122,255,0.4)); }
    }
    /* Скрыт блок «Вопросы без воды» — вернуть: убрать это правило */
    #faq,
    .nav-links li:has(> a[href="#faq"]) {
      display: none !important;
    }
    #cases.cases-night .case-nav-label { color: #8b93ab; }
    #quiz.quiz-night .btn-ghost {
      color: #d7dcef;
      border-color: rgba(166,184,255,0.2);
      background: rgba(255,255,255,0.04);
    }
    #quiz.quiz-night .btn-ghost:hover {
      border-color: rgba(118,234,214,0.42);
      background: rgba(118,234,214,0.08);
      color: #f5f7ff;
    }
    #quiz.quiz-night .btn-primary,
    #contact.contact-night .btn-primary,
    #faq.faq-night .ask-tg {
      background: #76ead6 !important;
      color: #071019 !important;
      border: 1px solid rgba(118,234,214,0.55);
      box-shadow: 0 10px 24px rgba(118,234,214,0.18) !important;
    }
    @keyframes servicesUnderline {
      0%, 100% { transform: scaleX(0.28); opacity: 0.45; }
      45%, 62% { transform: scaleX(1); opacity: 1; }
    }
    @keyframes caseFade {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: none; }
    }
    .case-nav-label { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
    .case-nav-arrows { display: flex; gap: 0.45rem; }

    .sg-modal {
      position: fixed;
      inset: 0;
      z-index: 90;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.15rem;
      background: rgba(6, 10, 24, 0.72);
      backdrop-filter: blur(12px);
    }
    .sg-modal.is-open { display: flex; }
    body.sg-modal-open { overflow: hidden; }
    .sg-modal-card {
      position: relative;
      width: min(100%, 440px);
      max-height: min(90vh, 720px);
      overflow: auto;
      padding: 1.35rem 1.3rem 1.4rem;
      border-radius: 22px;
      color: #f7f8fb;
      background:
        radial-gradient(circle at 92% 12%, rgba(103,224,205,0.08), transparent 30%),
        linear-gradient(145deg, rgba(28,35,66,0.92), rgba(12,16,34,0.96));
      border: 1px solid rgba(166,184,255,0.18);
      box-shadow: 0 28px 70px rgba(0,0,0,0.42), inset 0 1px rgba(255,255,255,0.06);
    }
    .sg-modal-card--wide { width: min(100%, 480px); }
    .sg-modal-close {
      position: absolute;
      top: 0.85rem;
      right: 0.85rem;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 10px;
      background: rgba(255,255,255,0.06);
      color: #d7dcef;
      font-size: 1.2rem;
      line-height: 1;
      cursor: pointer;
    }
    .sg-modal-close:hover { color: #76ead6; background: rgba(118,234,214,0.1); }
    .sg-modal-card h3 {
      font-family: "Unbounded", sans-serif;
      font-size: 1.18rem;
      letter-spacing: -0.03em;
      margin: 0 2rem 0.35rem 0;
      color: #f8f8fb;
    }
    .sg-modal-card .sub {
      color: #8b93ab;
      font-size: 0.9rem;
      margin-bottom: 1.05rem;
    }
    .sg-modal-card .sub b {
      color: #76ead6;
      font-weight: 800;
    }
    .sg-modal-card .form label { color: #d7dcef; }
    .sg-modal-card .form input,
    .sg-modal-card .form select,
    .sg-modal-card .form textarea {
      background: rgba(8,12,28,0.55);
      border-color: rgba(166,184,255,0.18);
      color: #f5f7ff;
      color-scheme: dark;
    }
    .sg-modal-card .form input::placeholder,
    .sg-modal-card .form textarea::placeholder { color: #67708b; }
    .sg-modal-card .form input:focus,
    .sg-modal-card .form select:focus,
    .sg-modal-card .form textarea:focus {
      border-color: rgba(118,234,214,0.45);
      box-shadow: 0 0 0 3px rgba(118,234,214,0.12);
    }
    .sg-modal-card .form select option {
      background: #12182e;
      color: #f5f7ff;
    }
    .sg-modal-card .form textarea { min-height: 88px; }
    .sg-modal-card .btn-primary {
      background: #76ead6 !important;
      color: #071019 !important;
      border: 1px solid rgba(118,234,214,0.55);
      box-shadow: 0 10px 24px rgba(118,234,214,0.18) !important;
    }
    .sg-modal-card .form-note { color: #8b93ab; }
    .sg-modal-card .success .ok {
      background: rgba(118,234,214,0.16);
      color: #76ead6;
    }
    .sg-modal-card .success h4 { color: #f5f7ff; }
    .sg-modal-card .success .note { color: #8b93ab; }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(15,159,110,0.45); }
      70% { box-shadow: 0 0 0 8px rgba(15,159,110,0); }
      100% { box-shadow: 0 0 0 0 rgba(15,159,110,0); }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: none; }
    }

    @media (max-width: 1180px) {
      #process.process-night .steps { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 1020px) {
      .hero-grid, .compare-head, .quiz-board, .contact-grid, .faq-layout { grid-template-columns: 1fr; }
      .neural-showcase-copy { width: 58%; }
      .ai-module-visual { width: min(42vw, 420px); right: 1.2rem; }
      .faq-ask { position: static; }
      .cards-3 { grid-template-columns: 1fr; }
      .svc-include { grid-template-columns: 1fr; }
      .team-track .person { flex-basis: calc((100% - 1rem) / 2); }
      .cmp-row { grid-template-columns: 1fr; }
      .market-board { grid-template-columns: 1fr; }
      .steps { grid-template-columns: 1fr 1fr; }
      .steps::before { display: none; }
      .trial { grid-template-columns: 1fr; }
      .cases-adv { grid-template-columns: 1fr 1fr; }
      .case-stage { grid-template-columns: 1fr; }
      .case-stage-right { border-left: 0; border-top: 1px solid var(--line); }
      #cases.cases-night .case-stage-right { border-top-color: rgba(166,184,255,0.14); }
      .case-thumbs { grid-template-columns: repeat(3, 1fr); }
      .case-stage-media img { min-height: 200px; aspect-ratio: 16 / 9; }
      .case-results { flex-direction: column; align-items: stretch; }
      .case-more { width: 100%; text-align: center; }
      .float-badge { left: 0.75rem; bottom: auto; top: 0.75rem; }
    }
    @media (max-width: 640px) {
      .channels { gap: 0.35rem; }
      .channel { padding: 0.58rem 0.18rem 0.52rem; }
      .pipeline { grid-template-columns: repeat(2, 1fr); }
      .hero-metrics { grid-template-columns: 1fr; }
      .neural-showcase { padding-top: 0.75rem; }
      .neural-showcase-inner { width: 100%; min-height: 0; }
      .neural-showcase-copy {
        width: 100%; height: 100%; min-height: 0; padding: 2rem 1.45rem 2.5rem;
        justify-content: flex-start;
      }
      .neural-showcase h2 { max-width: 22ch; font-size: clamp(1.32rem, 6.29vw, 1.83rem); }
      .neural-showcase-lead { max-width: 42ch; }
      .core-cta { min-height: 50px; font-size: 0.86rem; }
      .core-cta-icon { width: 34px; height: 34px; flex-basis: 34px; }
      .core-cta-ghost { min-height: 50px; font-size: 0.82rem; }
      .module-showcase .neural-showcase-inner {
        height: 810px;
      }
      .module-showcase .neural-showcase-copy {
        width: 100%; height: auto; padding-bottom: 1rem;
      }
      .core-night-stage .module-showcase .neural-showcase-inner {
        display: block;
        height: 810px;
      }
      .core-night-stage .module-showcase .neural-showcase-copy {
        width: 100%;
        height: auto;
        padding: 2rem 0 1rem;
      }
      .core-night-stage .ai-module-visual {
        position: absolute;
        left: 0;
        right: 0;
        top: auto;
        bottom: 1rem;
        width: auto;
        height: auto;
        max-height: 520px;
      }
      .ai-module-visual {
        left: 1rem; right: 1rem; top: auto; bottom: 1rem;
        width: auto; height: auto; max-height: 520px;
        justify-content: flex-end; gap: 0.5rem;
      }
      .ai-module-card { width: 100%; min-height: 0; padding: 0.75rem 0.9rem; }
      .ai-module-card strong { font-size: 0.78rem; }
      .ai-module-card p { font-size: 0.64rem; }
      .ai-module-status { font-size: 0.5rem; }
      .steps { grid-template-columns: 1fr; }
      .cases-adv { grid-template-columns: 1fr; }
      .cases-adv .item { border-right: 0; border-bottom: 1px solid var(--line); }
      #cases.cases-night .cases-adv .item { border-bottom-color: rgba(166,184,255,0.14); }
      .cases-adv .item:last-child { border-bottom: 0; }
      .case-metrics-row { grid-template-columns: 1fr; }
      .case-thumbs { grid-template-columns: 1fr 1fr; }
      .team-track .person { flex-basis: 100%; }
      .team-strip,
      #team.team-night .team-strip { grid-template-columns: 1fr; }
      #team.team-night .team-strip .stat {
        flex-direction: row;
        align-items: baseline;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
      }
      #team.team-night .team-strip strong { margin-bottom: 0; white-space: nowrap; }
      #team.team-night .team-strip span { max-width: none; }
      .row-2 { grid-template-columns: 1fr; }
      .count { width: 100%; margin-left: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
      [data-reveal] { opacity: 1 !important; transform: none !important; }
    }
    .nav {
      position: sticky !important; top: 0; left: 0; right: 0; z-index: 250;
    }#nav .btn-primary, #footer .btn-primary{
      background: linear-gradient(135deg, #5b6cff, #8b5cf6) !important;
      box-shadow: 0 14px 34px rgba(80, 60, 180, 0.28) !important;
    }
    #quiz.quiz-night .btn-primary,
    #contact.contact-night .btn-primary,
    #faq.faq-night .ask-tg {
      background: #76ead6 !important;
      color: #071019 !important;
      box-shadow: 0 10px 24px rgba(118,234,214,0.18) !important;
    }

      /* FOOTER A (from landing.html) */
    .footer-a {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: clamp(2.8rem, 5vw, 4.2rem) 0 1.4rem;
      background:
        radial-gradient(circle at 12% 0%, rgba(127,92,255,0.2), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(50,211,191,0.12), transparent 30%),
        #10152b;
      color: #c5cadb;
      border-top: 0;
    }
    .footer-a::before {
      content: "";
      position: absolute;
      left: 8%;
      right: 8%;
      top: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(166,184,255,0.28), transparent);
      pointer-events: none;
    }
    .footer-a .footer-shell {
      display: grid;
      gap: clamp(1.8rem, 3vw, 2.6rem);
    }
    .footer-a .footer-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: clamp(1.4rem, 3vw, 2.4rem);
      align-items: end;
      padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
      border-bottom: 1px solid rgba(166,184,255,0.12);
    }
    .footer-a .footer-brand { min-width: 0; max-width: none; }
    .footer-a .footer-brand .logo { margin-bottom: 0.85rem; }
    .footer-a .footer-brand .logo img { height: 42px; }
    .footer-a .footer-brand p {
      max-width: none;
      color: #9aa3c0;
      font-size: 0.92rem;
      line-height: 1.55;
    }
    .footer-a .footer-brand-line { white-space: nowrap; }
    .footer-a .footer-aside {
      display: grid;
      gap: 0.55rem;
      justify-items: start;
    }
    .footer-a .footer-msg { display: grid; gap: 0.5rem; }
    .footer-a .footer-msg > span {
      color: #8e97b3;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .footer-a .footer-msg-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.55rem 0.7rem;
    }
    .footer-a .footer-msg-links {
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }
    .footer-a .footer-msg-links a {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(166,184,255,0.16);
      background: rgba(255,255,255,0.05);
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }
    .footer-a .footer-msg-links a:hover,
    .footer-a .footer-msg-links a:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(118,234,214,0.35);
      background: rgba(118,234,214,0.1);
      outline: none;
    }
    .footer-a .footer-msg-links svg { width: 18px; height: 18px; display: block; }
    .footer-a .footer-msg-row .btn {
      min-height: 42px;
      padding: 0.72rem 1.1rem;
      border-radius: 999px;
      font-size: 0.84rem;
      background: #76ead6 !important;
      color: #071019 !important;
      box-shadow: 0 12px 28px rgba(118,234,214,0.18) !important;
    }
    .footer-a .footer-grid {
      display: grid;
      grid-template-columns: max-content max-content max-content max-content;
      justify-content: space-between;
      gap: clamp(1.2rem, 2.4vw, 2rem);
    }
    .footer-a .footer-links--cities { grid-template-columns: 1fr; }
    .footer-a .footer-col h3 {
      margin: 0 0 0.95rem;
      color: #f5f7ff;
      font-family: "Unbounded", sans-serif;
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.25;
      white-space: nowrap;
    }
    .footer-a .footer-col h3 a {
      color: inherit;
      text-decoration: none;
      transition: color 0.18s ease;
    }
    .footer-a .footer-col h3 a:hover,
    .footer-a .footer-col h3 a:focus-visible { color: #76ead6; outline: none; }
    .footer-a .footer-links {
      list-style: none;
      display: grid;
      gap: 0.42rem;
    }
    .footer-a .footer-links--dense {
      grid-template-columns: max-content max-content;
      column-gap: 1.1rem;
      row-gap: 0.38rem;
    }
    .footer-a .footer-links a {
      display: inline-flex;
      color: #aeb6cf;
      font-size: 0.84rem;
      font-weight: 700;
      line-height: 1.35;
      white-space: nowrap;
      text-decoration: none;
      transition: color 0.18s ease, transform 0.18s ease;
    }
    .footer-a .footer-links a:hover,
    .footer-a .footer-links a:focus-visible {
      color: #76ead6;
      transform: translateX(2px);
      outline: none;
    }
    .footer-a .footer-nav-list {
      list-style: none;
      display: grid;
      gap: 0.55rem;
    }
    .footer-a .footer-nav-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      min-height: 44px;
      padding: 0.65rem 0.85rem;
      border: 1px solid rgba(166,184,255,0.12);
      border-radius: 14px;
      background: rgba(255,255,255,0.03);
      color: #e7ebf8;
      font-size: 0.88rem;
      font-weight: 750;
      text-decoration: none;
      transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }
    .footer-a .footer-nav-list a i {
      color: #76ead6;
      font-style: normal;
      opacity: 0.75;
    }
    .footer-a .footer-nav-list a:hover,
    .footer-a .footer-nav-list a:focus-visible {
      border-color: rgba(118,234,214,0.28);
      background: rgba(118,234,214,0.08);
      transform: translateY(-1px);
      outline: none;
    }
    .footer-a .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1.2rem;
      padding-top: 1.15rem;
      border-top: 1px solid rgba(166,184,255,0.1);
      color: #7f88a5;
      font-size: 0.78rem;
      font-weight: 700;
    }
    .footer-a .footer-address {
      display: grid;
      gap: 0.15rem;
      max-width: 28rem;
      color: #aeb6cf;
      font-weight: 600;
      line-height: 1.4;
    }
    .footer-a .footer-address span {
      color: #8e97b3;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .footer-a .footer-bottom a {
      color: #aeb6cf;
      text-decoration: none;
    }
    .footer-a .footer-bottom a:hover,
    .footer-a .footer-bottom a:focus-visible { color: #76ead6; outline: none; }

    /* Day footer */
    html[data-stage-theme="day"] .footer-a {
      background:
        radial-gradient(circle at 12% 0%, rgba(125,211,252,0.22), transparent 36%),
        radial-gradient(circle at 88% 18%, rgba(167,243,208,0.16), transparent 32%),
        linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
      color: #475569;
    }
    html[data-stage-theme="day"] .footer-a::before {
      background: linear-gradient(90deg, transparent, rgba(14,165,233,0.28), transparent);
    }
    html[data-stage-theme="day"] .footer-a .footer-top,
    html[data-stage-theme="day"] .footer-a .footer-bottom {
      border-color: rgba(15,23,42,0.1);
    }
    html[data-stage-theme="day"] .footer-a .footer-brand p,
    html[data-stage-theme="day"] .footer-a .footer-msg > span,
    html[data-stage-theme="day"] .footer-a .footer-address span,
    html[data-stage-theme="day"] .footer-a .footer-bottom {
      color: #64748b;
    }
    html[data-stage-theme="day"] .footer-a .footer-col h3,
    html[data-stage-theme="day"] .footer-a .footer-col h3 a {
      color: #0b1220;
    }
    html[data-stage-theme="day"] .footer-a .footer-col h3 a:hover,
    html[data-stage-theme="day"] .footer-a .footer-col h3 a:focus-visible,
    html[data-stage-theme="day"] .footer-a .footer-links a:hover,
    html[data-stage-theme="day"] .footer-a .footer-links a:focus-visible,
    html[data-stage-theme="day"] .footer-a .footer-bottom a:hover,
    html[data-stage-theme="day"] .footer-a .footer-bottom a:focus-visible {
      color: #0284c7;
    }
    html[data-stage-theme="day"] .footer-a .footer-links a,
    html[data-stage-theme="day"] .footer-a .footer-address,
    html[data-stage-theme="day"] .footer-a .footer-bottom a {
      color: #475569;
    }
    html[data-stage-theme="day"] .footer-a .footer-msg-links a {
      border-color: rgba(14,165,233,0.18);
      background: rgba(255,255,255,0.8);
    }
    html[data-stage-theme="day"] .footer-a .footer-msg-links a:hover,
    html[data-stage-theme="day"] .footer-a .footer-msg-links a:focus-visible {
      border-color: rgba(14,165,233,0.35);
      background: rgba(14,165,233,0.1);
    }
    html[data-stage-theme="day"] .footer-a .footer-msg-row .btn {
      background: linear-gradient(135deg, #0284c7, #2563eb) !important;
      color: #fff !important;
      box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22) !important;
    }
    html[data-stage-theme="day"] .footer-a .footer-nav-list a {
      border-color: rgba(15,23,42,0.1);
      background: rgba(255,255,255,0.85);
      color: #0b1220;
    }
    html[data-stage-theme="day"] .footer-a .footer-nav-list a i { color: #0284c7; }
    html[data-stage-theme="day"] .footer-a .footer-nav-list a:hover,
    html[data-stage-theme="day"] .footer-a .footer-nav-list a:focus-visible {
      border-color: rgba(14,165,233,0.28);
      background: rgba(14,165,233,0.08);
    }
    @media (max-width: 1020px) {
      .footer-a .footer-top { grid-template-columns: 1fr; align-items: start; }
      .footer-a .footer-brand-line { white-space: normal; }
      .footer-a .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-a .footer-links--dense { grid-template-columns: max-content; }
      .footer-a .footer-col--misc { grid-column: 1 / -1; }
      .footer-a .footer-nav-list { grid-template-columns: 1fr 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .footer-a { padding: 2.2rem 0 1.2rem; }
      .footer-a .footer-grid { grid-template-columns: 1fr; gap: 1.55rem; }
      .footer-a .footer-links--dense { grid-template-columns: max-content; }
      .footer-a .footer-links--cities { grid-template-columns: 1fr; }
      .footer-a .footer-nav-list { grid-template-columns: 1fr; }
      .footer-a .footer-aside { width: 100%; }
      .footer-a .footer-msg-row .btn { flex: 0 0 auto; }
    }

    /* NAV responsive (1Click header) */
    @media (max-width: 1360px) {
      .nav-inner { gap: 0.7rem; padding-left: 0.8rem; }
      .nav-brand { gap: 0.55rem; }
      .nav-msg-text .nav-msg-full { display: none; }
      .nav-msg-text .nav-msg-short { display: block; }
      .nav-msg-text { max-width: 8.5rem; font-size: 0.72rem; }
      .logo img { height: 30px; }
      .nav-links { font-size: 0.76rem; }
      .nav-links > li > a,
      .nav-link-btn { padding: 0.45rem 0.52rem; min-height: 34px; }
      .nav-cta { min-height: 38px; padding: 0.6rem 0.78rem; font-size: 0.76rem; }
    }
    @media (max-width: 1180px) {
      .nav-msg-text { display: none; }
      .nav-msg { padding-left: 0.55rem; }
      .logo img { height: 28px; }
      .nav-links { font-size: 0.72rem; }
      .nav-links > li > a,
      .nav-link-btn { padding: 0.42rem 0.45rem; gap: 0.22rem; }
      .nav-cta { padding: 0.55rem 0.7rem; font-size: 0.72rem; }
    }
    @media (max-width: 1020px) {
      .nav { padding: 0.58rem 0; }
      .nav-inner { min-height: 54px; padding-left: 0.82rem; gap: 0.65rem; }
      .nav-brand { flex: 1 1 auto; gap: 0.55rem; }
      .nav-msg { gap: 0.4rem; padding-left: 0.55rem; }
      .nav-msg-text {
        display: grid;
        font-size: 0.74rem;
        max-width: 9.2rem;
        line-height: 1.2;
      }
      .nav-msg-text .nav-msg-full { display: none; }
      .nav-msg-text .nav-msg-short { display: block; }
      .nav-msg-links a { width: 32px; height: 32px; }
      .nav-msg-links svg { width: 15px; height: 15px; }
      .logo img { height: 28px; }
      .nav-toggle { display: block; }
      .nav-panel {
        position: absolute;
        left: 0; right: 0; top: calc(100% + 0.55rem);
        display: grid;
        gap: 0.55rem;
        padding: 0.75rem;
        border: 1px solid rgba(166,184,255,0.14);
        border-radius: 24px;
        background: #10152b;
        box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 1px rgba(255,255,255,0.05);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 40;
      }
      .nav.is-open .nav-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
      }
      .nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.28rem;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
      }
      .nav-links > li > a,
      .nav-link-btn {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 0.72rem 0.9rem;
        background: rgba(255,255,255,0.04);
        color: #f5f7ff;
        white-space: nowrap;
        font-size: 0.9rem;
      }
      .nav-item { width: 100%; }
      .nav-item::after,
      .nav-mega::before { content: none; }
      .nav-mega {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
        margin-top: 0.35rem;
        max-height: 0;
        padding: 0 0.4rem;
        border: 0;
        border-radius: 14px;
        background: rgba(0,0,0,0.18);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: none;
        overflow: hidden;
        transition: max-height 0.24s ease, padding 0.24s ease;
      }
      .nav-item:hover > .nav-mega,
      .nav-item:focus-within > .nav-mega {
        max-height: 0;
        padding: 0 0.4rem;
        pointer-events: none;
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      .nav-item.is-open > .nav-mega,
      .nav-item.is-open:hover > .nav-mega,
      .nav-item.is-open:focus-within > .nav-mega {
        max-height: 32rem;
        padding: 0.4rem;
        pointer-events: auto;
      }
      .nav-cta { width: 100%; min-height: 46px; }
      .nav-contacts {
        display: grid;
        gap: 0.4rem;
        width: 100%;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(166,184,255,0.12);
      }
      .nav-contacts-item {
        display: grid;
        gap: 0.12rem;
        padding: 0.7rem 0.9rem;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(166,184,255,0.1);
        color: #f5f7ff;
        font-size: 0.92rem;
        font-weight: 750;
        text-decoration: none;
        line-height: 1.25;
      }
      .nav-contacts-item span {
        color: #8e97b3;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .nav-contacts-item:hover,
      .nav-contacts-item:focus-visible {
        border-color: rgba(118,234,214,0.3);
        background: rgba(118,234,214,0.08);
        outline: none;
      }
    }
    @media (max-width: 640px) {
      .nav { padding: 0.48rem 0; }
      .nav .wrap { width: min(100% - 1rem, var(--wrap)); }
      .nav-inner { min-height: 52px; padding: 0.34rem 0.34rem 0.34rem 0.72rem; }
      .nav-toggle {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
      }
      .nav-toggle i,
      .nav-toggle::before,
      .nav-toggle::after { width: 16px; }
      .nav-toggle::before { transform: translate(-50%, calc(-50% - 5px)); }
      .nav-toggle::after { transform: translate(-50%, calc(-50% + 5px)); }
      .nav.is-open .nav-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
      .nav.is-open .nav-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
      .nav-brand { gap: 0.45rem; }
      .nav-msg { gap: 0.32rem; padding-left: 0.45rem; }
      .nav-msg-text { font-size: 0.7rem; max-width: 8.4rem; line-height: 1.18; }
      .nav-msg-links { gap: 0.22rem; }
      .nav-msg-links a { width: 30px; height: 30px; }
      .logo img { height: 26px; }
    }

    
    /* Day theme tweaks for 1Click nav */
    html[data-stage-theme="day"] .nav {
      background: rgba(245,247,251,0.92) !important;
      border-bottom-color: rgba(15,23,42,0.06) !important;
      box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    }
    html[data-stage-theme="day"] .nav-inner {
      background: rgba(255,255,255,0.82);
      border-color: rgba(14,165,233,0.18);
      box-shadow: 0 10px 28px rgba(15,23,42,0.06), inset 0 1px rgba(255,255,255,0.95);
    }
    html[data-stage-theme="day"] .nav-cta {
      color: #fff !important;
      background: linear-gradient(135deg, #0284c7, #2563eb) !important;
      box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28) !important;
    }
    html[data-stage-theme="day"] .core-night-stage #cases.cases-night .case-nav-label {
      color: #334155 !important;
    }

    html[data-stage-theme="day"] .nav-msg {
      border-left-color: rgba(15,23,42,0.1);
    }
    html[data-stage-theme="day"] .nav-msg-text { color: #475569; }
    html[data-stage-theme="day"] .nav-msg-links a {
      background: rgba(14,165,233,0.08);
      border-color: rgba(14,165,233,0.18);
    }
    html[data-stage-theme="day"] .nav-links {
      background: rgba(15,23,42,0.04);
      border-color: rgba(15,23,42,0.08);
      color: #334155;
    }
    html[data-stage-theme="day"] .nav-links > li > a,
    html[data-stage-theme="day"] .nav-link-btn {
      color: #334155;
    }
    html[data-stage-theme="day"] .nav-links > li > a:hover,
    html[data-stage-theme="day"] .nav-links > li > a:focus-visible,
    html[data-stage-theme="day"] .nav-link-btn:hover,
    html[data-stage-theme="day"] .nav-link-btn:focus-visible,
    html[data-stage-theme="day"] .nav-item.is-open > .nav-link-btn {
      color: #0b1220;
      background: rgba(14,165,233,0.12);
      box-shadow: inset 0 0 0 1px rgba(14,165,233,0.22);
    }
    html[data-stage-theme="day"] .nav-mega {
      background:
        radial-gradient(circle at 10% 0%, rgba(14,165,233,0.1), transparent 36%),
        linear-gradient(160deg, #ffffff, #f0f8fc);
      border-color: rgba(14,165,233,0.18);
      box-shadow: 0 18px 40px rgba(15,23,42,0.12), inset 0 1px rgba(255,255,255,0.9);
    }
    html[data-stage-theme="day"] .nav-mega a { color: #1e293b; }
    html[data-stage-theme="day"] .nav-mega a:hover,
    html[data-stage-theme="day"] .nav-mega a:focus-visible {
      background: rgba(14,165,233,0.1);
      color: #0369a1;
    }
    html[data-stage-theme="day"] .nav-toggle {
      border-color: rgba(14,165,233,0.22);
      background: rgba(255,255,255,0.9);
    }
    html[data-stage-theme="day"] .nav-toggle i,
    html[data-stage-theme="day"] .nav-toggle::before,
    html[data-stage-theme="day"] .nav-toggle::after {
      background: #0b1220;
    }
    @media (max-width: 1020px) {
      html[data-stage-theme="day"] .nav-panel {
        background: #ffffff;
        border-color: rgba(14,165,233,0.18);
        box-shadow: 0 18px 40px rgba(15,23,42,0.12);
      }
      html[data-stage-theme="day"] .nav-links > li > a,
      html[data-stage-theme="day"] .nav-link-btn {
        background: rgba(14,165,233,0.06);
        color: #0b1220;
      }
      html[data-stage-theme="day"] .nav-contacts-item {
        background: rgba(14,165,233,0.05);
        border-color: rgba(14,165,233,0.14);
        color: #0b1220;
      }
      html[data-stage-theme="day"] .nav-contacts-item span { color: #64748b; }
    }
    html[data-stage-theme="day"] .core-night-stage #services.services-night .svc-ghost,
    html[data-stage-theme="day"] .core-night-stage #services.services-night .btn-ghost {
      color: #0b1220 !important;
      background: rgba(255,255,255,0.7) !important;
      border-color: rgba(15,23,42,0.12) !important;
    }


    /* NAV responsive (1Click header) */
    @media (max-width: 1360px) {
      .nav-inner { gap: 0.7rem; padding-left: 0.8rem; }
      .nav-brand { gap: 0.55rem; }
      .nav-msg-text .nav-msg-full { display: none; }
      .nav-msg-text .nav-msg-short { display: block; }
      .nav-msg-text { max-width: 8.5rem; font-size: 0.72rem; }
      .logo img { height: 30px; }
      .nav-links { font-size: 0.76rem; }
      .nav-links > li > a,
      .nav-link-btn { padding: 0.45rem 0.52rem; min-height: 34px; }
      .nav-cta { min-height: 38px; padding: 0.6rem 0.78rem; font-size: 0.76rem; }
    }
    @media (max-width: 1180px) {
      .nav-msg-text { display: none; }
      .nav-msg { padding-left: 0.55rem; }
      .logo img { height: 28px; }
      .nav-links { font-size: 0.72rem; }
      .nav-links > li > a,
      .nav-link-btn { padding: 0.42rem 0.45rem; gap: 0.22rem; }
      .nav-cta { padding: 0.55rem 0.7rem; font-size: 0.72rem; }
    }
    @media (max-width: 1020px) {
      .nav { padding: 0.58rem 0; }
      .nav-inner { min-height: 54px; padding-left: 0.82rem; gap: 0.65rem; }
      .nav-brand { flex: 1 1 auto; gap: 0.55rem; }
      .nav-msg { gap: 0.4rem; padding-left: 0.55rem; }
      .nav-msg-text {
        display: grid;
        font-size: 0.74rem;
        max-width: 9.2rem;
        line-height: 1.2;
      }
      .nav-msg-text .nav-msg-full { display: none; }
      .nav-msg-text .nav-msg-short { display: block; }
      .nav-msg-links a { width: 32px; height: 32px; }
      .nav-msg-links svg { width: 15px; height: 15px; }
      .logo img { height: 28px; }
      .nav-toggle { display: block; }
      .nav-panel {
        position: absolute;
        left: 0; right: 0; top: calc(100% + 0.55rem);
        display: grid;
        gap: 0.55rem;
        padding: 0.75rem;
        border: 1px solid rgba(166,184,255,0.14);
        border-radius: 24px;
        background: #10152b;
        box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 1px rgba(255,255,255,0.05);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 40;
      }
      .nav.is-open .nav-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
      }
      .nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.28rem;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
      }
      .nav-links > li > a,
      .nav-link-btn {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 0.72rem 0.9rem;
        background: rgba(255,255,255,0.04);
        color: #f5f7ff;
        white-space: nowrap;
        font-size: 0.9rem;
      }
      .nav-item { width: 100%; }
      .nav-item::after,
      .nav-mega::before { content: none; }
      .nav-mega {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
        margin-top: 0.35rem;
        max-height: 0;
        padding: 0 0.4rem;
        border: 0;
        border-radius: 14px;
        background: rgba(0,0,0,0.18);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: none;
        overflow: hidden;
        transition: max-height 0.24s ease, padding 0.24s ease;
      }
      .nav-item:hover > .nav-mega,
      .nav-item:focus-within > .nav-mega {
        max-height: 0;
        padding: 0 0.4rem;
        pointer-events: none;
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      .nav-item.is-open > .nav-mega,
      .nav-item.is-open:hover > .nav-mega,
      .nav-item.is-open:focus-within > .nav-mega {
        max-height: 32rem;
        padding: 0.4rem;
        pointer-events: auto;
      }
      .nav-cta { width: 100%; min-height: 46px; }
      .nav-contacts {
        display: grid;
        gap: 0.4rem;
        width: 100%;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(166,184,255,0.12);
      }
      .nav-contacts-item {
        display: grid;
        gap: 0.12rem;
        padding: 0.7rem 0.9rem;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(166,184,255,0.1);
        color: #f5f7ff;
        font-size: 0.92rem;
        font-weight: 750;
        text-decoration: none;
        line-height: 1.25;
      }
      .nav-contacts-item span {
        color: #8e97b3;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .nav-contacts-item:hover,
      .nav-contacts-item:focus-visible {
        border-color: rgba(118,234,214,0.3);
        background: rgba(118,234,214,0.08);
        outline: none;
      }
    }
    @media (max-width: 640px) {
      .nav { padding: 0.48rem 0; }
      .nav .wrap { width: min(100% - 1rem, var(--wrap)); }
      .nav-inner { min-height: 52px; padding: 0.34rem 0.34rem 0.34rem 0.72rem; }
      .nav-toggle {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
      }
      .nav-toggle i,
      .nav-toggle::before,
      .nav-toggle::after { width: 16px; }
      .nav-toggle::before { transform: translate(-50%, calc(-50% - 5px)); }
      .nav-toggle::after { transform: translate(-50%, calc(-50% + 5px)); }
      .nav.is-open .nav-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
      .nav.is-open .nav-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
      .nav-brand { gap: 0.45rem; }
      .nav-msg { gap: 0.32rem; padding-left: 0.45rem; }
      .nav-msg-text { font-size: 0.7rem; max-width: 8.4rem; line-height: 1.18; }
      .nav-msg-links { gap: 0.22rem; }
      .nav-msg-links a { width: 30px; height: 30px; }
      .logo img { height: 26px; }
    }

    

/* Layout bridge with legacy pages */
body.agency-site {
  font-family: var(--font-agency-sans);
}
body.agency-site .site-header-spacer { display: none !important; }

/* particles-under-header-v1 */
/* Continuous particle field behind sticky header; header chrome unchanged in structure */
body.agency-site {
  --agency-nav-offset: 4.85rem;
  background: #10152b;
}
html[data-stage-theme="day"] body.agency-site {
  background: #eef3f8;
}

/* Pull night stage under sticky nav so canvas/dots are one field with the page */
body.agency-site .core-night-stage {
  margin-top: calc(-1 * var(--agency-nav-offset));
  padding-top: var(--agency-nav-offset);
}

/* Keep first content clear of the bar; hero/showcase already have their own spacing */
body.agency-site .core-night-stage > .neural-showcase.core-showcase,
body.agency-site .core-night-stage > .neural-showcase {
  /* no extra — stage padding already accounts for nav */
}

/* Let dots read through the glass without redesigning the pill header */
body.agency-site #nav.nav {
  background: rgba(16, 21, 43, 0.52);
  border-bottom-color: rgba(166, 184, 255, 0.08);
}
body.agency-site #nav .nav-inner {
  background: rgba(16, 21, 43, 0.48);
}
html[data-stage-theme="day"] body.agency-site #nav.nav {
  background: rgba(243, 247, 251, 0.62);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}
html[data-stage-theme="day"] body.agency-site #nav .nav-inner {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 1px rgba(255,255,255,0.85), 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1020px) {
  body.agency-site {
    --agency-nav-offset: 4.35rem;
  }
}

#nav .logo-img-light { display: none; }
#nav .logo-img-dark { display: block; }
#footer .logo-img-light { display: none; }
#footer .logo-img-dark { display: block; }
html[data-stage-theme="day"] #nav .logo-img-dark,
html[data-stage-theme="day"] #footer .logo-img-dark { display: none; }
html[data-stage-theme="day"] #nav .logo-img-light,
html[data-stage-theme="day"] #footer .logo-img-light { display: block; }

    /* —— Theme switch (site-wide) —— */
.theme-switch {
      position: fixed;
      z-index: 80;
      right: max(1rem, calc(50% - 590px));
      bottom: 1.25rem;
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      padding: 0;
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 50%;
      background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,0.22), transparent 42%),
        linear-gradient(145deg, #243357 0%, #1a2748 100%);
      color: #f5f7ff;
      cursor: pointer;
      backdrop-filter: blur(12px);
      box-shadow:
        0 14px 32px rgba(0,0,0,0.32),
        inset 0 1px rgba(255,255,255,0.18);
      transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    }
    .theme-switch:hover {
      transform: translateY(-2px) scale(1.04);
      box-shadow:
        0 18px 36px rgba(0,0,0,0.36),
        0 0 0 4px rgba(118,234,214,0.16),
        inset 0 1px rgba(255,255,255,0.22);
    }
    .theme-switch:focus-visible {
      outline: none;
      box-shadow:
        0 14px 32px rgba(0,0,0,0.32),
        0 0 0 3px rgba(118,234,214,0.45);
    }
    .theme-switch-icon {
      display: none;
      width: 26px;
      height: 26px;
      pointer-events: none;
    }
    .theme-switch-icon svg {
      display: block;
      width: 100%;
      height: 100%;
      overflow: visible;
    }
    /* Night active → show sun (switch to day) */
    html:not([data-stage-theme="day"]) .theme-switch .theme-switch-sun { display: block; }
    /* Day active → show moon (switch to night) */
    html[data-stage-theme="day"] .theme-switch .theme-switch-moon { display: block; }
    html[data-stage-theme="day"] .theme-switch {
      border-color: rgba(14,165,233,0.28);
      background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), transparent 44%),
        linear-gradient(145deg, #e0f2fe 0%, #bae6fd 55%, #7dd3fc 100%);
      box-shadow:
        0 14px 32px rgba(14,165,233,0.22),
        inset 0 1px rgba(255,255,255,0.95);
    }
    html[data-stage-theme="day"] .theme-switch:hover {
      box-shadow:
        0 18px 36px rgba(14,165,233,0.28),
        0 0 0 4px rgba(2,132,199,0.14),
        inset 0 1px rgba(255,255,255,0.95);
    }


/* Shared night stage (cases/contacts/etc). Canvas MUST be absolute or JS sizing stretches the page. */
body.agency-site .core-night-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: clip;
  color: #f5f7ff;
  background:
    radial-gradient(circle at 88% 8%, rgba(127,92,255,0.22), transparent 28%),
    radial-gradient(circle at 62% 18%, rgba(50,211,191,0.1), transparent 24%),
    radial-gradient(circle at 16% 72%, rgba(50,211,191,0.08), transparent 28%),
    #10152b;
}
body.agency-site .core-night-stage > .signal-core-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  display: block;
  pointer-events: none;
}
body.agency-site .core-night-stage > *:not(.signal-core-canvas) {
  position: relative;
  z-index: 1;
}
html[data-stage-theme="day"] body.agency-site .core-night-stage {
  color: #0f172a;
  background:
    radial-gradient(ellipse 85% 55% at 8% -8%, rgba(125,211,252,0.28), transparent 52%),
    radial-gradient(ellipse 70% 48% at 96% 0%, rgba(167,243,208,0.2), transparent 50%),
    radial-gradient(ellipse 65% 42% at 78% 100%, rgba(196,181,253,0.16), transparent 52%),
    linear-gradient(180deg, #f3f7fb 0%, #eef3f8 48%, #e8eef5 100%);
}

/* cases-contacts-layout-fix-v2 */
body.agency-site.cases-agency-page,
body.agency-site.contacts-agency-page {
  background: #10152b;
  color: #f5f7ff;
  overflow-x: clip;
}
html[data-stage-theme="day"] body.agency-site.cases-agency-page,
html[data-stage-theme="day"] body.agency-site.contacts-agency-page {
  background: #eef3f8;
  color: #0f172a;
}
body.agency-site.cases-agency-page > main,
body.agency-site.contacts-agency-page > main {
  max-width: 100%;
  overflow-x: clip;
  min-width: 0;
}


/* ===== MOBILE HARD OVERRIDE (chrome/nav/footer) ===== */
@media (max-width: 1020px) {
  body.agency-site { overflow-x: clip; }
  body.agency-site .nav-toggle { display: block !important; }
  body.agency-site .nav-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 0.55rem) !important;
    display: grid !important;
    width: auto !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  body.agency-site .nav.is-open .nav-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  body.agency-site .nav-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  body.agency-site .nav-cta { width: 100% !important; }
  body.agency-site .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  body.agency-site .footer-top {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}
@media (max-width: 640px) {
  body.agency-site .footer-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  body.agency-site .footer-msg-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.55rem 0.7rem !important;
  }
  body.agency-site .footer-msg-row .btn {
    width: auto !important;
    flex: 0 0 auto !important;
  }
  body.agency-site .nav .wrap { width: min(100% - 1rem, var(--wrap, 1180px)) !important; }
}


/* burger-fix-v2 */
@media (max-width: 1020px) {
  body.agency-site #nav.nav {
    position: sticky;
    top: 0;
    z-index: 250;
  }
  body.agency-site #nav .nav-inner {
    position: relative;
    overflow: visible;
  }
  body.agency-site #nav .nav-toggle {
    display: block !important;
    z-index: 60;
    pointer-events: auto;
  }
  body.agency-site #nav .nav-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 0.55rem) !important;
    display: grid !important;
    gap: 0.55rem !important;
    padding: 0.75rem !important;
    border: 1px solid rgba(166,184,255,0.14) !important;
    border-radius: 24px !important;
    background: #10152b !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45) !important;
    width: auto !important;
    max-height: min(78vh, 640px);
    overflow: auto;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(0.98);
    z-index: 80 !important;
  }
  body.agency-site #nav.nav.is-open .nav-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  html[data-stage-theme="day"] body.agency-site #nav .nav-panel {
    background: #ffffff !important;
    border-color: rgba(14,165,233,0.18) !important;
    box-shadow: 0 18px 40px rgba(15,23,42,0.12) !important;
  }
}

/* footer-msg-row opposite fix */
body.agency-site .footer-a .footer-msg-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.55rem 0.7rem !important;
}
body.agency-site .footer-a .footer-msg-row .btn {
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap;
}


/* day theme headings readability fix */
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase h1,
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase h2,
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase-copy,
html[data-stage-theme="day"] .home-agency .core-night-stage h2,
html[data-stage-theme="day"] .home-agency .core-night-stage h3,
html[data-stage-theme="day"] .service-agency .core-night-stage .neural-showcase h1,
html[data-stage-theme="day"] .service-agency .core-night-stage .neural-showcase h2,
html[data-stage-theme="day"] .service-agency .core-night-stage h2,
html[data-stage-theme="day"] .service-agency .core-night-stage h3,
html[data-stage-theme="day"] .core-night-stage .neural-showcase h1,
html[data-stage-theme="day"] .core-night-stage .neural-showcase h2,
html[data-stage-theme="day"] .core-night-stage h2,
html[data-stage-theme="day"] .core-night-stage h3 {
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase h2 em,
html[data-stage-theme="day"] .service-agency .core-night-stage .neural-showcase h2 em,
html[data-stage-theme="day"] .core-night-stage .neural-showcase h2 em,
html[data-stage-theme="day"] .core-night-stage h2 em,
html[data-stage-theme="day"] .core-night-stage h2 .h2-mark,
html[data-stage-theme="day"] .core-night-stage h2 .h2-accent,
html[data-stage-theme="day"] .core-night-stage h2 .h2-underline {
  color: transparent !important;
  background: linear-gradient(96deg, #0369a1, #1d4ed8 52%, #4338ca) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}
html[data-stage-theme="day"] .home-agency .core-night-stage .core-cta-ghost,
html[data-stage-theme="day"] .service-agency .core-night-stage .core-cta-ghost,
html[data-stage-theme="day"] .core-night-stage .core-cta-ghost {
  color: #0b1220 !important;
  border-color: rgba(2,132,199,0.35) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(14,165,233,0.14), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, #e8f3fb 100%) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08), inset 0 1px rgba(255,255,255,0.95) !important;
}
html[data-stage-theme="day"] .core-night-stage .compare-head h2,
html[data-stage-theme="day"] .core-night-stage .process-night-head h2,
html[data-stage-theme="day"] .core-night-stage .team-head h2,
html[data-stage-theme="day"] .core-night-stage .services-night-head h2,
html[data-stage-theme="day"] .core-night-stage .plus-head h2,
html[data-stage-theme="day"] .core-night-stage #faq h2,
html[data-stage-theme="day"] .core-night-stage #contact h2,
html[data-stage-theme="day"] .core-night-stage #cases h2,
html[data-stage-theme="day"] .core-night-stage .who-shot-copy h2,
html[data-stage-theme="day"] .core-night-stage .pages-deck-head h2,
html[data-stage-theme="day"] .core-night-stage .gets-out-head h2,
html[data-stage-theme="day"] .core-night-stage .nuance-feature-head h2,
html[data-stage-theme="day"] .core-night-stage .diff-board-top h2,
html[data-stage-theme="day"] .core-night-stage .stay-c-title {
  color: #0b1220 !important;
}


/* day theme heading contrast boost */
html[data-stage-theme="day"] .core-night-stage .neural-showcase h1,
html[data-stage-theme="day"] .core-night-stage .neural-showcase h2,
html[data-stage-theme="day"] .core-night-stage h2,
html[data-stage-theme="day"] body.agency-site .core-night-stage h2,
html[data-stage-theme="day"] body.agency-site section h2,
html[data-stage-theme="day"] body.agency-site .wrap > h2,
html[data-stage-theme="day"] body.agency-site .section-head h2 {
  color: #0b1220 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-fill-color: #0b1220;
}
html[data-stage-theme="day"] .core-night-stage .neural-showcase h2 em,
html[data-stage-theme="day"] .core-night-stage h2 em,
html[data-stage-theme="day"] .core-night-stage h2 .h2-underline,
html[data-stage-theme="day"] .core-night-stage h2 .h2-mark,
html[data-stage-theme="day"] .core-night-stage h2 .h2-accent {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(96deg, #0369a1, #1d4ed8 52%, #4338ca) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  filter: none !important;
  opacity: 1 !important;
}
html[data-stage-theme="day"] .core-night-stage .core-cta-ghost,
html[data-stage-theme="day"] body.agency-site .core-cta-ghost {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  opacity: 1 !important;
  border-color: rgba(2,132,199,0.4) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(14,165,233,0.16), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, #e8f3fb 100%) !important;
}


/* batch: desktop ai-module desc + day contrast v2 */
@media (min-width: 901px) {
  .home-agency .ai-module-card p,
  .service-agency .ai-module-card p,
  .ai-module-card p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
  }
}

/* day: strategy ghost CTA — solid readable fill */
html[data-stage-theme="day"] .core-night-stage .core-cta-ghost,
html[data-stage-theme="day"] .home-agency .core-night-stage .core-cta-ghost,
html[data-stage-theme="day"] .service-agency .core-night-stage .core-cta-ghost {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  background: #ffffff !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 #fff !important;
}
html[data-stage-theme="day"] .core-night-stage .core-cta-ghost:hover,
html[data-stage-theme="day"] .home-agency .core-night-stage .core-cta-ghost:hover {
  color: #0b1220 !important;
  background: #eef5ff !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
}

/* day: market-lock title "Покажем, где сайт" */
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock,
html[data-stage-theme="day"] .service-agency #compare.compare-night .market-lock,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock {
  color: #0b1220 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,0.1), transparent 40%),
    linear-gradient(165deg, #ffffff 0%, #eef5fb 100%) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-copy h3,
html[data-stage-theme="day"] .service-agency #compare.compare-night .market-lock-copy h3,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-copy h3 {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  opacity: 1 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-copy h3 em,
html[data-stage-theme="day"] .service-agency #compare.compare-night .market-lock-copy h3 em,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-copy h3 em {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(96deg, #0369a1, #1d4ed8 52%, #4338ca) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  filter: none !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-copy p,
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-note,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-copy p,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-note {
  color: #334155 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-copy b,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-copy b {
  color: #0369a1 !important;
}

/* day: compare block light tones (match advantages / ice cards) */
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card,
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card:hover,
html[data-stage-theme="day"] .service-agency #compare.compare-night .market-card,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card:hover {
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(14,165,233,0.1), transparent 36%),
    linear-gradient(165deg, #ffffff 0%, #eef4fa 100%) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07), inset 0 1px rgba(255,255,255,0.95) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-table th,
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-table td,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-table th,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-table td {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--in thead th,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card--in thead th {
  color: #475569 !important;
  background: rgba(241, 245, 249, 0.95) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--in thead th:last-child,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card--in thead th:last-child {
  color: #0369a1 !important;
  background: rgba(14, 165, 233, 0.1) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--out thead th:first-child,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card--out thead th:first-child {
  color: #475569 !important;
  background: #f1f5f9 !important;
  border-right-color: rgba(15, 23, 42, 0.08) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--out thead th:last-child,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card--out thead th:last-child {
  color: #1d4ed8 !important;
  background: rgba(37, 99, 235, 0.1) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .crit-name,
html[data-stage-theme="day"] .home-agency #compare.compare-night .val-main,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .crit-name,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .val-main {
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .crit-sub,
html[data-stage-theme="day"] .home-agency #compare.compare-night .val-sub,
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-unit,
html[data-stage-theme="day"] .home-agency #compare.compare-night .val-unit,
html[data-stage-theme="day"] .home-agency #compare.compare-night .val-caption,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .crit-sub,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .val-sub,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .val-caption {
  color: #64748b !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .term,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .term {
  color: #0369a1 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-stepper,
html[data-stage-theme="day"] .home-agency #compare.compare-night .yn-toggle,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-stepper,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .yn-toggle {
  border-color: rgba(37, 99, 235, 0.22) !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9) !important;
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--in tbody tr:hover td,
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--out tbody tr:hover td {
  background: rgba(14, 165, 233, 0.06) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-card--out tbody td.us-cell,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card--out tbody td.us-cell {
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .micro-tags span,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .micro-tags span {
  color: #0369a1 !important;
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: rgba(14, 165, 233, 0.22) !important;
}

/* day: process "Как мы запускаем рост" — beat night !important */
html[data-stage-theme="day"] .home-agency #process.process-night .trial-list li,
html[data-stage-theme="day"] .service-agency #process.process-night .trial-list li,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial-list li {
  color: #334155 !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .trial .note,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .note {
  color: #475569 !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .trial .note b,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .note b {
  color: #0369a1 !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .trial .price-xl span,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .price-xl span {
  color: #0369a1 !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .step .tag,
html[data-stage-theme="day"] .home-agency #process.process-night .step-tags .tag,
html[data-stage-theme="day"] .service-agency #process.process-night .step .tag,
html[data-stage-theme="day"] .core-night-stage #process.process-night .step .tag {
  color: #0c4a6e !important;
  background: rgba(14, 165, 233, 0.14) !important;
  border: 1px solid rgba(2, 132, 199, 0.32) !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .step p,
html[data-stage-theme="day"] .core-night-stage #process.process-night .step p {
  color: #475569 !important;
}
html[data-stage-theme="day"] .home-agency #process.process-night .step h3,
html[data-stage-theme="day"] .core-night-stage #process.process-night .step h3 {
  color: #0b1220 !important;
}


/* batch: day qty/channels + process bg experiment + team note */
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-cell input[type="number"],
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-cell input[type="number"],
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-stepper input,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-stepper input {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  opacity: 1 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-unit,
html[data-stage-theme="day"] .home-agency #compare.compare-night .val-unit,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-unit,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .val-unit {
  color: #475569 !important;
  opacity: 1 !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-step,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-step {
  color: #1d4ed8 !important;
  background: rgba(37, 99, 235, 0.1) !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .inp-step:hover,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .inp-step:hover {
  color: #fff !important;
  background: #2563eb !important;
}

/* day: selected contact channel readable */
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-channels label,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-channels label {
  color: #334155 !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  background: #ffffff !important;
}
html[data-stage-theme="day"] .home-agency #compare.compare-night .market-lock-channels label.is-on,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock-channels label.is-on {
  color: #ffffff !important;
  border-color: #2563eb !important;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22) !important;
}


/* day cards: variant 6 surface sitewide */
html[data-stage-theme="day"] .home-agency .core-night-stage .ai-module-card,
html[data-stage-theme="day"] .home-agency .core-night-stage .plus-card,
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .step,
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .trial,
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .process-more article,
html[data-stage-theme="day"] .home-agency .core-night-stage #services.services-night .svc-card,
html[data-stage-theme="day"] .home-agency .core-night-stage #services.services-night .svc-include,
html[data-stage-theme="day"] .home-agency .core-night-stage #faq.faq-night .faq-item,
html[data-stage-theme="day"] .home-agency .core-night-stage #faq.faq-night .faq-ask,
html[data-stage-theme="day"] .home-agency .core-night-stage #contact.contact-night .channel,
html[data-stage-theme="day"] .home-agency .core-night-stage #contact.contact-night .form-card,
html[data-stage-theme="day"] .home-agency .core-night-stage #cases.cases-night .cases-adv,
html[data-stage-theme="day"] .home-agency .core-night-stage #cases.cases-night .case-stage,
html[data-stage-theme="day"] .home-agency .core-night-stage #cases.cases-night .case-thumb,
html[data-stage-theme="day"] .home-agency .core-night-stage #cases.cases-night .filter,
html[data-stage-theme="day"] .home-agency .core-night-stage #cases.cases-night .case-metrics-row div,
html[data-stage-theme="day"] .home-agency .core-night-stage #team.team-night .person,
html[data-stage-theme="day"] .home-agency .core-night-stage #team.team-night .team-strip .stat,
html[data-stage-theme="day"] .home-agency .core-night-stage .pages-deck-item,
html[data-stage-theme="day"] .home-agency .core-night-stage .gets-out-cols article,
html[data-stage-theme="day"] .home-agency .core-night-stage .nuance-feature-lead,
html[data-stage-theme="day"] .home-agency .core-night-stage .nuance-feature-row article,
html[data-stage-theme="day"] .home-agency .core-night-stage .who-shot-shell,
html[data-stage-theme="day"] .home-agency .core-night-stage .diff-board-shell,
html[data-stage-theme="day"] .home-agency .core-night-stage #compare.compare-night .market-card,
html[data-stage-theme="day"] .home-agency .core-night-stage #compare.compare-night .market-card:hover,
html[data-stage-theme="day"] .home-agency .core-night-stage #compare.compare-night .market-lock,
html[data-stage-theme="day"] .home-agency .core-night-stage #quiz.quiz-night .quiz,
html[data-stage-theme="day"] .home-agency .core-night-stage #quiz.quiz-night .side-card,
html[data-stage-theme="day"] .service-agency .core-night-stage .ai-module-card,
html[data-stage-theme="day"] .service-agency .core-night-stage .plus-card,
html[data-stage-theme="day"] .service-agency .core-night-stage #process.process-night .step,
html[data-stage-theme="day"] .service-agency .core-night-stage #process.process-night .trial,
html[data-stage-theme="day"] .service-agency .core-night-stage #services.services-night .svc-card,
html[data-stage-theme="day"] .service-agency .core-night-stage #team.team-night .person,
html[data-stage-theme="day"] .service-agency .core-night-stage #faq.faq-night .faq-item,
html[data-stage-theme="day"] .service-agency .core-night-stage #contact.contact-night .channel,
html[data-stage-theme="day"] .service-agency .core-night-stage #contact.contact-night .form-card,
html[data-stage-theme="day"] .core-night-stage .ai-module-card,
html[data-stage-theme="day"] .core-night-stage .plus-card,
html[data-stage-theme="day"] .core-night-stage #process.process-night .step,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial,
html[data-stage-theme="day"] .core-night-stage #services.services-night .svc-card,
html[data-stage-theme="day"] .core-night-stage #team.team-night .person,
html[data-stage-theme="day"] .core-night-stage #faq.faq-night .faq-item,
html[data-stage-theme="day"] .core-night-stage #contact.contact-night .form-card,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-card:hover,
html[data-stage-theme="day"] .core-night-stage #compare.compare-night .market-lock {
  background:
    linear-gradient(165deg, #e7edf7 0%, #d9e4f4 55%, #e4ebf6 100%) !important;
  border-color: rgba(59, 130, 246, 0.22) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08), inset 0 1px rgba(255, 255, 255, 0.7) !important;
}


/* day: trial price contrast on variant-6 cards */
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .trial .price-xl,
html[data-stage-theme="day"] .service-agency .core-night-stage #process.process-night .trial .price-xl,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .price-xl {
  color: #0b1220 !important;
}
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .trial .price-xl b,
html[data-stage-theme="day"] .service-agency .core-night-stage #process.process-night .trial .price-xl b,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .price-xl b {
  color: #1d4ed8 !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  filter: none !important;
  animation: none !important;
  font-weight: 800 !important;
}
html[data-stage-theme="day"] .home-agency .core-night-stage #process.process-night .trial .price-xl span,
html[data-stage-theme="day"] .service-agency .core-night-stage #process.process-night .trial .price-xl span,
html[data-stage-theme="day"] .core-night-stage #process.process-night .trial .price-xl span {
  color: #0369a1 !important;
  -webkit-text-fill-color: #0369a1 !important;
  opacity: 1 !important;
}


/* compare: no win-flash animation on metric change */
.home-agency .market-card--out tbody td.us-cell.is-win,
.home-agency #compare.compare-night .us-cell.is-win {
  background: inherit !important;
  box-shadow: none !important;
  animation: none !important;
}
.home-agency .market-card--out tbody td.us-cell.is-win::before,
.home-agency .market-card--out tbody td.us-cell.is-win::after,
.home-agency #compare.compare-night .us-cell.is-win::before,
.home-agency #compare.compare-night .us-cell.is-win::after {
  animation: none !important;
  opacity: 0 !important;
  width: 0 !important;
  transform: none !important;
}
.home-agency .market-card--out tbody td.us-cell.is-win .val-main,
.home-agency .market-card--out tbody td.us-cell.is-win .ico--ok,
.home-agency .market-card--out tbody td.us-cell.is-win .win-badge,
.home-agency #compare.compare-night .us-cell.is-win .val-main,
.home-agency #compare.compare-night .us-cell.is-win .ico--ok {
  animation: none !important;
}
.home-agency .market-card--out tbody tr.is-dim td:first-child {
  opacity: 1 !important;
  filter: none !important;
  background: transparent !important;
}
.home-agency .market-follow-cmp.is-pulse {
  animation: none !important;
}


/* day: neural-showcase-lead strong contrast */
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase-lead,
html[data-stage-theme="day"] .service-agency .core-night-stage .neural-showcase-lead,
html[data-stage-theme="day"] .core-night-stage .neural-showcase-lead {
  color: #334155 !important;
}
html[data-stage-theme="day"] .home-agency .core-night-stage .neural-showcase-lead strong,
html[data-stage-theme="day"] .service-agency .core-night-stage .neural-showcase-lead strong,
html[data-stage-theme="day"] .core-night-stage .neural-showcase-lead strong,
html[data-stage-theme="day"] .home-agency .neural-showcase-lead strong {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* Nav CTA pulse / shine (Получить план роста) */
.nav-cta.nav-cta--pulse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: navCtaGlow 2.8s ease-in-out infinite;
}
.nav-cta.nav-cta--pulse::before {
  content: "";
  position: absolute;
  inset: -20% -45%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.42) 50%, transparent 65%);
  transform: translateX(-55%) skewX(-18deg);
  animation: coreCtaShine 3.4s ease-in-out infinite;
}
.nav-cta.nav-cta--pulse > * {
  position: relative;
  z-index: 1;
}
@keyframes navCtaGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(118,234,214,0.18); }
  50% { box-shadow: 0 10px 28px rgba(118,234,214,0.34), 0 0 18px rgba(155,92,255,0.22); }
}
html[data-stage-theme="day"] .nav-cta.nav-cta--pulse {
  animation-name: navCtaGlowDay;
}
@keyframes navCtaGlowDay {
  0%, 100% { box-shadow: 0 10px 24px rgba(37,99,235,0.28); }
  50% { box-shadow: 0 12px 30px rgba(37,99,235,0.42), 0 0 16px rgba(2,132,199,0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta.nav-cta--pulse,
  .nav-cta.nav-cta--pulse::before {
    animation: none !important;
  }
}



/* ===== agency fixes: fixed header + lead modal day theme + uslugi catalog ===== */
body.agency-site #nav.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 250;
}
body.agency-site {
  padding-top: var(--agency-nav-offset, 4.75rem);
}
body.agency-site .site-header-spacer { display: none !important; }

html[data-stage-theme="day"] .sg-modal {
  background: rgba(15, 23, 42, 0.45);
}
html[data-stage-theme="day"] .sg-modal-card {
  color: #0f172a;
  background:
    radial-gradient(circle at 90% 10%, rgba(56,189,248,0.12), transparent 34%),
    linear-gradient(160deg, #ffffff, #f3f7fb);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18), inset 0 1px rgba(255,255,255,0.9);
}
html[data-stage-theme="day"] .sg-modal-card h3 { color: #0f172a; }
html[data-stage-theme="day"] .sg-modal-card .sub { color: #64748b; }
html[data-stage-theme="day"] .sg-modal-card .sub b { color: #0284c7; }
html[data-stage-theme="day"] .sg-modal-card .form label { color: #334155; }
html[data-stage-theme="day"] .sg-modal-card .form input,
html[data-stage-theme="day"] .sg-modal-card .form select,
html[data-stage-theme="day"] .sg-modal-card .form textarea {
  background: #fff;
  border-color: rgba(148,163,184,0.45);
  color: #0f172a;
  color-scheme: light;
}
html[data-stage-theme="day"] .sg-modal-card .form input::placeholder,
html[data-stage-theme="day"] .sg-modal-card .form textarea::placeholder { color: #94a3b8; }
html[data-stage-theme="day"] .sg-modal-card .form-note { color: #64748b; }
html[data-stage-theme="day"] .sg-modal-card .success h4 { color: #0f172a; }
html[data-stage-theme="day"] .sg-modal-card .success .note { color: #64748b; }
html[data-stage-theme="day"] .sg-modal-close {
  background: rgba(15,23,42,0.06);
  color: #334155;
}

.agency-lead-modal .form-extra { display: grid; gap: 0.35rem; margin-top: 0.55rem; }
.agency-lead-modal .success { text-align: center; padding: 1rem 0.5rem 0.25rem; }
.agency-lead-modal .success .ok {
  width: 52px; height: 52px; margin: 0 auto 0.7rem;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(45,212,191,0.16); color: #2dd4bf; font-size: 1.4rem; font-weight: 800;
}

.services-catalog-hero { padding-top: 2.2rem; padding-bottom: 1.2rem; }
.services-catalog-hero .eyebrow {
  display: inline-flex; margin: 0 0 0.85rem; padding: 0.28rem 0.7rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: #76ead6; background: rgba(118,234,214,0.1); border: 1px solid rgba(118,234,214,0.22);
}
.services-catalog-hero h1 {
  font-family: "Unbounded", sans-serif; font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.9rem; max-width: 16ch;
}
.services-catalog-hero h1 em { font-style: normal; color: #76ead6; }
.services-catalog-hero .lead { max-width: 54ch; color: rgba(245,247,255,0.72); margin-bottom: 1.2rem; }
.services-catalog-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.services-catalog-nav {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.25rem;
}
.services-catalog-tab {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid rgba(166,184,255,0.16); background: rgba(255,255,255,0.04);
  color: #d7dcef; border-radius: 999px; padding: 0.55rem 0.9rem; cursor: pointer; font: inherit;
}
.services-catalog-tab strong { font-size: 0.92rem; font-weight: 700; }
.services-catalog-tab span {
  min-width: 1.4rem; height: 1.4rem; border-radius: 999px; display: inline-grid; place-items: center;
  background: rgba(118,234,214,0.14); color: #76ead6; font-size: 0.75rem; font-weight: 800; padding: 0 0.35rem;
}
.services-catalog-tab.is-on {
  background: rgba(118,234,214,0.14); border-color: rgba(118,234,214,0.35); color: #fff;
}
.services-catalog-panel-head { margin-bottom: 1rem; }
.services-catalog-panel-head h2 {
  margin: 0 0 0.35rem; font-family: "Unbounded", sans-serif; font-size: 1.25rem; letter-spacing: -0.02em;
}
.services-catalog-panel-head p { margin: 0; color: rgba(245,247,255,0.62); }
.services-catalog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem;
}
.services-catalog-card {
  display: flex; flex-direction: column; gap: 0.45rem; min-height: 140px;
  padding: 1rem 1.05rem; border-radius: 18px; text-decoration: none; color: inherit;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(166,184,255,0.14);
  transition: border-color .2s, transform .2s, background .2s;
}
.services-catalog-card:hover {
  border-color: rgba(118,234,214,0.4); background: rgba(118,234,214,0.06); transform: translateY(-2px);
}
.services-catalog-card-title { font-weight: 800; line-height: 1.25; }
.services-catalog-card-text { color: rgba(245,247,255,0.58); font-size: 0.9rem; flex: 1; }
.services-catalog-card-go { color: #76ead6; font-size: 0.86rem; font-weight: 700; }
.services-catalog-cta { margin-top: 0.5rem; }
@media (max-width: 980px) {
  .services-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services-catalog-grid { grid-template-columns: 1fr; }
}

html[data-stage-theme="day"] .services-catalog-hero .eyebrow {
  color: #0284c7; background: rgba(14,165,233,0.1); border-color: rgba(14,165,233,0.22);
}
html[data-stage-theme="day"] .services-catalog-hero h1 em { color: #0284c7; }
html[data-stage-theme="day"] .services-catalog-hero .lead { color: #475569; }
html[data-stage-theme="day"] .services-catalog-tab {
  background: rgba(15,23,42,0.03); border-color: rgba(148,163,184,0.35); color: #0f172a;
}
html[data-stage-theme="day"] .services-catalog-tab span {
  background: rgba(14,165,233,0.12); color: #0284c7;
}
html[data-stage-theme="day"] .services-catalog-tab.is-on {
  background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.35);
}
html[data-stage-theme="day"] .services-catalog-panel-head p { color: #64748b; }
html[data-stage-theme="day"] .services-catalog-card {
  background: rgba(255,255,255,0.72); border-color: rgba(148,163,184,0.28);
}
html[data-stage-theme="day"] .services-catalog-card-text { color: #64748b; }
html[data-stage-theme="day"] .services-catalog-card-go { color: #0284c7; }



.agency-lead-modal .form { display: grid; gap: 0.7rem; }
.agency-lead-modal .form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.agency-lead-modal .form input,
.agency-lead-modal .form select,
.agency-lead-modal .form textarea {
  width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(166,184,255,0.18);
  padding: 0.7rem 0.85rem; font: inherit;
}
.agency-lead-modal .success[hidden] { display: none !important; }

