/* Dynasty Corporation site engine: consent banner, booking card, enquiry window (same glass look as v3.css) */
.dc-consent{position:fixed;right:24px;bottom:24px;z-index:95;width:min(440px,calc(100vw - 32px));padding:22px 24px;border-radius:20px;font-size:14px;line-height:1.55;color:#ddd}
.dc-consent p{margin:0 0 14px}
.dc-consent a{color:#fff}
.dc-row{display:flex;gap:10px;flex-wrap:wrap}
.dc-row .btn{padding:12px 20px;font-size:12px}
/* the corner opposite the first-screen card, so the banner covers the picture, not the text */
html[dir=rtl] .dc-consent{right:auto;left:24px}
/* the home page's own .glass rule (position:relative) used to win and put the banner at the very end of the page (11.11.2026) */
.dc-consent.glass{position:fixed}
/* phones: a slim strip under the header, over the picture; the first-screen card and the booking bar stay readable */
@media (max-width:760px){
.dc-consent,.dc-consent.glass{left:12px;right:12px;top:86px;bottom:auto;width:auto;padding:12px 14px;border-radius:16px;font-size:12.5px;line-height:1.45}
.dc-consent p{margin:0 0 10px}
.dc-consent .dc-row{flex-wrap:nowrap;gap:8px}
.dc-consent .dc-row .btn{height:36px;padding:0 16px;font-size:11px}
html[dir=rtl] .dc-consent{left:12px;right:12px}
}

/* phone booking bar: the label stays on one line («Записаться на консультацию», 11.11.2026) */
@media (max-width:760px){.mbar a.btn{padding:0 14px;letter-spacing:.04em;white-space:nowrap}}
@media (max-width:340px){.mbar a.btn{font-size:11px;letter-spacing:0}}

/* phone menu: the header links open from a «Menu» button (the bar hides them under 1000px) */
.dc-menu-btn{display:none}
@media (max-width:1000px){
.dc-menu-btn{display:inline-flex;align-items:center;height:38px;margin-inline-start:6px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.04);color:#fff;font:inherit;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.dc-menu-btn[aria-expanded=true]{background:rgba(255,255,255,.14)}
.nav.dc-menu-open{z-index:100}
.nav.dc-menu-open nav{display:flex!important;flex-direction:column;gap:0;position:absolute;top:calc(100% + 8px);left:0;right:0;padding:8px 10px;border-radius:22px;background:rgba(18,14,16,.97);border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 60px -20px rgba(0,0,0,.7)}
.nav.dc-menu-open nav a{display:flex;align-items:center;min-height:50px;padding:0 14px;font-size:17px;color:#fff;letter-spacing:0}
.nav.dc-menu-open nav a+a{border-top:1px solid rgba(255,255,255,.08)}
html[dir=rtl] .dc-menu-btn{letter-spacing:0;font-size:13px}
}

.dc-book{margin-top:20px}
.dc-days{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.dc-days button{flex:0 0 auto;min-width:62px;padding:10px 8px;border-radius:14px;border:1px solid var(--line,rgba(255,255,255,.14));background:rgba(255,255,255,.03);color:#ddd;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px}
.dc-days .w,.dc-days .m{font-size:11px;color:var(--mu,#9a9a9a);text-transform:capitalize}
.dc-days .n{font-size:18px;font-weight:500;color:#fff}
.dc-days button.sel,.dc-slots button.sel{border-color:#8f1d2c;background:rgba(143,29,44,.35)}
.dc-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin-top:14px;max-height:180px;overflow-y:auto}
.dc-slots button{padding:10px 0;border-radius:12px;border:1px solid var(--line,rgba(255,255,255,.14));background:rgba(255,255,255,.03);color:#fff;font:inherit;font-size:14px;cursor:pointer;font-variant-numeric:tabular-nums;direction:ltr}
.dc-days button:focus-visible,.dc-slots button:focus-visible,.dc-form :focus-visible{outline:2px solid #fff;outline-offset:2px}
.dc-go,.dc-submit{margin-top:20px;width:100%;justify-content:center}
.dc-go[disabled]{opacity:.45;cursor:not-allowed}
.dc-when{margin:0 0 6px;font-size:15px;color:#fff}
.dc-back{margin-top:12px;background:none;border:0;color:var(--mu,#9a9a9a);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}

.dc-form{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.dc-form label{font-size:12px;letter-spacing:.04em;color:var(--mu,#9a9a9a);margin-top:8px}
.dc-form input[type=text],.dc-form input[type=tel],.dc-form input[type=email],.dc-form textarea,.dc-form select{width:100%;box-sizing:border-box;padding:13px 14px;border-radius:12px;border:1px solid var(--line,rgba(255,255,255,.16));background:rgba(0,0,0,.35);color:#fff;font:inherit;font-size:16px}
.dc-form textarea{resize:vertical;min-height:84px}
.dc-tel{display:flex;gap:8px;direction:ltr}
.dc-tel select{flex:0 0 112px}
.dc-tel input{flex:1;min-width:0}
.dc-form .dc-check{display:flex;gap:10px;align-items:flex-start;margin-top:12px;font-size:13px;letter-spacing:0;line-height:1.5;color:#ddd;cursor:pointer}
.dc-check input{margin-top:3px;width:18px;height:18px;flex:0 0 18px;accent-color:#8f1d2c}
.dc-check a{color:#fff}
.dc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.dc-err{min-height:1em;margin:8px 0 0;font-size:13px;color:#ff9aa6}
.dc-err a{color:#fff}
.dc-ok h3{margin:4px 0 10px;font-size:20px;font-weight:500;color:#fff}
.dc-ok p{margin:0 0 8px;font-size:15px;line-height:1.6;color:#ddd}
.dc-box > .dc-receipt{margin-top:14px}
.dc-receipt{font-size:13px!important;color:var(--mu,#9a9a9a)!important;direction:ltr;unicode-bidi:isolate}

.dc-modal{position:fixed;inset:0;z-index:99;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.dc-box{position:relative;width:min(480px,100%);max-height:calc(100vh - 32px);overflow-y:auto;padding:30px 28px;border-radius:22px}
.dc-box h2{margin:0 0 8px;font-size:24px;font-weight:500;color:#fff}
.dc-box > p{margin:0;font-size:15px;line-height:1.6;color:#ddd}
.dc-box .x{position:absolute;top:12px;right:14px;background:none;border:0;color:#fff;font-size:26px;cursor:pointer;line-height:1}
html[dir=rtl] .dc-box .x{right:auto;left:14px}
[data-enquiry][hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){.dc-modal{backdrop-filter:none;-webkit-backdrop-filter:none}}
.dc-link{display:inline-block;margin-top:24px;background:none;border:0;padding:0;color:#fff;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* «Наверх» (11.11.2026): the shared button (to-top.css) in the v9 look — dark glass like the floating menu,
   a thin ring in the brand rose showing how much of the page is read, a white arrow.
   Computer: bottom corner (mirrored in Arabic). Phone and tablet: straight above the WhatsApp circle of the bottom bar. */
:root{--tt-z:84;--tt-x:24px;--tt-y:24px;--tt-size:46px;--tt-fg:#fff;--tt-ring:var(--red,#c25a6e);--tt-track:rgba(255,255,255,.10);--tt-bg:#070606}
.dt-top .dt-top__disc{background:linear-gradient(135deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.04) 38%,rgba(255,255,255,.02) 62%,rgba(255,255,255,.09) 100%),rgba(12,9,10,.55);-webkit-backdrop-filter:blur(28px) saturate(180%) brightness(1.06);backdrop-filter:blur(28px) saturate(180%) brightness(1.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 1px rgba(255,255,255,.2),0 14px 34px -12px rgba(0,0,0,.7)}
@media (hover:hover) and (pointer:fine){.dt-top:hover:not(:focus-visible) .dt-top__disc{box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 0 0 1px rgba(255,255,255,.35),0 14px 40px -10px rgba(122,31,46,.55)}}
.dt-top .dt-top__arrow{width:17px;height:17px}
@media (max-width:1000px){:root{--tt-x:18px;--tt-y:10px;--tt-stack:74px;--tt-size:48px}}   /* bar: 10px from the edge + 8px padding, 48px circle */
@media print{.dt-top{display:none!important}}
