/* Shared 4.0.83 footer. Same HTML on all theme views and LC V3 isolated landings. */
body #rk-site-footer.rk-v530-footer{display:block;position:relative;box-sizing:border-box;margin:0;clear:both;width:100%;background:#0a131c;color:#b8c8d7;border-top:1px solid #293949;padding:55px 0 28px;font-family:Manrope,"Segoe UI",Arial,sans-serif;font-weight:400;text-align:left}
body #rk-site-footer *,body #rk-site-footer *::before,body #rk-site-footer *::after{box-sizing:border-box}
body #rk-site-footer .rk-footer-frame{width:min(calc(100% - 64px),1460px);max-width:1460px;margin:0 auto;padding:0}
body #rk-site-footer a{margin:0;color:#c1cfde;font-family:inherit;font-weight:500;text-decoration:none;line-height:1.45;transition:color .2s}
body #rk-site-footer a:hover,body #rk-site-footer a:focus-visible{color:#91c5ff}
body #rk-site-footer .footer-top{display:grid;grid-template-columns:minmax(205px,1fr) auto minmax(205px,1fr);gap:32px;align-items:start;margin:0 0 0}
body #rk-site-footer .footer-identity{min-width:0}
body #rk-site-footer .footer-identity .brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
body #rk-site-footer .footer-identity .brand svg{width:31px;height:31px;flex:none}
body #rk-site-footer .footer-identity .brand b{display:block;font-size:20px;font-weight:650;line-height:1.08;letter-spacing:-.035em;color:#f0f5fc}
body #rk-site-footer .footer-identity .brand small{display:block;margin-top:3px;font-size:8px;font-weight:500;letter-spacing:.17em;color:#86a2c1}
body #rk-site-footer .footer-tag{font-size:12px;line-height:1.55;margin:14px 0 0;color:#92a4b8;font-weight:400}
body #rk-site-footer .footer-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px 20px;margin:5px 0 0;padding:0;min-width:0}
body #rk-site-footer .footer-nav a{font-size:12px;white-space:nowrap}
body #rk-site-footer .footer-bank{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:3px 0 0;padding:0;white-space:nowrap}
body #rk-site-footer .footer-bank a{font-size:12px}
body #rk-site-footer .footer-legal{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0;margin:22px 0 0;padding:0}
body #rk-site-footer .footer-legal a{font-size:11px;color:#9aafc1;padding:0 22px;border-right:1px solid #354456}
body #rk-site-footer .footer-legal a:last-child{border-right:0}
body #rk-site-footer .footer-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;margin:18px 0 0;padding:0;border:0}
body #rk-site-footer .footer-bottom p{font-size:10.5px;line-height:1.52;margin:0;max-width:950px;color:#8198ad;font-weight:400}
@media(max-width:1100px){
 body #rk-site-footer .footer-top{grid-template-columns:minmax(200px,1fr) minmax(0,1.7fr);gap:25px}
 body #rk-site-footer .footer-bank{grid-column:2;align-items:flex-start;flex-direction:row;gap:10px 18px;margin-top:-8px}
 body #rk-site-footer .footer-nav{justify-content:flex-start}
}
@media(max-width:720px){
 body #rk-site-footer.rk-v530-footer{padding:37px 0 27px}
 body #rk-site-footer .rk-footer-frame{width:min(calc(100% - 38px),1460px)}
 body #rk-site-footer .footer-top{grid-template-columns:1fr;gap:22px;margin-bottom:0}
 body #rk-site-footer .footer-nav{justify-content:flex-start;gap:11px 19px;margin:0}
 body #rk-site-footer .footer-bank{grid-column:auto;margin:0;flex-direction:column;gap:5px}
 body #rk-site-footer .footer-legal{justify-content:flex-start;gap:9px 0;margin-top:20px}
 body #rk-site-footer .footer-legal a{padding:0 14px 0 0;margin:0 14px 0 0}
 body #rk-site-footer .footer-legal a:last-child{margin-right:0}
 body #rk-site-footer .footer-bottom{align-items:flex-start;text-align:left;margin-top:17px}
}

/* 4.0.87 — one navigation model AND one dropdown markup for header and footer.
   Desktop footer opens upwards; compact layout expands inline, not over service links. */
