﻿/* ==========================================================================
   ProMarket ICE — Theme Base tokens + chrome
   Colors locked: Ice Blue / Deep Steel / Frost / Metal Line / Signal

   Z-INDEX SCALE DOCUMENTATION
   --------------------------------------------------------------------------
   1      : Background canvas / visual accents
   10     : Regular content / cards / media slots
   100    : Sticky section elements / local overlays
   1000   : Header (.pm-header)
   1050   : Mobile Nav Overlay (.pm-nav__overlay)
   1100   : Mobile Nav Drawer (.pm-nav__drawer / .pm-nav__list when .is-open)
   1500   : Process live sound badges / interactive overlays
   2000   : Cookie Consent Banner (.pm-cookie-banner)
   2050   : Back to Top button (.pm-back-top)
   2100   : Floating AI Chat FAB (.pm-chat)
   ========================================================================== */

:root {
  --pm-ice-blue: #0B6EB5;
  --pm-ice-blue-hover: #095A96;
  --pm-ice-blue-pressed: #074A7C;
  --pm-deep-steel: #101820;
  --pm-deep-steel-hover: #121820;
  --pm-frost: #C9D5E2;
  --pm-white: #FFFFFF;
  --pm-metal-line: #8FA0B0;
  --pm-signal: #0B8A80;
  --pm-signal-hover: #0B7F75;
  --pm-muted: #2A3844;
  --pm-surface-container: #B8C6D4;
  --pm-outline-variant: #A8B6C4;
  --pm-error: #B42318;
  --pm-focus-ring: #0B6EB5;

  --pm-font-display: "Geologica", system-ui, sans-serif;
  --pm-font-body: "Golos Text", "Noto Sans", system-ui, sans-serif;
  --pm-font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --pm-container: 1200px;
  --pm-pad: 32px;
  --pm-section-y: 60px;
  --pm-radius-sm: 4px;
  --pm-radius-md: 8px;
  --pm-radius-lg: 12px;
  --pm-header-h: 72px;
  --pm-cookie-stack-h: 0px;
  --pm-shadow-md: 0 8px 24px rgba(26, 35, 50, 0.08);
  --pm-transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 900px) {
  :root {
    --pm-header-h: 64px;
  }
}

@media (max-width: 768px) {
  :root {
    --pm-pad: 20px;
    --pm-section-y: 48px;
    --pm-header-h: 64px;
  }
}

@media (max-width: 480px) {
  :root {
    --pm-header-h: 60px;
    --pm-pad: 16px;
  }
}

h1,
h2,
h3,
section,
[id],
:target {
  scroll-margin-top: calc(var(--pm-header-h, 72px) + 8px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.no-js {
  /* progressive enhancement baseline */
}

body.pm-body {
  margin: 0;
  font-family: var(--pm-font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--pm-deep-steel);
  background: var(--pm-frost);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pm-ice-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--pm-ice-blue-hover);
}

:focus-visible {
  outline: 2px solid var(--pm-focus-ring);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pm-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--pm-ice-blue);
  color: var(--pm-white);
  padding: 0.75rem 1rem;
}

.pm-skip-link:focus {
  left: var(--pm-pad);
  top: 0.5rem;
}

.pm-container {
  width: min(100% - 2 * var(--pm-pad), var(--pm-container));
  margin-inline: auto;
}

.pm-section {
  padding-block: var(--pm-section-y);
}

.pm-display {
  font-family: var(--pm-font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.pm-headline {
  font-family: var(--pm-font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.pm-title {
  font-family: var(--pm-font-body);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0.75rem 0 0.5rem;
}

.pm-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pm-muted);
  margin: 0 0 0.75rem;
}

/* Buttons */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  border-radius: var(--pm-radius-md);
  border: 1.5px solid transparent;
  font-family: var(--pm-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--pm-transition), color var(--pm-transition), border-color var(--pm-transition), transform 0.2s ease;
}

.pm-btn--primary {
  background: var(--pm-ice-blue);
  color: var(--pm-white);
}

.pm-btn--primary:hover {
  background: var(--pm-ice-blue-hover);
  color: var(--pm-white);
}

.pm-btn--secondary {
  background: transparent;
  color: var(--pm-deep-steel);
  border-color: var(--pm-deep-steel);
}

.pm-btn--secondary:hover {
  background: var(--pm-frost);
  color: var(--pm-deep-steel);
}

.pm-btn--signal {
  background: var(--pm-signal);
  color: var(--pm-white);
}

.pm-btn--ghost-light {
  background: transparent;
  color: var(--pm-frost);
  border-color: var(--pm-metal-line);
}

.pm-link-cta {
  font-weight: 600;
  color: var(--pm-ice-blue);
}

/* Cards */
.pm-card {
  background: var(--pm-white);
  border: 1px solid var(--pm-outline-variant);
  border-radius: var(--pm-radius-md);
  padding: 1rem;
  box-shadow: var(--pm-shadow-md);
  transition: transform 0.2s ease;
}

.pm-card:hover {
  transform: translateY(-4px);
}

.pm-card--category {
  border-color: var(--pm-outline-variant);
}

.pm-ribbon-card {
  display: block;
  background: var(--pm-white);
  border: 1px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-lg);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

/* Header */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--pm-header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pm-outline-variant);
  transition: border-color 0.55s ease, background-color 0.55s ease;
}

.pm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--pm-metal-line);
}

.pm-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--pm-header-h);
}

.pm-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--pm-deep-steel);
  line-height: 1.1;
}

.pm-logo__img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.pm-logo__geo {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pm-muted);
  margin-left: 0.15rem;
}

.pm-logo__mark {
  display: none;
}

.pm-nav {
  flex: 1;
  min-width: 0;
}

.pm-nav__overlay {
  display: none;
}

.pm-nav__drawer {
  display: contents;
}

.pm-nav__drawer-extra {
  display: none;
}

.pm-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 0.25rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .pm-nav__list {
    gap: 0.15rem 0.5rem;
  }
  .pm-nav__link {
    font-size: 0.875rem !important;
    padding: 0.25rem 0.15rem;
  }
  .pm-header__inner {
    gap: 0.45rem;
  }
}

.pm-nav__list > li {
  flex: 0 0 auto;
  line-height: 1.2;
}

.pm-nav__link {
  color: var(--pm-deep-steel);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.pm-nav__link:hover {
  color: var(--pm-ice-blue);
}

.pm-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.pm-nav__toggle-bars,
.pm-nav__toggle-bars::before,
.pm-nav__toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pm-deep-steel);
  margin: 0 auto;
  position: relative;
}

.pm-nav__toggle-bars::before,
.pm-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.pm-nav__toggle-bars::before {
  top: -6px;
}

.pm-nav__toggle-bars::after {
  top: 6px;
}

