/* ==========================================================================
   RTIALU.KZ — REDESIGN V2 (LOCAL PREVIEW)
   Dark Graphite Industrial (#151918 / #1c1f22 / #24272c) + Amber Glow (#FF6B00)
   Pure CSS + Inline SVG + IntersectionObserver | Zero heavy libraries
   Full @media (prefers-reduced-motion) & WCAG AA/AAA compliance
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #181a1d;
  --bg-alt: #202327;
  --panel: #26292e;
  --chrome: #131517;
  --line: #363a40;
  --ink: #f2f2f2;
  --muted: #bfc3c7;
  --accent: #ff6b00;
  --accent-hover: #ff8224;
  --amber-glow: rgba(255, 107, 0, .28);
  --button-ink: #141517;
}

body.architectural {
  color-scheme: dark;
  --bg: #1b1a19;
  --bg-alt: #242220;
  --panel: #2c2a28;
  --chrome: #151413;
  --line: #3e3b38;
  --ink: #f2f2f2;
  --muted: #c6c2bc;
  --accent: #ff6b00;
  --accent-hover: #ff8224;
  --button-ink: #141517;
}

html, body {
  background-color: var(--bg);
  color: var(--ink);
}

body {
  background-image:
    radial-gradient(900px 420px at 82% -60px, rgba(255, 107, 0, .14), transparent 68%),
    radial-gradient(640px 360px at 8% 120px, rgba(255, 130, 36, .07), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 52%, var(--bg) 100%);
}

/* ---------- Header (Graphite + Amber Accents + Pill Language Switch) ---------- */
.site-header {
  background:
    radial-gradient(520px 140px at 50% 0, rgba(255, 107, 0, .13), transparent 72%),
    linear-gradient(180deg, #121416 0%, #191c1f 100%);
  border-bottom: 1px solid rgba(255, 107, 0, .22);
}

.brand {
  gap: 0 !important;
}

.brand-mark {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 9px;
  padding: 3px;
  background: #1b1e22;
  border: 1px solid rgba(255, 107, 0, .45);
  box-shadow: 0 0 14px rgba(255, 107, 0, .16);
}

.language-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(20, 22, 25, .88);
  border: 1px solid rgba(255, 152, 56, .55);
  box-shadow: 0 0 14px rgba(255, 107, 0, .12);
}

.language-switch.is-dropdown {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.v2-lang-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1d21 0%, #141619 100%);
  border: 1px solid rgba(255, 158, 56, .72);
  box-shadow: 0 0 14px rgba(255, 107, 0, .22), inset 0 -2px 8px rgba(255, 126, 28, .28);
  color: #f4f6f8;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .14s ease;
}

.v2-lang-btn:hover {
  border-color: #ff9c3b;
  box-shadow: 0 0 18px rgba(255, 107, 0, .36), inset 0 -2px 10px rgba(255, 138, 43, .38);
}

.v2-lang-btn:active {
  transform: scale(.97);
}

.v2-lang-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.v2-lang-globe {
  width: 16px;
  height: 16px;
  color: #e9edf1;
  flex-shrink: 0;
}

.v2-lang-chev {
  width: 13px;
  height: 13px;
  color: #d8dce0;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.language-switch.is-open .v2-lang-chev {
  transform: rotate(180deg);
}

.v2-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 90;
  min-width: 108px;
  padding: 5px;
  border-radius: 12px;
  background: #171a1e;
  border: 1px solid rgba(255, 152, 56, .48);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 107, 0, .14);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.language-switch.is-open .v2-lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-switch a {
  border: 0 !important;
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.language-switch .v2-lang-menu a {
  width: 100%;
  border-radius: 8px;
}

.language-switch a[aria-current="true"] {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c2e 100%);
  color: #141517;
}

.language-switch a:hover:not([aria-current="true"]) {
  color: #fff;
  background: rgba(255, 107, 0, .16);
}

.brandbar .phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 0, .28);
  background: rgba(255, 107, 0, .06);
  color: #f2f2f2;
  font-weight: 700;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}

.brandbar .phone:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 0, .14);
}

.brandbar .phone:active {
  transform: scale(.98);
}

.v2-phone-ico {
  width: 17px;
  height: 17px;
  color: #2ce06e;
  filter: drop-shadow(0 0 6px rgba(44, 224, 110, .5));
  flex-shrink: 0;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .v2-phone-ico {
    animation: v2-phone-ring 3.4s ease-in-out infinite;
  }
  @keyframes v2-phone-ring {
    0%, 72%, 100% { transform: rotate(0deg) scale(1); }
    76% { transform: rotate(-14deg) scale(1.08); }
    80% { transform: rotate(14deg) scale(1.08); }
    84% { transform: rotate(-11deg) scale(1.05); }
    88% { transform: rotate(10deg) scale(1.05); }
    92% { transform: rotate(-6deg) scale(1.02); }
    96% { transform: rotate(4deg) scale(1); }
  }
}

/* ---------- Global Shimmer & Tactile Press on Interactive Buttons ---------- */
.button,
button.button,
.v2-btn,
.filter-bar button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease, transform .14s ease;
}

.button:active,
button.button:active,
.v2-btn:active,
.filter-bar button:active {
  transform: scale(.98);
}

@media (prefers-reduced-motion: no-preference) {
  .button::before,
  button.button::before,
  .v2-btn::before,
  .filter-bar button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .26) 48%, transparent 74%);
    transform: translateX(-130%);
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
  }

  .button:hover::before,
  button.button:hover::before,
  .v2-btn:hover::before,
  .filter-bar button:hover::before {
    transform: translateX(130%);
  }
}

.button > *,
.v2-btn > * {
  position: relative;
  z-index: 1;
}

.catalog-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
}

