html { background: #07090b; color-scheme: dark; scroll-behavior: smooth; }
body.jr-site { background: #07090b; color: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin: 0; min-height: 100vh; overflow-x: hidden; text-rendering: optimizeLegibility; }
.jr-site .visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.jr-skip { background: #f2bf27; color: #111 !important; font-weight: 800; left: 12px; padding: 10px 14px; position: fixed; top: -80px; z-index: 999; }
.jr-skip:focus { top: 12px; }

.jr-header { align-items: center; background: rgba(5, 7, 9, .98); border-bottom: 1px solid rgba(242, 191, 39, .22); display: flex; gap: 28px; height: 88px; justify-content: space-between; padding: 0 clamp(22px, 5vw, 76px); position: relative; z-index: 30; }
.jr-logo { align-items: center; display: inline-flex; flex: 0 0 auto; height: 80px; width: 132px; }
.jr-logo img { display: block; height: 100%; object-fit: contain; object-position: center; width: 100%; }
.jr-nav { align-items: center; display: flex; font-size: 14px; gap: clamp(12px, 2vw, 28px); }
.jr-nav a { color: #fff; opacity: .78; padding: 12px 0; position: relative; transition: color .2s, opacity .2s; }
.jr-nav a::after { background: #f2bf27; bottom: 4px; content: ''; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s; width: 100%; }
.jr-nav a:hover, .jr-nav a[aria-current="page"] { color: #f2bf27; opacity: 1; }
.jr-nav a[aria-current="page"]::after { transform: scaleX(1); }
.jr-menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; height: 44px; padding: 8px; width: 44px; }
.jr-menu-toggle > span:not(.visually-hidden) { background: #fff; display: block; height: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; width: 28px; }
.jr-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jr-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.jr-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.jr-messages { margin: 0 auto; max-width: 1500px; padding: 0 clamp(22px, 7vw, 110px); position: relative; z-index: 10; }
.jr-messages:empty { display: none; }
.jr-messages .alert { background: #151a1f; border: 1px solid rgba(242, 191, 39, .45); border-radius: 10px; color: #fff; margin: 18px 0 0; padding: 14px 18px; }
.jr-messages .alert-heading { color: #f2bf27; font-weight: 800; margin-right: 8px; }
.jr-messages .btn-close { background: none; border: 0; color: #fff; cursor: pointer; float: right; font-size: 20px; }

.jr-footer { align-items: center; border-top: 1px solid rgba(255,255,255,.1); color: #b9bec4; display: grid; font-size: 13px; gap: 28px; grid-template-columns: 1.2fr 1fr 1fr auto; padding: 42px clamp(22px, 7vw, 110px); }
.jr-logo--footer { height: 96px; width: 144px; }
.jr-logo--footer img { height: 100%; object-fit: contain; object-position: center; width: 100%; }
.jr-footer__brand p { margin: 8px 0 0; }
.jr-footer__contacts { display: grid; gap: 8px; }
.jr-footer__contacts a { align-items: center; color: #f2bf27; display: inline-flex; font-weight: 700; min-height: 44px; text-decoration: none; white-space: nowrap; }
.jr-usdt { align-items: center; display: flex; gap: 11px; }
.jr-usdt > span { align-items: center; background: #26a17b; border-radius: 50%; color: #fff; display: flex; font-size: 21px; font-weight: 900; height: 38px; justify-content: center; width: 38px; }
.jr-usdt strong, .jr-usdt small { display: block; }
.jr-usdt strong { color: #fff; }
.jr-usdt small { margin-top: 3px; }
.jr-footer__copy { margin: 0; text-align: right; }

.jr-contact-dock { bottom: max(22px, env(safe-area-inset-bottom)); left: max(22px, env(safe-area-inset-left)); position: fixed; z-index: 80; }
.jr-contact-dock__button, .jr-instagram-dock { align-items: center; background: #f2bf27; border: 4px solid #174963; border-radius: 50%; box-shadow: 0 8px 26px rgba(0,0,0,.45); color: #111; cursor: pointer; display: flex; font-size: 25px; font-weight: 900; height: 60px; justify-content: center; width: 60px; }
.jr-phone-icon { display: block; fill: none; height: 27px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.35; width: 27px; }
.jr-contact-dock__menu { background: #090a0b; border: 2px solid #f2bf27; border-radius: 15px; bottom: 72px; box-shadow: 0 12px 35px rgba(0,0,0,.55); left: 0; min-width: 230px; padding: 8px; position: absolute; }
.jr-contact-dock__menu[hidden] { display: none; }
.jr-contact-dock__menu a { align-items: center; border-radius: 9px; color: #fff; display: flex; font-weight: 700; gap: 12px; min-height: 44px; padding: 12px 13px; text-decoration: none; }
.jr-contact-dock__menu a:hover { background: #191d20; }
.jr-contact-dock__menu span { color: #f2bf27; text-align: center; width: 22px; }
.jr-contact-dock__menu .jr-phone-icon { height: 21px; margin: 0 auto; width: 21px; }
.jr-instagram-dock { background: #111; border: 2px solid #f2bf27; bottom: max(27px, env(safe-area-inset-bottom)); color: #f2bf27 !important; font-size: 25px; height: 50px; position: fixed; right: max(22px, env(safe-area-inset-right)); text-decoration: none; width: 50px; z-index: 79; }

.jr-error { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; min-height: 100vh; padding: 40px max(24px, 8vw); }
.jr-error h1 { font-size: clamp(42px, 8vw, 90px); margin: 12px 0; }
.jr-error > p:not(.jr-eyebrow) { color: #b9bec4; font-size: 18px; margin: 0 0 28px; }

@media (max-width: 1000px) {
  .jr-header { height: 78px; padding: 0 22px; }
  .jr-logo { height: 68px; width: 105px; }
  .jr-menu-toggle { display: block; position: relative; z-index: 2; }
  .jr-nav { align-items: stretch; background: #080a0c; border-bottom: 1px solid rgba(242, 191, 39, .25); display: none; flex-direction: column; gap: 0; left: 0; padding: 16px 22px 24px; position: absolute; right: 0; top: 77px; }
  .jr-nav[data-open="true"] { display: flex; }
  .jr-nav a { border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; padding: 14px 4px; }
  .jr-nav a::after { display: none; }
  .jr-footer { grid-template-columns: 1fr 1fr; }
  .jr-footer__copy { text-align: left; }
}

@media (max-width: 580px) {
  .jr-header { height: 72px; padding: 0 16px; }
  .jr-logo { height: 62px; width: 96px; }
  .jr-nav { top: 71px; }
  .jr-footer { grid-template-columns: 1fr; padding-bottom: 105px; text-align: center; }
  .jr-footer__brand, .jr-footer__contacts, .jr-usdt { justify-content: center; }
  .jr-footer__contacts a { justify-content: center; }
  .jr-footer__copy { text-align: center; }
  .jr-contact-dock { bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); }
  .jr-contact-dock__button { height: 56px; width: 56px; }
  .jr-instagram-dock { bottom: max(19px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
}