body #rk-site-footer.rk-v530-footer,
body #rk-site-footer .rk-footer-frame,
body #rk-site-footer .footer-top,
body #rk-site-footer .footer-nav { overflow:visible; }
body #rk-site-footer .footer-nav { gap:9px 22px; position:relative; }
body #rk-site-footer .footer-nav > a,
body #rk-site-footer .footer-nav .nav-dropdown > summary {
  display:inline-flex;align-items:center;gap:7px;margin:0;padding:0;
  color:#c1cfde;font-family:Manrope,"Segoe UI",Arial,sans-serif;
  font-size:12px;font-weight:500;line-height:1.45;white-space:nowrap;
  border:0;background:transparent;text-decoration:none;cursor:pointer;list-style:none;
}
body #rk-site-footer .footer-nav .nav-dropdown > summary::-webkit-details-marker{display:none}
body #rk-site-footer .footer-nav .nav-dropdown { position:relative; flex:none; min-width:0; margin:0; padding:0; }
body #rk-site-footer .footer-nav .nav-chevron {
  display:block;width:6px;height:6px;flex:none;border:solid currentColor;
  border-width:0 1px 1px 0;transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}
body #rk-site-footer .footer-nav .nav-dropdown[open] .nav-chevron{transform:rotate(225deg) translate(-1px,-1px)}
body #rk-site-footer .footer-nav .nav-dropdown[open]{z-index:25}
body #rk-site-footer .footer-nav .nav-dropdown > summary:hover,
body #rk-site-footer .footer-nav .nav-dropdown > summary:focus-visible,
body #rk-site-footer .footer-nav .nav-dropdown[open] > summary{color:#91c5ff}
body #rk-site-footer .footer-nav .nav-dropdown > summary:focus-visible {outline:2px solid #91c5ff;outline-offset:4px;border-radius:3px}
/* Explicit closed state survives CSS resets from the isolated landing builder. */
body #rk-site-footer .footer-nav .nav-dropdown:not([open]) > .nav-submenu{display:none!important}
body #rk-site-footer .footer-nav .nav-submenu{
  display:flex;flex-direction:column;gap:3px;position:absolute;left:-15px;right:auto;
  bottom:calc(100% + 10px);top:auto;width:max-content;min-width:245px;max-width:min(330px,calc(100vw - 30px));
  padding:10px;margin:0;background:#142536;border:1px solid #35495e;border-radius:12px;
  box-shadow:0 17px 34px #0009;z-index:26;
}
body #rk-site-footer .footer-nav .nav-submenu::before{content:"";position:absolute;left:0;right:0;bottom:-12px;height:12px}
body #rk-site-footer .footer-nav .nav-submenu > a{
  display:block;width:100%;padding:10px 9px;border:0;border-radius:7px;
  color:#cad9e8;font-size:12px;font-weight:500;line-height:1.4;text-align:left;white-space:normal;
}
body #rk-site-footer .footer-nav .nav-submenu > a:hover,
body #rk-site-footer .footer-nav .nav-submenu > a:focus-visible{color:#fff;background:#24394d}
/* Also enforce the header's closed state: shared CSS must never expose both sets of links at once. */
body .rk-v530-shell-header .nav-dropdown:not([open]) > .nav-submenu{display:none!important}
@media(max-width:720px){
  body #rk-site-footer .footer-nav{align-items:stretch;gap:11px 19px}
  body #rk-site-footer .footer-nav .nav-dropdown[open]{flex-basis:100%}
  body #rk-site-footer .footer-nav .nav-submenu{
    position:static;left:auto;right:auto;top:auto;bottom:auto;
    width:100%;max-width:none;min-width:0;margin:10px 0 0;padding:6px 8px;
    background:#182c42;border-color:#324e69;border-radius:9px;box-shadow:none;
  }
  body #rk-site-footer .footer-nav .nav-submenu::before{display:none}
  body #rk-site-footer .footer-nav .nav-submenu > a{font-size:12px;padding:10px 8px}
}