/* ---------- Hero v2: 3D Visual Dual Direction Switcher (Mockup-faithful + GPU motion) ---------- */
.v2-hero {
  padding-top: clamp(22px, 2.8vw, 38px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.v2-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 820px;
  margin-inline: auto;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #16181c;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.v2-switch-tab {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 14px 16px 16px;
  min-height: 94px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #1a1d22 0%, #141619 100%);
  color: #cfd4da;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background .28s ease, color .22s ease, transform .14s ease;
}

.v2-switch-tab:first-child {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.v2-switch-tab:active {
  transform: scale(.992);
}

.v2-switch-tab:hover {
  color: #fff;
}

.v2-switch-tab[aria-selected="true"] {
  background:
    radial-gradient(280px 130px at 62% 100%, rgba(255, 107, 0, .28), transparent 72%),
    linear-gradient(135deg, #1d1f24 0%, #141619 100%);
  color: #fff;
}

/* Bottom glowing orange accent bar on active tab */
.v2-switch-tab::after,
.direction-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 4;
  background: linear-gradient(90deg, #ff5e00 0%, #ff9838 50%, #ff5e00 100%);
  box-shadow: 0 0 18px rgba(255, 107, 0, .9), 0 -2px 12px rgba(255, 107, 0, .45);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
  pointer-events: none;
}

.v2-switch-tab[aria-selected="true"]::after,
.v2-switch-tab:hover::after,
.direction-nav a[aria-current]::after,
.direction-nav a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.v2-switch-tab:focus-visible,
.direction-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.v2-tab-title {
  position: relative;
  z-index: 3;
  max-width: 52%;
  font-size: clamp(12.5px, 1.1vw, 14px);
  font-weight: 500;
  line-height: 1.24;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}

.v2-tab-count {
  position: relative;
  z-index: 3;
  font-size: 10.5px;
  font-weight: 600;
  color: #ffb067;
  background: rgba(20, 22, 26, .78);
  border: 1px solid rgba(255, 107, 0, .38);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 3D Artwork & Animated Amber Light Arcs inside both .v2-switch-tab and .direction-nav a */
.v2-art-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.v2-art-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 54%;
  object-fit: cover;
  object-position: right center;
  opacity: .84;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 20%, #000 44%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 20%, #000 44%);
  will-change: transform, opacity;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
}

.v2-switch-tab[aria-selected="true"] .v2-art-img,
.v2-switch-tab:hover .v2-art-img,
.direction-nav a[aria-current] .v2-art-img,
.direction-nav a:hover .v2-art-img {
  opacity: 1;
}

.v2-art-arcs {
  position: absolute;
  right: 0;
  inset-block: 0;
  width: 66%;
  height: 100%;
  z-index: 2;
  opacity: .55;
  pointer-events: none;
  transition: opacity .35s ease;
}

.v2-switch-tab[aria-selected="true"] .v2-art-arcs,
.v2-switch-tab:hover .v2-art-arcs,
.direction-nav a[aria-current] .v2-art-arcs,
.direction-nav a:hover .v2-art-arcs {
  opacity: .95;
}

@media (prefers-reduced-motion: no-preference) {
  .v2-switch-tab:hover .v2-art-rti,
  .direction-nav a:hover .v2-art-rti {
    transform: translateY(-3px) scale(1.045) rotate(-0.8deg);
  }
  .v2-switch-tab[aria-selected="true"] .v2-art-rti,
  .direction-nav a[aria-current] .v2-art-rti {
    animation: v2-seals-float 6.5s ease-in-out infinite;
  }
  @keyframes v2-seals-float {
    0%, 100% { transform: translateY(0) scale(1.02); }
    50% { transform: translateY(-4px) scale(1.045) rotate(-0.7deg); }
  }

  .v2-switch-tab:hover .v2-art-rad,
  .direction-nav a:hover .v2-art-rad {
    transform: translateX(-4px) scale(1.045);
  }
  .v2-switch-tab[aria-selected="true"] .v2-art-rad,
  .direction-nav a[aria-current] .v2-art-rad {
    animation: v2-rad-breathe 7s ease-in-out infinite;
  }
  @keyframes v2-rad-breathe {
    0%, 100% { transform: translateX(0) scale(1.02); }
    50% { transform: translateX(-3px) scale(1.04); }
  }

  .v2-art-arcs .v2-arc-flow {
    stroke-dasharray: 48 160;
    animation: v2-arc-run 4.2s linear infinite;
  }
  @keyframes v2-arc-run {
    from { stroke-dashoffset: 208; }
    to { stroke-dashoffset: 0; }
  }

  .v2-switch-tab::before,
  .direction-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 168, 88, .14) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform .75s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
  }
  .v2-switch-tab:hover::before,
  .direction-nav a:hover::before {
    transform: translateX(130%);
  }
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: center;
}

.v2-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.v2-hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
}

.v2-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  min-height: 4.9em;
}

.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.25;
}

.v2-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.v2-btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8528 100%);
  color: #141517;
  border-color: #ff7e1f;
  box-shadow: 0 6px 22px rgba(255, 107, 0, .32);
}

.v2-btn-primary:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff933f 100%);
  box-shadow: 0 8px 28px rgba(255, 107, 0, .44);
}

.v2-btn-secondary {
  background: linear-gradient(180deg, #25282d 0%, #1b1e22 100%);
  color: #f2f2f2;
  border-color: rgba(255, 107, 0, .65);
  box-shadow: 0 0 22px rgba(255, 107, 0, .18), inset 0 1px 0 rgba(255, 160, 80, .16);
}

.v2-btn-secondary:hover {
  border-color: #ff8528;
  box-shadow: 0 0 28px rgba(255, 107, 0, .3);
  color: #fff;
}

.v2-catalog-link,
.catalog-request .text-link,
.geo-table-note .text-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px !important;
  border-radius: 10px;
  border: 1px solid #ff943b !important;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8528 100%);
  color: #141517 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 6px 24px rgba(255, 107, 0, .42), 0 0 18px rgba(255, 122, 0, .28), inset 0 1px 0 rgba(255, 224, 180, .42);
  margin-bottom: 18px;
  transition: transform .16s ease, box-shadow .24s ease, background .24s ease;
}

.geo-table-note .text-link {
  margin-top: 12px !important;
  margin-bottom: 4px !important;
}

.catalog-request .catalog-cta {
  margin: 18px 0 14px !important;
}

.catalog-request .text-link {
  margin-top: 0;
  margin-bottom: 4px;
}

