/* Commercial hub: /uslugi/ — scoped. Tokens only from main.css. */

article.page-services-hub {
  --ush-compose: 1280px;
  --ush-read: 42rem;
  --ush-gutter: 1.25rem;
  --ush-anchor: calc(var(--site-header-h, 56px) + 0.85rem);
  color: var(--ink);
}

html:has(article.page-services-hub),
body.page-services-hub,
body.page-services-hub .page-shell--spine,
body.page-services-hub .page-content {
  overflow-x: clip;
}

@media (min-width: 1101px) {
  body.page-services-hub .page-shell--spine {
    width: 100%;
    max-width: none;
  }

  .page-shell--spine .page-content > article.page-services-hub {
    padding-left: 0;
  }
}

article.page-services-hub .ush-inner {
  width: min(100%, var(--ush-compose));
  margin-inline: auto;
  padding-inline: var(--ush-gutter);
  box-sizing: border-box;
  container-type: inline-size;
  container-name: ush;
}

@media (min-width: 1101px) {
  article.page-services-hub .ush-inner {
    width: min(100%, calc(var(--ush-compose) + var(--spine-w)));
    padding-left: max(var(--ush-gutter), calc(var(--spine-w) + 1rem));
    padding-right: var(--ush-gutter);
  }
}

article.page-services-hub .ush-read {
  max-width: var(--ush-read);
}

article.page-services-hub section[id] {
  scroll-margin-top: var(--ush-anchor);
}

article.page-services-hub h1,
article.page-services-hub h2,
article.page-services-hub h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: break-word;
}

article.page-services-hub p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.58;
}

article.page-services-hub a:not(.btn) {
  color: var(--brand-deep);
}

article.page-services-hub a.btn--accent,
article.page-services-hub a.btn--accent:visited,
article.page-services-hub a.btn--accent:hover,
article.page-services-hub a.btn--accent:focus-visible {
  color: var(--white);
}

article.page-services-hub a:focus-visible,
article.page-services-hub button:focus-visible,
article.page-services-hub summary:focus-visible,
article.page-services-hub input:focus-visible,
article.page-services-hub textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

article.page-services-hub .ush-h1 {
  margin: 0 0 0.95rem;
  max-width: var(--ush-read);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
}

article.page-services-hub .ush-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.12rem, 1.02rem + 0.85cqi, 1.48rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 22em;
}

article.page-services-hub h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.28;
}

article.page-services-hub .ush-lead,
article.page-services-hub .ush-deck {
  max-width: var(--ush-read);
}

article.page-services-hub .ush-text-link {
  font-size: 0.98rem;
  text-underline-offset: 0.18em;
}

article.page-services-hub .ush-cta-row {
  margin: 1.35rem 0 0;
}

article.page-services-hub .ush-cta-row .btn {
  min-height: var(--tap);
}

/* ——— Intro: same rhythm as other pages, no photo banner ——— */
article.page-services-hub .ush-hero {
  position: relative;
  padding: 1.6rem 0 2.1rem;
  text-align: left;
}

article.page-services-hub .ush-hero .breadcrumbs {
  margin-bottom: 0.85rem;
}

article.page-services-hub .ush-lead {
  max-width: var(--ush-read);
  text-align: left;
}

/* Motion tokens + scene reveal */
article.page-services-hub {
  --motion-base: 320ms;
  --motion-slow: 720ms;
  --stagger: 90ms;
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

article.page-services-hub.ush-motion [data-ush-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--motion-slow) var(--ease-out-soft),
    transform var(--motion-slow) var(--ease-out-soft);
}

article.page-services-hub [data-ush-scene].is-inview [data-ush-reveal] {
  opacity: 1;
  transform: none;
}

article.page-services-hub [data-ush-scene].is-inview [data-ush-reveal]:nth-child(2) { transition-delay: var(--stagger); }
article.page-services-hub [data-ush-scene].is-inview [data-ush-reveal]:nth-child(3) { transition-delay: calc(var(--stagger) * 2); }
article.page-services-hub [data-ush-scene].is-inview [data-ush-reveal]:nth-child(4) { transition-delay: calc(var(--stagger) * 3); }

/* Choice map: editorial index, not cards */
article.page-services-hub .ush-choice {
  padding: 2.5rem 0 3rem;
}

article.page-services-hub .ush-map {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

article.page-services-hub .ush-map__question {
  padding: 0;
}

article.page-services-hub .ush-map__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-muted);
}

article.page-services-hub .ush-map__question h3 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem);
  line-height: 1.15;
}