.pm-header__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.pm-header__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pm-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  color: var(--pm-deep-steel);
  background: var(--pm-frost);
  border: 1px solid var(--pm-outline-variant);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pm-header__social-link:hover {
  color: var(--pm-white);
  background: var(--pm-ice-blue);
  border-color: var(--pm-ice-blue);
}

.pm-header__cta {
  margin-left: 0.25rem;
}

.pm-lang {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pm-muted);
  white-space: nowrap;
}

.pm-lang__item.is-active {
  color: var(--pm-ice-blue);
}

.pm-header__phone,
.pm-header__wa {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--pm-deep-steel);
  white-space: nowrap;
}

.pm-header__cta {
  white-space: nowrap;
}

.pm-header__cta-short {
  display: none;
}

.pm-header__cta-full {
  display: inline;
}

@media (max-width: 1100px) {
  .pm-header__phone,
  .pm-header__wa {
    display: none;
  }
  .pm-header__social-link {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 900px) {
  .pm-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pm-nav__list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--pm-header-h);
    background: var(--pm-white);
    border-bottom: 1px solid var(--pm-metal-line);
    padding: 1rem var(--pm-pad);
    flex-direction: column;
  }

  .pm-nav.is-open .pm-nav__list {
    display: flex;
  }

  .pm-header__cta {
    padding-inline: 0.875rem;
    font-size: 0.8125rem;
  }
}

/* Hero + grids */
.pm-hero__grid,
.pm-ribbons__grid,
.pm-maturity__grid,
.pm-categories__grid,
.pm-cases__grid,
.pm-visit__grid,
.pm-lead__grid {
  display: grid;
  gap: 1.5rem;
}

.pm-hero__grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.pm-hero__visual {
  position: relative;
}

.pm-hero__wow {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 180px;
  overflow: hidden;
  pointer-events: none;
}

.pm-hero__dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.pm-hero__single {
  position: relative;
  z-index: 2;
  border-radius: var(--pm-radius-md);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(20, 27, 38, 0.18);
}

.pm-hero--segment .pm-asset-slot--hero {
  border: 1px solid rgba(31, 107, 138, 0.18);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.14);
  background: #d7dee6;
}

.pm-hero__single .pm-asset-slot--hero-single,
.pm-asset-slot--hero-single {
  aspect-ratio: 21 / 9;
  min-height: 220px;
  border-radius: var(--pm-radius-md);
}

.ice-metal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

[data-hero-wow][data-wow-fallback="static"] {
  background: linear-gradient(165deg, rgba(244, 247, 249, 0.15) 0%, rgba(31, 107, 138, 0.14) 55%, rgba(197, 206, 214, 0.22) 100%);
}

.pm-ribbons__grid,
.pm-maturity__grid,
.pm-cases__grid {
  grid-template-columns: 1fr 1fr;
}

.pm-categories__grid {
  grid-template-columns: repeat(4, 1fr);
}

.pm-visit__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.75rem;
}

.pm-categories__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pm-visit__row {
  margin: 1.25rem 0 1.5rem;
}

.pm-visit__visuals {
  position: relative;
  display: grid;
  gap: 1rem;
}

.pm-visit__visuals--row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.pm-visit__visuals--row > *,
.pm-visit__visuals--row [data-plan-cutout] {
  min-width: 0;
}

.pm-visit__copy {
  min-width: 0;
}

.pm-visit__copy .pm-headline {
  margin-bottom: 0.55rem;
}

.pm-visit__copy p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.55;
}

.pm-visit__media {
  min-width: 0;
}

.pm-visit__media .pm-asset-slot {
  width: 100%;
  margin: 0;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
}

.pm-visit-split.pm-section {
  padding-block: clamp(1.35rem, 3.5vh, 2.5rem);
}

.pm-asset-slot--overlap,
.pm-asset-slot--plan-inline {
  margin-top: 0;
  margin-left: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
}

.pm-visit__contacts {
  margin-left: 1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .pm-hero__grid,
  .pm-ribbons__grid,
  .pm-maturity__grid,
  .pm-cases__grid,
  .pm-visit__grid {
    grid-template-columns: 1fr;
  }

  .pm-hero__dual {
    grid-template-columns: 1fr;
  }
}

/* Asset slots — structural only when MCP blocked */
.pm-asset-slot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--pm-slot-aspect, 16 / 10);
  border-radius: var(--pm-radius-md);
  border: 1px dashed var(--pm-metal-line);
  background:
    linear-gradient(135deg, var(--pm-surface-container) 0%, var(--pm-frost) 55%, var(--pm-white) 100%);
  overflow: hidden;
}

.pm-asset-slot[data-status="blocked_mcp"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent 49%, rgba(197, 206, 214, 0.5) 50%, transparent 51%),
    linear-gradient(0deg, transparent 0, transparent 49%, rgba(197, 206, 214, 0.5) 50%, transparent 51%);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.pm-asset-slot__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  font-family: var(--pm-font-mono);
  font-size: 0.6875rem;
  color: var(--pm-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0.5rem;
  border-radius: var(--pm-radius-sm);
  border: 1px solid var(--pm-outline-variant);
}

.pm-asset-slot[data-status="ready"] {
  border-style: solid;
  background: transparent;
}

.pm-asset-slot__img,
.pm-asset-slot__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-asset-slot__video {
  background: #d7dee6;
}

/* Journey */
.pm-journey__rail {
  color: var(--pm-metal-line);
  margin: 1.5rem 0;
}

.pm-journey__svg {
  width: 100%;
  height: 40px;
}

.pm-journey__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-journey__num {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--pm-ice-blue);
  color: var(--pm-white);
  font-family: var(--pm-font-mono);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.pm-journey__label {
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .pm-journey__steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* Lead form */
.pm-lead {
  position: relative;
  background: var(--pm-white);
  border-top: 1px solid var(--pm-metal-line);
}

.pm-lead__grid {
  grid-template-columns: 1fr 0.85fr 1.1fr;
  align-items: start;
}

.pm-lead__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--pm-ice-blue);
}

.pm-field {
  margin: 0 0 1rem;
}

.pm-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.pm-field input,
.pm-field select,
.pm-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-md);
  font: inherit;
  background: var(--pm-white);
  color: var(--pm-deep-steel);
}

.pm-field input:focus,
.pm-field select:focus,
.pm-field textarea:focus {
  border-color: var(--pm-ice-blue);
  outline: 2px solid rgba(31, 107, 138, 0.25);
  outline-offset: 0;
}

.pm-field--hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.pm-lead__privacy {
  font-size: 0.8125rem;
  color: var(--pm-muted);
}

.pm-lead__notice--ok {
  color: var(--pm-signal);
}

.pm-lead__notice--error {
  color: var(--pm-error);
}

