/* Restored source: static/css/deep-palette.css body.theme-bitrix (dark),
   static/css/site-theme.css body.theme-bitrix (light).
   The six-direction homepage assigns both Bitrix24 and implementation to blue. */
html[data-direction="bitrix"],html[data-direction="implementation"]{--bg:#172631;--ink:#eaf1f4;--muted:#b5c8d0;--line:#425b69;--accent:#91c6e4;--button:#91c6e4;--button-ink:#172631;--surface:#203541;--surface-alt:#203541;--input:#1b303c;--error:#ffb9b1;--header:#172631}
html[data-theme="light"][data-direction="bitrix"],html[data-theme="light"][data-direction="implementation"]{--bg:#eaf2f4;--ink:#20343f;--muted:#536c77;--line:#b4cbd4;--accent:#286e8b;--button:#286e8b;--button-ink:#fff;--surface:#dae9ed;--surface-alt:#dae9ed;--input:#fff;--header:#eaf2f4}
html[data-direction="automation"]{--bg:#1c2921;--surface:#2b3d30;--surface-alt:#364b37;--ink:#f2f6ed;--muted:#c0cdb8;--line:#52664c;--accent:#c0dba7;--button:#c0dba7;--button-ink:#253323;--mint:#304432;--header:#1c2921}
html[data-theme="light"][data-direction="automation"]{--bg:#f8faf5;--surface:#e7efdf;--surface-alt:#dce8d2;--ink:#293d2d;--muted:#586b51;--line:#c8d6bc;--accent:#3d623d;--button:#3d623d;--button-ink:#fff;--mint:#e3eddc;--header:#f8faf5}

/* Corporate section is one navy panel, without a decorative divider. */
.corporate-section{--ink:#f4f7fa;--muted:#d1dee8;--accent:#d3e8f5;--button:#d3e8f5;--button-ink:#20394c;--line:#60798c;background:#294254;border-radius:32px;padding:52px 48px;margin-top:64px;margin-bottom:28px;gap:65px;align-items:start;color:var(--ink);scroll-margin-top:80px}
html[data-theme="dark"] .corporate-section{background:#304b60}
.corporate-section .eyebrow{color:var(--accent)}
.corporate-section h2{font-size:clamp(30px,3vw,43px);line-height:1.14;margin-bottom:24px}
.corporate-section p{color:var(--muted);font-size:16px;line-height:1.65}
.corporate-procurement{border:0;padding:5px 0 0;align-self:start}
.corporate-procurement h3{font-size:27px;line-height:1.22;margin-bottom:20px;max-width:430px}
.corporate-procurement .button{min-height:58px;width:100%;max-width:400px}
.corporate-procurement .text-action{color:var(--accent);margin-top:14px;gap:14px}
.vat-note{font-size:20px;color:var(--accent)}

/* Bridge and destination share their identity in both themes. */
.automation-bridge{--ink:#293d2d;--muted:#4f6548;--accent:#3d623d;--button:#3d623d;--button-ink:#fff;--line:#b7c9a8;background:#e7efdf;color:var(--ink);border:0;margin-top:0;margin-bottom:65px;padding:44px 48px;gap:45px}
.automation-bridge .eyebrow{color:var(--accent)}
.automation-bridge h2{color:var(--ink);font-size:34px;line-height:1.15}
.automation-bridge p{color:var(--muted)}
.automation-bridge>.button{background:var(--button);color:var(--button-ink);border-color:transparent;gap:20px;max-width:380px}
html[data-theme="dark"] .automation-bridge{--ink:#f2f6ed;--muted:#c0cdb8;--accent:#c0dba7;--button:#c0dba7;--button-ink:#253323;background:#2b3d30}
.direction-chevron{font-family:Arial,sans-serif;display:inline-block;flex-shrink:0;font-size:1.1em;line-height:1;font-weight:400;margin-left:.35em}
.text-action .direction-chevron{margin-left:.4em}
.back-arrow{font-family:Arial,sans-serif}
.ai-route{border:0}
.ai-start{border-radius:32px;background:var(--surface);padding:44px 40px;margin-block:25px 65px}
.ai-start p{color:var(--muted)}
@media(max-width:1100px){.corporate-section{gap:40px;padding:40px 34px}.corporate-section h2{font-size:35px}.corporate-procurement h3{font-size:25px}}
@media(max-width:1000px){.corporate-section{grid-template-columns:1fr;gap:32px}.corporate-procurement{max-width:650px}.corporate-procurement .button{width:auto;max-width:none}.automation-bridge{gap:26px}}
@media(max-width:640px){.corporate-section{border-radius:24px;padding:30px 24px;margin-top:38px;margin-bottom:20px;gap:28px}.corporate-section h2{font-size:31px;margin-bottom:20px}.corporate-section p{font-size:14px;line-height:1.65}.corporate-procurement h3{font-size:24px}.corporate-procurement .button{width:100%;font-size:14px;padding-inline:16px}.corporate-procurement .text-action{font-size:14px}.automation-bridge{padding:30px 24px;border-radius:24px;margin-bottom:40px;gap:24px}.automation-bridge h2{font-size:28px}.automation-bridge p{font-size:14px}.automation-bridge>.button{width:100%;max-width:none;font-size:14px;padding-inline:16px}.ai-start{padding:30px 24px;border-radius:24px;margin-bottom:40px}.direction-chevron{font-size:1em}}
@media(max-width:640px){.corporate-section{scroll-margin-top:120px}}

/* Retain the agreed page palette; distinguish the two light-theme content panels. */
html[data-theme="light"][data-direction="implementation"] .implementation-showcase{--muted:#435d6c;background:#c8dfe9;border:1px solid #afc9d8;box-shadow:0 14px 30px -22px #234c6152}
html[data-theme="light"][data-direction="implementation"] .scope-panel{--muted:#4b6573;background:#d6e6ee;border:1px solid #bfd3df}

/* Match the existing panel lift, rather than introducing another interaction. */
:is(.corporate-section,.automation-bridge,.ai-route,.ai-start){transition:transform .7s ease,box-shadow .7s ease}
:is(.corporate-section,.automation-bridge,.ai-route,.ai-start).is-lifted{position:relative;z-index:2;transform:translateY(-9px);box-shadow:0 0 0 1px rgba(198,238,230,.55),0 22px 46px rgba(0,0,0,.92),0 0 34px rgba(137,211,201,.55),inset 0 1px 0 rgba(232,255,250,.72)}
html[data-theme="light"] :is(.corporate-section,.automation-bridge,.ai-route,.ai-start).is-lifted{box-shadow:0 16px 30px -14px rgba(40,76,89,.22)}
@media(max-width:700px){:is(.corporate-section,.automation-bridge,.ai-route,.ai-start).is-lifted{transform:translateY(-6px)}}
@media(prefers-reduced-motion:reduce){:is(.corporate-section,.automation-bridge,.ai-route,.ai-start){transition:none}:is(.corporate-section,.automation-bridge,.ai-route,.ai-start).is-lifted{transform:none}}

/* A visible 1px edge stays present when the panel is not the active lifted one. */
.corporate-section{--panel-edge:#6d899c;--panel-edge-lit:#c4deed;--panel-rim:rgba(243,251,255,.35);border:1px solid var(--panel-edge)}
.automation-bridge{--panel-edge:#b1c6a3;--panel-edge-lit:#879f76;--panel-rim:rgba(255,255,245,.8);border:1px solid var(--panel-edge)}
html[data-theme="dark"] .corporate-section{--panel-edge:#648197;--panel-edge-lit:#c4deed;--panel-rim:rgba(234,247,255,.42)}
html[data-theme="dark"] .automation-bridge{--panel-edge:#596f54;--panel-edge-lit:#bdd5ab;--panel-rim:rgba(234,250,220,.4)}
:is(.corporate-section,.automation-bridge){box-shadow:inset 0 1px 0 var(--panel-rim);transition:transform .7s ease,box-shadow .7s ease,border-color .7s ease}
:is(.corporate-section,.automation-bridge).is-lifted{border-color:var(--panel-edge-lit);box-shadow:0 22px 46px rgba(0,0,0,.92),0 0 25px color-mix(in srgb,var(--panel-edge-lit) 22%,transparent),inset 0 1px 0 var(--panel-rim)}
html[data-theme="light"] :is(.corporate-section,.automation-bridge).is-lifted{border-color:var(--panel-edge-lit);box-shadow:0 18px 30px -12px rgba(40,76,89,.32),inset 0 1px 0 var(--panel-rim)}
@media(prefers-reduced-motion:reduce){:is(.corporate-section,.automation-bridge){transition:none}}