article.page-services-hub .ush-map__hint {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

article.page-services-hub .ush-map__branches {
  display: grid;
  gap: 1.9rem;
}

article.page-services-hub .ush-branch {
  border: 0;
  border-radius: 0;
  padding: 0.15rem 0 0.35rem;
  background: none;
}

article.page-services-hub .ush-branch--consult {
  border: 0;
  background: none;
}

article.page-services-hub .ush-branch__label {
  margin: 0 0 0.35rem;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

article.page-services-hub .ush-route {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.9rem;
  row-gap: 0.35rem;
  padding: 0.95rem 0.85rem 1rem;
  margin: 0 0 0.45rem;
  text-decoration: none;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  transition:
    background var(--motion-base) var(--ease-out-soft),
    border-color var(--motion-base) var(--ease-out-soft);
}

article.page-services-hub .ush-route:last-child {
  margin-bottom: 0;
}

article.page-services-hub .ush-route:hover,
article.page-services-hub .ush-route:focus-visible {
  background: color-mix(in srgb, var(--color-primary-soft) 48%, var(--color-surface-raised));
  border-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
}

article.page-services-hub .ush-route__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--color-gold) 62%, transparent);
  transition: color var(--motion-base) var(--ease-out-soft);
}

article.page-services-hub .ush-route:hover .ush-route__num,
article.page-services-hub .ush-route:focus-visible .ush-route__num {
  color: var(--color-gold);
}

article.page-services-hub .ush-route__body {
  display: block;
}

article.page-services-hub .ush-route__kind {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

article.page-services-hub .ush-route__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
  line-height: 1.25;
  color: var(--color-ink);
}

article.page-services-hub .ush-route__price {
  grid-column: 2;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-primary);
  white-space: nowrap;
}

@container ush (min-width: 52rem) {
  article.page-services-hub .ush-map {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.6fr);
    gap: 1.4rem 3rem;
    align-items: start;
  }

  article.page-services-hub .ush-map__question {
    position: sticky;
    top: 6rem;
  }

  article.page-services-hub .ush-route {
    grid-template-columns: 3.4rem minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.4rem;
    padding-block: 1.25rem;
  }

  article.page-services-hub .ush-route__num {
    font-size: 2.35rem;
  }

  article.page-services-hub .ush-route__price {
    grid-column: 3;
    justify-self: end;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  article.page-services-hub [data-ush-reveal],
  article.page-services-hub .ush-route {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ——— Hero proof + actions ——— */
article.page-services-hub .ush-proof {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  max-width: min(28rem, 100%);
}

article.page-services-hub .ush-proof li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.65rem;
  margin: 0;
  padding: 0.15rem 0;
  border: none;
  background: none;
  border-radius: 0;
}

article.page-services-hub .ush-proof__icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.1rem;
  border-radius: 0;
  background: none;
}

article.page-services-hub .ush-proof__icon img {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

article.page-services-hub .ush-proof__text {
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 600;
}

article.page-services-hub .ush-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  max-width: min(100%, 28rem);
}

article.page-services-hub .ush-hero__actions .btn {
  min-height: var(--tap);
  min-width: 11rem;
  border-radius: 0.85rem;
}

article.page-services-hub .ush-hero__actions .btn--request {
  width: 100%;
  min-width: 0;
}

article.page-services-hub .btn {
  border-radius: 0.85rem;
}

article.page-services-hub .ush-hero .ush-text-link {
  color: var(--brand-deep);
}

@container ush (min-width: 36rem) {
  article.page-services-hub .ush-hero__actions:not(:has(.btn--request)) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.35rem;
  }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  article.page-services-hub .ush-hero {
    padding: 1.2rem 0 1.5rem;
  }
}

/* ——— Local nav (mobile / tablet) ——— */
article.page-services-hub .ush-local-nav {
  display: none;
}

@media (max-width: 1100px) {
  article.page-services-hub .ush-local-nav {
    display: block;
    background: var(--bg);
  }

  article.page-services-hub .ush-local-nav .ush-inner {
    border-block: 1px solid var(--line);
  }

  article.page-services-hub .ush-local-nav summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    list-style: none;
  }

  article.page-services-hub .ush-local-nav summary::-webkit-details-marker {
    display: none;
  }

  article.page-services-hub .ush-local-nav summary::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    transform: rotate(45deg);
    flex: 0 0 auto;
  }

  article.page-services-hub .ush-local-nav details[open] summary::after {
    transform: rotate(225deg);
  }

  article.page-services-hub .ush-local-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0.55rem;
    display: grid;
    gap: 0.15rem;
  }

  article.page-services-hub .ush-local-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  }
}

/* ——— Work / process / fit ——— */
article.page-services-hub .ush-section {
  padding: 2.4rem 0;
}

article.page-services-hub .ush-work {
  display: grid;
  gap: 2rem;
  max-width: none;
}