/* 4.0.89 — low-key YooKassa provider credit in the common footer, not in the method strip. */
body #rk-site-footer .footer-bottom .footer-payment-provider{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:3px 0 0;color:#7f94a8;font-size:10.5px;line-height:1.5}
body #rk-site-footer .footer-payment-provider img{display:block;width:auto;height:16px;max-width:76px;object-fit:contain}
@media(max-width:720px){body #rk-site-footer .footer-bottom .footer-payment-provider{justify-content:flex-start;flex-wrap:wrap}}

/* 4.0.93 — footer color isolation. Keep the full footer; only restore the approved
   cool V5.30 text palette when legacy public CSS tries to inject warm text-fill colors. */
body #rk-site-footer.rk-v530-footer{color:#b8c8d7!important;-webkit-text-fill-color:#b8c8d7!important}
body #rk-site-footer a{color:#c1cfde!important;-webkit-text-fill-color:#c1cfde!important}
body #rk-site-footer a:hover,body #rk-site-footer a:focus-visible{color:#91c5ff!important;-webkit-text-fill-color:#91c5ff!important}
body #rk-site-footer .footer-identity .brand b{color:#f0f5fc!important;-webkit-text-fill-color:#f0f5fc!important}
body #rk-site-footer .footer-identity .brand small{color:#86a2c1!important;-webkit-text-fill-color:#86a2c1!important}
body #rk-site-footer .footer-tag{color:#92a4b8!important;-webkit-text-fill-color:#92a4b8!important}
body #rk-site-footer .footer-nav>a,body #rk-site-footer .footer-nav .nav-dropdown>summary,body #rk-site-footer .footer-bank a{color:#c1cfde!important;-webkit-text-fill-color:#c1cfde!important}
body #rk-site-footer .footer-legal a{color:#9aafc1!important;-webkit-text-fill-color:#9aafc1!important}
body #rk-site-footer .footer-bottom,body #rk-site-footer .footer-bottom p{color:#8198ad!important;-webkit-text-fill-color:#8198ad!important}
body #rk-site-footer .footer-bottom .footer-payment-provider,body #rk-site-footer .footer-bottom .footer-payment-provider span{color:#7f94a8!important;-webkit-text-fill-color:#7f94a8!important}
body #rk-site-footer .footer-nav .nav-submenu>a{color:#cad9e8!important;-webkit-text-fill-color:#cad9e8!important}
body #rk-site-footer .footer-nav .nav-submenu>a:hover,body #rk-site-footer .footer-nav .nav-submenu>a:focus-visible{color:#fff!important;-webkit-text-fill-color:#fff!important}

body #rk-site-footer .footer-identity .brand img.rk-brand-megaphone{width:31px;height:31px;flex:none;display:block;object-fit:contain}


/* 4.0.117 — visible and actionable legal links in the shared footer.
   Both anchors already have the correct canonical href in shared-footer.php;
   avoid making them look like ordinary, non-interactive legal text. */
html body footer#rk-site-footer.rk-v530-footer .footer-legal {
  position:relative;
  z-index:2;
  pointer-events:auto;
}
html body footer#rk-site-footer.rk-v530-footer .footer-legal a {
  position:relative;
  z-index:1;
  display:inline-block;
  pointer-events:auto !important;
  cursor:pointer !important;
  text-decoration:underline !important;
  text-decoration-thickness:1px !important;
  text-underline-offset:3px !important;
  text-decoration-color:rgba(154,175,193,.72) !important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-legal a:hover,
html body footer#rk-site-footer.rk-v530-footer .footer-legal a:focus-visible {
  color:#91c5ff !important;
  -webkit-text-fill-color:#91c5ff !important;
  text-decoration-color:currentColor !important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-legal a:focus-visible {
  outline:2px solid #91c5ff;
  outline-offset:4px;
  border-radius:2px;
}


/* 4.0.118 — one public wordmark size in header and footer.
   The shared icon already uses 31px in both placements. On compact widths,
   the shell previously used 17px for the header while footer retained 20px.
   Keep the desktop 20px; use the same 18px in both areas on phones. */
@media (max-width:720px) {
  body .rk-v530-shell-header .brand b,
  body #rk-site-footer.rk-v530-footer .footer-identity .brand b {
    font-size:18px;
  }
}


/* 4.0.119 — one identical two-line wordmark in the public header and footer.
   Both locations already print the same SVG and text in the shared templates;
   override competing legacy/home/voice-catalog rules with one canonical style. */
html body header.rk-v530-shell-header a.brand,
html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand {
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  flex:none !important;
  white-space:nowrap !important;
  font-family:Manrope,Arial,sans-serif !important;
  line-height:normal !important;
  text-decoration:none !important;
  text-align:left !important;
}
html body header.rk-v530-shell-header a.brand > img.rk-brand-megaphone,
html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand > img.rk-brand-megaphone {
  display:block !important;
  width:31px !important;
  height:31px !important;
  flex:0 0 31px !important;
  filter:none !important;
}
html body header.rk-v530-shell-header a.brand > span,
html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand > span {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-family:Manrope,Arial,sans-serif !important;
  text-align:left !important;
}
html body header.rk-v530-shell-header a.brand b,
html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand b {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-family:Manrope,Arial,sans-serif !important;
  font-size:20px !important;
  font-weight:650 !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  text-transform:none !important;
  color:#f0f5fc !important;
  -webkit-text-fill-color:#f0f5fc !important;
}
html body header.rk-v530-shell-header a.brand small,
html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand small {
  display:block !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  font-family:Manrope,Arial,sans-serif !important;
  font-size:8px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  letter-spacing:.17em !important;
  text-transform:uppercase !important;
  font-style:normal !important;
  color:#86a2c1 !important;
  -webkit-text-fill-color:#86a2c1 !important;
}
@media(max-width:720px){
  html body header.rk-v530-shell-header a.brand b,
  html body footer#rk-site-footer.rk-v530-footer .footer-identity a.brand b {
    font-size:18px !important;
  }
}

/* 4.0.124 — sticky footer on short non-home pages, without stretching the footer.
   The site header is fixed; it already has its own 77/68px body offset.
   WordPress adds 32/46px of HTML margin for the admin toolbar. */
