/* =========================================================================
   Services 2026 — единый источник правды для страницы /services
   Загружается последним из $pageExtraStyles → перекрывает arqelya-theme.css
   ========================================================================= */

/* ----- Палитра (light) ----- */
html body.page-body.page-editorial.page-services-editorial {
    --svc26-paper: #f7f4ef;
    --svc26-paper-2: #f0ebe3;
    --svc26-paper-3: #e8e1d3;
    --svc26-ink: #2a2520;
    --svc26-ink-soft: #6b6158;
    --svc26-ink-muted: #9a8e82;
    --svc26-line: rgba(120, 110, 95, 0.22);
    --svc26-line-strong: rgba(120, 110, 95, 0.42);
    --svc26-sage: #6e8a78;
    --svc26-sage-deep: #4f6c5b;
    --svc26-sage-tint: rgba(110, 138, 120, 0.12);
    --svc26-cream-highlight: rgba(255, 245, 225, 0.55);
    --svc26-flagship: #b08a4e;
    --svc26-flagship-tint: rgba(176, 138, 78, 0.12);
    --svc26-deep: #8a6b88;
    --svc26-deep-tint: rgba(138, 107, 136, 0.12);
    --svc26-shadow-soft: 0 18px 38px -28px rgba(53, 44, 28, 0.18);
    --svc26-radius-card: 22px;
    --svc26-radius-pill: 999px;
    --svc26-radius-sm: 14px;
    --svc26-radius-md: 18px;
}

/* ----- Палитра (dark) ----- */
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial {
    --svc26-paper: #0f1c16;
    --svc26-paper-2: #142421;
    --svc26-paper-3: #1a2c26;
    --svc26-ink: #ede8df;
    --svc26-ink-soft: rgba(237, 232, 223, 0.72);
    --svc26-ink-muted: rgba(237, 232, 223, 0.48);
    --svc26-line: rgba(255, 255, 255, 0.08);
    --svc26-line-strong: rgba(255, 255, 255, 0.16);
    --svc26-sage: #9bb8a6;
    --svc26-sage-deep: #b9d0c2;
    --svc26-sage-tint: rgba(155, 184, 166, 0.14);
    --svc26-cream-highlight: rgba(155, 184, 166, 0.10);
    --svc26-flagship: #d3b07a;
    --svc26-flagship-tint: rgba(211, 176, 122, 0.14);
    --svc26-deep: #c9a3c6;
    --svc26-deep-tint: rgba(201, 163, 198, 0.14);
    --svc26-shadow-soft: 0 24px 50px -32px rgba(0, 0, 0, 0.6);
}