.v2-catalog-link:hover,
.catalog-request .text-link:hover,
.geo-table-note .text-link:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff9842 100%);
  color: #141517 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, .58), 0 0 26px rgba(255, 130, 24, .44), inset 0 1px 0 rgba(255, 236, 200, .52);
}

.v2-catalog-link:active,
.catalog-request .text-link:active,
.geo-table-note .text-link:active {
  transform: translateY(0) scale(.98);
}

@media (prefers-reduced-motion: no-preference) {
  .v2-catalog-link,
  .catalog-request .text-link,
  .geo-table-note .text-link {
    animation: v2-cat-glow 3.6s ease-in-out infinite;
  }
  .v2-catalog-link::before,
  .catalog-request .text-link::before,
  .geo-table-note .text-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, .44) 48%, rgba(255, 244, 220, .22) 54%, transparent 74%);
    transform: translateX(-130%);
    animation: v2-cat-sheen 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
  }
  @keyframes v2-cat-glow {
    0%, 100% {
      box-shadow: 0 6px 22px rgba(255, 107, 0, .36), 0 0 14px rgba(255, 118, 0, .22), inset 0 1px 0 rgba(255, 224, 180, .38);
    }
    50% {
      box-shadow: 0 8px 32px rgba(255, 107, 0, .62), 0 0 28px rgba(255, 132, 24, .48), inset 0 1px 0 rgba(255, 240, 210, .55);
    }
  }
  @keyframes v2-cat-sheen {
    0%, 54% { transform: translateX(-130%); opacity: 0; }
    60% { opacity: 1; }
    88% { transform: translateX(130%); opacity: .95; }
    100% { transform: translateX(130%); opacity: 0; }
  }
}

@media (max-width: 700px) {
  .v2-catalog-link,
  .catalog-request .text-link {
    width: 100% !important;
    min-height: 48px;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    text-align: center !important;
    align-self: stretch !important;
    margin-bottom: 16px;
  }
  .catalog-request .text-link {
    margin-bottom: 4px;
  }
}

/* Quick Consultation Box */
.v2-consult-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(38, 41, 46, .92) 0%, rgba(27, 30, 34, .96) 100%);
  border: 1px solid var(--line);
}

.v2-consult-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.v2-consult-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 0, .14);
  border: 1px solid rgba(255, 107, 0, .38);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-consult-head strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}

.v2-consult-head span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.v2-consult-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.v2-btn-wa {
  background: linear-gradient(135deg, #20b858 0%, #15803d 100%);
  color: #fff;
  border-color: rgba(74, 222, 128, .65);
  box-shadow: 0 6px 20px rgba(30, 168, 83, .30), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.v2-btn-wa:hover {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  border-color: #86efac;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .48), 0 0 0 2px rgba(74, 222, 128, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: translateY(-2px);
}

.v2-btn-wa:active {
  transform: translateY(0) scale(.96);
  box-shadow: 0 3px 12px rgba(37, 211, 102, .35), 0 0 0 3px rgba(74, 222, 128, .45);
}

.v2-btn-ai {
  background: linear-gradient(135deg, rgba(255, 107, 0, .30) 0%, rgba(42, 31, 22, .96) 58%, rgba(255, 138, 43, .22) 100%);
  color: #ffe0c2;
  border-color: rgba(255, 138, 43, .85);
  box-shadow: 0 6px 22px rgba(255, 107, 0, .28), inset 0 1px 0 rgba(255, 190, 120, .28);
}

.v2-btn-ai:hover {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8b2b 100%);
  color: #141517;
  border-color: #ffba7a;
  box-shadow: 0 10px 32px rgba(255, 107, 0, .55), 0 0 0 2px rgba(255, 148, 71, .38), inset 0 1px 0 rgba(255, 255, 255, .38);
  transform: translateY(-2px);
}

.v2-btn-ai:active {
  transform: translateY(0) scale(.96);
  box-shadow: 0 3px 14px rgba(255, 107, 0, .42), 0 0 0 3px rgba(255, 148, 71, .52);
}

/* Header direction-nav 3D visual cards (RTI | Radiators) matching mockup */
.direction-nav {
  max-width: 820px;
  margin-inline: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  margin-top: 6px;
  margin-bottom: 8px;
  background: #16181c;
}

.direction-nav a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 68px !important;
  padding: 11px 14px !important;
  align-items: flex-start !important;
  border-top: 0 !important;
  background: linear-gradient(135deg, #1a1d22 0%, #141619 100%) !important;
  color: #d6dade !important;
  transition: background .25s ease, color .22s ease, transform .14s ease;
}

.direction-nav a:first-child {
  border-right: 1px solid rgba(255, 255, 255, .12) !important;
}

.direction-nav a .v2-nav-label {
  position: relative;
  z-index: 3;
  max-width: 54%;
  font-size: clamp(11.5px, 1vw, 13px);
  font-weight: 500;
  line-height: 1.22;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}

.direction-nav a[aria-current] {
  background:
    radial-gradient(240px 100px at 62% 100%, rgba(255, 107, 0, .26), transparent 72%),
    linear-gradient(135deg, #1d1f24 0%, #141619 100%) !important;
  color: #fff !important;
  border-bottom-color: transparent !important;
}

.direction-nav a:hover {
  color: #fff !important;
}

.direction-nav a:active {
  transform: scale(.99);
}

@media (max-width: 640px) {
  .v2-switch-tab {
    min-height: 78px;
    padding: 11px 12px 14px;
  }
  .v2-tab-title {
    max-width: 58%;
    font-size: 12px;
  }
  .v2-tab-count {
    font-size: 10px;
    padding: 2px 6px;
  }
  .direction-nav a {
    min-height: 58px !important;
    padding: 9px 10px !important;
  }
  .direction-nav a .v2-nav-label {
    max-width: 78%;
    font-size: 10.5px;
    overflow-wrap: normal;
  }
  .v2-art-img {
    width: 52%;
  }
}

/* Motion-graphics icon spring + ambient breathe + click shockwave ripple */
@media (prefers-reduced-motion: no-preference) {
  .v2-btn-wa svg,
  .v2-btn-ai svg {
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  }
  .v2-btn-wa:hover svg {
    transform: rotate(-10deg) scale(1.16);
  }
  .v2-btn-ai:hover svg {
    transform: rotate(24deg) scale(1.18);
  }
  .v2-btn-ai {
    animation: v2-amber-breathe 3.8s ease-in-out infinite;
  }
  @keyframes v2-amber-breathe {
    0%, 100% { box-shadow: 0 6px 20px rgba(255, 107, 0, .24), inset 0 1px 0 rgba(255, 190, 120, .25); }
    50% { box-shadow: 0 8px 28px rgba(255, 107, 0, .42), inset 0 1px 0 rgba(255, 210, 150, .38); }
  }
  .v2-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .20) 55%, transparent 72%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    animation: v2-ripple-out .55s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  @keyframes v2-ripple-out {
    to { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
  }
  .v2-btn-wa.is-burst {
    animation: v2-wa-burst .48s ease-out;
  }
  .v2-btn-ai.is-burst {
    animation: v2-ai-burst .48s ease-out;
  }
  @keyframes v2-wa-burst {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .75), 0 8px 26px rgba(37, 211, 102, .55); }
    100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 6px 20px rgba(30, 168, 83, .30); }
  }
  @keyframes v2-ai-burst {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, .82), 0 8px 28px rgba(255, 107, 0, .62); }
    100% { box-shadow: 0 0 0 14px rgba(255, 107, 0, 0), 0 6px 22px rgba(255, 107, 0, .28); }
  }
}