article.page-services-hub .ush-work__block {
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

article.page-services-hub .ush-work__block--split {
  background: none;
  border: none;
}

article.page-services-hub .ush-work__block--bounds {
  padding: 1.15rem 0 1.15rem 1.2rem;
  border-left: 3px solid var(--color-gold);
  border-radius: 0;
  background: none;
  max-width: none;
}

article.page-services-hub .ush-work__block h3 {
  margin-top: 0;
}

article.page-services-hub .ush-pair {
  display: grid;
  gap: 1.2rem;
  margin: 0 0 1rem;
}

article.page-services-hub .ush-pair > div {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

@container ush (min-width: 42rem) {
  article.page-services-hub .ush-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 3rem;
  }

  article.page-services-hub .ush-pair > div + div {
    padding-left: 2rem;
    border-left: 1px solid color-mix(in srgb, var(--color-gold) 40%, var(--line));
  }

  article.page-services-hub .ush-work__block:not(.ush-work__block--split):not(.ush-work__block--bounds) {
    max-width: var(--ush-read);
  }
}

article.page-services-hub .ush-pair__label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-warm-deep);
}

article.page-services-hub .ush-thread {
  list-style: none;
  margin: 1.4rem 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: ush-step;
}

article.page-services-hub .ush-thread li {
  position: relative;
  counter-increment: ush-step;
  padding: 0.2rem 0 0.85rem 3.1rem;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

article.page-services-hub .ush-thread li::before {
  content: counter(ush-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gold);
}

article.page-services-hub .ush-thread strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

article.page-services-hub .ush-thread p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

@container ush (min-width: 52rem) {
  article.page-services-hub .ush-thread {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem 1.4rem;
  }

  article.page-services-hub .ush-thread li {
    padding: 0.85rem 0 1rem;
    border-bottom: 0;
    border-top: 2px solid var(--color-gold);
  }

  article.page-services-hub .ush-thread li::before {
    position: static;
    display: block;
    margin-bottom: 0.35rem;
  }
}

article.page-services-hub .ush-note {
  color: var(--color-text-muted);
}

/* ——— Cost: explanation, not tariff cards ——— */
article.page-services-hub .ush-starts {
  list-style: none;
  margin: 1.4rem 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

article.page-services-hub .ush-starts li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--ink);
  background: none;
}

article.page-services-hub .ush-starts li:nth-child(2),
article.page-services-hub .ush-starts li:nth-child(3) {
  background: none;
  border-color: var(--ink);
}

article.page-services-hub .ush-starts__role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

article.page-services-hub .ush-starts strong {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.12rem + 0.9cqi, 1.72rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

article.page-services-hub .ush-starts span:last-child {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

@container ush (min-width: 42rem) {
  article.page-services-hub .ush-starts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.5rem;
  }
}

article.page-services-hub .ush-factors-lead {
  margin: 0.4rem 0 0.45rem;
  font-size: 0.95rem;
}

article.page-services-hub .ush-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

article.page-services-hub .ush-factors li {
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.92rem;
}

article.page-services-hub .ush-fit {
  display: grid;
  gap: 1.6rem;
}

@container ush (min-width: 42rem) {
  article.page-services-hub .ush-fit {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
  }
}

article.page-services-hub .ush-geo {
  margin: 0.4rem 0 0.85rem;
  padding: 0;
  list-style: none;
}

article.page-services-hub .ush-geo li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

/* ——— Trust ——— */
article.page-services-hub .ush-trust {
  padding: 2.4rem 0;
}

article.page-services-hub .ush-trust__facts {
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: var(--ush-read);
}

article.page-services-hub .ush-trust__facts li {
  padding-left: 0.95rem;
  position: relative;
}

article.page-services-hub .ush-trust__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-gold);
}

/* ——— FAQ / contact ——— */
article.page-services-hub .ush-faq {
  border-top: 1px solid var(--ink);
  display: block;
}

article.page-services-hub .ush-faq details {
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  overflow: visible;
}

article.page-services-hub .ush-faq summary {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
}

article.page-services-hub .ush-faq summary::-webkit-details-marker {
  display: none;
}

article.page-services-hub .ush-faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

article.page-services-hub .ush-faq details[open] summary::after {
  transform: rotate(225deg);
}

article.page-services-hub .ush-faq__body {
  padding: 0 0 1rem;
  max-width: var(--ush-read);
}

article.page-services-hub .ush-faq__body p {
  margin: 0;
}

article.page-services-hub .ush-section--vcard {
  padding: 1.25rem 0 0.4rem;
}

article.page-services-hub .ush-section--vcard .karina-vcard {
  margin-top: 0;
  margin-inline: 0;
}

article.page-services-hub .ush-contact {
  padding: 2.6rem 0 3.2rem;
}

article.page-services-hub .ush-contact__lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.7cqi, 1.42rem);
  margin-bottom: 0.55rem;
}

article.page-services-hub .ush-contact .hero-request--inline {
  max-width: 32rem;
  margin-top: 1.2rem;
}

@media (max-width: 389px) {
  article.page-services-hub .ush-lead {
    font-size: 1rem;
    line-height: 1.48;
  }
}
