/* Functional-storage notice, approved short copy. */
.cookie-notice{position:fixed;z-index:1500;bottom:20px;left:50%;transform:translateX(-50%);width:min(820px,calc(100% - 32px));display:flex;align-items:center;gap:22px;padding:18px 22px;background:linear-gradient(135deg,#fafdffeb,#ebf4fad9);color:#182b35;border:1px solid #ffffffe0;border-radius:24px;box-shadow:0 12px 44px #182b3526;backdrop-filter:blur(12px);font:14px/1.5 Arial}.cookie-notice>div{flex:1}.cookie-notice strong,.cookie-notice span{display:block}.cookie-notice strong{font-size:16px;font-weight:500}.cookie-notice span{color:#526365;margin-top:3px}.cookie-notice>a{font-size:13px;color:#365c4e;text-decoration:underline}.cookie-notice>button{background:linear-gradient(#213c48,#112c36);color:#fffdf8;border:0;border-radius:28px;padding:12px 22px;font:14px Arial;cursor:pointer;min-height:44px}.cookie-notice:focus-within{outline:2px solid #507e76;outline-offset:3px}@media(max-width:600px){.cookie-notice{bottom:12px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:12px}.cookie-notice>div{grid-column:1/-1}.cookie-notice strong{font-size:15px}.cookie-notice span{font-size:13px}.cookie-notice>button{grid-column:2;grid-row:2}}
/* About section: "Human / AI / Quality control" tooltips. The approved design opens them inside the card,
   which stretches the card and pushes the section down. Here they float over the content below instead,
   so opening one never shifts the layout, and their width is capped by the row of cards. */
#about .s04-roles{--s04-gap:20px}
#about .s04-role{z-index:1}
#about .s04-role[data-tip-open="true"]{z-index:20}
#about .s04-role-tip{display:block;position:absolute;top:calc(100% + 8px);left:0;right:auto;width:min(300px,calc(300% + 2*var(--s04-gap)));margin:0;background:#f5f9fc;color:#123240;backdrop-filter:none;box-shadow:0 12px 32px #0e354816,inset 0 1px 1px #fff;font-size:16px;line-height:1.5;opacity:0;visibility:hidden;pointer-events:none;transition:none}
#about .s04-role:nth-child(2) .s04-role-tip{left:50%;transform:translateX(-50%)}
#about .s04-role:nth-child(3) .s04-role-tip{left:auto;right:0}
#about .s04-role[data-tip-open="true"] .s04-role-tip{opacity:1;visibility:visible}
@media(max-width:760px){#about .s04-roles{--s04-gap:10px}#about .s04-role-tip{font-size:14px}}
@media(prefers-reduced-motion:reduce){#about .s04-role-tip,#about .s04-role[data-tip-open="true"] .s04-role-tip{transition:none}}

/* Keep the mobile storefront CTA clear of the catalog row in both languages. */
@media(max-width:760px){
 /* height:auto collapses this preview to its 2px border here, so use a fixed height: 452px fits RU/EN from 320px. */
 #services[data-selected-service="shop"] .r2-preview{height:452px;grid-template-rows:minmax(0,1fr) 165px 44px}
 #services .r2-store-hero{height:auto;padding-bottom:16px}
 #services .r2-store-bottom{height:auto;min-height:30px;flex-wrap:wrap;gap:4px 8px}
}
#about.s04 .s04-role-tip, #about .s04-role-tip { bottom: auto; }