/* Right Hero Visual Stage (zero CLS, clean 3:2) */
.v2-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  background: #141618;
  border: 1px solid rgba(255, 107, 0, .28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 0 36px rgba(255, 107, 0, .12);
}

.v2-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.v2-hero-img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .v2-hero-img {
    transition: none;
  }
}

/* ---------- 4 Advantages Cards with Linear SVG Micro-Motion ---------- */
.v2-advantages {
  padding-top: 24px;
  padding-bottom: 24px;
}

.v2-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.v2-adv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #272a30 0%, #1e2125 100%);
  border: 1px solid var(--line);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.v2-adv-card:hover {
  border-color: rgba(255, 107, 0, .55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.v2-adv-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}

.v2-adv-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.v2-adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #151918;
  border: 1px solid rgba(255, 107, 0, .3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff6b00;
}

.v2-adv-icon svg {
  width: 30px;
  height: 30px;
}

@media (prefers-reduced-motion: no-preference) {
  /* 1. Client base soft pulse */
  .v2-ico-pulse .pulse-ring {
    transform-origin: center;
    animation: v2-pulse 3.2s ease-in-out infinite;
  }
  @keyframes v2-pulse {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .95; transform: scale(1.08); }
  }

  /* 2. Gear smooth rotation on hover or visible */
  .v2-adv-card:hover .v2-ico-gear,
  .v2-adv-card.is-visible .v2-ico-gear {
    animation: v2-spin 12s linear infinite;
  }
  @keyframes v2-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* 3. Route dash animation from Karaganda */
  .v2-ico-route .route-path {
    stroke-dasharray: 4 4;
    animation: v2-dash 2.6s linear infinite;
  }
  @keyframes v2-dash {
    to { stroke-dashoffset: -16; }
  }

  /* 4. GOST stamp impression on hover/visible */
  .v2-adv-card:hover .v2-ico-stamp {
    animation: v2-stamp .45s ease-out;
  }
  @keyframes v2-stamp {
    0% { transform: scale(1.14); opacity: .65; }
    100% { transform: scale(1); opacity: 1; }
  }
}

/* ---------- Engineering Interactive SVG Schematics (Radiators Convection & RTI Sheet Cutaway) ---------- */
.v2-scheme-section {
  border-top: 1px solid var(--line);
}

.v2-scheme-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #26292e 0%, #1d2024 100%);
  border: 1px solid var(--line);
}

.v2-scheme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.v2-scheme-tab {
  appearance: none;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #181a1d;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.v2-scheme-tab[aria-pressed="true"] {
  background: rgba(255, 107, 0, .18);
  border-color: var(--accent);
  color: #fff;
}

.v2-scheme-stage {
  background: #151918;
  border: 1px solid rgba(255, 107, 0, .24);
  border-radius: 12px;
  padding: 18px;
}

.v2-scheme-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .v2-heat-flow {
    stroke-dasharray: 8 6;
    animation: v2-heat-rise 2.4s linear infinite;
  }
  @keyframes v2-heat-rise {
    to { stroke-dashoffset: -28; }
  }
}

/* RTI Rubber Sheet Cutaway (interactive hover/tap expand) */
.v2-cutaway-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  background: #151918;
  border: 1px solid rgba(255, 107, 0, .28);
  border-radius: 12px;
  padding: 16px;
  color: var(--ink);
  cursor: pointer;
}

.v2-cutaway-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.v2-cutaway-layer {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .v2-cutaway-btn:hover .v2-layer-top,
  .v2-cutaway-btn[aria-expanded="true"] .v2-layer-top {
    transform: translateY(-10px);
  }
  .v2-cutaway-btn:hover .v2-layer-bot,
  .v2-cutaway-btn[aria-expanded="true"] .v2-layer-bot {
    transform: translateY(10px);
  }
}

/* ---------- Table Row Hover Highlight (GOST, Radiators, Logistics) ---------- */
.geo-table tbody tr {
  transition: background-color .18s ease;
}

.geo-table tbody tr:hover th,
.geo-table tbody tr:hover td {
  background: rgba(255, 107, 0, .09);
  color: #fff;
}

/* ---------- Scroll Reveal (Static by default under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .v2-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
  }
  .v2-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Native <dialog> Max AI Quick Consultant ---------- */
.v2-max-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: min(640px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid rgba(255, 107, 0, .48);
  border-radius: 16px;
  background: #181a1d;
  color: #f2f2f2;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .65);
  overflow: hidden;
}

.v2-max-dialog::backdrop {
  background: rgba(10, 12, 14, .76);
  backdrop-filter: blur(4px);
}

