/* Shared native WordPress shell, faithful to the selected Digital Dream direction. */
.bc-shell-header {
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(16px);
}
.admin-bar .bc-shell-header {
    top: 32px;
}
.bc-shell-header .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    min-height: 86px;
    direction: ltr;
    width: min(calc(100% - 64px), 1450px);
    max-width: 1450px;
    margin-inline: auto;
    padding: 0;
}
.bc-shell-header .brand-wrap {
    min-width: 145px;
}
.bc-brand {
    display: inline-flex;
    direction: ltr;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
}
.bc-brand .bc-brand-symbol {
    display: block;
    width: 64px;
    height: 37px;
    overflow: visible;
    flex: 0 0 auto;
}
.bc-brand-name {
    display: block;
    font: 750 19px/1.6 var(--font-fa);
}
.bc-brand-name small {
    display: block;
    color: var(--accent-readable);
    font:
        12px/1.5 Arial,
        Helvetica,
        sans-serif;
    letter-spacing: 0.025em;
}
.bc-shell-header .primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}
html[dir='ltr'] .bc-shell-header .primary-nav {
    direction: ltr;
}
.bc-shell-header .primary-nav > .menu {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2.1vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.bc-shell-header .primary-nav > .menu > li {
    position: relative;
}
.bc-shell-header .primary-nav > .menu > li > a,
.bc-shell-header .mega > summary {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
}
.bc-shell-header .primary-nav a[aria-current='page'] {
    color: var(--accent-readable);
}
.bc-shell-header .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    direction: ltr;
}
.bc-header-phone {
    display: none;
}
.bc-header-project {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 19px;
    border: 1px solid #e6324377;
    border-radius: 999px;
    background: linear-gradient(125deg, #50080d, #a20b1e);
    color: #fff6eb;
    text-decoration: none;
    font-size: 0.78rem;
    white-space: nowrap;
    transition: transform 0.2s;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .bc-header-project:hover {
        transform: translateY(-2px);
    }
}
.bc-header-project .bc-icon {
    width: 16px;
    height: 16px;
}
.bc-icon {
    width: 23px;
    height: 23px;
    display: inline-block;
    vertical-align: middle;
    flex: 0 0 auto;
}
.bc-shell-header .language-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 5px;
    font:
        11px Arial,
        Helvetica,
        sans-serif;
    text-decoration: none;
    color: var(--text);
}
.bc-shell-header .language-switch img {
    display: none;
}
.bc-theme-switch {
    display: block;
    position: relative;
    width: 62px;
    height: 31px;
    min-width: 62px;
    min-height: 31px;
    border: 1px solid color-mix(in srgb, var(--bc-gold) 65%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg) 85%, var(--bc-gold));
    color: var(--text);
    padding: 0;
    overflow: hidden;
}
.bc-switch-stars {
    position: absolute;
    inset: 0 5px 0 auto;
    display: flex;
    align-items: center;
    width: 22px;
    color: var(--accent-readable);
    font-size: 13px;
}
.bc-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #3e2913;
    box-shadow: 0 0 8px #f5de9f33;
    transition: transform 0.2s;
}
.bc-switch-thumb .bc-icon {
    position: absolute;
    width: 14px;
    height: 14px;
}
.bc-switch-moon {
    display: none;
}
:root[data-theme='light'] .bc-switch-thumb {
    transform: translateX(30px);
}
:root[data-theme='light'] .bc-switch-sun {
    display: none;
}
:root[data-theme='light'] .bc-switch-moon {
    display: block;
}
:root[data-theme='light'] .bc-switch-stars {
    left: 5px;
    right: auto;
}
.bc-shell-meter {
    height: 1px;
    position: absolute;
    inset: auto 0 0;
    pointer-events: none;
}
.bc-shell-meter i {
    display: block;
    height: 1px;
    width: calc(var(--bc-page-progress, 0) * 100%);
    background: linear-gradient(90deg, var(--bc-gold), #a20b1e);
}
.bc-shell-header .menu-toggle {
    display: none;
}
.bc-shell-header .mega summary {
    list-style: none;
}
.bc-shell-header .mega summary::-webkit-details-marker {
    display: none;
}
.bc-shell-header .mega-panel {
    position: absolute;
    width: min(850px, 86vw);
    top: calc(100% + 20px);
    inset-inline-start: -120px;
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 35px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 25px 65px #0004;
}
.bc-shell-header .mega:not([open]) .mega-panel {
    display: none;
}
.mega-intro h2 {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 12px 0;
}
.mega-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.mega-service {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px;
    font-size: 0.86rem;
    border-radius: 8px;
    text-decoration: none;
}
.mega-service .bc-icon {
    color: var(--accent-readable);
    width: 22px;
    height: 22px;
}
.mega-service:hover {
    background: color-mix(in srgb, var(--bc-gold) 8%, transparent);
}
.bc-shell-footer {
    padding: 75px 0 22px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    position: relative;
}
.bc-shell-footer > .container {
    width: min(calc(100% - 64px), 1360px);
    max-width: 1360px;
    margin-inline: auto;
}
.bc-footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr 0.85fr;
    gap: 55px;
    align-items: start;
}
.bc-footer-identity > p {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 30ch;
    margin-top: 20px;
}
.bc-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}
.bc-footer-grid h3 {
    font-size: 0.93rem;
    margin: 0 0 20px;
}
.bc-footer-grid ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.bc-footer-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
}
.bc-footer-grid a:hover {
    color: var(--text);
}
.bc-footer-actions {
    display: grid;
    gap: 17px;
}
.bc-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
}
.bc-socials a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--accent-readable);
}
.bc-socials .bc-icon {
    width: 17px;
    height: 17px;
}
.bc-footer-end {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 45px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.bc-footer-end small {
    font-size: 0.7rem;
}
.bc-back-top {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--accent-readable);
}
.bc-back-top .bc-icon {
    width: 18px;
    height: 18px;
}
.bc-bottom-bar {
    display: none;
}
@media (max-width: 1100px) {
    :root {
        --bc-bottom-space: calc(94px + env(safe-area-inset-bottom, 0px));
    }
    body {
        padding-bottom: var(--bc-bottom-space);
    }
    .bc-shell-header .header-inner {
        width: calc(100% - 40px);
        min-height: 75px;
        grid-template-columns: 1fr auto auto;
        gap: 18px;
    }
    .bc-shell-header .primary-nav {
        display: none;
        position: fixed;
        inset: 75px 18px auto;
        padding: 28px;
        max-height: calc(100dvh - 190px - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: var(--surface);
        box-shadow: 0 25px 60px #0005;
        z-index: 100;
    }
    .bc-shell-header .primary-nav.is-open {
        display: block;
    }
    .bc-shell-header .primary-nav > .menu {
        display: block;
    }
    .bc-shell-header .primary-nav > .menu > li > a {
        min-height: 48px;
    }
    .bc-shell-header .mega-panel {
        position: static;
        width: 100%;
        margin: 15px 0;
        padding: 20px;
        grid-template-columns: 1fr;
        box-shadow: none;
    }
    .bc-shell-header .mega-intro {
        display: none;
    }
    .bc-shell-header .mega-services {
        gap: 7px;
    }
    .bc-shell-header .header-actions .bc-header-project {
        display: none;
    }
    .bc-shell-header .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        color: var(--text);
    }
    .bc-bottom-bar {
        position: fixed;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
        left: 50%;
        transform: translateX(-50%);
        width: min(calc(100% - 28px), 520px);
        min-height: 74px;
        padding: 9px 7px 7px;
        border: 1px solid color-mix(in srgb, var(--bc-gold) 38%, var(--line));
        border-radius: 24px;
        background: color-mix(in srgb, var(--bg) 89%, transparent);
        backdrop-filter: blur(18px);
        box-shadow: 0 12px 35px #0004;
        z-index: 95;
        direction: rtl;
    }
    html[dir='ltr'] .bc-bottom-bar {
        direction: ltr;
    }
    .bc-bottom-bar > a,
    .bc-bottom-bar > button {
        display: grid;
        place-items: center;
        gap: 6px;
        text-align: center;
        min-width: 0;
        min-height: 48px;
        padding: 0;
        background: none;
        border: 0;
        color: var(--muted);
        text-decoration: none;
        font-size: 0.65rem;
        line-height: 1.7;
    }
    .bc-bottom-bar .bc-icon {
        width: 20px;
        height: 20px;
    }
    .bc-bottom-item.is-primary {
        position: relative;
    }
    .bc-bottom-orb {
        display: grid;
        place-items: center;
        min-height: 24px;
    }
    .bc-bottom-item.is-primary .bc-bottom-orb {
        width: 54px;
        height: 54px;
        margin-top: -29px;
        margin-bottom: 0;
        border-radius: 50%;
        background: var(--gold-gradient);
        color: #35200c;
        border: 1px solid #f5de9f;
        box-shadow:
            0 0 0 6px var(--bg),
            0 7px 17px #0004;
    }
    .bc-bottom-item.is-primary .bc-icon {
        width: 25px;
        height: 25px;
    }
    .bc-bottom-item[aria-current],
    .bc-bottom-menu[aria-expanded='true'] {
        color: var(--accent-readable);
    }
    .bc-bottom-bar.is-obscured,
    body:has(#primary-nav.is-open) .bc-bottom-bar {
        visibility: hidden;
        pointer-events: none;
    }
    .bc-footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 40px;
    }
    .bc-footer-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
    }
    html:not(.js) .bc-shell-header .primary-nav {
        display: block;
        position: static;
        grid-column: 1 / -1;
        max-height: none;
        box-shadow: none;
    }
    html:not(.js) .bc-shell-header .menu-toggle,
    html:not(.js) .bc-bottom-menu {
        display: none;
    }
}
@media (max-width: 782px) {
    .admin-bar .bc-shell-header {
        top: 46px;
    }
}
@media (max-width: 600px) {
    .bc-shell-header .header-inner {
        min-height: 70px;
        gap: 12px;
    }
    .bc-shell-header .brand-wrap {
        min-width: 0;
    }
    .bc-brand {
        gap: 8px;
    }
    .bc-brand .bc-brand-symbol {
        width: 43px;
        height: 29px;
    }
    .bc-brand-name {
        font-size: 15px;
    }
    .bc-brand-name small {
        font-size: 10px;
        max-width: 100px;
    }
    .bc-shell-header .header-actions {
        gap: 7px;
    }
    .bc-theme-switch {
        width: 55px;
        min-width: 55px;
        height: 30px;
    }
    :root[data-theme='light'] .bc-switch-thumb {
        transform: translateX(23px);
    }
    .bc-shell-header .primary-nav {
        inset-block-start: 70px;
    }
    .bc-shell-footer {
        padding-top: 55px;
    }
    .bc-shell-footer > .container {
        width: calc(100% - 40px);
    }
    .bc-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bc-footer-grid {
        gap: 20px;
    }
    .bc-footer-grid h3 {
        font-size: 0.85rem;
    }
    .bc-footer-grid a {
        font-size: 0.74rem;
    }
    .bc-footer-identity {
        max-width: 330px;
    }
    .bc-footer-actions {
        grid-column: auto;
        width: 100%;
        gap: 15px;
    }
    .bc-footer-end {
        margin-top: 40px;
    }
    .bc-shell-header .mega-services {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 359px) {
    .bc-shell-header .header-inner {
        width: calc(100% - 26px);
        gap: 8px;
    }
    .bc-brand-name small {
        display: none;
    }
    .bc-brand-symbol {
        width: 35px;
    }
    .bc-brand-name {
        font-size: 13px;
    }
    .bc-shell-header .header-actions {
        gap: 3px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bc-switch-thumb {
        transition: none;
    }
}
@media (forced-colors: active) {
    .bc-bottom-bar,
    .bc-shell-header,
    .bc-shell-footer,
    .bc-theme-switch,
    .bc-switch-thumb {
        background: Canvas;
        color: CanvasText;
        border-color: CanvasText;
        box-shadow: none;
    }
}
@media print {
    .bc-shell-header,
    .bc-bottom-bar {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
    .bc-footer-main {
        display: block;
    }
    .bc-footer-grid,
    .bc-footer-actions,
    .bc-socials,
    .bc-back-top {
        display: none;
    }
}

html[dir='ltr'] .bc-brand-name {
    font-family: var(--font-en);
}
/* The full native menu becomes ordinary document flow without scripting. */
@media (max-width: 1100px) {
    html:not(.js) {
        --bc-bottom-space: 0px;
    }
    html:not(.js) .bc-shell-header {
        position: relative;
        top: auto;
    }
    html:not(.js) .bc-bottom-bar {
        display: none;
    }
}
html {
    scroll-padding-bottom: calc(var(--bc-bottom-space, 0px) + 24px);
}

.bc-brand .bc-logo-dark {
    display: block;
}
.bc-brand .bc-logo-light {
    display: none;
}
.bc-brand img[class^='bc-logo-'] {
    width: 64px;
    height: 40px;
    object-fit: cover;
    object-position: center;
}
.bc-logo-default {
    filter: brightness(0) invert(1);
}
[data-theme='light'] .bc-logo-default {
    filter: brightness(0);
}
[data-theme='light'] .bc-brand .bc-logo-dark {
    display: none;
}
[data-theme='light'] .bc-brand .bc-logo-light {
    display: block;
}
.bc-brand-symbol {
    color: #fff;
}
[data-theme='light'] .bc-brand-symbol {
    color: #000;
}
.bc-shell-header .language-switch {
    display: inline-flex !important;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
}

.bc-language-choice {
    display: flex;
    align-items: center;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1px;
}
.bc-language-choice .language-switch {
    min-width: 27px !important;
    min-height: 32px !important;
    padding: 3px;
    justify-content: center;
    border-radius: 5px;
}
.bc-language-choice .language-switch[aria-current] {
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
}

.bc-shell-header .primary-nav li {
    list-style: none;
}
.bc-shell-header .mega-service strong,
.bc-shell-header .mega-service small {
    display: block;
}
.bc-shell-header .mega-service small {
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.6;
    margin-block-start: 4px;
}
.bc-footer-contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-block-end: 24px;
}
.bc-footer-contact-head h2 {
    margin-block-end: 12px;
}
.bc-footer-contact-head p {
    color: var(--muted);
    margin: 0;
}
.bc-footer-signature {
    color: var(--accent-readable);
    font:
        italic clamp(1.4rem, 3vw, 2.5rem) Georgia,
        serif;
    line-height: 1.25;
}
.bc-footer-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    padding-block: 16px;
    margin-block-end: 32px;
    border-block: 1px solid var(--line);
}
.bc-footer-contact:empty {
    display: none;
}
.bc-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--muted);
    font-size: 0.82rem;
}
.bc-footer-contact a:hover {
    color: var(--accent-readable);
}
.bc-footer-contact .bc-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-readable);
}
@media (max-width: 600px) {
    .bc-footer-contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .bc-footer-contact a {
        overflow-wrap: anywhere;
        font-size: 0.75rem;
    }
}

.bc-language-status {
    position: fixed;
    inset-block-end: 80px;
    inset-inline-start: 1rem;
    z-index: 10000;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    color: var(--text);
}
.bc-language-status:empty {
    padding: 0;
    border: 0;
}

.bc-desktop-account{display:inline-flex;gap:.4em;align-items:center;white-space:nowrap;min-height:44px;color:var(--text);font-size:.85rem}
@media(max-width:1100px){.bc-desktop-account{display:none}}
