/* Shared public presentation. Native components retain layout, state and behavior. */
body:not(.eyed) {
  --wise-ink:#173653; --wise-copy:#435c71; --wise-muted:#536d83;
  --wise-paper:#fff; --wise-soft:#f1f6fb; --wise-line:#cadce9;
  --wise-blue:#2857b5; --wise-link:#245aa3; --wise-focus:#328cc8;
  --wise-radius:20px; --wise-small-radius:11px;
  --wise-shadow:0 2px 5px rgba(18,49,76,.025),0 12px 28px rgba(18,49,76,.075);
  --wise-shadow-hover:0 5px 12px rgba(18,49,76,.06),0 20px 38px rgba(18,49,76,.13);
  --wise-hero:linear-gradient(115deg,#173653,#1b4b6b 58%,#246785);
}
body.theme-dark:not(.eyed) {
  --wise-ink:#eff6ff; --wise-copy:#c4d2df; --wise-muted:#aec4d7;
  --wise-paper:#1d2a39; --wise-soft:#152230; --wise-line:#3b5369;
  --wise-link:#aacdff; --wise-focus:#8acfff;
  --wise-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.23);
  --wise-shadow-hover:inset 0 1px 0 rgba(255,255,255,.06),0 20px 38px rgba(0,0,0,.36);
}

/* One title hierarchy on every public section; no additional heading text. */
body:not(.eyed) #pagetitle {
  color:var(--wise-ink); font-size:clamp(28px,3vw,44px); font-weight:700;
  letter-spacing:-.035em; line-height:1.18; overflow-wrap:break-word; text-wrap:balance;
}
body:not(.eyed) #pagetitle::after {
  content:""; display:block; width:54px; height:4px; border-radius:4px;
  margin-top:19px; background:linear-gradient(90deg,#2857b5,#44a9cc);
}
body:not(.eyed) .breadcrumbs { color:var(--wise-muted); }
body:not(.eyed) .breadcrumbs a { color:var(--wise-muted); }
body:not(.eyed) .breadcrumbs a:hover { color:var(--wise-link); }
body:not(.eyed) .page-top-info { margin-bottom:8px; }