.v2-max-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #131517;
  border-bottom: 1px solid var(--line);
}

.v2-max-head img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 0, .5);
  object-fit: cover;
}

.v2-max-close {
  margin-left: auto;
  appearance: none;
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #22252a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.v2-max-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 430px;
  overflow-y: auto;
}

.v2-max-msg {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  background: #24272c;
  border: 1px solid var(--line);
}

.v2-max-msg.is-user {
  background: rgba(255, 107, 0, .16);
  border-color: rgba(255, 107, 0, .45);
  align-self: flex-end;
}

.v2-max-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2-max-quick button {
  appearance: none;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #202327;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.v2-max-quick button:hover {
  border-color: var(--accent);
  color: #fff;
}

.v2-max-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #131517;
  border-top: 1px solid var(--line);
}

.v2-max-form input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #1c1f23;
  color: #f2f2f2;
  font: inherit;
  font-size: 13.5px;
}

/* ---------- Compact Modern Footer (Balanced 3-column desktop grid + fine-print mobile) ---------- */
.footer {
  display: block !important;
  margin-top: 40px;
  padding: 22px 24px 86px !important;
  background: linear-gradient(180deg, #16181b 0%, #121416 100%) !important;
  border-top: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #9ea4ab;
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
  padding-bottom: 14px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-brand-col .brand {
  font-size: 13.5px;
  min-height: 26px;
  gap: 0 !important;
}

.footer-brand-col .brand-mark {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 5px;
  padding: 2px;
}

.footer-tagline {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.35;
  color: #8c929a;
}

.footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  margin: 0;
}

.footer .footer-links a {
  min-width: auto !important;
  min-height: 24px !important;
  font-size: 11.5px;
  color: #bfc3c7;
  text-decoration: none;
  transition: color .18s ease;
}

.footer .footer-links a:hover {
  color: var(--accent);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 11.5px;
  white-space: nowrap;
}

.footer-contacts a {
  min-height: 22px !important;
  display: inline-flex;
  align-items: center;
  color: #e2e5e8;
  text-decoration: none;
  font-weight: 600;
  transition: color .18s ease;
}

.footer-contacts a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 10.5px;
  color: #828890;
}

.footer-bottom small {
  font-size: 10.5px;
  color: #828890;
}

/* ---------- Responsive (Tablet & Mobile 390x844) ---------- */
@media (max-width: 960px) {
  .v2-hero-grid,
  .v2-scheme-card {
    grid-template-columns: 1fr;
  }
  .v2-adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v2-hero-lead {
    min-height: 0;
  }
}

