/** HUB presentation: isolated from .apx-site--service. All editorial text remains Drupal-rendered. */
.apx-site--hub{--hub-a:#79eedb;--hub-b:#b29eff;--hub-c:#ffdb8d;--hub-line:color-mix(in srgb,var(--hub-a) 28%,transparent);--hub-ink:#e4f0fb}
/* The ten existing HUBs have a common architecture but subtly distinct atmospheres. */
.apx-site--hub.apx-hub--create-sites{--hub-a:#7cebdc;--hub-b:#8fafff;--hub-c:#ffdc89}
.apx-site--hub.apx-hub--seo{--hub-a:#95ebad;--hub-b:#83beec;--hub-c:#e2f69b}
.apx-site--hub.apx-hub--digital-marketing{--hub-a:#efb5de;--hub-b:#bda8ff;--hub-c:#ffe28a}
.apx-site--hub.apx-hub--cms{--hub-a:#a5c7ff;--hub-b:#ce9ffb;--hub-c:#ffe2a3}
.apx-site--hub.apx-hub--ux-ui{--hub-a:#f9badc;--hub-b:#a2b6ff;--hub-c:#85e6dc}
.apx-site--hub.apx-hub--int-aut{--hub-a:#70dbea;--hub-b:#9dafff;--hub-c:#f3dc91}
.apx-site--hub.apx-hub--hosting{--hub-a:#79c9ff;--hub-b:#a4b1ff;--hub-c:#87f1d9}
.apx-site--hub.apx-hub--optimization{--hub-a:#88f0b6;--hub-b:#75cbf7;--hub-c:#f3d586}
.apx-site--hub.apx-hub--safety{--hub-a:#83e9de;--hub-b:#98bcf2;--hub-c:#d2e99c}
.apx-site--hub.apx-hub--support{--hub-a:#9beac7;--hub-b:#9ca9f2;--hub-c:#ffe2ab}
.apx-site--hub .apx-hero{min-height:clamp(410px,39vw,570px);background:transparent}
.apx-site--hub .apx-hero__grid{min-height:clamp(335px,34vw,465px)}
.apx-site--hub .apx-hero__copy{max-width:880px;padding-block:clamp(45px,5vw,76px)}
.apx-site--hub .apx-hero__copy h1{font-size:clamp(42px,5.35vw,83px);max-width:18ch;line-height:1.045}
.apx-site--hub .apx-hero__media{height:clamp(270px,32vw,420px)}
.apx-site--hub .apx-hero__glyph{color:var(--hub-a)}
.apx-site--hub .apx-hero__orb{border-radius:50% 24% 50% 24%;background:radial-gradient(circle at 29% 25%,color-mix(in srgb,var(--hub-a) 68%,transparent),transparent 24%),radial-gradient(circle at 68% 69%,color-mix(in srgb,var(--hub-b) 36%,transparent),transparent 45%),linear-gradient(140deg,#10273b,#1a1730)}
.apx-site--hub .apx-eyebrow,.apx-site--hub .apx-blink{color:var(--hub-a)}
.apx-site--hub .apx-blink{background:var(--hub-a)}
.apx-site--hub .apx-hero__foot span:last-child{color:var(--hub-a)}
/* HUB owns the whole editorial backdrop. A Service and a HUB share the
   Drupal markup, but never compete for its background animation. */
.apx-site--hub .apx-hub-body.apx-service-story{position:relative;isolation:isolate;overflow:clip;padding:clamp(40px,4.8vw,72px) 0 clamp(18px,2.8vw,36px);background:url("../assets/aplike-data-plane.svg") right -140px top 5% / min(720px,64vw) auto no-repeat,url("../assets/aplike-circuit-network.svg") left -240px bottom 9% / min(740px,61vw) auto no-repeat}
.apx-site--hub .apx-hub-body.apx-service-story::before{content:none}
.apx-site--hub .apx-hub-body.apx-service-story::after{content:"";position:absolute;right:-260px;top:23%;width:570px;aspect-ratio:1;border-radius:50%;border:1px dashed color-mix(in srgb,var(--hub-a) 32%,transparent);box-shadow:0 0 0 80px #91e9dc06,0 0 0 160px #9e8cff06;pointer-events:none;z-index:-1;animation:apxHubOrbit 44s linear infinite;animation-play-state:var(--apx-ambient-play,running)}


@keyframes apxHubOrbit{to{transform:rotate(360deg)}}
.apx-site--hub .apx-hub-body__topline{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:0 0 18px;border-bottom:1px solid var(--hub-line);color:var(--hub-a);font:800 11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.17em;text-transform:uppercase}
.apx-site--hub .apx-hub-body__topline span:last-child{color:var(--hub-c)}
.apx-site--hub .apx-hub-reading.apx-page-body{padding:0;max-width:100%}
.apx-site--hub .apx-hub-reading :where(p,li){color:#d1dfef;line-height:1.82}
.apx-site--hub .apx-hub-reading :where(strong){color:#fbfdff}
.apx-site--hub .apx-hub-reading article{min-width:0}
/* Hero editorial image and first 2 paragraphs: reading.js builds this scene from original Drupal DOM. */

/* Shared meta row: the TOC and the rating receive a stable, premium placement. */

/* HUB direction grid: original Drupal order stays row-major.
   One card fills the row. Up to four: two columns. Five+: feature pair
   (7/5), then up to three evenly balanced cards on each subsequent row. */
.apx-site--hub .apx-hub-directions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:clamp(16px,2vw,26px);align-items:stretch;margin:clamp(25px,3vw,42px) 0 clamp(54px,6vw,88px)}
.apx-site--hub .apx-hub-directions[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.apx-site--hub .apx-hub-directions[data-count="3"]>.apx-hub-main-card:last-child{grid-column:1/-1}
.apx-site--hub .apx-hub-directions--many{grid-template-columns:repeat(12,minmax(0,1fr))}
.apx-site--hub .apx-hub-directions--many>.apx-hub-main-card{grid-column:span 4}
.apx-site--hub .apx-hub-directions--many>.apx-hub-main-card:first-child{grid-column:span 7}
.apx-site--hub .apx-hub-directions--many>.apx-hub-main-card:nth-child(2){grid-column:span 5}
.apx-site--hub .apx-hub-directions--many[data-remainder="1"]>.apx-hub-main-card:nth-last-child(-n/**/+4){grid-column:span 6}
.apx-site--hub .apx-hub-directions--many[data-remainder="2"]>.apx-hub-main-card:nth-last-child(-n/**/+2){grid-column:span 6}
/* Three directions use three compact columns when there is sufficient width.
   At narrower widths the original 2+1 layout remains readable. */
@media(min-width:1120px){
 .apx-site--hub .apx-hub-directions[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
 .apx-site--hub .apx-hub-directions[data-count="3"]>.apx-hub-main-card:last-child{grid-column:auto}
}
@media(max-width:1050px){
 .apx-site--hub .apx-hub-directions--many{grid-template-columns:repeat(2,minmax(0,1fr))}
 .apx-site--hub .apx-hub-directions--many>.apx-hub-main-card{grid-column:auto}
 .apx-site--hub .apx-hub-directions--many>.apx-hub-main-card:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:760px){
 .apx-site--hub .apx-hub-directions,.apx-site--hub .apx-hub-directions--many{grid-template-columns:minmax(0,1fr)}
 .apx-site--hub .apx-hub-directions>.apx-hub-main-card{grid-column:1/-1;min-height:0}
}
.apx-site--hub .apx-hub-main-card{--card-accent:#79eedb;--card-subtle:#73d7cd40;--apx-pointer-x:50%;--apx-pointer-y:24%;position:relative;isolation:isolate;min-width:0;min-height:320px;padding:clamp(21px,2.3vw,34px);border:1px solid color-mix(in srgb,var(--card-accent) 44%,transparent);border-radius:24px;overflow:hidden;background:radial-gradient(ellipse 83% 89% at 93% 12%,color-mix(in srgb,var(--card-accent) 17%,transparent),transparent 75%),linear-gradient(132deg,#162e45,#1b2b43 56%,#141f35);background-size:210% 210%;box-shadow:0 17px 47px #01061266,inset 0 1px #ffffff23;transition:transform var(--apx-motion-card) cubic-bezier(.16,.82,.21,1),border-color var(--apx-motion-card) ease,box-shadow var(--apx-motion-card) ease}
.apx-site--hub .apx-hub-main-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at var(--apx-pointer-x) var(--apx-pointer-y),color-mix(in srgb,var(--card-accent) 23%,transparent),transparent 58%),linear-gradient(135deg,color-mix(in srgb,var(--card-accent) 14%,transparent),transparent 65%);opacity:.9;transition:opacity var(--apx-motion-card) ease}
.apx-site--hub .apx-hub-main-card::after{content:"";position:absolute;right:-60px;top:-68px;width:210px;aspect-ratio:1;border-radius:50%;z-index:-1;pointer-events:none;border:1px solid color-mix(in srgb,var(--card-accent) 42%,transparent);box-shadow:0 0 0 30px color-mix(in srgb,var(--card-accent) 7%,transparent),0 0 0 61px color-mix(in srgb,var(--card-accent) 4%,transparent);opacity:.68;animation:apxHubCardHalo 20s ease-in-out infinite alternate;animation-play-state:var(--apx-ambient-play,running)}
@keyframes apxHubCardHalo{to{transform:translate(-17px,17px) rotate(17deg) scale(1.08);opacity:1}}
.apx-site--hub .apx-hub-main-card:is(:hover,:focus-within){transform:perspective(1300px) translateY(-7px) rotateX(var(--apx-tilt-x,0deg)) rotateY(var(--apx-tilt-y,0deg));border-color:color-mix(in srgb,var(--card-accent) 85%,white);box-shadow:0 27px 70px #0009,0 0 48px color-mix(in srgb,var(--card-accent) 25%,transparent),inset 0 1px #ffffff45}
.apx-site--hub .apx-hub-main-card:hover::before{opacity:1}
.apx-site--hub .apx-hub-main-card__top{position:relative;display:flex;justify-content:flex-start;gap:15px;align-items:start;margin-bottom:21px}
/* Existing icon and service number are connected when this service is
 * interacted with. Decorative only; the real link owns navigation. */
.apx-site--hub .apx-hub-main-card__top::after{
  content:"";position:absolute;top:30px;left:62px;width:15px;height:1px;
  pointer-events:none;background:linear-gradient(90deg,var(--card-accent),var(--hub-c));
  opacity:.5;transform:scaleX(.55);transform-origin:left center;
  transition:transform var(--apx-motion-quick) ease,opacity var(--apx-motion-quick) ease;
}
.apx-site--hub .apx-hub-main-card:is(:hover,:focus-within) .apx-hub-main-card__top::after{
  opacity:1;transform:scaleX(1);
}
@media(hover:none),(pointer:coarse){.apx-site--hub .apx-hub-main-card__top::after{transition:none}}
@media(prefers-reduced-motion:reduce){.apx-site--hub .apx-hub-main-card__top::after{transition:none;transform:none}}
.apx-site--hub .apx-hub-main-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 62px;
  height: 62px;
  color: #fff;
  border: 1px solid color-mix(in srgb,var(--card-accent) 60%,transparent);
  border-radius: 18px;
  background: radial-gradient(circle at 28% 16%,color-mix(in srgb,var(--card-accent) 58%,transparent),transparent 76%),linear-gradient(135deg,color-mix(in srgb,var(--card-accent) 38%,transparent),#ffffff0d);
  box-shadow: inset 0 1px #ffffff66,0 12px 28px #0004,0 0 34px color-mix(in srgb,var(--card-accent) 28%,transparent);
  transition: transform var(--apx-motion-card) cubic-bezier(.2,.8,.2,1),background var(--apx-motion-card);
  position: relative;
}
.apx-site--hub .apx-hub-main-card:is(:hover,:focus-within) .apx-hub-main-card__icon{transform:rotate(-7deg) translateY(-4px) scale(1.07);box-shadow:inset 0 1px #fff8,0 14px 32px #0005,0 0 42px color-mix(in srgb,var(--card-accent) 43%,transparent)}

.apx-site--hub .apx-hub-main-card__index {
  min-width: 63px;
  padding: 12px 13px;
  flex: none;
  text-align: center;
  white-space: nowrap;
  font: 750 11px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing: .1em;
  color: var(--hub-c);
  border: 1px solid color-mix(in srgb,var(--card-accent) 65%,transparent);
  border-radius: 11px;
  background: linear-gradient(140deg,color-mix(in srgb,var(--card-accent) 20%,transparent),#ffffff0a);
  box-shadow: 0 0 22px color-mix(in srgb,var(--card-accent) 12%,transparent);
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}
/* RC2: a quiet light-pipe detail attached to each numbered HUB label. */
.apx-site--hub .apx-hub-main-card__index::before{
  content:"";position:absolute;left:10px;top:50%;width:5px;height:5px;
  border-radius:50%;transform:translateY(-50%);
  background:var(--card-accent);box-shadow:0 0 9px color-mix(in srgb,var(--card-accent) 45%,transparent);
  opacity:.72;pointer-events:none;
}
.apx-site--hub .apx-hub-main-card>h3[id]{margin:0 0 15px;padding:0;border:0;border-radius:0;background:none;font-size:clamp(24px,2.05vw,33px);font-weight:820;letter-spacing:-.035em;line-height:1.18;color:#f8fcff;max-width:none;translate:none;transition:color var(--apx-motion-quick) ease,text-shadow var(--apx-motion-card) ease}
.apx-site--hub .apx-hub-main-card>h3::after{display:none}
.apx-site--hub .apx-hub-main-card:is(:hover,:focus-within)>h3[id]{color:#fff;text-shadow:0 0 28px color-mix(in srgb,var(--card-accent) 39%,transparent)}
.apx-site--hub .apx-hub-main-card>p{font-size:clamp(15px,1.05vw,17px);line-height:1.76;color:#dbe7f4;margin:0 0 15px;max-width:none}
.apx-site--hub .apx-hub-main-card>p:last-child{margin-bottom:0}
.apx-site--hub .apx-hub-main-card :is(ul,ol){display:grid;gap:8px;padding-left:0;margin:18px 0}

/* The one existing Drupal link is the interaction owner for the entire
 * direction card. Other controls exclude this mode; no JavaScript clicks. */
.apx-site--hub .apx-hub-main-card[data-apx-card-link]{cursor:pointer}
.apx-site--hub .apx-hub-main-card[data-apx-card-link] .apx-hub-main-card__primary-link::before{
  content:"";position:absolute;inset:0;z-index:3;
}
.apx-site--hub .apx-hub-main-card[data-apx-card-link]:is(:hover,:focus-within) .apx-hub-main-card__primary-link{
  color:#fff;text-decoration-color:var(--card-accent);
}
.apx-site--hub .apx-hub-main-card[data-apx-card-link]:focus-within{
  outline:2px solid var(--card-accent);outline-offset:3px;
}
.apx-site--hub .apx-hub-main-card a{color:color-mix(in srgb,var(--card-accent) 67%,white);font-weight:720;text-underline-offset:4px}
.apx-site--hub .apx-hub-main-card a:hover{color:#fff;text-decoration-color:var(--card-accent)}
.apx-site--hub .apx-hub-main-card a:focus-visible{outline:2px solid var(--card-accent);outline-offset:4px;border-radius:2px}
.apx-site--hub .apx-card--teal{--card-accent:var(--hub-a);background:linear-gradient(137deg,#143b4a,#1a354c 55%,#14263b);background-size:210% 210%}
.apx-site--hub .apx-card--violet{--card-accent:var(--hub-b);background:linear-gradient(137deg,#302b54,#272b53 55%,#1b263c);background-size:210% 210%}
.apx-site--hub .apx-card--gold{--card-accent:var(--hub-c);background:linear-gradient(137deg,#41362e,#3c3542 55%,#1d2639);background-size:210% 210%}
.apx-site--hub .apx-card--mint{--card-accent:color-mix(in srgb,var(--hub-a) 66%,var(--hub-c));background:linear-gradient(137deg,#1b433e,#1d3b49 55%,#17273c);background-size:210% 210%}
.apx-site--hub .apx-card--rose{--card-accent:color-mix(in srgb,var(--hub-b) 60%,var(--hub-c));background:linear-gradient(137deg,#432a47,#3a304e 55%,#20283f);background-size:210% 210%}
.apx-site--hub .apx-card--sky{--card-accent:color-mix(in srgb,var(--hub-a) 38%,var(--hub-b));background:linear-gradient(137deg,#1d3655,#263a5a 55%,#1c2942);background-size:210% 210%}
/* Extra-info is one editorial accordion, not a bright card catalogue. */
.apx-site--hub .apx-disclosure--extra .apx-disclosure__inner :is(h2,h3){max-width:none}
.apx-site--hub .apx-disclosure--extra .apx-disclosure__inner>div>h2[id]{font-size:clamp(28px,3vw,44px);margin-top:46px}
.apx-site--hub .apx-disclosure--extra .apx-disclosure__inner>div>h3[id]{font-size:clamp(19px,1.7vw,27px)}
@media(max-width:600px){.apx-site--hub .apx-hub-main-card{padding:23px}.apx-site--hub .apx-hub-main-card__icon{width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.apx-site--hub .apx-hub-main-card:is(:hover,:focus-within){transform:none}.apx-site--hub .apx-hub-directions>.apx-hub-main-card{animation:none;transform:none;translate:none;transition:none}}

/* HUB choices: transparent editorial section, not another enclosing card. */
.apx-site--hub .apx-hub-path{
  position:relative;isolation:isolate;overflow:visible;
  margin:clamp(34px,4.2vw,58px) 0 clamp(36px,5vw,70px);
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none
}
.apx-site--hub .apx-hub-path__heading{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);
  justify-items:start;align-items:center;gap:5px 30px;max-width:none;
  margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid #afcfdd2c
}
.apx-site--hub .apx-hub-path__mode{
  grid-column:1;grid-row:auto;justify-self:start;align-self:start;
  position:static;flex:none;margin:12px 0 0;
  border:1px solid color-mix(in srgb,var(--hub-a) 52%,transparent);
  background:linear-gradient(130deg,#10303d,#262444);border-radius:99px;
  padding:12px 15px;color:var(--hub-a);
  font:800 10px/1.3 ui-monospace,Consolas,monospace;
  letter-spacing:.13em;cursor:pointer;
  box-shadow:0 0 24px color-mix(in srgb,var(--hub-a) 13%,transparent);
  transition:color var(--apx-motion-card),border-color var(--apx-motion-card),box-shadow var(--apx-motion-card),background var(--apx-motion-card)
}

/* Direction telemetry — real H3/link state, not an artificial interface.
   The scene has one visual owner and never occupies a card's click area. */
.apx-site--hub .apx-hub-path__signal{
  grid-column:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
  gap:8px 20px;width:min(100%,710px);box-sizing:border-box;min-width:0;
  padding:13px 16px;margin:10px 0 2px;border:1px solid color-mix(in srgb,var(--hub-a) 40%,transparent);
  border-radius:12px;background:linear-gradient(105deg,color-mix(in srgb,var(--hub-a) 11%,#12273c),#1e2940a8 76%);
  box-shadow:inset 0 1px #ffffff18;pointer-events:none;
}
.apx-site--hub .apx-hub-path__signal-id{
  color:var(--hub-c);font:800 10px/1.35 ui-monospace,Consolas,monospace;
  letter-spacing:.11em;white-space:nowrap;
}
.apx-site--hub .apx-hub-path__signal-selection{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#c8dbe7;font-size:13px;font-weight:700;line-height:1.3;
  transition:color var(--apx-motion-quick) ease,text-shadow var(--apx-motion-quick) ease;
}
.apx-site--hub .apx-hub-path__signal-track{
  grid-column:1/-1;position:relative;display:block;height:4px;border-radius:4px;overflow:hidden;
  background:repeating-linear-gradient(90deg,#7bede14a 0 11px,transparent 11px 17px);
}
.apx-site--hub .apx-hub-path__signal-track::after{
  content:"";position:absolute;inset:0;border-radius:inherit;transform-origin:left center;
  transform:scaleX(var(--apx-hub-signal-progress,0));
  background:linear-gradient(90deg,var(--hub-a),var(--hub-c));
  box-shadow:0 0 8px var(--hub-a);transition:transform var(--apx-motion-card) cubic-bezier(.2,.8,.2,1);
}
.apx-site--hub .apx-hub-path[data-apx-hub-signal] .apx-hub-path__signal-selection{
  color:#fff0c6;text-shadow:0 0 14px color-mix(in srgb,var(--hub-c) 24%,transparent);
}
.apx-site--hub .apx-hub-main-card[data-apx-hub-highlight] .apx-hub-main-card__top::after{
  opacity:1;transform:scaleX(1);
}
/* A route packet advances with the existing selected-H3 telemetry. The
   active card's upper bus visually terminates the route. Both are paint only. */
.apx-site--hub .apx-hub-path__signal-track::before{
  content:"";position:absolute;top:0;left:calc(var(--apx-hub-signal-progress,0) * 100%);
  width:9px;height:4px;border-radius:2px;background:#fff1bd;opacity:0;
  box-shadow:0 0 14px #ffe4a7;
  transform:translateX(-50%);transition:left var(--apx-motion-card) cubic-bezier(.2,.82,.2,1),opacity var(--apx-motion-quick) ease;
  pointer-events:none;
}
.apx-site--hub .apx-hub-path[data-apx-hub-signal] .apx-hub-path__signal-track::before{opacity:1}
.apx-site--hub .apx-hub-main-card__top::before{
  content:"";position:absolute;top:-13px;left:0;width:min(46%,190px);height:2px;
  border-radius:3px;background:linear-gradient(90deg,var(--card-accent),var(--hub-c));
  box-shadow:0 0 15px color-mix(in srgb,var(--card-accent) 32%,transparent);
  opacity:.22;transform:scaleX(.38);transform-origin:0 50%;
  transition:transform var(--apx-motion-card) cubic-bezier(.2,.82,.2,1),opacity var(--apx-motion-quick) ease;
  pointer-events:none;
}
.apx-site--hub .apx-hub-main-card[data-apx-hub-highlight] .apx-hub-main-card__top::before{
  opacity:1;transform:scaleX(1);
}

@media(max-width:1120px){
  .apx-site--hub .apx-hub-path__signal-selection,
  .apx-site--hub .apx-hub-path__signal-track::after,
  .apx-site--hub .apx-hub-path__signal-track::before,
  .apx-site--hub .apx-hub-main-card__top::before{transition:none}
}
@media(max-width:760px){.apx-site--hub .apx-hub-path__signal{display:none}}
@media(prefers-reduced-motion:reduce){
  .apx-site--hub .apx-hub-path__signal-selection,
  .apx-site--hub .apx-hub-path__signal-track::after,
  .apx-site--hub .apx-hub-path__signal-track::before,
  .apx-site--hub .apx-hub-main-card__top::before{transition:none}
}

.apx-site--hub .apx-hub-path__heading .apx-eyebrow{font-size:10px}
.apx-site--hub .apx-hub-path__heading h2{margin:8px 0 8px;font-size:clamp(29px,3vw,47px);line-height:1.13;letter-spacing:-.05em;color:#fff}
.apx-site--hub .apx-hub-path__heading p{margin:0;color:#c3d4e6;font-size:15px;line-height:1.65}
.apx-site--hub .apx-hub-path__items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,17px);counter-reset:apx-hub}
.apx-site--hub .apx-hub-path__item{display:flex;align-items:center;gap:17px;min-width:0;min-height:80px;padding:16px clamp(14px,1.8vw,24px);border-radius:14px;border:1px solid color-mix(in srgb,var(--hub-a) 31%,transparent);background:url("../assets/aplike-data-plane.svg") right -105px center / 280px auto no-repeat,linear-gradient(110deg,#213149a8,#1d2a4373);color:#f1f7ff;text-decoration:none;box-shadow:inset 0 1px #ffffff0d;transition:translate var(--apx-motion-card) cubic-bezier(.19,.82,.21,1),border-color var(--apx-motion-card),background-color var(--apx-motion-card),box-shadow var(--apx-motion-card)}
.apx-site--hub .apx-hub-path__item:hover,.apx-site--hub .apx-hub-path__item.is-inview{translate:6px 0;border-color:var(--hub-a);box-shadow:0 12px 25px #0005,0 0 25px color-mix(in srgb,var(--hub-a) 15%,transparent);background:linear-gradient(120deg,#244157,#28334f)}
@media(max-width:1120px){.apx-site--hub .apx-hub-body.apx-service-story{background:none}.apx-site--hub .apx-hub-path__item{background:linear-gradient(110deg,#213149a8,#1d2a4373)}}
.apx-site--hub .apx-hub-path__index{font:800 13px/1 ui-monospace,Consolas,monospace;letter-spacing:.08em;flex:none;color:var(--hub-c)}
.apx-site--hub .apx-hub-path__name{font-size:clamp(14px,1.2vw,18px);font-weight:750;line-height:1.35;min-width:0;flex:1;color:#f3fbff}
.apx-site--hub .apx-hub-path__arrow{font-size:20px;flex:none;color:var(--hub-a);transition:transform var(--apx-motion-quick)}
.apx-site--hub .apx-hub-path__item:hover .apx-hub-path__arrow{transform:translate(3px,-3px)}
/* TOC and article: editorial architecture, not service-page masonry. */
.apx-site--hub .apx-hub-reading h2[id]{position:relative;max-width:1100px;margin:clamp(53px,6vw,86px) 0 24px;padding:0 0 18px;border-bottom:1px solid color-mix(in srgb,var(--hub-a) 40%,transparent);font-size:clamp(33px,3.5vw,54px);color:#f8fcff;line-height:1.14;letter-spacing:-.05em}
.apx-site--hub .apx-hub-reading h2[id]::after{content:"";position:absolute;left:0;bottom:-2px;width:74px;height:3px;border-radius:4px;background:linear-gradient(90deg,var(--hub-a),var(--hub-b))}
.apx-site--hub .apx-hub-reading h3[id]{position:relative;margin:38px 0 17px;padding:15px 22px 15px 26px;border-left:3px solid var(--hub-a);border-radius:0 12px 12px 0;background:linear-gradient(90deg,color-mix(in srgb,var(--hub-a) 9%,transparent),transparent 84%);font-size:clamp(22px,2vw,32px);color:#f3fbff;transition:background-color var(--apx-motion-card),translate var(--apx-motion-card) cubic-bezier(.19,.82,.21,1),border-color var(--apx-motion-card)}
.apx-site--hub .apx-hub-reading h3[id]:hover{border-color:var(--hub-c);translate:6px 0}
.apx-site--hub .apx-hub-reading h3[id]+p{max-width:1050px}
.apx-site--hub .apx-hub-reading :is(ul,ol):not(.contextual-links) li:not(.contextual *){position:relative;}
@media(hover:hover) and (pointer:fine){.apx-site--hub .apx-hub-reading :is(ul,ol) li:not(.page-toc__item):not(.page-toc__subitem):hover{translate:7px 0}}
.apx-site--hub .apx-hub-reading :is(blockquote,pre){border-radius:16px;max-width:100%}
.apx-site--hub .apx-hub-reading a{color:var(--hub-a);text-decoration-color:color-mix(in srgb,var(--hub-a) 60%,transparent)}
.apx-site--hub .apx-hub-reading a:hover{color:var(--hub-c)}
/* Extended editorial sections may use Drupal paragraphs and stay fully visible. */
/* All child Drupal Views visible as a card directory; no JS carousel/tabs on HUBs. */

.apx-site--hub .apx-hub-catalog::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:repeating-radial-gradient(circle at 74% 24%,transparent 0 75px,#b5a6ff18 76px 77px,transparent 78px 150px);animation:apxHubOrbit 60s linear infinite;animation-play-state:var(--apx-ambient-play,running)}
.apx-site--hub .apx-hub-catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 27px;
  border-bottom: 1px solid #b5b2ea40;
  margin: 0 0 30px;
  position: relative;
}

.apx-site--hub .apx-hub-catalog__heading p{font-size:clamp(15px,1.1vw,17px);color:#d2d2e7;max-width:750px;margin:0;line-height:1.65}
.apx-site--hub .apx-hub-catalog__stamp{align-self:flex-start;font:750 10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.13em;color:var(--hub-c);white-space:nowrap}
/* The Views wrapper is display:contents; order metadata is assigned to actual
   block nodes, not assumed from nth-child of potentially nested Drupal divs. */
.apx-site--hub .apx-hub-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-auto-flow: row;
  align-items: stretch;
  gap: clamp(18px,2.3vw,30px);
  margin-top: clamp(26px,3vw,40px);
}
.apx-site--hub .apx-hub-catalog__grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.apx-site--hub .apx-hub-catalog__grid[data-count="3"] [data-apx-hub-slot="last"]{grid-column:1/-1}
.apx-site--hub .apx-hub-catalog__grid--many{grid-template-columns:repeat(12,minmax(0,1fr))}
.apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-slot]{grid-column:span 4}
.apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-slot="lead"]{grid-column:span 7}
.apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-slot="companion"]{grid-column:span 5}
.apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-slot="half"]{grid-column:span 6}
@media(max-width:1100px){
 .apx-site--hub .apx-hub-catalog__grid--many{grid-template-columns:repeat(2,minmax(0,1fr))}
 .apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-slot]{grid-column:auto}
 .apx-site--hub .apx-hub-catalog__grid--many [data-apx-hub-last="true"]{grid-column:1/-1}
 .apx-site--hub .apx-hub-catalog__grid--many[data-parity="even"] [data-apx-hub-last="true"]{grid-column:auto}
}
@media(max-width:800px){
 .apx-site--hub .apx-hub-catalog__grid,.apx-site--hub .apx-hub-catalog__grid--many{grid-template-columns:minmax(0,1fr)}
 .apx-site--hub .apx-hub-catalog__grid [data-apx-hub-slot]{grid-column:1/-1}
}

/* A short three-item Views directory also fits one row on wide screens.
   Keep the more spacious 2+1 arrangement on smaller displays. */
@media(min-width:1200px){
 .apx-site--hub .apx-hub-catalog__grid[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
 .apx-site--hub .apx-hub-catalog__grid[data-count="3"] [data-apx-hub-slot="last"]{grid-column:auto}
}

/* Only Views wrappers become transparent to the grid, never a service card.
   This works for both single and nested Drupal Views wrappers. */
.apx-site--hub .apx-hub-catalog__grid div:not(.apx-hub-directory-card):has(.apx-hub-directory-card){display:contents}

.apx-site--hub .apx-hub-catalog__grid .views-field-field-image :is(picture,img){display:block;width:100%;height:auto}

.apx-site--hub .apx-hub-catalog__grid .views-field-body a{color:var(--hub-a);font-weight:750;text-decoration-thickness:1px}


.apx-site--hub .apx-hub-catalog__grid .views-field-title a:focus-visible,.apx-site--hub .apx-hub-path__item:focus-visible{outline:3px solid var(--hub-c);outline-offset:4px}
/* Spatial focus uses outline and does not change the Masonry/card measurements. */
.apx-site--hub .apx-hub-catalog__grid .views-row:focus-within{
 outline:2px solid var(--hub-a);outline-offset:2px;border-radius:13px}

@media(max-width:950px){.apx-site--hub .apx-hero__copy h1{font-size:clamp(42px,5.5vw,68px)}}
@media(max-width:760px){.apx-site--hub .apx-hub-path__items,.apx-site--hub .apx-extended-grid,.apx-site--hub .apx-chapter-grid,.apx-site--hub .apx-hub-meta{grid-template-columns:1fr}.apx-site--hub .apx-hub-body__topline span:last-child{display:none}.apx-site--hub .apx-hub-catalog__stamp{display:none}.apx-site--hub .apx-hub-body{padding-top:35px}.apx-site--hub .apx-hero__copy{padding-block:45px 12px}.apx-site--hub .apx-hero__grid{min-height:0}.apx-site--hub .apx-hero__media{height:270px}.apx-site--hub .apx-hub-path__item{min-height:73px}.apx-site--hub .apx-hub-reading h3[id]{font-size:22px}.apx-site--hub .apx-hub-reading h2[id]{font-size:32px}}
@media(max-width:470px){.apx-site--hub .apx-hub-body>.apx-container{width:min(calc(100% - 32px),var(--apx-width))}.apx-site--hub .apx-hub-path__item{padding:14px}}
@media(prefers-reduced-motion:reduce){.apx-site--hub :is(.apx-hero,.apx-hub-body,.apx-hub-catalog)::before,.apx-site--hub .apx-hub-body.apx-service-story::after,.apx-site--hub .apx-intro-scene__visual::after{animation:none}.apx-site--hub .apx-hub-body{animation:none}.apx-site--hub .apx-hub-path__item,.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card{transition:none}}

.apx-site--hub .apx-hub-path__heading>.apx-eyebrow,.apx-site--hub .apx-hub-path__heading>.apx-hub-path__title,.apx-site--hub .apx-hub-path__heading>p{grid-column:1}
.apx-site--hub .apx-hub-path__heading>.apx-hub-path__title{margin:6px 0 6px;padding:0;border:0;max-width:none;color:#fff;font-size:clamp(31px,3.8vw,57px);line-height:1.08;letter-spacing:-.047em}
.apx-site--hub .apx-hub-path__heading>.apx-hub-path__title::after{content:none;display:none}
.apx-site--hub .apx-hub-path__heading>p{margin:0;max-width:880px;color:#caddec;font-size:clamp(14px,1.1vw,17px);line-height:1.62}

.apx-site--hub .apx-hub-path__mode:hover,.apx-site--hub .apx-hub-path__mode[aria-pressed="true"]{border-color:var(--hub-c);color:var(--hub-c);box-shadow:0 0 28px color-mix(in srgb,var(--hub-c) 18%,transparent)}
.apx-site--hub .apx-hub-path__mode:focus-visible{outline:3px solid #ffecab;outline-offset:3px}
.apx-site--hub .apx-hub-path__editorial{margin:12px 0 24px;padding-left:15px;border-left:2px solid var(--hub-a);max-width:1040px}
.apx-site--hub .apx-hub-path__editorial>h2[id]{margin:0 0 9px;padding:0;border:0;font-family:inherit;font-size:clamp(15px,1.5vw,20px);font-weight:800;line-height:1.35;letter-spacing:-.01em;color:var(--hub-c)}
.apx-site--hub .apx-hub-path__editorial>h2[id]::after{display:none}
.apx-site--hub .apx-hub-path__editorial>p{font-size:clamp(14px,1.04vw,16px);line-height:1.72;color:#cddfec;margin:0 0 10px}
.apx-site--hub .apx-hub-path .apx-hub-directions{margin:26px 0 0}

.apx-site--hub .apx-hub-path--boost .apx-hub-main-card::after{animation-duration:5s;box-shadow:0 0 0 30px color-mix(in srgb,var(--card-accent) 11%,transparent),0 0 0 61px color-mix(in srgb,var(--card-accent) 7%,transparent)}
.apx-site--hub .apx-hub-path--boost .apx-hub-main-card__icon{box-shadow:inset 0 1px #ffffff42,0 12px 28px #0004,0 0 40px color-mix(in srgb,var(--card-accent) 44%,transparent)}


/* Additional Information uses service-style chapter panels, not directions cards. */
.apx-site--hub .apx-disclosure--extra .apx-extended-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,23px);margin:20px 0 18px;align-items:start}
.apx-site--hub .apx-disclosure--extra .apx-extended-section {min-width:0;position:relative;display:block;padding:var(--apx-editorial-inset,clamp(20px,2.4vw,35px));margin:0;border:1px solid #8fc6dc45;border-radius:18px;background:linear-gradient(140deg,#1c2b40,#19253b 68%,#24243d);box-shadow:0 12px 36px #05091444,inset 0 1px #ffffff14;padding-top:var(--apx-editorial-inset,clamp(20px,2.4vw,35px));
  transition:border-color var(--apx-motion-disclosure) cubic-bezier(.19,.82,.21,1),box-shadow var(--apx-motion-disclosure) cubic-bezier(.19,.82,.21,1),translate var(--apx-motion-disclosure) cubic-bezier(.19,.82,.21,1),transform var(--apx-motion-disclosure) cubic-bezier(.19,.82,.21,1);}
.apx-site--hub .apx-disclosure--extra .apx-extended-section:nth-child(3n/**/+2){background:linear-gradient(140deg,#183746,#1b243c)}
.apx-site--hub .apx-disclosure--extra .apx-extended-section:nth-child(3n){background:linear-gradient(140deg,#302543,#192b3b)}
.apx-site--hub .apx-disclosure--extra .apx-extended-section:hover{border-color:#76f9dd91;box-shadow:0 15px 44px #0005,0 0 29px #70fbdf1c;}
.apx-site--hub .apx-disclosure--extra .apx-extended-section :is(h2,h3){margin:0 0 19px;padding:0;border:0;max-width:none;letter-spacing:-.03em;font-size:clamp(22px,2vw,29px);color:#f9fcff;background:none;translate:none;line-height:1.22}
.apx-site--hub .apx-disclosure--extra .apx-extended-section :is(h2,h3)::after{display:none}
.apx-site--hub .apx-disclosure--extra .apx-extended-section p{font-size:clamp(16px,1.2vw,18px);line-height:1.78;color:#d8e6f2}
.apx-site--hub .apx-disclosure--extra .apx-extended-section :is(ul,ol){display:block;list-style:none;columns:auto;margin:14px 0;padding:0}

.apx-site--hub .apx-hub-extra-card__icon{display:grid;place-items:center;width:47px;height:47px;margin:0 0 15px;border:1px solid color-mix(in srgb,var(--hub-a) 45%,transparent);border-radius:14px;background:linear-gradient(145deg,#7debd53e,#a9a0ed22);color:var(--hub-a);box-shadow:0 7px 24px #0106104d}
.apx-site--hub .apx-hub-extra-card__icon svg{width:25px;height:25px}
/* Section stays meaningful without JavaScript: no hiding content. */

/* Catalog adopts the same typography and editorial hierarchy as "Решения рядом". */

.apx-site--hub .apx-hub-catalog__heading.apx-related__header{display:block;border:0;padding:0;margin:0 0 12px;max-width:100%}
.apx-site--hub .apx-hub-catalog__heading h2{
  font-size: clamp(38px,5vw,72px);
  line-height: 1.06;
  letter-spacing: -.055em;
  margin: 13px 0 0;
  color: #fff;
  max-width: none;
}
.apx-site--hub .apx-hub-catalog__heading h2 .apx-mark{color:#ffdf65}
.apx-site--hub .apx-editorial-signal--hub{margin:5px 0 9px;color:#ccd9ea;font-size:clamp(14px,1.04vw,16px);line-height:1.7;max-width:760px}
.apx-site--hub .apx-region-code--hub{display:block;margin:0 0 31px;color:var(--hub-c);font-size:11px;letter-spacing:.14em}


.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:is(:hover,:focus-within)::after{transform:rotate(40deg) scale(1.12);opacity:1}

@media(max-width:760px){.apx-site--hub .apx-disclosure--extra .apx-extended-grid{grid-template-columns:1fr}.apx-site--hub .apx-hub-meta{grid-template-columns:1fr}}
@media(max-width:600px){.apx-site--hub .apx-hub-path__editorial{padding-left:10px}}
@media(prefers-reduced-motion:reduce){.apx-site--hub .apx-hub-path--boost .apx-hub-main-card::after{animation:none}.apx-site--hub .apx-disclosure--extra .apx-extended-section{transition:none;transform:none}}

/* Display ALL original text. Neither editorial nor Views content
   has a height limit or clamp. This section intentionally overrides any
   inherited text-clipping styling on the hub only. */
.apx-site--hub .apx-hub-main-card,
.apx-site--hub .apx-hub-main-card>p,
.apx-site--hub .apx-hub-main-card :is(ul,ol,li),
.apx-site--hub .apx-hub-path__editorial,
.apx-site--hub .apx-hub-directory-card .views-field-body,
.apx-site--hub .apx-hub-directory-card .views-field-field-body,
.apx-site--hub .apx-hub-directory-card .views-field-field-body .field-content,
.apx-site--hub .apx-hub-directory-card .views-row{
  max-height:none;
  height:auto;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  text-overflow:clip;
  white-space:normal;
}
.apx-site--hub .apx-hub-main-card :is(h3,p,li,a),
.apx-site--hub .apx-hub-directory-card :is(p,li,a){
  overflow-wrap:anywhere;hyphens:auto;
}
.apx-site--hub .apx-hub-directory-card .views-field-field-body .field-content{overflow:visible;display:block}
.apx-site--hub .apx-hub-directory-card .views-field-body{overflow:visible;opacity:1;visibility:visible}

/* Idle rocking: the transform for hover lift and CSS rotate/translate are
   independent, so pointer interaction does not fight the sway animation.
   The amplitude is deliberately small to preserve legibility. */
@keyframes apxHubGentleRock{
  0%,100%{rotate:-.3deg;translate:0 0;background-position:3% 18%}
  26%{rotate:-.3deg;translate:0 0;background-position:26% 58%}
  40%{rotate:.4deg;translate:0 -4px;background-position:78% 62%}
  55%{rotate:-.3deg;translate:0 0;background-position:97% 81%}
  79%{rotate:-.3deg;translate:0 0;background-position:47% 35%}
  91%{rotate:.23deg;translate:0 -3px;background-position:12% 88%}
}
.apx-site--hub .apx-hub-directions>.apx-hub-main-card {
  animation: apxHubGentleRock 28s ease-in-out infinite;
  animation-play-state: var(--apx-ambient-play,running);
  animation-delay: calc(var(--apx-card-i, 0) * -3.7s - 2s);
  transform-origin: 50% 56%;
  border-radius: 25px;
}
@media screen and (min-width:1121px) and (prefers-reduced-motion:no-preference){
  .apx-site--hub .apx-hub-directions>.apx-hub-main-card{will-change:rotate,translate}
}
.apx-site--hub .apx-hub-directions>.apx-hub-main-card:nth-child(2n){animation-duration:34s}
.apx-site--hub .apx-hub-directions>.apx-hub-main-card:nth-child(3n){animation-duration:39s}
.apx-site--hub .apx-hub-directions>.apx-hub-main-card:hover,
.apx-site--hub .apx-hub-directions>.apx-hub-main-card:focus-within{animation-play-state:paused;transform:perspective(1300px) rotateX(var(--apx-tilt-x,0deg)) rotateY(var(--apx-tilt-y,0deg)) scale(1.012)}
.apx-site--hub .apx-hub-path--boost .apx-hub-directions>.apx-hub-main-card{animation-duration:6s}
.apx-site--hub .apx-hub-main-card__icon:after{content:"";position:absolute;inset:-7px;border:1px dashed color-mix(in srgb,var(--card-accent) 35%,transparent);border-radius:21px;animation:apxHubIconOrbit 16s linear infinite;animation-play-state:var(--apx-ambient-play,running);pointer-events:none}
@keyframes apxHubIconOrbit{to{rotate:360deg}}

.apx-site--hub .apx-hub-main-card:before{background:radial-gradient(circle at var(--apx-pointer-x) var(--apx-pointer-y),color-mix(in srgb,var(--card-accent) 25%,transparent),transparent 58%),linear-gradient(135deg,color-mix(in srgb,var(--card-accent) 16%,transparent),transparent 67%)}

.apx-site--hub .apx-hub-catalog{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px,3.1vw,44px) 0 clamp(48px,6vw,86px);
  background:transparent;
}


.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card::before {
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  opacity:.8;transition:opacity var(--apx-motion-card);z-index:0;
  background:
    linear-gradient(128deg,#ffffff14 0%,transparent 27%,transparent 68%,#ffffff07 100%),
    radial-gradient(circle at var(--apx-catalog-x) var(--apx-catalog-y),color-mix(in srgb,var(--apx-catalog-accent) 18%,transparent),transparent 52%);
}
.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card::after{
  content: "";
  position: absolute;
  inset: auto -40px -85px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb,var(--hub-a) 36%,transparent);
  box-shadow: 0 0 0 25px #9ee6dc05,0 0 0 54px #bba5ff04;
  pointer-events: none;
  transition: transform var(--apx-motion-card) ease,opacity var(--apx-motion-card) ease;
  opacity: .5;
  animation: apxHubCardHalo 22s ease-in-out infinite alternate;animation-play-state:var(--apx-ambient-play,running);
  z-index: 0;
}
.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card :is(.views-element-container,.views-row,.views-field){position:relative;z-index:1;min-width:0}
.apx-site--hub .apx-hub-catalog__grid .views-row{
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
  gap: 0;
}
.apx-site--hub .apx-hub-catalog__grid .views-field-title{
  font-weight: 800;
  font-size: clamp(21px,2vw,30px);
  line-height: 1.24;
  letter-spacing: -.035em;
  margin: 0 0 20px ;
  color: #f7fbff;
}

.apx-site--hub .apx-hub-catalog__grid .views-field-title a{
  color: #f8fbff ;
  text-decoration: none;
  font-size: clamp(23px,2vw,31px) ;
  line-height: 1.25;
  transition: color var(--apx-motion-quick);
}
.apx-site--hub .apx-hub-catalog__grid .views-field-title a:is(:hover,:focus-visible){
  color: var(--apx-catalog-accent) ;
}
.apx-site--hub .apx-hub-catalog__grid .views-field-field-image{
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  margin: 0 0 21px ;
  border: 1px solid #c1d6fb33;
  background: #081a2c;
  padding: 0;
  box-shadow: 0 14px 30px #0005;
  border-color: color-mix(in srgb,var(--apx-catalog-accent) 25%,transparent);
}


.apx-site--hub .apx-hub-catalog__grid .views-field-field-body{padding:0;flex:1}
.apx-site--hub .apx-hub-catalog__grid .views-field-body{
  color: #e0e9f4;
  font-size: clamp(14px,1.05vw,16px);
  line-height: 1.8;
}
.apx-site--hub .apx-hub-catalog__grid .views-field-body :is(p,ul,ol){
  margin: 0 0 13px;
}
.apx-site--hub .apx-hub-directory-card__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:21px 0 0;border-top:1px solid #c5e1f62f}

.apx-site--hub .apx-hub-directory-card__link{display:inline-flex;align-items:center;gap:10px;padding:11px 15px;border-radius:99px;background:color-mix(in srgb,var(--apx-catalog-accent) 15%,#16283d);border:1px solid color-mix(in srgb,var(--apx-catalog-accent) 43%,transparent);color:#f5fbff;font-size:13px;font-weight:760;text-decoration:none;transition:background var(--apx-motion-quick),box-shadow var(--apx-motion-quick),transform var(--apx-motion-quick)}
.apx-site--hub .apx-hub-directory-card__link:hover,.apx-site--hub .apx-hub-directory-card__link:focus-visible{background:color-mix(in srgb,var(--apx-catalog-accent) 28%,#16283d);box-shadow:0 0 25px color-mix(in srgb,var(--apx-catalog-accent) 22%,transparent);transform:translateX(3px)}
.apx-site--hub .apx-hub-directory-card__link:focus-visible{outline:2px solid var(--apx-catalog-accent);outline-offset:3px}
@media(max-width:800px){.apx-site--hub .apx-hub-directory-card__footer{padding-top:18px}}
@media(prefers-reduced-motion:reduce){
  .apx-site--hub .apx-hub-directions>.apx-hub-main-card,
  .apx-site--hub .apx-hub-main-card::after,
  .apx-site--hub .apx-hub-main-card__icon::after,
  .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card::after{animation:none;rotate:0;translate:none}
  .apx-site--hub .apx-hub-directions>.apx-hub-main-card:hover,
  .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:is(:hover,:focus-within){transform:none;translate:none}
}

/* Full-length intro stays in the original Drupal DOM. */
.apx-site--hub .apx-intro-scene__copy p{
  font-size:inherit;line-height:1.8;letter-spacing:normal;
  font-weight:400;color:#e4edf8;margin:0 0 13px
}
.apx-site--hub .apx-intro-scene__copy p:last-child{margin-bottom:0}
.apx-site--hub .apx-intro-scene__copy :is(ul,ol,blockquote,figure,pre,table){margin:10px 0;max-width:100%;overflow-wrap:break-word}

/* The original nav.page-toc is placed after the directory; rating remains in the contact region. */
.apx-site--hub .apx-hub-meta{
  display: block;
  margin: 32px 0 38px;
}
.apx-site--hub .apx-hub-meta>.page-toc{margin:0}
.apx-site--hub .apx-hub-meta>.page-toc>.apx-disclosure--toc{margin:0}

/* Additional Information has one layout owner: the measured grid in
   editorial-motion.css. The earlier grid declaration above is its JS-free
   fallback; avoid competing CSS multi-columns and column-span overrides. */

/* Compact directory micro-labels without old editorial prefixes. */
.apx-site--hub .apx-hub-catalog__grid .views-field-title::before{
  content: "◆  УСЛУГА" ;
  display: block;
  font: 750 9px/1 ui-monospace,Consolas,monospace;
  letter-spacing: .14em;
  color: var(--apx-catalog-accent);
  margin: 0 0 16px;
}
.apx-site--hub .apx-hub-directory-card__code{
  color: var(--apx-catalog-accent);
  font: 750 10px/1.3 ui-monospace,Consolas,monospace;
  letter-spacing: .17em;
  font-size: 12px;
}

/* Original H3 belongs inside its H2 chapter, not a separate tile. */
.apx-site--hub .apx-disclosure--extra .apx-extended-section :is(h3,h3[id]){
  color:#ffdf65;font-size:clamp(19px,1.55vw,24px);
  line-height:1.32;font-weight:800;
  padding:0 0 0 15px;margin:26px 0 10px;
  border:0;border-left:3px solid #ffe08a;border-radius:0;
  background:transparent;letter-spacing:-.018em;
}
.apx-site--hub .apx-disclosure--extra .apx-extended-section :is(h3,h3[id]):hover{
  color:#fff4b5;text-shadow:0 0 22px #ffdc6960;
}
/* The shared editorial card owns a fixed hitbox; hover keeps border glow only. */


.apx-site--hub .apx-hub-path--boost .apx-hub-directions>.apx-hub-main-card:not(:hover):not(:focus-within){animation-play-state:var(--apx-ambient-play,running)}
/* One shared hover cadence across HUB catalog and service cards. */

.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:hover,
.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:focus-within{
  transform: perspective(1300px) rotateX(var(--apx-tilt-x,0deg)) rotateY(var(--apx-tilt-y,0deg)) scale(1.012) ;
  border-color: var(--apx-catalog-accent);
  box-shadow: 0 34px 74px #0008,0 0 33px color-mix(in srgb,var(--apx-catalog-accent) 15%,transparent);
}
.apx-site--hub .apx-hub-catalog__grid .views-field-title a,
.apx-site--hub .apx-hub-catalog__grid .views-field-field-image img{
 transition:transform var(--apx-motion-quick) cubic-bezier(.32,.05,.2,1),filter var(--apx-motion-quick) ease,color var(--apx-motion-quick) ease;
}

/* Catalog image breathing is independent of hover image zoom. */
.apx-site--hub .apx-hub-catalog__grid .views-field-field-image picture{
 animation:apxHubCatalogDrift 16s ease-in-out infinite alternate;animation-play-state:var(--apx-ambient-play,running);transform-origin:center;
}
@keyframes apxHubCatalogDrift{from{transform:scale(1)}to{transform:scale(1.027)}}
.apx-site--hub .apx-hub-catalog__grid .views-field-field-image img{
  object-fit: contain ;
  aspect-ratio: 40/21;
  height: auto ;
  transition: transform var(--apx-motion-card) cubic-bezier(.16,.8,.2,1),filter var(--apx-motion-card);
  display: block;
  width: 100%;
  max-height: none ;
  object-position: center;
  filter: saturate(1.05);
  animation: none ;
  transform: scale(1) ;
}
.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:is(:hover,:focus-within) .views-field-field-image img{transform:scale(1.078);filter:brightness(1.14) saturate(1.14)}
@media(prefers-reduced-motion:reduce){.apx-site--hub .apx-hub-catalog__grid .views-field-field-image picture{animation:none;transform:none}.apx-site--hub .apx-hub-catalog__grid .views-field-field-image img{transform:none;transition:none}}

/* Smooth cursor tracking without instant radial-gradient jumps. */
@property --apx-catalog-x{syntax:"<percentage>";inherits:true;initial-value:52%}
@property --apx-catalog-y{syntax:"<percentage>";inherits:true;initial-value:36%}
.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card{
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: clamp(20px,2.35vw,34px) ;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb,var(--apx-catalog-accent) 45%,transparent);
  background: linear-gradient(141deg,#1d344a,#1a2a45 65%,#1b2540);
  box-shadow: 0 20px 48px #0005,inset 0 1px #ffffff20;
  transition: transform var(--apx-motion-card) cubic-bezier(.2,.8,.2,1),border-color var(--apx-motion-card) ease,box-shadow var(--apx-motion-card) ease,
            background-color var(--apx-motion-card) ease,opacity var(--apx-motion-card) ease,filter var(--apx-motion-card) ease,
            --apx-catalog-x var(--apx-motion-card) ease-out,--apx-catalog-y var(--apx-motion-card) ease-out ;
  overflow: visible ;
  --apx-catalog-accent: var(--hub-a);
  --apx-catalog-x: 52%;
  --apx-catalog-y: 36%;
  isolation: isolate;
  height: auto;
  display: flex;
  flex-direction: column;
}
@media(max-width:470px){.apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card{padding:17px}}
/* The base card now owns only the default tone. These variants follow it,
   so the common rule cannot override the violet/gold colors and surfaces. */
.apx-site--hub .apx-hub-catalog__grid [data-apx-hub-tone="violet"]{
  --apx-catalog-accent:var(--hub-b);
  background:linear-gradient(140deg,#2b2b4d,#242a43 63%,#1d2a43);
}
.apx-site--hub .apx-hub-catalog__grid [data-apx-hub-tone="gold"]{
  --apx-catalog-accent:var(--hub-c);
  background:linear-gradient(140deg,#343045,#2a2b40 64%,#1a2d40);
}
.apx-site--hub .apx-hub-catalog__grid:has(.apx-hub-directory-card:is(:hover,:focus-within))
 .apx-hub-directory-card:not(:hover):not(:focus-within){opacity:.91;filter:saturate(.88) brightness(.96)}
@media(prefers-reduced-motion:reduce){
 .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:is(:hover,:focus-within) {
  transition: none;
  filter: none;
  opacity: 1;
  transform: none;
}
}

@media(max-width:680px){
 .apx-site--hub .apx-hub-path__items{grid-template-columns:minmax(0,1fr)}
 .apx-site--hub .apx-hub-path__item{min-height:68px}
}
@media(prefers-reduced-motion:reduce){
 .apx-site--hub .apx-hub-path__item{transition:none}
}

/* Native Views catalogue cards use independent ambient translation.
   Transform remains reserved for cursor tilt and keyboard focus. */
@keyframes apxCatalogSway {
  0%, 100% { translate: 0 0; }
  25% { translate: 0 -4px; }
  52% { translate: 0 2px; }
  76% { translate: 0 -2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card {
    animation: apxCatalogSway var(--apx-directory-cadence, 19s) ease-in-out infinite;animation-play-state:var(--apx-ambient-play,running);
    /* Views wrappers mean :nth-child does not reflect the card order. The
       index and cadence are assigned to each real Drupal block by hub.js. */
    animation-delay: calc(var(--apx-directory-i, 0) * -2.7s - 1s);
  }
  .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card:is(:hover,:focus-within) {
    /* Hold the exact in-flight sway phase. Hover tilt uses transform. */
    animation-play-state: paused;
  }
}
/* Ambient glass reflection is contained inside the existing card pseudo-element. */
@media(prefers-reduced-motion:reduce) {
  .apx-site--hub .apx-hub-catalog__grid .apx-hub-directory-card { animation:none;translate:none; transition:none; }
  .apx-site--hub .apx-hub-catalog__grid .views-field-field-image :is(picture,img) {animation:none;transform:none;transition:none;}
}


/* HUB catalog spacing; canonical component ownership. */
/* Same consistent space after decorative EN caption, on HUB and service sections. */

/* RC9 / hub catalogue hierarchy: local mint-gold registration, not more motion handlers. */
.apx-site--hub .apx-hub-catalog__heading::after{content:"";display:block;width:clamp(86px,14vw,170px);height:2px;margin-top:16px;
 background:linear-gradient(90deg,var(--hub-a,#88f3db),var(--hub-c,#ffe18a),transparent)}