html body.rk-v530-shell {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  min-height: 100vh;
  min-height: 100dvh;
}
html body.rk-v530-shell.admin-bar {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}
@media (max-width: 782px) {
  html body.rk-v530-shell.admin-bar {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
}
html body.rk-v530-shell > footer#rk-site-footer.rk-v530-footer {
  flex-shrink: 0 !important;
  margin-top: auto !important;
}

/* 4.0.141 — primary navigation, secondary information, then legal copy.
   One shared footer owner; keep dropdown behavior and destinations intact. */
html body footer#rk-site-footer.rk-v530-footer .footer-top {
  display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);
  align-items:start;gap:28px;
}
html body footer#rk-site-footer.rk-v530-footer .footer-nav {
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 25px;margin:0;padding:0;
}
html body footer#rk-site-footer.rk-v530-footer .footer-nav > a,
html body footer#rk-site-footer.rk-v530-footer .footer-nav .nav-dropdown > summary {
  font-size:15px!important;font-weight:550!important;line-height:1.5;
  min-height:36px;padding:6px 0;color:#e1eaf3!important;-webkit-text-fill-color:#e1eaf3!important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-nav .nav-submenu > a {
  font-size:14px!important;line-height:1.5;min-height:40px;
}
html body footer#rk-site-footer.rk-v530-footer .footer-bank {
  display:flex;align-items:flex-end;flex-direction:column;gap:6px;margin:3px 0 0;
}
html body footer#rk-site-footer.rk-v530-footer .footer-bank a {
  font-size:14px!important;font-weight:500;line-height:1.6;
  color:#d2dfeb!important;-webkit-text-fill-color:#d2dfeb!important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-legal {
  display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;
  gap:6px 28px;margin:30px 0 0;padding:18px 0 0;border-top:1px solid #293949;
}
html body footer#rk-site-footer.rk-v530-footer .footer-legal a {
  display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0;
  border:0;font-size:12.5px!important;font-weight:400!important;line-height:1.55;
  color:#a4b6c6!important;-webkit-text-fill-color:#a4b6c6!important;
  text-decoration-color:#526777!important;text-underline-offset:3px!important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-bottom {
  align-items:flex-start;justify-content:flex-start;text-align:left;
  margin:12px 0 0;padding:0;border:0;
}
html body footer#rk-site-footer.rk-v530-footer .footer-bottom p {
  max-width:1100px;font-size:11.5px!important;line-height:1.65!important;
  color:#94a8ba!important;-webkit-text-fill-color:#94a8ba!important;
}
html body footer#rk-site-footer.rk-v530-footer .footer-nav > a:hover,
html body footer#rk-site-footer.rk-v530-footer .footer-nav .nav-dropdown > summary:hover,
html body footer#rk-site-footer.rk-v530-footer .footer-bank a:hover,
html body footer#rk-site-footer.rk-v530-footer .footer-legal a:hover,
html body footer#rk-site-footer.rk-v530-footer .footer-legal a:focus-visible {
  color:#b9dcff!important;-webkit-text-fill-color:#b9dcff!important;text-decoration-color:currentColor!important;
}
html body footer#rk-site-footer.rk-v530-footer a:focus-visible,
html body footer#rk-site-footer.rk-v530-footer summary:focus-visible {
  outline:2px solid #91c5ff;outline-offset:4px;border-radius:3px;
}
@media(max-width:1100px){
  html body footer#rk-site-footer.rk-v530-footer .footer-top{grid-template-columns:minmax(0,1fr) auto;gap:20px 28px}
  html body footer#rk-site-footer.rk-v530-footer .footer-nav{grid-column:1 / -1;grid-row:2;justify-content:flex-start}
  html body footer#rk-site-footer.rk-v530-footer .footer-bank{grid-column:2;grid-row:1;margin:0}
}
@media(max-width:720px){
  html body footer#rk-site-footer.rk-v530-footer .footer-top{grid-template-columns:minmax(0,1fr);gap:22px}
  html body footer#rk-site-footer.rk-v530-footer .footer-nav{grid-column:auto;grid-row:auto;gap:6px 23px}
  html body footer#rk-site-footer.rk-v530-footer .footer-bank{grid-column:auto;grid-row:auto;align-items:flex-start}
  html body footer#rk-site-footer.rk-v530-footer .footer-legal{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:24px;padding-top:16px}
  html body footer#rk-site-footer.rk-v530-footer .footer-legal a{justify-self:start;white-space:normal;overflow-wrap:anywhere}
}

/* SEO-048: accessible contact hit area, unchanged text styling. */
html body footer#rk-site-footer.rk-v530-footer .footer-bank a{display:inline-flex;align-items:center;min-height:24px;}