/* ---------- Unified Mobile Typography & Alignment Polish (<= 700px) ---------- */
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 32px) !important;
    margin-inline: auto !important;
  }

  /* Header & top bar flush left-to-right alignment */
  .brandbar {
    gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 6px !important;
  }
  .brandbar .brand {
    font-size: 16px !important;
    letter-spacing: .06em;
  }
  .brandbar .brand-mark {
    margin-right: 7px;
  }
  .language-switch:not(.is-dropdown) {
    padding: 2px;
  }
  .v2-lang-btn {
    min-height: 34px;
    padding: 5px 11px;
    font-size: 12px;
    gap: 6px;
  }
  .language-switch a {
    min-width: 38px !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }
  .brandbar .phone {
    width: 100%;
    justify-content: flex-start;
    padding: 7px 12px !important;
    font-size: 13px !important;
    line-height: 1.2;
  }

  /* Consistent vertical rhythm across all pages */
  .home-hero,
  .rti-hero,
  .premium-radiator-hero,
  .v2-hero {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
  }
  .section,
  .request-section,
  .story {
    padding-block: 38px !important;
  }
  .section-heading {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px !important;
    text-align: left !important;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    margin-top: 0 !important;
  }

  /* Unified mobile heading & body scale so text never jumps between pages */
  h1,
  .v2-hero-copy h1,
  .radiator-heading h1,
  .radiator-title h1,
  .privacy-content h1 {
    font-size: clamp(26px, 7.2vw, 34px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em !important;
    text-align: left !important;
    margin-bottom: 12px;
    overflow-wrap: break-word;
  }
  h2,
  .section-heading h2,
  .story-copy h2,
  .faq-section h2,
  .v2-scheme-card h2 {
    font-size: clamp(21px, 5.8vw, 27px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
    overflow-wrap: break-word;
  }
  h3,
  .product-info h3,
  .category-card h3,
  .direction-copy h3,
  .premium-story .story-step h3,
  .v2-adv-card h3 {
    font-size: clamp(17px, 4.6vw, 20px) !important;
    line-height: 1.25 !important;
    letter-spacing: -.015em !important;
    text-align: left !important;
  }
  p,
  .lede,
  .hero-bottom p,
  .radiator-intro .lede,
  .product-info p,
  .category-card > p:not(.diagram-caption),
  .premium-story .story-step p,
  .v2-hero-lead,
  .v2-adv-card p,
  .faq-section details p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: left !important;
    max-width: 100%;
  }
  .eyebrow {
    font-size: 10.5px !important;
    letter-spacing: .12em !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }
  .v2-hero-eyebrow {
    font-size: clamp(8.5px, 2.55vw, 10px) !important;
    letter-spacing: .04em !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    margin-bottom: 10px !important;
  }
  .intro-note,
  .source-note,
  .diagram-caption {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  /* Unified cards & blocks left-aligned with equal inner padding */
  .product-info,
  .category-card,
  .direction-copy,
  .v2-adv-card,
  .v2-scheme-card,
  .v2-consult-box {
    padding: 16px !important;
    text-align: left !important;
  }
  .radiator-heading {
    margin-bottom: 20px !important;
  }
  .radiator-intro {
    margin-top: 14px !important;
  }
  .hero-bottom {
    margin: 16px 0 22px !important;
  }
  .hero-bottom > .button {
    margin-top: 16px !important;
    width: 100%;
  }

  /* Unified buttons & action groups (no mixed left/right/spaced drift) */
  .actions,
  .radiator-intro .actions,
  .v2-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 18px 0 16px !important;
  }
  .actions .button,
  .hero-bottom > .button,
  main .button,
  .v2-actions .v2-btn,
  .product-info .button,
  .request-form .button,
  .radiator-intro .actions .button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 16px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
  .text-link,
  .radiator-intro .text-link {
    display: inline-flex !important;
    align-items: center;
    align-self: flex-start !important;
    text-align: left !important;
    font-size: 13px !important;
    padding: 8px 0 !important;
  }
  .catalog-request .text-link,
  .geo-table-note .text-link {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    justify-content: center !important;
    text-align: center !important;
    align-self: stretch !important;
    margin-top: 10px !important;
    margin-bottom: 4px !important;
  }

  /* FAQ & Forms clean left alignment */
  .faq-section summary {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    padding-block: 14px !important;
  }
  .request-form label,
  .request-form input,
  .request-form select,
  .request-form textarea {
    font-size: 14px !important;
    text-align: left !important;
  }

  /* Footer ultra-compact fine-print 2-column grid on mobile */
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 20px;
    padding: 14px 16px 84px !important;
    text-align: left !important;
  }
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px;
    padding-bottom: 8px;
  }
  .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 2px;
  }
  .footer-brand-col .brand {
    font-size: 12px !important;
    min-height: 22px;
  }
  .footer-brand-col .brand-mark {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    border-radius: 4px;
    padding: 2px;
  }
  .footer-tagline {
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #8c929a !important;
  }
  .footer .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px 12px !important;
    align-items: start !important;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .footer .footer-links a {
    display: block !important;
    min-height: 0 !important;
    padding: 1px 0 !important;
    font-size: 10.5px !important;
    line-height: 1.28 !important;
    text-align: left !important;
  }
  .footer-contacts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px 12px;
    width: 100%;
  }
  .footer-contacts a {
    min-height: 0 !important;
    padding: 1px 0 !important;
    font-size: 10.5px !important;
    line-height: 1.28 !important;
    justify-content: flex-start !important;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px;
    padding: 7px 0 0 0 !important;
    font-size: 9.5px !important;
    line-height: 1.3 !important;
  }
  .footer-bottom small {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 640px) {
  .direction-nav,
  .v2-switcher {
    max-width: 100%;
  }
  .v2-switcher {
    grid-template-columns: 1fr;
  }
  .v2-consult-actions {
    grid-template-columns: 1fr;
  }
  .v2-adv-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Persistent Floating Quick-Consultation Dock (WhatsApp + Max AI) ---------- */
.floating-wa {
  display: none !important;
}

.v2-float-dock {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-dock-btn {
  position: relative;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 14px 8px 12px;
  border-radius: 16px;
  color: #f4f6f8;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, border-color .22s ease;
}

.v2-dock-btn:hover {
  transform: translateY(-2px);
}

.v2-dock-btn:active {
  transform: translateY(0) scale(.97);
}

.v2-dock-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.v2-dock-wa {
  background:
    radial-gradient(120px 64px at 14% 50%, rgba(37, 211, 102, .26), transparent 72%),
    radial-gradient(90px 36px at 50% 105%, rgba(255, 132, 36, .28), transparent 75%),
    linear-gradient(135deg, rgba(16, 26, 20, .94) 0%, rgba(16, 18, 21, .96) 100%);
  border: 1px solid rgba(54, 214, 114, .68);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, .5),
    0 0 18px rgba(37, 211, 102, .22),
    inset 0 1px 0 rgba(120, 255, 170, .35),
    inset 0 -1px 0 rgba(255, 148, 56, .35);
}

.v2-dock-wa:hover {
  border-color: #42e880;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .55),
    0 0 24px rgba(37, 211, 102, .4),
    inset 0 1px 0 rgba(140, 255, 185, .45);
}

.v2-dock-wa .v2-dock-ico {
  color: #2ce06e;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, .65));
}

.v2-dock-ai {
  background:
    radial-gradient(120px 64px at 16% 50%, rgba(255, 128, 24, .26), transparent 72%),
    radial-gradient(90px 36px at 50% 105%, rgba(255, 168, 60, .25), transparent 75%),
    linear-gradient(135deg, rgba(28, 20, 14, .94) 0%, rgba(18, 17, 18, .96) 100%);
  border: 1px solid rgba(255, 152, 52, .72);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, .5),
    0 0 18px rgba(255, 115, 0, .24),
    inset 0 1px 0 rgba(255, 206, 128, .38),
    inset 0 -1px 0 rgba(255, 130, 32, .38);
}

.v2-dock-ai:hover {
  border-color: #ffab4a;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .55),
    0 0 24px rgba(255, 122, 0, .44),
    inset 0 1px 0 rgba(255, 220, 155, .48);
}

.v2-dock-ai .v2-dock-ico {
  color: #ff9a2e;
  filter: drop-shadow(0 0 8px rgba(255, 130, 20, .75));
}

.v2-dock-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.v2-dock-ico svg {
  width: 26px;
  height: 26px;
}

.v2-dock-btn:hover .v2-dock-ico {
  transform: scale(1.1);
}

.v2-dock-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.18;
  font-size: 12.5px;
  color: #f4f6f8;
}

.v2-dock-txt strong {
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
}

.v2-dock-txt span {
  font-weight: 500;
  font-size: 12px;
  color: #dce1e6;
}