@media (max-width: 1000px) {
  .pm-lead__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.pm-footer {
  background: var(--pm-deep-steel);
  color: var(--pm-frost);
  padding-top: 4rem;
}

.pm-footer a {
  color: var(--pm-frost);
  text-decoration: none;
}

.pm-footer a:hover {
  color: var(--pm-white);
  text-decoration: underline;
}

.pm-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.pm-footer__heading {
  font-family: var(--pm-font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.pm-footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pm-footer__logo {
  font-family: var(--pm-font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.pm-footer__partner,
.pm-footer__geo,
.pm-footer__legal-name {
  color: var(--pm-metal-line);
  font-size: 0.875rem;
}

.pm-footer__social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pm-footer__bar {
  border-top: 1px solid rgba(197, 206, 214, 0.25);
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--pm-metal-line);
}

.pm-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.pm-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .pm-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pm-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.pm-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--pm-white);
  border-top: 1px solid var(--pm-metal-line);
  box-shadow: 0 -8px 24px rgba(26, 35, 50, 0.08);
  padding: 1rem 0;
}

.pm-cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pm-cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 0.875rem;
  color: var(--pm-deep-steel);
}

/* Chat widget */
.pm-chat {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 1500;
  touch-action: none;
  user-select: none;
}

.pm-chat.is-dragging {
  opacity: 0.92;
}

.pm-chat__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  min-width: 44px;
  padding: 0.75rem 1.15rem;
  border: none;
  border-radius: 9999px;
  background: var(--pm-ice-blue);
  color: var(--pm-white);
  font-weight: 600;
  cursor: grab;
  box-shadow: var(--pm-shadow-md);
}

.pm-chat__toggle:active {
  cursor: grabbing;
}

.pm-chat__toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.pm-chat__panel {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  background: var(--pm-white);
  border: 1px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-md);
  padding: 0.9rem;
  min-width: 240px;
  box-shadow: var(--pm-shadow-md);
}

.pm-chat__title {
  margin: 0;
  font-weight: 700;
  color: var(--pm-deep-steel);
}

.pm-chat__sub {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  color: var(--pm-muted);
}

.pm-chat__option {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: var(--pm-radius-sm);
  text-decoration: none;
  color: var(--pm-deep-steel);
  font-weight: 600;
  background: var(--pm-frost);
}

.pm-chat__option--primary {
  background: var(--pm-ice-blue);
  color: var(--pm-white);
}

.pm-chat__option:hover {
  background: var(--pm-surface-container);
}

.pm-chat__option--primary:hover {
  background: var(--pm-ice-blue-hover);
  color: var(--pm-white);
}

/* Motion hooks — visible without JS / until GSAP (LCP never hidden) */
[data-motion-reveal],
[data-motion-stagger-item],
[data-plan-cutout],
[data-hero-copy],
[data-hero-visual] {
  opacity: 1;
  transform: none;
}

[data-journey-rail-path] {
  stroke: var(--pm-metal-line, #c5ced6);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pm-card:hover,
  .pm-btn:hover {
    transform: none;
  }

  [data-journey-rail-path] {
    stroke-dashoffset: 0 !important;
  }

  .pm-hero__wow {
    display: none;
  }
}

html.is-reduced-motion .pm-hero__wow,
body.is-reduced-motion .pm-hero__wow {
  display: none;
}

body.is-reduced-motion .pm-card:hover,
body.is-reduced-motion .pm-btn:hover {
  transform: none;
}

/* Page Builder — colored bands, FAQ, blog typo cards, transitions */
.pm-section--frost {
  background: var(--pm-frost);
}

.pm-section--white {
  background: var(--pm-white);
}

.pm-section--ice {
  background: linear-gradient(180deg, var(--pm-surface-container) 0%, #d7e6ee 100%);
}

.pm-ribbons--overlap {
  margin-top: -24px;
  position: relative;
  z-index: 3;
}

.pm-hero {
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--pm-section-y) + 24px);
}

.pm-hero__lead {
  font-size: 1.125rem;
  color: var(--pm-muted);
  margin: 0 0 1.25rem;
}

.pm-hero__cta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pm-hero__cta .pm-btn {
  flex: 0 0 auto;
}

.pm-hero__cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  color: var(--pm-ice-blue);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

.pm-hero__cta-link:hover {
  color: var(--pm-ice-blue-hover);
}

.pm-cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .pm-hero__cta,
  .pm-cta-row {
    flex-wrap: wrap;
  }
}

.pm-trust {
  font-size: 0.875rem;
  color: var(--pm-muted);
}

.pm-answer {
  font-size: 0.9375rem;
  border-left: 4px solid var(--pm-ice-blue);
  padding-left: 1rem;
  margin: 1rem 0 0;
}

.pm-diag {
  color: var(--pm-surface-container);
  line-height: 0;
  margin-top: -1px;
}

.pm-diag__svg {
  display: block;
  width: 100%;
  height: 56px;
}

.pm-faq__list {
  display: grid;
  gap: 0.75rem;
}

.pm-faq__item {
  background: var(--pm-white);
  border: 1px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-md);
  padding: 0.25rem 1rem;
}

.pm-faq__q {
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.pm-faq__a {
  color: var(--pm-muted);
}

.pm-card--typo {
  background: var(--pm-white);
  border-top: 4px solid var(--pm-ice-blue);
}

.pm-card--blog__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pm-card__teaser {
  margin: 0;
  color: var(--pm-muted);
  font-size: 0.9375rem;
}

.pm-blog-strip__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pm-formats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.pm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--pm-metal-line);
  background: var(--pm-white);
  text-decoration: none;
  font-weight: 600;
  color: var(--pm-deep-steel);
}

.pm-chip:hover {
  border-color: var(--pm-ice-blue);
  color: var(--pm-ice-blue);
}

.pm-check-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
}

.pm-article {
  padding-block: var(--pm-section-y);
}

.pm-article__nav-top {
  margin-bottom: 1.75rem;
}