/* =========================================================================
   Reset overrides — стираем все жёсткие старые правила pages-editorial-pass
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-page {
    padding-top: clamp(28px, 4vw, 56px) !important;
    padding-bottom: clamp(40px, 5vw, 80px) !important;
    background: transparent !important;
}

html body.page-body.page-editorial.page-services-editorial .services-page .container {
    max-width: 1200px !important;
    padding-left: clamp(20px, 3vw, 36px) !important;
    padding-right: clamp(20px, 3vw, 36px) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-page__article {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* =========================================================================
   Hero
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-hero {
    position: relative;
    isolation: isolate;
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 0 clamp(36px, 4.5vw, 56px) !important;
    padding: clamp(40px, 5.5vw, 84px) clamp(28px, 4vw, 64px) clamp(40px, 5vw, 72px) !important;
    border: none !important;
    border-radius: clamp(28px, 3.4vw, 42px) !important;
    background:
        radial-gradient(900px 520px at 88% -10%, var(--svc26-cream-highlight), transparent 60%),
        radial-gradient(700px 460px at 10% 110%, var(--svc26-sage-tint), transparent 65%),
        linear-gradient(120deg, var(--svc26-paper) 0%, var(--svc26-paper-2) 55%, var(--svc26-paper-3) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    overflow: hidden;
    grid-template-columns: none !important;
    gap: 0 !important;
    align-items: stretch !important;
}

html body.page-body.page-editorial.page-services-editorial .services-hero::before {
    content: none !important;
    display: none !important;
}

html body.page-body.page-editorial.page-services-editorial .services-hero > * {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: 100% !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-hero {
    background:
        radial-gradient(900px 520px at 88% -10%, rgba(155, 184, 166, 0.10), transparent 60%),
        radial-gradient(700px 460px at 10% 110%, rgba(155, 184, 166, 0.06), transparent 65%),
        linear-gradient(120deg, var(--svc26-paper) 0%, var(--svc26-paper-2) 55%, var(--svc26-paper-3) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-hero::after {
    content: "" !important;
    position: absolute !important;
    left: 8% !important;
    right: 8% !important;
    top: auto !important;
    bottom: 0 !important;
    width: auto !important;
    height: 1px !important;
    max-width: none !important;
    min-height: 0 !important;
    border: none !important;
    background: linear-gradient(90deg, transparent, var(--svc26-line-strong), transparent) !important;
    color: transparent !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    text-transform: none !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    display: block !important;
}

html body.page-body.page-editorial.page-services-editorial .section-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: var(--svc26-sage-deep) !important;
    background: var(--svc26-sage-tint) !important;
    padding: 7px 14px 7px 22px !important;
    border-radius: var(--svc26-radius-pill) !important;
    border: 1px solid var(--svc26-line) !important;
    margin: 0 0 clamp(18px, 2vw, 28px) !important;
    position: relative !important;
    width: auto !important;
}

html body.page-body.page-editorial.page-services-editorial .section-eyebrow::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--svc26-sage);
}

html body.page-body.page-editorial.page-services-editorial .services-hero__title {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    font-size: clamp(38px, 5.2vw, 66px) !important;
    color: var(--svc26-ink) !important;
    max-width: 920px;
    margin: 0 0 clamp(20px, 2.4vw, 30px) !important;
    letter-spacing: -0.01em;
}

html body.page-body.page-editorial.page-services-editorial .services-hero__lead {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: clamp(15px, 1.15vw, 17px) !important;
    line-height: 1.7 !important;
    color: var(--svc26-ink-soft) !important;
    max-width: 720px;
    margin: 0 0 clamp(16px, 2vw, 22px) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-hero__note {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--svc26-ink-muted) !important;
    max-width: 720px;
    margin: 0 !important;
}

html body.page-body.page-editorial.page-services-editorial .services-hero__note a {
    color: var(--svc26-sage-deep) !important;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 3px;
}

html body.page-body.page-editorial.page-services-editorial .services-hero__note a:hover {
    color: var(--svc26-ink) !important;
}

/* =========================================================================
   Состояния — mood cards
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-states {
    display: block !important;
    width: auto !important;
    margin: 0 0 clamp(48px, 5.5vw, 80px) !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

html body.page-body.page-editorial.page-services-editorial .services-states > * {
    grid-column: auto !important;
    grid-row: auto !important;
}

html body.page-body.page-editorial.page-services-editorial .services-section-title {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(30px, 3.4vw, 44px) !important;
    color: var(--svc26-ink) !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.005em;
    line-height: 1.1;
}

html body.page-body.page-editorial.page-services-editorial .services-section-lead {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--svc26-ink-soft) !important;
    max-width: 680px;
    margin: 0 0 clamp(22px, 2.5vw, 32px) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-section-lead a {
    color: var(--svc26-sage-deep) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-states__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px !important;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    column-gap: 0 !important;
    gap: 14px !important;
    min-height: 168px !important;
    padding: 22px 22px 20px !important;
    border: 1px solid var(--svc26-line) !important;
    border-top: 1px solid var(--svc26-line) !important;
    border-bottom: 1px solid var(--svc26-line) !important;
    border-radius: var(--svc26-radius-card) !important;
    background: linear-gradient(160deg, rgba(255, 253, 247, 0.85) 0%, rgba(247, 244, 239, 0.7) 100%) !important;
    backdrop-filter: blur(14px) saturate(1.04);
    color: var(--svc26-ink) !important;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card {
    background: linear-gradient(160deg, rgba(32, 44, 38, 0.7) 0%, rgba(22, 34, 28, 0.85) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(120% 80% at 100% 0%, var(--svc26-sage-tint), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card:hover {
    transform: translateY(-3px);
    border-color: var(--svc26-line-strong) !important;
    background: linear-gradient(160deg, rgba(255, 253, 247, 0.95) 0%, rgba(240, 235, 227, 0.8) 100%) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card:hover {
    background: linear-gradient(160deg, rgba(40, 56, 48, 0.8) 0%, rgba(28, 42, 36, 0.95) 100%) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card:hover::before {
    opacity: 1;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card__label {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(20px, 1.8vw, 26px) !important;
    line-height: 1.15 !important;
    color: var(--svc26-ink) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card__hint {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: var(--svc26-ink-soft) !important;
    margin: 0 !important;
    flex: 1;
    position: relative;
    z-index: 1;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--svc26-sage);
    color: #fbf7ee;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 1;
}

html body.page-body.page-editorial.page-services-editorial .services-state-card:hover .services-state-card__go {
    transform: translateY(2px);
    background: var(--svc26-sage-deep);
}

/* =========================================================================
   Каталог: зоны, навигация по зонам, подзаголовки
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-catalog-block {
    position: relative;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

html body.page-body.page-editorial.page-services-editorial .services-catalog-block > .services-section-title {
    margin-bottom: 8px !important;
}

/* =========================================================================
   Sticky zone-nav — control bar with per-zone colors + focus filter
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-zone-nav {
    position: sticky;
    top: 14px;
    z-index: 30;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    padding: 8px 8px 6px;
    margin: clamp(16px, 2vw, 22px) 0 clamp(28px, 3vw, 40px) !important;
    border: 1px solid var(--svc26-line) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255, 253, 247, 0.92), rgba(252, 248, 240, 0.82)) !important;
    backdrop-filter: blur(18px) saturate(1.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 14px 36px -28px rgba(53, 44, 28, 0.35) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav {
    background: linear-gradient(180deg, rgba(22, 38, 32, 0.92), rgba(16, 28, 24, 0.88)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 40px -28px rgba(0, 0, 0, 0.7) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__track {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__hint {
    margin: 0 !important;
    padding: 0 14px 4px !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: var(--svc26-ink-muted) !important;
    letter-spacing: 0.01em;
    transition: opacity 0.3s ease, height 0.3s ease;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__hint-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border-radius: 50%;
    background: var(--svc26-sage-tint);
    color: var(--svc26-sage-deep);
    font-size: 9px;
    vertical-align: middle;
    margin: 0 2px;
}

/* Chip — два кликабельных элемента: main (scroll) + focus (filter) */
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip {
    --chip-color: var(--svc26-ink);
    --chip-tint: var(--svc26-sage-tint);
    display: inline-flex !important;
    align-items: stretch;
    padding: 0 !important;
    border: 1px solid var(--svc26-line) !important;
    border-radius: var(--svc26-radius-pill) !important;
    background: rgba(255, 253, 247, 0.55) !important;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip {
    background: rgba(255, 255, 255, 0.03) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--start { --chip-color: var(--svc26-sage); --chip-tint: var(--svc26-sage-tint); }
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--state { --chip-color: #4d4438; --chip-tint: rgba(120, 110, 95, 0.14); }
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--flagship { --chip-color: var(--svc26-flagship); --chip-tint: var(--svc26-flagship-tint); }
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--subscription { --chip-color: var(--svc26-sage-deep); --chip-tint: var(--svc26-sage-tint); }
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--deep { --chip-color: var(--svc26-deep); --chip-tint: var(--svc26-deep-tint); }

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip--state { --chip-color: #d4cfb8; --chip-tint: rgba(255, 255, 255, 0.08); }

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip:hover {
    border-color: var(--chip-color) !important;
    background: var(--chip-tint) !important;
    transform: translateY(-1px);
}

/* Main click area: dot + label + count. Doubled class specificity to beat global a:not() rule from arqelya-theme.css */
html body.page-body.page-editorial.page-services-editorial a.services-zone-nav__chip-main.services-zone-nav__chip-main {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 6px 8px 14px;
    color: var(--svc26-ink-soft) !important;
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 12.5px !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap;
    transition: color 0.3s ease;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip:hover a.services-zone-nav__chip-main.services-zone-nav__chip-main {
    color: var(--svc26-ink) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--chip-color);
    box-shadow: 0 0 0 3px var(--chip-tint);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip:hover .services-zone-nav__chip-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--chip-tint);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-label {
    font-weight: 400;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 2px;
    border-radius: var(--svc26-radius-pill);
    background: var(--chip-tint);
    color: var(--chip-color);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Focus button — small "только эта зона" toggle inside chip */
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    padding: 0 8px 0 4px;
    border: none !important;
    border-left: 1px solid var(--svc26-line) !important;
    background: transparent !important;
    color: var(--svc26-ink-muted) !important;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    border-radius: 0 !important;
    flex-shrink: 0;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus svg {
    display: block;
    transition: transform 0.25s ease;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus:hover {
    background: var(--chip-color) !important;
    color: var(--svc26-paper) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus:hover svg {
    transform: scale(1.15);
}

/* Active (scrollspy) — soft tinted */
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.is-active {
    border-color: var(--chip-color) !important;
    background: var(--chip-tint) !important;
    box-shadow: 0 4px 14px -10px var(--chip-color);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.is-active .services-zone-nav__chip-main {
    color: var(--svc26-ink) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.is-active .services-zone-nav__chip-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px var(--chip-tint), 0 0 0 6px rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.is-active .services-zone-nav__chip-dot {
    box-shadow: 0 0 0 4px var(--chip-tint), 0 0 0 6px rgba(255, 255, 255, 0.06);
}

/* Filter-active state — solid zone color (overrides arqelya-theme.css a-color rule via doubled specificity) */
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter:hover {
    background: var(--chip-color) !important;
    border-color: var(--chip-color) !important;
    box-shadow: 0 6px 22px -10px var(--chip-color);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter a.services-zone-nav__chip-main.services-zone-nav__chip-main,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter:hover a.services-zone-nav__chip-main.services-zone-nav__chip-main {
    color: var(--svc26-paper) !important;
    text-decoration-color: transparent !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter .services-zone-nav__chip-label.services-zone-nav__chip-label {
    color: var(--svc26-paper) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter .services-zone-nav__chip-dot.services-zone-nav__chip-dot {
    background: var(--svc26-paper) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22) !important;
    transform: none !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter .services-zone-nav__chip-count.services-zone-nav__chip-count {
    background: rgba(255, 255, 255, 0.22) !important;
    color: var(--svc26-paper) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter .services-zone-nav__chip-focus.services-zone-nav__chip-focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--svc26-paper) !important;
    border-left-color: rgba(255, 255, 255, 0.22) !important;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.services-zone-nav__chip.is-filter .services-zone-nav__chip-focus.services-zone-nav__chip-focus:hover {
    background: rgba(255, 255, 255, 0.22) !important;
}

/* "Все продукты" — постоянная плашка-индикатор + сброс фильтра */
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset {
    --reset-color: var(--svc26-sage-deep);
    --reset-tint: var(--svc26-sage-tint);
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--svc26-sage) !important;
    border-radius: var(--svc26-radius-pill) !important;
    background: var(--reset-tint) !important;
    color: var(--reset-color) !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 12.5px !important;
    letter-spacing: 0.04em !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset {
    --reset-color: var(--svc26-paper);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:hover {
    border-color: var(--svc26-sage) !important;
    background: rgba(141, 168, 145, 0.18) !important;
    transform: translateY(-1px);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--svc26-sage);
    transition: transform 0.3s ease, color 0.25s ease;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-label {
    font-weight: 400;
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 2px;
    border-radius: var(--svc26-radius-pill);
    background: rgba(141, 168, 145, 0.22);
    color: var(--svc26-sage-deep);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-count {
    background: rgba(141, 168, 145, 0.22);
    color: var(--svc26-paper);
}

html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: var(--svc26-paper);
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
}

/* Filter mode — "Все продукты" становится secondary ghost button (НЕ конкурирует с активным filter-чипом за внимание) */
html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) {
    background: transparent !important;
    border: 1px dashed var(--svc26-sage) !important;
    color: var(--svc26-sage-deep) !important;
    box-shadow: none !important;
    animation: svc-reset-pulse 0.34s ease;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) {
    color: var(--svc26-sage) !important;
}

html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset:hover,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default):hover {
    background: var(--svc26-sage-tint) !important;
    border-style: solid !important;
    border-color: var(--svc26-sage) !important;
    transform: translateY(-1px);
}

html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset-dot,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) .services-zone-nav__reset-dot {
    display: none;
}

html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset-count,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) .services-zone-nav__reset-count {
    display: none;
}

html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset-close,
html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) .services-zone-nav__reset-close {
    display: inline-flex;
    background: var(--svc26-sage-tint);
    color: var(--svc26-sage-deep);
    width: 16px;
    height: 16px;
    font-size: 13px;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__reset-close,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset:not(.is-default) .services-zone-nav__reset-close {
    background: rgba(155, 184, 166, 0.22);
    color: var(--svc26-sage);
}

@keyframes svc-reset-pulse {
    0%   { opacity: 0; transform: translateX(-4px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Filter mode: hide non-target zones + change hint text via JS */
html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone {
    display: none !important;
}

html body.page-body.page-editorial.page-services-editorial[data-zone-filter="start"]      #zone-start,
html body.page-body.page-editorial.page-services-editorial[data-zone-filter="state"]      #zone-state,
html body.page-body.page-editorial.page-services-editorial[data-zone-filter="flagship"]   #zone-flagship,
html body.page-body.page-editorial.page-services-editorial[data-zone-filter="subscription"] #zone-subscription,
html body.page-body.page-editorial.page-services-editorial[data-zone-filter="deep"]       #zone-deep {
    display: block !important;
    animation: svc-zone-in 0.4s ease;
}

@keyframes svc-zone-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* While in filter mode, scrollspy active chip is muted */
html body.page-body.page-editorial.page-services-editorial[data-zone-filter] .services-zone-nav__chip.is-active:not(.is-filter) {
    background: transparent !important;
    box-shadow: none !important;
}

/* Zone wrapper */
html body.page-body.page-editorial.page-services-editorial .services-zone {
    scroll-margin-top: 96px;
    margin-bottom: clamp(36px, 4vw, 56px);
}

html body.page-body.page-editorial.page-services-editorial .services-zone:last-of-type {
    margin-bottom: 0;
}

html body.page-body.page-editorial.page-services-editorial .services-subsection-title {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--svc26-ink-muted) !important;
    margin: 0 0 clamp(16px, 1.8vw, 22px) !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    font-weight: 500 !important;
}

html body.page-body.page-editorial.page-services-editorial .services-subsection-title::before {
    content: "";
    flex-shrink: 0;
    width: 28px;
    height: 1px;
    background: var(--svc26-line-strong);
}

/* zone accents */
html body.page-body.page-editorial.page-services-editorial .services-zone--start .services-subsection-title { color: var(--svc26-sage-deep) !important; }
html body.page-body.page-editorial.page-services-editorial .services-zone--start .services-subsection-title::before { background: var(--svc26-sage); }

html body.page-body.page-editorial.page-services-editorial .services-zone--flagship .services-subsection-title { color: var(--svc26-flagship) !important; }
html body.page-body.page-editorial.page-services-editorial .services-zone--flagship .services-subsection-title::before { background: var(--svc26-flagship); }

html body.page-body.page-editorial.page-services-editorial .services-zone--subscription .services-subsection-title { color: var(--svc26-sage-deep) !important; }
html body.page-body.page-editorial.page-services-editorial .services-zone--subscription .services-subsection-title::before { background: var(--svc26-sage-deep); }

html body.page-body.page-editorial.page-services-editorial .services-zone--deep .services-subsection-title { color: var(--svc26-deep) !important; }
html body.page-body.page-editorial.page-services-editorial .services-zone--deep .services-subsection-title::before { background: var(--svc26-deep); }

html body.page-body.page-editorial.page-services-editorial .services-zone--bundles .services-subsection-title { color: var(--svc26-sage-deep) !important; }
html body.page-body.page-editorial.page-services-editorial .services-zone--bundles .services-subsection-title::before { background: var(--svc26-sage); }
html body.page-body.page-editorial.page-services-editorial .service-card__retail {
    display: inline-block;
    margin-left: 8px;
    font-family: Jost, system-ui, sans-serif !important;
    font-style: normal !important;
    font-size: 14px !important;
    color: var(--svc26-ink-soft, #8a8077) !important;
    text-decoration: line-through;
    opacity: 0.8;
}

/* =========================================================================
   Service grid + cards
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .service-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
    gap: clamp(14px, 1.4vw, 20px) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-grid--flagship {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--svc26-line) !important;
    border-top: 1px solid var(--svc26-line) !important;
    border-radius: var(--svc26-radius-card) !important;
    background: linear-gradient(160deg, rgba(255, 253, 247, 0.95) 0%, rgba(248, 244, 234, 0.85) 100%) !important;
    color: var(--svc26-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) saturate(1.04);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    isolation: isolate;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card {
    background: linear-gradient(160deg, rgba(28, 42, 36, 0.82) 0%, rgba(20, 32, 28, 0.92) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card::before,
html body.page-body.page-editorial.page-services-editorial .service-card::after {
    content: none !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card:hover {
    transform: translateY(-3px);
    border-color: var(--svc26-line-strong) !important;
    background: linear-gradient(160deg, rgba(255, 253, 247, 1) 0%, rgba(244, 239, 228, 0.92) 100%) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card:hover {
    background: linear-gradient(160deg, rgba(36, 54, 46, 0.92) 0%, rgba(26, 40, 34, 1) 100%) !important;
}

/* highlight when scrolled to via mood-card */
html body.page-body.page-editorial.page-services-editorial .service-card.is-target-highlight {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 2px var(--svc26-sage);
    border-color: var(--svc26-sage) !important;
    transform: translateY(-2px);
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card.is-target-highlight {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 2px var(--svc26-sage);
}

html body.page-body.page-editorial.page-services-editorial .service-card__body {
    padding: clamp(22px, 2vw, 28px) clamp(22px, 2vw, 28px) clamp(16px, 1.6vw, 22px) !important;
    flex: 1;
}

html body.page-body.page-editorial.page-services-editorial .service-card__title {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(24px, 1.95vw, 30px) !important;
    line-height: 1.15 !important;
    color: var(--svc26-ink) !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.005em;
}

html body.page-body.page-editorial.page-services-editorial .service-card__desc {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: var(--svc26-ink-soft) !important;
    margin: 0 0 14px !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--svc26-ink-muted) !important;
    background: var(--svc26-sage-tint);
    padding: 5px 12px;
    border-radius: var(--svc26-radius-pill);
    margin: 0 !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: clamp(16px, 1.6vw, 20px) clamp(22px, 2vw, 28px) clamp(20px, 1.8vw, 24px) !important;
    border-top: 1px solid var(--svc26-line);
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.25) 100%);
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__footer {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

html body.page-body.page-editorial.page-services-editorial .service-card__price {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(22px, 1.8vw, 28px) !important;
    line-height: 1 !important;
    color: var(--svc26-ink) !important;
    margin: 0 !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__purchase-form {
    margin: 0 !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__link,
html body.page-body.page-editorial.page-services-editorial .service-card__link--button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 20px !important;
    border-radius: var(--svc26-radius-pill) !important;
    border: 1px solid var(--svc26-ink) !important;
    background: var(--svc26-ink) !important;
    color: var(--svc26-paper) !important;
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button {
    background: var(--svc26-sage) !important;
    border-color: var(--svc26-sage) !important;
    color: var(--svc26-paper) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__link:hover,
html body.page-body.page-editorial.page-services-editorial .service-card__link--button:hover {
    background: var(--svc26-sage-deep) !important;
    border-color: var(--svc26-sage-deep) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link:hover,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button:hover {
    background: var(--svc26-sage-deep) !important;
    border-color: var(--svc26-sage-deep) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card__link-arr {
    display: inline-block;
    transition: transform 0.3s ease;
}

html body.page-body.page-editorial.page-services-editorial .service-card__link:hover .service-card__link-arr,
html body.page-body.page-editorial.page-services-editorial .service-card__link--button:hover .service-card__link-arr {
    transform: translateX(3px);
}

/* Flagship card variant — добавим тёплый бордер слева */
html body.page-body.page-editorial.page-services-editorial .service-card--flagship {
    background: linear-gradient(160deg, rgba(255, 250, 240, 0.95) 0%, rgba(248, 240, 222, 0.85) 100%) !important;
    border-color: rgba(176, 138, 78, 0.32) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card--flagship {
    background: linear-gradient(160deg, rgba(46, 44, 36, 0.85) 0%, rgba(36, 32, 24, 0.92) 100%) !important;
    border-color: rgba(211, 176, 122, 0.22) !important;
}

html body.page-body.page-editorial.page-services-editorial .service-card--flagship .service-card__meta {
    background: var(--svc26-flagship-tint);
    color: var(--svc26-flagship) !important;
}

/* Deep zone accent — мягкая фиалковая тёплая */
html body.page-body.page-editorial.page-services-editorial .services-zone--deep .service-card .service-card__meta {
    background: var(--svc26-deep-tint);
    color: var(--svc26-deep) !important;
}

/* Free price label — пастельная подсветка */
html body.page-body.page-editorial.page-services-editorial .service-card__price:has(+ *)[data-free],
html body.page-body.page-editorial.page-services-editorial .service-card .service-card__price {
    /* default already covered above */
}

/* =========================================================================
   Footnote
   ========================================================================= */

html body.page-body.page-editorial.page-services-editorial .services-footnote {
    margin-top: clamp(40px, 5vw, 64px) !important;
    padding: clamp(24px, 2.6vw, 32px) clamp(20px, 2vw, 28px) !important;
    border-top: 1px solid var(--svc26-line);
    text-align: center;
}

html body.page-body.page-editorial.page-services-editorial .services-footnote p {
    font-family: Jost, system-ui, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: var(--svc26-ink-muted) !important;
    max-width: 38rem;
    margin-left: auto !important;
    margin-right: auto !important;
}

html body.page-body.page-editorial.page-services-editorial .services-footnote a {
    color: var(--svc26-sage-deep) !important;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 3px;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
    html body.page-body.page-editorial.page-services-editorial .services-states__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    html body.page-body.page-editorial.page-services-editorial .services-states__grid > *:nth-child(4) {
        grid-column: 1 / 2;
    }
    html body.page-body.page-editorial.page-services-editorial .services-states__grid > *:nth-child(5) {
        grid-column: 2 / 4;
    }
}

@media (max-width: 768px) {
    html body.page-body.page-editorial.page-services-editorial .services-hero {
        padding: 32px 22px 30px !important;
        border-radius: 22px;
    }

    html body.page-body.page-editorial.page-services-editorial .services-hero__title {
        font-size: clamp(32px, 8vw, 42px) !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-states__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
    }
    html body.page-body.page-editorial.page-services-editorial .services-states__grid > *:nth-child(n) {
        grid-column: auto;
    }
    html body.page-body.page-editorial.page-services-editorial .services-states__grid > *:nth-child(5) {
        grid-column: 1 / -1;
    }

    html body.page-body.page-editorial.page-services-editorial .services-state-card {
        min-height: 134px !important;
        padding: 18px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-state-card__label {
        font-size: 19px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-state-card__hint {
        font-size: 12px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav {
        top: 8px;
        padding: 6px 6px 4px !important;
        gap: 4px;
        border-radius: 18px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__track {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__track::-webkit-scrollbar {
        display: none;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-main {
        padding: 7px 4px 7px 12px;
        font-size: 11.5px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus {
        width: 28px;
        padding: 0 6px 0 2px;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__hint {
        padding: 0 10px 2px !important;
        font-size: 10.5px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset {
        padding: 7px 12px 7px 8px;
        font-size: 11.5px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-card__title {
        font-size: 22px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-card__body {
        padding: 20px 20px 16px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-card__footer {
        padding: 14px 20px 18px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-card__price {
        font-size: 22px !important;
    }

    html body.page-body.page-editorial.page-services-editorial .service-card__link,
    html body.page-body.page-editorial.page-services-editorial .service-card__link--button {
        padding: 9px 16px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    html body.page-body.page-editorial.page-services-editorial .services-states__grid {
        grid-template-columns: 1fr;
    }
    html body.page-body.page-editorial.page-services-editorial .services-states__grid > *:nth-child(5) {
        grid-column: 1 / -1;
    }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
    html body.page-body.page-editorial.page-services-editorial .services-state-card,
    html body.page-body.page-editorial.page-services-editorial .service-card,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-main,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-dot,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-focus,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset,
    html body.page-body.page-editorial.page-services-editorial .service-card__link,
    html body.page-body.page-editorial.page-services-editorial .service-card__link-arr {
        transition: none !important;
        animation: none !important;
    }
    html body.page-body.page-editorial.page-services-editorial .services-state-card:hover,
    html body.page-body.page-editorial.page-services-editorial .service-card:hover,
    html body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip:hover {
        transform: none !important;
    }
}