.v2-dock-chev {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  color: rgba(255, 255, 255, .75);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.v2-dock-btn:hover .v2-dock-chev {
  transform: translateX(2px);
}

/* Soft alternating GPU breathing glow + subtle CTA sheen (WhatsApp & Max AI) */
@media (prefers-reduced-motion: no-preference) {
  .v2-dock-wa::before,
  .v2-dock-wa::after,
  .v2-dock-ai::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
  }

  /* Gentle inviting shimmer sweep across WhatsApp pill */
  .v2-dock-wa::before {
    z-index: 1;
    background: linear-gradient(110deg, transparent 26%, rgba(120, 255, 172, .22) 48%, rgba(255, 255, 255, .14) 52%, transparent 74%);
    transform: translateX(-130%);
    animation: v2-dock-sheen 4.4s cubic-bezier(.4, 0, .2, 1) infinite;
  }

  /* Soft emerald breathing glow on WhatsApp (phase 0s) */
  .v2-dock-wa::after {
    z-index: 0;
    background: radial-gradient(130% 100% at 22% 50%, rgba(44, 224, 110, .26), transparent 68%);
    box-shadow: inset 0 0 18px rgba(44, 224, 110, .42), inset 0 1px 0 rgba(150, 255, 190, .55);
    opacity: .12;
    animation: v2-dock-breathe 4.4s ease-in-out infinite;
  }

  /* Soft amber-gold breathing glow on Max AI (alternating phase -2.2s) */
  .v2-dock-ai::after {
    z-index: 0;
    background: radial-gradient(130% 100% at 22% 50%, rgba(255, 148, 42, .26), transparent 68%);
    box-shadow: inset 0 0 18px rgba(255, 130, 24, .44), inset 0 1px 0 rgba(255, 218, 150, .55);
    opacity: .12;
    animation: v2-dock-breathe 4.4s ease-in-out -2.2s infinite;
  }

  .v2-dock-btn > * {
    position: relative;
    z-index: 2;
  }

  .v2-dock-wa .v2-dock-ico {
    animation: v2-dock-ico-pulse 4.4s ease-in-out infinite;
  }

  .v2-dock-ai .v2-dock-ico {
    animation: v2-dock-ico-pulse 4.4s ease-in-out -2.2s infinite;
  }

  @keyframes v2-dock-breathe {
    0%, 100% { opacity: .10; }
    50% { opacity: 1; }
  }

  @keyframes v2-dock-sheen {
    0%, 58% { transform: translateX(-130%); opacity: 0; }
    64% { opacity: 1; }
    88% { transform: translateX(130%); opacity: .9; }
    100% { transform: translateX(130%); opacity: 0; }
  }

  @keyframes v2-dock-ico-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
  }
}

/* Desktop footer clearance for bottom-right dock */
.footer {
  padding-bottom: 84px !important;
}

/* Mobile bottom thumb-dock: two equal buttons always visible */
@media (max-width: 768px) {
  .v2-float-dock {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(16, 18, 21, 0) 0%, rgba(16, 18, 21, .9) 28%, #121417 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .v2-dock-btn {
    width: 100%;
    min-height: 48px;
    padding: 7px 10px;
    gap: 8px;
    border-radius: 14px;
    justify-content: space-between;
  }
  .v2-dock-ico {
    width: 24px;
    height: 24px;
  }
  .v2-dock-ico svg {
    width: 23px;
    height: 23px;
  }
  .v2-dock-txt {
    flex: 1;
    min-width: 0;
  }
  .v2-dock-txt strong {
    font-size: 11.5px;
  }
  .v2-dock-txt span {
    font-size: 11px;
  }
  .v2-dock-chev {
    width: 12px;
    height: 12px;
    margin-left: 0;
  }
  .footer {
    padding-bottom: 84px !important;
  }
}

/* ---------- Compact Mobile Geo-Table + Interactive Kazakhstan Logistics Map ---------- */
.geo-table tbody tr {
  cursor: pointer;
}

.geo-table tbody tr.is-active th,
.geo-table tbody tr.is-active td {
  background: rgba(255, 107, 0, .14) !important;
  color: #fff !important;
}

.geo-table tbody tr.is-active th {
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (max-width: 700px) {
  .geo-table-wrap {
    overflow-x: hidden !important;
    border-radius: 10px;
  }
  .geo-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }
  .geo-table caption {
    display: block !important;
    width: 100%;
    padding: 8px 10px !important;
    font-size: 10.5px !important;
    font-weight: 600;
    line-height: 1.3 !important;
  }
  .geo-table thead {
    display: none !important;
  }
  .geo-table tbody {
    display: block !important;
    width: 100%;
  }
  .geo-table tbody tr {
    display: block !important;
    width: 100%;
    padding: 8px 10px !important;
    border-bottom: 1px solid var(--line);
  }
  .geo-table tbody tr:last-child {
    border-bottom: 0;
  }
  .geo-table tbody th,
  .geo-table tbody td {
    display: block !important;
    width: 100% !important;
    padding: 1px 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow-wrap: break-word;
  }
  .geo-table tbody th {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 2px;
  }
  .geo-table tbody td {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    color: #bfc3c7 !important;
  }
}

.v2-kz-map-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background:
    radial-gradient(460px 220px at 62% 40%, rgba(255, 107, 0, .12), transparent 72%),
    linear-gradient(180deg, #1a1d22 0%, #131518 100%);
  border: 1px solid rgba(255, 107, 0, .26);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .38);
}

.v2-kz-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.v2-kz-map-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v2-kz-hub-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b00;
  box-shadow: 0 0 10px rgba(255, 107, 0, .9);
  flex-shrink: 0;
}

.v2-kz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2-kz-tab {
  appearance: none;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(24, 27, 32, .88);
  color: #c8cdd3;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .14s ease;
}

.v2-kz-tab:hover {
  border-color: rgba(255, 138, 43, .65);
  color: #fff;
}

.v2-kz-tab.is-active {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c2e 100%);
  border-color: #ffb067;
  color: #141517;
  box-shadow: 0 0 16px rgba(255, 107, 0, .42);
}

.v2-kz-tab:active {
  transform: scale(.96);
}

.v2-kz-stage {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 40%, rgba(255, 107, 0, .09), transparent 52%),
    #111316;
  border: 1px solid rgba(255, 255, 255, .07);
}

.v2-kz-svg {
  display: block;
  width: 100%;
  height: auto;
}