/* Existing page-specific components share the same surface and depth. */
body:not(.eyed) :is(.wsp-story,.wbd-card,.wbd-support,.wcr-contact,
 .vacancy-accordion__item,.contacts-detail__properties,.faq-accordion__wrapper,
 .wbr-brands .brand-list-inner__item,.staff-block-inner__wrapper.grid-list__item,
 .wof-cards .sale-list__item,.wcp-public .wcp-part,.wcp-public .wcp-summary) {
  border-color:var(--wise-line); box-shadow:var(--wise-shadow);
}
body:not(.eyed) :is(.wsp-hero,.wcr-hero,.wof-hero,.wbr-intro,.wbd-hero) {
  box-shadow:0 8px 16px rgba(20,50,78,.06),0 22px 42px rgba(20,50,78,.14);
}
body:not(.eyed) :is(.wsp-story,.wbd-card,.wbr-brands .brand-list-inner__item,
 .staff-block-inner__wrapper.grid-list__item,.wof-cards .sale-list__item,
 .wcp-public .wcp-part,.services-list__item) {
  transition:box-shadow 200ms ease,border-color 200ms ease,translate 200ms ease;
}
body:not(.eyed) :is(.wsp-story,.wbd-card,.wbr-brands .brand-list-inner__item,
 .staff-block-inner__wrapper.grid-list__item,.wof-cards .sale-list__item,
 .wcp-public .wcp-part,.services-list__item):focus-within {
  border-color:#7eaccb; box-shadow:var(--wise-shadow-hover);
}
@media (hover:hover) and (pointer:fine) {
  body:not(.eyed) :is(.wsp-story,.wbd-card,.wbr-brands .brand-list-inner__item,
   .staff-block-inner__wrapper.grid-list__item,.wof-cards .sale-list__item,
   .wcp-public .wcp-part,.services-list__item):hover {
    border-color:#7eaccb; box-shadow:var(--wise-shadow-hover);
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body:not(.eyed) :is(.wsp-story,.wbd-card,.wbr-brands .brand-list-inner__item,
   .staff-block-inner__wrapper.grid-list__item,.wof-cards .sale-list__item,
   .wcp-public .wcp-part,.services-list__item):hover { translate:0 -3px; }
}

/* Primary actions keep their existing sizes and semantics. */
body:not(.eyed) :is(.wsp-button,.wbd-actions a,.wbd-button,.wcr-contact .btn,
 .vacancy-accordion .btn,.vacancy-detail .btn,.wise-service-contact .btn,
 .wca-button,.jqmWindow.popup .btn) {
  border-radius:var(--wise-small-radius); font-weight:700;
  transition:background-color 180ms ease,box-shadow 180ms ease,border-color 180ms ease;
}
body:not(.eyed) :is(.wsp-button:not(.wsp-button--white),.wcr-contact .btn-default,
 .vacancy-accordion .btn-default,.vacancy-detail .btn-default,
 .wise-service-contact .btn-default,.jqmWindow.popup .btn-default) {
  background-color:var(--wise-blue); border-color:var(--wise-blue); color:#fff;
  box-shadow:0 5px 12px rgba(40,87,181,.15);
}
body:not(.eyed) :is(.wsp-button,.wbd-actions a,.wbr-search,.wcr-hero__link,
 .wof-hero__link,.wca-button,.wise-service-contact .btn,.jqmWindow.popup .btn):focus-visible {
  outline:3px solid var(--wise-focus); outline-offset:4px;
}
body:not(.eyed) .bottom-links-block .back-url {
  display:inline-flex; align-items:center; min-height:46px; padding:10px 17px;
  border:1px solid var(--wise-line); border-radius:var(--wise-small-radius);
  background:var(--wise-soft); color:var(--wise-ink);
}

/* Service landing copy and native detail tabs previously lacked card framing. */
html:has(link[data-wise-design="services"]) body:not(.eyed) .right_block > .text_before_items:not(:empty) {
  margin:0 0 26px; padding:30px 34px; border-radius:var(--wise-radius);
  background:var(--wise-hero); color:#eef7ff; box-shadow:var(--wise-shadow);
  font-size:clamp(18px,1.65vw,23px); font-weight:600; line-height:1.55;
}
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_before_items p { color:inherit; }
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_before_items p:last-child { margin-bottom:0; }
html:has(link[data-wise-design="services"]) body:not(.eyed) .right_block > .text_after_items:not(:empty),
body:not(.eyed) .detail.services .tab-content {
  padding:clamp(22px,3vw,36px); margin:0 0 28px; border:1px solid var(--wise-line);
  border-radius:var(--wise-radius); background:var(--wise-paper); color:var(--wise-copy);
  box-shadow:var(--wise-shadow); font-size:15px; line-height:1.85;
}
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_after_items :is(h2,h3),
body:not(.eyed) .detail.services .tab-content :is(h2,h3,.ordered-block__title) {
  color:var(--wise-ink); font-weight:700; line-height:1.35; letter-spacing:-.025em;
  font-size:clamp(22px,2vw,28px); margin:28px 0 16px;
}
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_after_items > h2:first-child,
body:not(.eyed) .detail.services .tab-pane > .ordered-block__title:first-child { margin-top:0; }
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_after_items p,
body:not(.eyed) .detail.services .tab-content p { color:var(--wise-copy); font-size:15px; line-height:1.85; }
html:has(link[data-wise-design="services"]) body:not(.eyed) .text_after_items a,
body:not(.eyed) .detail.services .tab-content a { color:var(--wise-link); text-underline-offset:4px; }
body:not(.eyed) .detail.services .introtext {
  padding:22px 24px; border-left:4px solid #398abe; border-radius:12px;
  background:var(--wise-soft); color:var(--wise-ink); font-size:18px; line-height:1.7; margin:0 0 26px;
}
body:not(.eyed):has(.detail.services) .main > .detail-image { margin-bottom:28px; }
body:not(.eyed):has(.detail.services) .main > .detail-image img {
  width:100%; max-height:340px; object-fit:contain; border:1px solid var(--wise-line);
  border-radius:var(--wise-radius); background:#fff; padding:20px; box-shadow:var(--wise-shadow);
}
body:not(.eyed) .detail.services .tabs-block > .tabs {
  padding:10px; border:1px solid var(--wise-line); border-radius:16px;
  background:var(--wise-paper); box-shadow:var(--wise-shadow); margin-bottom:20px;
  overflow:visible!important; height:auto!important; max-height:none!important;
}
body:not(.eyed) .detail.services .tabs-block .nav-tabs {
  display:flex; gap:8px; flex-wrap:wrap; white-space:normal!important;
  min-width:0!important; width:100%!important; transform:none!important; border:0; margin:0;
}
body:not(.eyed) .detail.services .tabs-block .nav-tabs::before,
body:not(.eyed) .detail.services .tabs-block .nav-tabs::after { display:none; }
body:not(.eyed) .detail.services .tabs-block .nav-tabs li { margin:0; border:0; border-radius:10px; background:transparent; }
body:not(.eyed) .detail.services .tabs-block .nav-tabs a {
  display:flex; align-items:center; min-height:46px; padding:12px 18px;
  border-radius:10px; border:0; color:var(--wise-copy); font-size:13px; font-weight:650;
}
body:not(.eyed) .detail.services .tabs-block .nav-tabs li.active a { background:#173f60; color:#fff; box-shadow:0 4px 10px rgba(23,54,83,.14); }
body:not(.eyed) .detail.services .tabs-block .nav-tabs a::before,
body:not(.eyed) .detail.services .tabs-block .arrows_wrapper { display:none; }
body:not(.eyed) .detail.services .tabs-block .nav-tabs a:focus-visible { outline:3px solid var(--wise-focus); outline-offset:2px; }
body:not(.eyed) .detail.services .props_block { border-radius:12px; border-color:var(--wise-line); overflow:hidden; }
body:not(.eyed) .detail.services .props_block tr:nth-child(odd) { background:var(--wise-soft); }

/* Reviews retain the original Google content and attribution. */
html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews__heading {
  padding:30px 32px; border-radius:var(--wise-radius); background:var(--wise-hero);
  box-shadow:var(--wise-shadow); gap:20px;
}
html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews__heading h2 { color:#fff; }
html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews__heading :is(p,.wr-reviews__eyebrow) { color:#d8eaf6; }
html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews__heading a.wr-reviews__google-link { background:#fff; color:#173653; border-color:#fff; font-size:13px; }

/* My Account presentation, including all existing hidden/authenticated panels. */
body:not(.eyed) #wise-account {
  --wca-text:var(--wise-copy); --wca-heading:var(--wise-ink); --wca-muted:var(--wise-muted);
  --wca-surface:var(--wise-paper); --wca-soft:var(--wise-soft); --wca-line:var(--wise-line);
  --wca-link:var(--wise-link); --wca-shadow:var(--wise-shadow); --wca-blue:#2857b5;
}
body:not(.eyed) #wise-account .wca-heading {
  border:1px solid #2b5774; border-radius:var(--wise-radius); padding:28px 30px;
  background:var(--wise-hero); box-shadow:var(--wise-shadow); color:#fff;
}
body:not(.eyed) #wise-account .wca-heading h2 { color:#fff; letter-spacing:-.025em; }
body:not(.eyed) #wise-account .wca-heading .wca-eyebrow { color:#c6e5f4; }
body:not(.eyed) #wise-account :is(.wca-card,.wca-help,.wca-saved-card) { border-radius:18px; }
body:not(.eyed) #wise-account .wca-button { border-radius:var(--wise-small-radius); }
body:not(.eyed) #wise-account .wca-form { border-top:4px solid #2f7ea7; padding:30px; }
body:not(.eyed) #wise-account :is(.wca-form,.wca-profile-form) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { border-radius:10px; }

/* Native contact/application popups: no field, event or submission changes. */
body:not(.eyed) .jqmWindow.popup:has(.form.popup) { border-radius:20px; background:var(--wise-paper); box-shadow:0 28px 85px rgba(5,22,40,.3); }
body:not(.eyed) .jqmWindow.popup .form.popup { border-radius:20px; background:var(--wise-paper); color:var(--wise-copy); }
body:not(.eyed) .jqmWindow.popup .form-header {
  padding:28px 72px 26px 32px; border-radius:20px 20px 0 0;
  background:var(--wise-hero); color:#fff; margin-bottom:0;
}
body:not(.eyed) .jqmWindow.popup .form-header .title { color:#fff; font-size:25px; line-height:1.3; font-weight:700; }
body:not(.eyed) .jqmWindow.popup .form-header p { color:#d8eaf6; }
body:not(.eyed) .jqmWindow.popup .form-body { padding:28px 32px 0; }
body:not(.eyed) .jqmWindow.popup .form-footer { padding:20px 32px 30px; }
body:not(.eyed) .jqmWindow.popup .form-group > label,
body:not(.eyed) .jqmWindow.popup .form-group > label > span { color:var(--wise-ink); font-size:13px; font-weight:600; }
body:not(.eyed) .jqmWindow.popup .form-control {
  border:1px solid #91aabe; border-radius:10px; background:var(--wise-soft);
  color:var(--wise-ink); box-shadow:inset 0 1px 2px rgba(18,49,76,.025); min-height:48px;
}
body:not(.eyed) .jqmWindow.popup .form-control:focus { border-color:var(--wise-focus); outline:3px solid var(--wise-focus); outline-offset:2px; background:var(--wise-paper); }
body:not(.eyed) .jqmWindow.popup .form-control.error { border-color:#b83535; }
body:not(.eyed) .jqmWindow.popup .licence_block { color:var(--wise-copy); }
body:not(.eyed) .jqmWindow.popup .licence_block a { color:var(--wise-link); }
body:not(.eyed) .jqmWindow.popup .jqmClose.top-close {
  width:44px; height:44px; top:16px; right:16px; border:1px solid rgba(255,255,255,.3);
  border-radius:12px; background:rgba(255,255,255,.12); color:#fff;
}
body:not(.eyed) .jqmWindow.popup .jqmClose svg path { stroke:#fff; }
body:not(.eyed) .jqmWindow.popup .jqmClose:hover { background:rgba(255,255,255,.24); }

@media (min-width:1100px) {
  body:not(.eyed) .index-block :is(.services-list__item,.sale-list__item) { box-shadow:var(--wise-shadow); }
}
@media (max-width:600px) {
  body:not(.eyed) { --wise-radius:16px; }
  body:not(.eyed) #pagetitle::after { width:42px; margin-top:14px; height:3px; }
  body:not(.eyed) .detail.services .introtext { padding:18px; font-size:16px; }
  body:not(.eyed) .detail.services .tab-content { padding:22px 18px; }
  body:not(.eyed) .detail.services .tabs-block .nav-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  body:not(.eyed) .detail.services .tabs-block .nav-tabs a { justify-content:center; padding:10px 8px; min-height:48px; font-size:12px; text-align:center; }
  body:not(.eyed):has(.detail.services) .main > .detail-image img { max-height:240px; padding:12px; }
  html:has(link[data-wise-design="services"]) body:not(.eyed) .right_block > .text_before_items:not(:empty) { padding:24px; }
  html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews__heading { padding:24px; }
  body:not(.eyed) #wise-account .wca-heading { padding:24px; }
  body:not(.eyed) #wise-account .wca-form { padding:24px 20px; }
  body:not(.eyed) .jqmWindow.popup .form-header { padding:24px 68px 24px 24px; border-radius:0; }
  body:not(.eyed) .jqmWindow.popup .form-header .title { font-size:22px; }
  body:not(.eyed) .jqmWindow.popup .form-body { padding:24px 24px 0; }
  body:not(.eyed) .jqmWindow.popup .form-footer { padding:18px 24px 28px; }
}
@media (prefers-reduced-motion:reduce) {
  body:not(.eyed) :is(.wsp-story,.wbd-card,.wbr-brands .brand-list-inner__item,
   .staff-block-inner__wrapper.grid-list__item,.wof-cards .sale-list__item,
   .wcp-public .wcp-part,.services-list__item) { transition:none; translate:none; }
}
@media (forced-colors:active) {
  body:not(.eyed) :is(.wsp-story,.wbd-card,.wof-cards .sale-list__item,
   .wcp-public .wcp-part,.jqmWindow.popup) { box-shadow:none; border-color:CanvasText; }
}

/* Quiet editorial pages use the same readable surfaces, without changing copy. */
html:has(link[data-wise-design="company"]) body:not(.eyed) .wr-reviews { padding-top:0; }
html:has(link[data-wise-design="privacy"]) body:not(.eyed) .right_block {
  float:none; max-width:1000px; margin-inline:auto; padding:clamp(22px,4vw,44px);
  background:var(--wise-paper); color:var(--wise-copy); border:1px solid var(--wise-line);
  border-radius:var(--wise-radius); box-shadow:var(--wise-shadow); line-height:1.85;
}
html:has(link[data-wise-design="privacy"]) body:not(.eyed) .right_block b { color:var(--wise-ink); }
html:has(link[data-wise-design="information"]) body:not(.eyed) .right_block {
  padding:clamp(20px,2.5vw,32px); border:1px solid var(--wise-line); border-radius:var(--wise-radius);
  background:var(--wise-paper); color:var(--wise-copy); box-shadow:var(--wise-shadow);
}
html:has(link[data-wise-design="information"]) body:not(.eyed) .right_block p { color:var(--wise-copy); font-size:15px; line-height:1.9; }
html:has(link[data-wise-design="information"]) body:not(.eyed) .right_block img { width:100%; max-height:380px; object-fit:cover; border-radius:14px; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > h2 { color:var(--wise-ink); font-size:28px; line-height:1.3; letter-spacing:-.025em; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0 36px; padding:0; list-style:none; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul > li { margin:0; padding:0; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul > li::before { display:none; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul a {
  display:flex; align-items:center; min-height:58px; height:100%; padding:16px 20px;
  background:var(--wise-paper); color:var(--wise-ink); border:1px solid var(--wise-line);
  border-radius:12px; box-shadow:var(--wise-shadow); font-size:14px; line-height:1.6; font-weight:600;
}
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul a:hover { background:var(--wise-soft); border-color:#7eaccb; }
html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block a:focus-visible { outline:3px solid var(--wise-focus); outline-offset:3px; }
@media(max-width:900px) { html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { html:has(link[data-wise-design="sitemap"]) body:not(.eyed) .right_block > ul { grid-template-columns:1fr; } }