.pm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  background: var(--pm-frost, #F4F7F9);
  color: var(--pm-deep-steel, #141B26);
  border: 1.5px solid var(--pm-metal-line, #C5CED6);
  border-radius: var(--pm-radius-md, 8px);
  font-family: var(--pm-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  transition: all var(--pm-transition, 0.2s ease);
}

.pm-back-btn:hover {
  background: var(--pm-ice-blue, #1F6B8A);
  color: var(--pm-white, #FFFFFF);
  border-color: var(--pm-ice-blue, #1F6B8A);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(31, 107, 138, 0.2);
}

.pm-back-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pm-back-btn:hover svg {
  transform: translateX(-2px);
}

.pm-article__cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pm-metal-line, #C5CED6);
}

.pm-article__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pm-back-btn--bottom {
  border: 1.5px solid var(--pm-deep-steel, #141B26);
}

.pm-back-btn--bottom svg {
  flex-shrink: 0;
}

.pm-article__cta-links {
  font-size: 0.9375rem;
  color: var(--pm-metal, #64748B);
}

.pm-article__cta-links a {
  color: var(--pm-deep-steel, #141B26);
  text-decoration: none;
}

.pm-article__cta-links a:hover {
  color: var(--pm-ice-blue, #1F6B8A);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .pm-ribbons--overlap {
    margin-top: -12px;
  }

  .pm-formats__grid {
    grid-template-columns: 1fr;
  }
}

/* RU/KZ language switch (links) */
.pm-lang a.pm-lang__item {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.pm-lang a.pm-lang__item:hover {
	color: var(--pm-ice, #1F6B8A);
}
.pm-lang a.pm-lang__item.is-active {
	font-weight: 600;
	color: var(--pm-deep-steel, #141B26);
}

/* Journey — scroll progress + active steps */
.pm-journey__rail {
  --pm-journey-progress: 0;
  position: relative;
}

.pm-journey__svg path[data-journey-rail-path] {
  stroke: var(--pm-metal-line);
}

.pm-journey__rail.is-journey-active .pm-journey__svg path[data-journey-rail-path] {
  stroke: var(--pm-ice-blue, #1F6B8A);
}

.pm-journey__step {
  position: relative;
  padding: 0.85rem 0.65rem 0.9rem;
  border-radius: var(--pm-radius-md);
  border: 1.5px solid var(--pm-metal-line);
  background: var(--pm-white);
  color: var(--pm-deep-steel);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.pm-journey__step p {
  color: var(--pm-deep-steel);
  font-size: 0.875rem;
  font-weight: 500;
}

.pm-journey__label {
  color: var(--pm-deep-steel);
  font-weight: 650;
}

.pm-journey__step.is-done {
  border-color: var(--pm-metal-line);
  opacity: 0.92;
}

.pm-journey__step.is-done .pm-journey__num {
  background: var(--pm-deep-steel, #141B26);
}

.pm-journey__step.is-active {
  border-color: var(--pm-ice-blue, #1F6B8A);
  box-shadow: 0 12px 28px rgba(31, 107, 138, 0.16);
  transform: translateY(-4px);
}

.pm-journey__step.is-active .pm-journey__num {
  background: var(--pm-signal, #0D9488);
  transform: scale(1.06);
}

.pm-journey__num {
  transition: background 0.3s ease, transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .pm-journey__step,
  .pm-journey__num {
    transition: none;
  }
  .pm-journey__step.is-active {
    transform: none;
  }
}



/* ===== Redesign 2026-09: hero media, process live, lead collage ===== */
.pm-hero--media-first {
  padding-top: 0;
}

.pm-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 240px;
  max-height: 520px;
  overflow: hidden;
  background: var(--pm-deep-steel);
}

.pm-hero-media__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 1;
}

.pm-hero-media__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.pm-hero-media__img,
.pm-hero-media__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-hero-media__img--kenburns {
  animation: pmKenBurns 14s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes pmKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.pm-hero-media__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(16, 24, 32, 0.72);
  color: var(--pm-white);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pm-hero__copy-block {
  padding-block: 2.5rem 1rem;
}

.pm-hero__cta-link {
  margin-left: 1rem;
  font-weight: 600;
  color: var(--pm-ice-blue);
}

.pm-em-price {
  color: var(--pm-ice-blue);
  font-weight: 700;
}

.pm-link-strong {
  color: var(--pm-ice-blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.pm-lead__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: var(--pm-radius-md);
  overflow: hidden;
}

.pm-lead__collage-item {
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: var(--pm-radius-sm);
}

.pm-lead__collage-caption {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pm-muted);
}

.pm-process-live {
  margin: 1.5rem 0 2rem;
  border: 1.5px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-lg);
  background: linear-gradient(160deg, var(--pm-white) 0%, var(--pm-frost) 100%);
  padding: 1rem 1rem 0.85rem;
  box-shadow: var(--pm-shadow-md);
}

.pm-process-live__viewport {
  position: relative;
  min-height: 220px;
}

.pm-process-live__slide {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.pm-process-live__slide.is-active {
  display: grid;
  animation: pmProcessIn 0.45s ease;
}

@keyframes pmProcessIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.pm-process-live__scene {
  min-height: 160px;
  border-radius: var(--pm-radius-md);
  background: var(--pm-surface-container);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.pm-process-live__num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--pm-ice-blue);
  color: var(--pm-white);
  font-family: var(--pm-font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.pm-process-live__title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: var(--pm-deep-steel);
}

.pm-process-live__text {
  margin: 0;
  color: var(--pm-deep-steel);
  font-weight: 500;
}

.pm-process-live__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.pm-process-live__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pm-radius-sm);
  border: 1px solid var(--pm-metal-line);
  background: var(--pm-white);
  color: var(--pm-deep-steel);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pm-process-live__nav:hover {
  background: var(--pm-frost);
  border-color: var(--pm-ice-blue);
}

.pm-process-live__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.pm-process-live__dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pm-metal-line);
  background: var(--pm-frost);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.2s ease;
}

.pm-process-live__dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.pm-process-live__dot.is-active {
  background: var(--pm-ice-blue);
  border-color: var(--pm-ice-blue);
  transform: scale(1.15);
}

/* Cartoon scenes */
.pm-cartoon {
  position: relative;
  width: 220px;
  height: 120px;
}

.pm-cartoon--phones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
}

.pm-cartoon__phone {
  width: 54px;
  height: 90px;
  border-radius: 10px;
  border: 2px solid var(--pm-deep-steel);
  background: var(--pm-white);
  position: relative;
}

.pm-cartoon__phone--manager {
  border-color: var(--pm-ice-blue);
}

.pm-cartoon__face {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--pm-frost);
  border: 2px solid var(--pm-metal-line);
}

.pm-cartoon__face--pro {
  border-color: var(--pm-ice-blue);
  background: #d7e8f6;
}

.pm-cartoon__bubble {
  position: absolute;
  top: -12px;
  right: -18px;
  background: var(--pm-ice-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.pm-cartoon__bubble--ok {
  background: var(--pm-signal);
}

.pm-cartoon__waves {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed var(--pm-ice-blue);
  animation: pmWave 1.6s linear infinite;
}

@keyframes pmWave {
  from { transform: scale(0.85); opacity: 0.9; }
  to { transform: scale(1.15); opacity: 0.35; }
}

.pm-cartoon--plan .pm-cartoon__box {
  position: absolute;
  left: 30px; top: 20px;
  width: 120px; height: 70px;
  border: 2px solid var(--pm-deep-steel);
  background: rgba(255,255,255,0.7);
}
.pm-cartoon--plan .pm-cartoon__ruler {
  position: absolute;
  left: 24px; bottom: 18px;
  width: 140px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--pm-ice-blue) 0 8px, transparent 8px 14px);
}
.pm-cartoon--plan .pm-cartoon__bolt {
  position: absolute;
  right: 28px; top: 28px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pm-signal);
}

.pm-cartoon--cards {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.pm-cartoon__card {
  width: 48px;
  height: 72px;
  border-radius: 8px;
  background: var(--pm-white);
  border: 2px solid var(--pm-ice-blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--pm-ice-blue);
  box-shadow: 0 8px 16px rgba(16,24,32,0.12);
}
.pm-cartoon__card:nth-child(2) { height: 88px; background: #e8f3fb; }
.pm-cartoon__card:nth-child(3) { height: 64px; }

.pm-cartoon--site .pm-cartoon__door {
  position: absolute; left: 40px; top: 18px; width: 50px; height: 80px;
  border: 2px solid var(--pm-deep-steel); background: #f4f7fa;
}
.pm-cartoon--site .pm-cartoon__tape {
  position: absolute; left: 30px; bottom: 20px; width: 100px; height: 6px;
  background: var(--pm-signal); transform: rotate(-8deg);
}
.pm-cartoon--site .pm-cartoon__plan-mini {
  position: absolute; right: 28px; top: 28px; width: 70px; height: 54px;
  border: 2px dashed var(--pm-ice-blue); background: rgba(255,255,255,0.8);
}

.pm-cartoon--truck .pm-cartoon__cab {
  position: absolute; left: 30px; top: 36px; width: 48px; height: 40px;
  background: var(--pm-ice-blue); border-radius: 6px 0 0 6px;
}
.pm-cartoon--truck .pm-cartoon__cargo {
  position: absolute; left: 78px; top: 28px; width: 90px; height: 48px;
  background: var(--pm-deep-steel); border-radius: 4px;
}
.pm-cartoon--truck .pm-cartoon__wheel {
  position: absolute; left: 42px; bottom: 18px; width: 18px; height: 18px;
  border-radius: 50%; background: #333; border: 3px solid var(--pm-metal-line);
}
.pm-cartoon--truck .pm-cartoon__wheel--2 { left: 120px; }

.pm-cartoon--service .pm-cartoon__machine {
  position: absolute; left: 50px; top: 24px; width: 90px; height: 60px;
  border: 2px solid var(--pm-deep-steel); background: var(--pm-white); border-radius: 6px;
}
.pm-cartoon--service .pm-cartoon__wrench {
  position: absolute; right: 40px; top: 30px; width: 34px; height: 8px;
  background: var(--pm-ice-blue); transform: rotate(35deg); border-radius: 4px;
}
.pm-cartoon--service .pm-cartoon__check {
  position: absolute; left: 78px; bottom: 22px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--pm-signal);
}

.pm-journey__step.is-journey-in {
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .pm-hero-media { aspect-ratio: 16 / 10; max-height: 360px; }
  .pm-process-live__slide.is-active { grid-template-columns: 1fr; }
  .pm-visit__visuals--row { grid-template-columns: 1fr; }
  .pm-header__social { display: none; }
  .pm-logo__img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-hero-media__img--kenburns,
  .pm-cartoon__waves {
    animation: none !important;
  }
}

/* Brand mark */
.pm-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-decoration: none;
}
.pm-logo__img {
  width: auto;
  height: 52px;
  max-width: 168px;
  object-fit: contain;
  display: block;
}
.pm-logo__geo {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pm-muted, #2A3844);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .pm-logo {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }
  .pm-logo__img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
  }
}

/* Compact AI fab — draggable */
.pm-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10050;
  max-width: min(240px, calc(100vw - 2rem));
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.pm-chat.is-dragging {
  cursor: grabbing;
}
.pm-chat__fab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px 999px 999px 16px;
  background: var(--pm-ice-blue, #0B6EB5);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11, 110, 181, 0.35);
  border: 2px solid rgba(255,255,255,0.2);
}
.pm-chat__fab:hover {
  background: var(--pm-ice-blue-hover, #095A96);
  color: #fff;
}
.pm-chat__fab-label {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.pm-chat__fab-sub {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.3;
  opacity: 0.95;
}
.pm-chat__drag-hint {
  display: none;
}
.pm-chat__panel,
.pm-chat__toggle,
.pm-chat__title,
.pm-chat__sub,
.pm-chat__option {
  /* legacy selectors neutralized if leftover */
}

/* Journey steps: start dimmed, reveal one-by-one */
.pm-journey__step {
  opacity: 0.28;
  transform: translateY(14px);
  color: var(--pm-deep-steel, #101820);
  border-color: var(--pm-metal-line, #8FA0B0);
  background: #fff;
}
.pm-journey__step .pm-journey__label,
.pm-journey__step p {
  color: var(--pm-deep-steel, #101820);
}
.pm-journey__step.is-shown,
.is-motion-ready .pm-journey__step.is-shown,
.pm-journey__step.is-active,
.pm-journey__step.is-done {
  opacity: 1;
  transform: none;
}
.is-reduced-motion .pm-journey__step {
  opacity: 1;
  transform: none;
}

/* === batch append: steel, process xl, faq icon, works, back-top, divider === */

.pm-btn--steel {
  background: linear-gradient(165deg, #d6dde4 0%, #9aa7b4 42%, #6f7d8a 100%);
  color: var(--pm-deep-steel);
  border-color: #5f6d7a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 18px rgba(16,24,32,0.16);
}
.pm-btn--steel:hover {
  background: linear-gradient(165deg, #e2e8ee 0%, #a8b5c2 42%, #7a8895 100%);
  color: var(--pm-deep-steel);
}
.pm-btn--telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pm-btn__icon { flex: 0 0 auto; }

.pm-maturity__grid > .pm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pm-maturity__grid > .pm-card > .pm-btn {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  justify-content: center;
}

.pm-hero--media-first .pm-hero-media,
.pm-hero-media {
  margin-top: 28px;
}

.pm-process-live--xl {
  padding: 1.5rem 1.5rem 1.15rem;
}
.pm-process-live__viewport {
  min-height: 320px;
}
.pm-process-live__scene {
  min-height: 220px;
  padding: 0.75rem;
}
.pm-process-live--video {
  margin: 1.15rem 0 1.35rem;
  padding: 1.25rem 1.35rem 1.05rem;
}
.pm-process-live--video.pm-process-live--xl {
  padding: 1.25rem 1.35rem 1.05rem;
}
.pm-process-live--video .pm-process-live__viewport {
  min-height: 0;
}
.pm-process-live--video .pm-process-live__scene {
  min-height: 0;
  padding: 0;
  background: #0b1a2a;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: none;
}
.pm-process-live__video {
  display: block;
  width: 100%;
  height: 100%;
  /* contain — не обрезать karaoke-ленту внизу кадра */
  object-fit: contain;
  border-radius: inherit;
  cursor: pointer;
  background: #0b1a2a;
}
.pm-process-live__hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--pm-muted);
}
/* Split: тексты слева, ролик справа — полный 16:9 кадр с читаемой лентой */
.pm-process-live--split .pm-process-live__slide.is-active {
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.55fr);
  gap: 1.35rem 1.6rem;
  align-items: center;
}
.pm-process-live--split .pm-process-live__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
}
.pm-process-live--split .pm-process-live__copy-text {
  width: 100%;
}
.pm-process-live--split .pm-process-live__num {
  margin-bottom: 0;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.95rem;
}
.pm-process-live--split .pm-process-live__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}
.pm-process-live--split .pm-process-live__text {
  font-size: 1.1rem;
  line-height: 1.55;
}
.pm-process-live--split .pm-process-live__scene {
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: clamp(280px, 38vw, 520px);
  aspect-ratio: 16 / 9;
}
.pm-process-live--video .pm-process-live__controls {
  margin-top: 0.85rem;
}
.pm-journey .pm-headline {
  margin-bottom: 0.45rem;
}
.pm-journey .pm-container > p {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.pm-journey.pm-section {
  padding-block: clamp(1.5rem, 4vh, 3rem);
}
.pm-process-live__title {
  font-size: 1.55rem;
  line-height: 1.25;
}
.pm-process-live__text {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.pm-faq__q {
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
}
.pm-faq__q::-webkit-details-marker { display: none; }
.pm-faq__q::marker { content: ''; }
.pm-faq__q-text { flex: 1; }
.pm-faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1.5px solid var(--pm-metal-line);
  background: var(--pm-frost);
  position: relative;
}
.pm-faq__icon::before,
.pm-faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--pm-deep-steel);
  transform: translate(-50%, -50%);
}
.pm-faq__icon::before { width: 12px; height: 2px; }
.pm-faq__icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.pm-faq__item[open] .pm-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.pm-visit.pm-section,
.pm-faq.pm-section,
.pm-blog-strip.pm-section,
.pm-works.pm-section {
  padding-block: calc(var(--pm-section-y) - 8px);
}

.pm-section-divider {
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  color: var(--pm-ice-blue);
  background: transparent;
}
.pm-section-divider__svg {
  display: block;
  width: min(100%, 1200px);
  height: 18px;
  margin-inline: auto;
  overflow: visible;
}
.pm-section-divider__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: pmDividerDraw 1.1s ease forwards;
}
@keyframes pmDividerDraw {
  to { stroke-dashoffset: 0; }
}
.is-reduced-motion .pm-section-divider__line {
  animation: none;
  stroke-dashoffset: 0;
}

.pm-cartoon-manager {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 2;
  opacity: 0.95;
}
.pm-cartoon-manager__svg {
  display: block;
  filter: drop-shadow(0 4px 8px rgba(16,24,32,0.18));
}
.pm-cartoon--warranty { width: 160px; height: 120px; }
.pm-cartoon--warranty .pm-cartoon__shield {
  position: absolute;
  left: 48px; top: 18px;
  width: 64px; height: 76px;
  background: linear-gradient(180deg, #e8f3fb, #0B6EB5);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}
.pm-cartoon--warranty .pm-cartoon__shield-check {
  position: absolute;
  left: 70px; top: 42px;
  width: 22px; height: 12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
.pm-cartoon--warranty .pm-cartoon__year {
  position: absolute;
  right: 28px; top: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pm-signal);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.pm-works-carousel {
  margin: 1rem 0 0.5rem;
  border: 1.5px solid var(--pm-metal-line);
  border-radius: var(--pm-radius-lg);
  background: linear-gradient(160deg, var(--pm-white) 0%, var(--pm-frost) 100%);
  padding: 1rem 1rem 0.85rem;
  box-shadow: var(--pm-shadow-md);
}
.pm-works-carousel__viewport {
  position: relative;
  min-height: 280px;
  border-radius: var(--pm-radius-md);
  overflow: hidden;
  background: var(--pm-deep-steel);
}
.pm-works-carousel__slide {
  display: none;
  position: relative;
  min-height: 280px;
}
.pm-works-carousel__slide.is-active {
  display: block;
  animation: pmProcessIn 0.45s ease;
}
.pm-works-carousel__media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.pm-works-carousel__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 24, 32, 0.72);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.pm-works-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}
.pm-works-carousel__nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pm-radius-sm);
  border: 1px solid var(--pm-metal-line);
  background: var(--pm-white);
  color: var(--pm-deep-steel);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pm-works-carousel__nav:hover {
  background: var(--pm-frost);
  border-color: var(--pm-ice-blue);
}
.pm-works-carousel__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.pm-works-carousel__dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pm-metal-line);
  background: var(--pm-frost);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.2s ease;
}
.pm-works-carousel__dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}
.pm-works-carousel__dot.is-active {
  background: var(--pm-ice-blue);
  border-color: var(--pm-ice-blue);
  transform: scale(1.15);
}

/* Sound badge overlay on process live video */
.pm-process-live__sound-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background: rgba(16, 24, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pm-process-live__sound-badge:hover {
  background: rgba(11, 110, 181, 0.92);
  transform: scale(1.02);
}
.pm-process-live__sound-badge .pm-icon-unmute {
  display: none;
}
.pm-process-live__sound-badge.is-unmuted .pm-icon-unmute {
  display: inline-block;
}
.pm-process-live__sound-badge.is-unmuted .pm-icon-mute {
  display: none;
}

.pm-back-top {
  position: fixed;
  right: 1.25rem;
  left: auto;
  bottom: 7.5rem;
  z-index: 2050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #c24a3a;
  box-shadow:
    -14px -18px 30px rgba(12, 10, 8, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}
.pm-back-top[hidden] { display: none !important; }
.pm-back-top:hover {
  color: #a83b2e;
  box-shadow:
    -14px -18px 30px rgba(12, 10, 8, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.2);
}
.pm-back-top:focus-visible {
  outline: 2px solid var(--pm-ice-blue, #1F6B8A);
  outline-offset: 3px;
}
.pm-back-top__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}
.pm-back-top__icon svg {
  display: block;
}

@media (max-width: 900px) {
  .pm-process-live__viewport { min-height: 0; }
  .pm-process-live--split .pm-process-live__slide.is-active {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .pm-process-live--split .pm-process-live__scene,
  .pm-process-live--video .pm-process-live__scene {
    width: 100%;
    max-height: none;
    min-height: 0;
  }
  .pm-process-live--split .pm-process-live__title { font-size: 1.3rem; }
  .pm-process-live--split .pm-process-live__text { font-size: 1rem; }
  .pm-process-live__title { font-size: 1.3rem; }
  .pm-cartoon-manager { transform: scale(0.85); transform-origin: left bottom; }
  .pm-works-carousel__viewport,
  .pm-works-carousel__slide,
  .pm-works-carousel__media,
  .pm-works-carousel__media-slot { min-height: 220px !important; }
}

@media (min-width: 901px) {
  .pm-works-carousel__media-slot,
  .pm-works-carousel__media-slot img,
  .pm-works-carousel__media-slot .pm-asset-slot,
  .pm-works-carousel__media-slot .pm-asset-slot img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    display: block;
    margin: 0;
  }
}
.pm-works-carousel__media-slot { margin: 0; }

/* ==========================================================================
   AURA MOBILE ENGINE & REPAIR LAYER (375 / 768 / 900)
   Final cascade authority for chrome, headers, cards, grids, cookie & chat
   ========================================================================== */

/* Universal Layout & Overflow Guard */
html,
body.pm-body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box;
}

body.pm-nav-open,
html.pm-nav-open {
  overflow: hidden !important;
  touch-action: none;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100% !important;
  height: auto;
}

/* Strict AURA contract: NO visible top breadcrumbs */
.pm-breadcrumbs,
.breadcrumbs,
nav.breadcrumb,
.pm-nav__breadcrumbs {
  display: none !important;
}

/* Service firm, not equipment manufacturer look */
.pm-asset-slot__label { display: none !important; }
.pm-works__brand, .pm-media-brand, [data-brand-watermark] { display: none !important; }

/* --------------------------------------------------------------------------
   TABLET & SMALL DESKTOP (≤ 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --pm-header-h: 64px !important;
  }

  /* Compressed sticky header */
  .pm-header,
  .pm-header.is-scrolled {
    height: 64px !important;
    min-height: 64px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--pm-outline-variant, #A8B6C4) !important;
  }

  .pm-header__inner {
    height: 64px !important;
    min-height: 64px !important;
    gap: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .pm-header__brand,
  .pm-logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.4rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  .pm-logo__img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .pm-logo__geo {
    display: inline-block !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    color: var(--pm-muted, #2A3844) !important;
    text-transform: none !important;
    margin: 0 !important;
  }

  /* Nav Toggle & Full Drawer */
  .pm-nav__toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid var(--pm-metal-line, #8FA0B0) !important;
    border-radius: var(--pm-radius-sm, 4px) !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1001 !important;
  }

  .pm-nav__overlay {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(16, 24, 32, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1050 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }

  .pm-nav.is-open .pm-nav__overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .pm-nav__drawer {
    display: none !important;
  }

  .pm-nav.is-open .pm-nav__drawer {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: var(--pm-header-h, 64px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - var(--pm-header-h, 64px)) !important;
    height: calc(100dvh - var(--pm-header-h, 64px)) !important;
    background: var(--pm-white, #FFFFFF) !important;
    border-bottom: 2px solid var(--pm-ice-blue, #0B6EB5) !important;
    box-shadow: 0 16px 36px rgba(16, 24, 32, 0.18) !important;
    padding: 1.25rem var(--pm-pad, 20px) 2rem !important;
    gap: 0.75rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 1100 !important;
  }

  .pm-nav__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .pm-nav__list > li {
    width: 100% !important;
    border-bottom: 1px solid var(--pm-metal-line, #C5CED6) !important;
  }

  .pm-nav__list > li:last-child {
    border-bottom: none !important;
  }

  .pm-nav__link {
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    padding: 0.65rem 0.25rem !important;
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
    color: var(--pm-deep-steel, #1A2332) !important;
    text-decoration: none !important;
  }

  .pm-nav__drawer-extra {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    margin-top: 1rem !important;
    padding-top: 1.25rem !important;
    border-top: 2px solid var(--pm-metal-line, #C5CED6) !important;
    width: 100% !important;
  }

  .pm-nav__drawer-phone {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--pm-deep-steel, #1A2332) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
  }

  .pm-nav__drawer-social {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-wrap: wrap !important;
  }

  .pm-nav__drawer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 0.85rem !important;
    border-radius: 6px !important;
    background: var(--pm-frost, #F4F7F9) !important;
    border: 1px solid var(--pm-metal-line, #C5CED6) !important;
    color: var(--pm-deep-steel, #1A2332) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .pm-header__chrome {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .pm-header__social,
  .pm-header__phone,
  .pm-header__wa {
    display: none !important;
  }

  /* Lang RU | ҚАЗ (≥44px hit area, not under burger) */
  .pm-lang {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.2rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: var(--pm-muted, #2A3844) !important;
    white-space: nowrap !important;
  }

  .pm-lang a.pm-lang__item,
  .pm-lang__item {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    padding: 0 6px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
  }

  .pm-lang a.pm-lang__item.is-active,
  .pm-lang__item.is-active {
    background: var(--pm-frost, #F4F7F9) !important;
    color: var(--pm-ice-blue, #0B6EB5) !important;
  }

  .pm-lang__sep {
    color: var(--pm-metal-line, #C5CED6) !important;
    font-size: 0.875rem !important;
  }

  /* Header CTA */
  .pm-header__cta {
    padding: 0.5rem 0.95rem !important;
    font-size: 0.9375rem !important;
    white-space: nowrap !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
  }

  /* General Grid collapses to 1fr on tablet */
  .pm-hero__grid,
  .pm-hero__dual,
  .pm-ribbons__grid,
  .pm-maturity__grid,
  .pm-cases__grid,
  .pm-visit__grid,
  .pm-visit__visuals--row,
  .pm-lead__grid,
  .pm-formats__grid,
  .pm-process-live__slide.is-active,
  .pm-process-live--split .pm-process-live__slide.is-active,
  .pm-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .pm-journey__steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  .pm-hero-media {
    margin-top: 0 !important;
    padding-top: 0 !important;
    aspect-ratio: 16 / 10 !important;
    max-height: 380px !important;
  }

  /* Footer Links hit area ≥44px */
  .pm-footer-nav__list a,
  .pm-footer__social a,
  .pm-footer__legal-links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0.35rem 0 !important;
  }

  .pm-footer__social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 0.85rem !important;
  }

  .pm-footer__social li a {
    padding: 0.5rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
  }
}

/* Categories 2-col tablet (600px–899px) & 1-col mobile (<600px) */
@media (min-width: 600px) and (max-width: 899px) {
  .pm-categories__grid,
  .pm-categories__grid--3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 599px) {
  .pm-categories__grid,
  .pm-categories__grid--3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   STANDARD MOBILE & TABLET PORTRAIT (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --pm-pad: 20px !important;
    --pm-section-y: 48px !important;
    --pm-header-h: 64px !important;
  }

  .pm-container {
    padding-inline: 20px !important;
    max-width: 100% !important;
  }

  .pm-section {
    padding-block: var(--pm-section-y, 48px) !important;
  }

  /* Cookie Banner (column layout, no clipping, full width, safe-area padded) */
  .pm-cookie-banner {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    background: var(--pm-white, #FFFFFF) !important;
    border-top: 2px solid var(--pm-metal-line, #8FA0B0) !important;
    box-shadow: 0 -8px 24px rgba(26, 35, 50, 0.14) !important;
    padding: 0.85rem 0 !important;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  .pm-cookie-banner__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    text-align: left !important;
    padding-inline: 20px !important;
  }

  .pm-cookie-banner__text {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    color: var(--pm-deep-steel, #101820) !important;
  }

  .pm-cookie-banner button[data-pm-cookie-accept],
  .pm-cookie-banner .pm-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    border-radius: var(--pm-radius-sm, 4px) !important;
  }

  /* Body padding when cookie banner is shown so footer legal links are reachable */
  body.has-cookie-banner {
    padding-bottom: calc(var(--pm-cookie-stack-h, 120px) + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Floating Chat FAB & Back-to-Top Stack */
  .pm-chat {
    position: fixed !important;
    right: 1rem !important;
    bottom: calc(var(--pm-cookie-stack-h, 0px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 2100 !important;
    max-width: 200px !important;
    transition: bottom 0.25s ease;
  }

  .pm-chat__fab {
    display: inline-flex !important;
    flex-direction: column !important;
    min-height: 44px !important;
    padding: 0.55rem 0.85rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 20px rgba(11, 110, 181, 0.3) !important;
    background: var(--pm-ice-blue, #0B6EB5) !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .pm-chat__fab-label {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .pm-chat__fab-sub {
    display: none !important;
  }

  .pm-back-top {
    position: fixed !important;
    right: 1rem !important;
    bottom: calc(var(--pm-cookie-stack-h, 0px) + 68px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 2050 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    transition: bottom 0.25s ease;
  }

  /* Form & inputs (iOS zoom prevention + full-bleed 20 pad) */
  .pm-field input,
  .pm-field select,
  .pm-field textarea {
    font-size: 16px !important;
    min-height: 48px !important;
    border-radius: var(--pm-radius-md, 8px) !important;
  }

  /* Dual CTAs vertical stack */
  .pm-hero__cta,
  .pm-cta-row,
  .pm-footer__cta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .pm-hero__cta .pm-btn,
  .pm-hero__cta-link,
  .pm-footer__cta-row .pm-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .pm-footer__inner {
    grid-template-columns: 1fr !important;
  }
}

/* Lead button full-width ≤640px */
@media (max-width: 640px) {
  .pm-lead__submit-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }
  .pm-lead__submit,
  .pm-lead__submit button,
  .pm-lead__wa-btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* --------------------------------------------------------------------------
   SMALL MOBILE SCREENS (≤ 480px / 375px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --pm-header-h: 60px !important;
    --pm-pad: 16px !important;
  }

  .pm-container {
    padding-inline: 16px !important;
  }

  /* Compressed 60px sticky header */
  .pm-header,
  .pm-header.is-scrolled {
    height: 60px !important;
    min-height: 60px !important;
  }

  .pm-header__inner {
    height: 60px !important;
    min-height: 60px !important;
    padding-inline: 16px !important;
    gap: 0.35rem !important;
  }

  .pm-header__brand,
  .pm-logo {
    gap: 0.25rem !important;
  }

  .pm-logo__img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 6px !important;
  }

  /* Geo text hidden on small screens to prevent ballooning header */
  .pm-logo__geo {
    display: none !important;
  }

  .pm-nav__toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-shrink: 0 !important;
  }

  .pm-nav.is-open .pm-nav__drawer {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
  }

  .pm-header__chrome {
    gap: 0.35rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .pm-lang {
    font-size: 0.8125rem !important;
    white-space: nowrap !important;
  }

  .pm-header__cta {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.875rem !important;
    min-height: 40px !important;
    white-space: nowrap !important;
    border-radius: var(--pm-radius-sm, 4px) !important;
  }

  .pm-header__cta-full {
    display: none !important;
  }

  .pm-header__cta-short {
    display: inline !important;
  }

  /* Grids */
  .pm-journey__steps {
    grid-template-columns: 1fr !important;
  }

  .pm-chat {
    right: 0.85rem !important;
    bottom: calc(var(--pm-cookie-stack-h, 0px) + 10px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 170px !important;
  }

  .pm-chat__fab {
    padding: 0.45rem 0.75rem !important;
  }

  .pm-chat__fab-label {
    font-size: 0.8125rem !important;
  }

  .pm-back-top {
    right: 0.85rem !important;
    bottom: calc(var(--pm-cookie-stack-h, 0px) + 64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Hero & Visuals */
  .pm-hero-media {
    aspect-ratio: 16 / 10 !important;
    max-height: 280px !important;
    margin-top: 0 !important;
  }

  .pm-hero-media__caption {
    font-size: 0.6875rem !important;
    padding: 0.2rem 0.45rem !important;
    left: 0.5rem !important;
    bottom: 0.5rem !important;
  }

  /* Mobile Typography scaling */
  .pm-display {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }

  .pm-headline {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .pm-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .pm-trust,
  .pm-answer {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }

  .pm-lead__privacy {
    font-size: 0.75rem !important;
  }

  .pm-process-live {
    padding: 0.75rem 0.65rem !important;
  }

  .pm-cartoon-manager {
    transform: scale(0.75) !important;
    transform-origin: left bottom !important;
  }
}




/* 0.6.5: mobile nav closed by default (list hidden unless .is-open) */
@media (max-width: 900px) {
  .pm-nav:not(.is-open) > .pm-nav__list {
    display: none !important;
  }
  .pm-nav:not(.is-open) .pm-nav__drawer {
    display: none !important;
  }
  .pm-nav.is-open .pm-nav__drawer {
    display: flex !important;
  }
}

/* 0.6.8-blog-archive: dates, archive link, pagination */
.pm-card__date {
  display: block;
  margin: 0 0 0.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--pm-muted);
}
.pm-blog__archive-link {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0;
}
.pm-blog-archive__back {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}
.pm-blog-archive__back a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pm-pagination {
  margin-top: 2rem;
}
.pm-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.pm-pagination a.page-numbers,
.pm-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: var(--pm-white);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.pm-pagination span.page-numbers.current {
  background: var(--pm-ice-blue);
  border-color: var(--pm-ice-blue);
  color: var(--pm-white);
}
.pm-pagination span.page-numbers.dots {
  border: 0;
  background: transparent;
}
@media (max-width: 600px) {
  .pm-blog__archive-link .pm-btn { width: 100%; justify-content: center; }
  .pm-pagination a.page-numbers, .pm-pagination span.page-numbers { min-width: 40px; padding: 0 0.625rem; }
}