.v2-kz-land {
  fill: #1b1f25;
  stroke: rgba(255, 152, 56, .34);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.v2-kz-grid {
  stroke: rgba(255, 255, 255, .045);
  stroke-width: 1;
}

.v2-kz-route-base {
  fill: none;
  stroke: rgba(255, 138, 43, .16);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
}

.v2-kz-route-active {
  fill: none;
  stroke: #ff7b1a;
  stroke-width: 2.8;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: opacity .25s ease;
}

.v2-kz-route-group.is-active .v2-kz-route-active {
  opacity: 1;
  animation: v2-route-draw 1.15s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes v2-route-draw {
  from { stroke-dashoffset: 460; }
  to { stroke-dashoffset: 0; }
}

.v2-kz-city-dot {
  fill: #7f8791;
  stroke: #111316;
  stroke-width: 1.5;
  transition: fill .25s ease, r .25s ease;
}

.v2-kz-city-label {
  fill: #8d959f;
  font-size: 11px;
  font-weight: 500;
  font-family: "Segoe UI", Arial, sans-serif;
  transition: fill .25s ease;
  pointer-events: none;
}

.v2-kz-route-group.is-active .v2-kz-city-dot {
  fill: #ff9c38;
}

.v2-kz-route-group.is-active .v2-kz-city-label {
  fill: #fff;
  font-weight: 700;
}

.v2-kz-hub-ring {
  fill: none;
  stroke: #ff6b00;
  stroke-width: 2;
  opacity: .75;
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .v2-kz-hub-ring {
    animation: v2-hub-radar 2.4s ease-out infinite;
  }
  @keyframes v2-hub-radar {
    0% { transform: scale(.6); opacity: .9; }
    100% { transform: scale(2.4); opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-kz-route-group.is-active .v2-kz-route-active {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.v2-kz-info {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 107, 0, .07);
  border: 1px solid rgba(255, 107, 0, .24);
  font-size: 12px;
  line-height: 1.45;
  color: #d6dade;
}

.v2-kz-info strong {
  color: #ffb067;
}

@media (max-width: 700px) {
  .v2-kz-map-card {
    padding: 12px;
    margin-top: 12px;
  }
  .v2-kz-map-title {
    font-size: 12.5px;
  }
  .v2-kz-tabs {
    gap: 5px;
  }
  .v2-kz-tab {
    padding: 5px 8px;
    font-size: 10px;
  }
  .v2-kz-city-label {
    font-size: 13px;
  }
  .v2-kz-info {
    font-size: 11px !important;
    padding: 8px 10px;
  }
}

/* Collapsible SEO-friendly table container beneath the Kazakhstan map */
.v2-kz-map-card {
  margin-top: 0;
  margin-bottom: 12px;
}

.v2-geo-details {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(20, 22, 26, .82);
  overflow: hidden;
  transition: border-color .2s ease;
}

.v2-geo-details[open] {
  border-color: rgba(255, 138, 43, .42);
}

.v2-geo-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #cfd4da !important;
  cursor: pointer;
  user-select: none;
  transition: color .18s ease, background .18s ease;
}

.v2-geo-details > summary > span,
.v2-geo-details[open] > summary > span {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #cfd4da !important;
  transform: none !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.v2-geo-details > summary::-webkit-details-marker {
  display: none;
}

.v2-geo-details > summary:hover,
.v2-geo-details > summary:hover > span {
  color: #fff !important;
}

.v2-geo-details > summary:hover {
  background: rgba(255, 107, 0, .08);
}

.v2-geo-chev {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .22s ease;
}

.v2-geo-details[open] .v2-geo-chev {
  transform: rotate(180deg);
}

.v2-geo-details .geo-table-wrap {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0;
}

@media (max-width: 700px) {
  .v2-geo-details > summary {
    padding: 8px 12px !important;
    min-height: 34px !important;
  }
  .v2-geo-details > summary > span,
  .v2-geo-details[open] > summary > span {
    font-size: 11px !important;
  }
}

/* Remove text overlay captions on radiator photos for clean architectural photography */
.radiator-hero-photo figcaption,
.radiator-hero-image figcaption,
.story-stage figcaption,
.gallery-trigger > span,
.radiator-hero-photo .motion-curtain,
.radiator-hero-photo .motion-light {
  display: none !important;
}

/* ---------- B2B Commercial Triggers (CRO) & Regional Delivery Links ---------- */
.v2-cro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.v2-cro-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(36, 40, 46, .92) 0%, rgba(24, 27, 31, .96) 100%);
  border: 1px solid rgba(255, 138, 43, .26);
  text-align: left;
}

.v2-cro-card strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffb067;
  line-height: 1.3;
}

.v2-cro-card span {
  font-size: 12px;
  line-height: 1.45;
  color: #d4d8dd;
}

.v2-kz-city-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11.5px;
  color: #9ea4ab;
}

.v2-kz-city-links a {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #dce0e5;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.v2-kz-city-links a:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 107, 0, .14);
}

.v2-city-hero {
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: 24px;
}

.v2-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.v2-city-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #24272d 0%, #1b1e23 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-city-card h2 {
  font-size: 20px;
  margin: 0;
  color: #fff;
}

.v2-city-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
}

.v2-geo-requisites {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  line-height: 1.55;
  color: #c6cbd1;
}

.v2-geo-requisites strong {
  color: #fff;
}

/* ---------- Form Consent Checkboxes (KZ Law № 94-V & Law on Advertising) ---------- */
.v2-consent-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 12px;
}

.v2-check-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #cfd4da !important;
  cursor: pointer;
  text-align: left !important;
}

.v2-check-row input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  margin: 2px 0 0 0 !important;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.v2-check-row a {
  color: #ffb067;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-check-opt {
  color: #9ea4ab !important;
  font-size: 11.5px !important;
}

.consent__text a {
  color: #ffb067;
  text-decoration: underline;
}

/* Legal document readability (/privacy/, /terms/) */
.v2-legal-doc h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  margin: 28px 0 10px;
  color: #fff;
}

.v2-legal-doc p,
.v2-legal-doc li {
  font-size: 14px;
  line-height: 1.65;
  color: #cfd4da;
  margin-bottom: 10px;
}

.v2-legal-doc ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

@media (max-width: 700px) {
  .v2-cro-strip,
  .v2-city-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .v2-cro-card {
    padding: 11px 12px;
  }
  .v2-cro-card strong {
    font-size: 12px;
  }
  .v2-cro-card span {
    font-size: 11.5px;
  }
}
