/* ========================================================================== 
   CTK Industrial Theme — V29 concept
   Frontend-only visual layer. Business logic and interaction selectors stay
   untouched, so the theme can be removed without affecting the backend.
   ========================================================================== */

:root {
  --green: #d26a31;
  --green-dark: #a44a20;
  --ink: #15191d;
  --muted: #747b82;
  --surface: #f2f3f3;
  --light-blue: #eef0f1;
  --industrial-dark: #11171c;
  --industrial-mid: #20272d;
  --industrial-line: rgba(23, 31, 37, .12);
  --industrial-orange: #d26a31;
  --industrial-orange-bright: #ec7b37;
  --shadow: 0 22px 70px rgba(16, 22, 27, .11);
}

body {
  background: #f7f8f8;
  color: var(--ink);
}

::selection { background: rgba(210, 106, 49, .22); }

/* Header ------------------------------------------------------------------ */
.site-header {
  border-color: rgba(255,255,255,.22);
  text-shadow: 0 1px 18px rgba(0,0,0,.16);
}
.site-header.is-scrolled {
  background: rgba(14, 19, 23, .92);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.header-divider { background: rgba(255,255,255,.38); }
.header-consult { color: rgba(255,255,255,.78); }
.header-consult:hover { color: #fff; }

/* Hero -------------------------------------------------------------------- */
.hero {
  height: min(930px, 100svh);
  min-height: 760px;
  background: #0f1519;
}
.hero-media {
  background: linear-gradient(135deg, #172027, #0f1418);
  animation: none;
  transform: none;
}
.hero-media-image {
  inset: 0;
  height: 100%;
  object-position: 64% 55%;
  transform: scale(1.012);
  animation: industrialHeroBreath 16s ease-in-out infinite alternate;
}
@keyframes industrialHeroBreath {
  from { transform: scale(1.012); }
  to { transform: scale(1.035); }
}
.hero-vignette {
  background:
    linear-gradient(90deg, rgba(8,12,15,.91) 0%, rgba(10,15,18,.76) 33%, rgba(10,14,17,.30) 64%, rgba(8,11,14,.22) 100%),
    linear-gradient(180deg, rgba(7,10,12,.18) 0%, rgba(8,11,13,.08) 55%, rgba(7,10,12,.56) 100%);
}
.hero-content { padding-top: 228px; }
.hero-eyebrow {
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(13,18,22,.28);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 940px;
  margin-bottom: 38px;
  font-size: clamp(50px, 4.2vw, 78px);
  line-height: .94;
  letter-spacing: -.035em;
  text-shadow: 0 5px 28px rgba(0,0,0,.30);
}
.hero-copy { max-width: 760px; }
.hero-copy p {
  max-width: 700px;
  margin-bottom: 46px;
  color: rgba(255,255,255,.82);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 500;
}
.button-primary {
  background: var(--industrial-orange);
  box-shadow: 0 14px 32px rgba(113, 49, 17, .28);
}
.button-primary:hover {
  background: var(--industrial-orange-bright);
  box-shadow: 0 20px 42px rgba(113, 49, 17, .35);
}
.hero-signature { color: rgba(255,255,255,.63); }
.hero-signature span { background: rgba(255,255,255,.30); }

/* Section rhythm ----------------------------------------------------------- */
.section { padding-block: 108px; }
.section-sm { padding-block: 58px; }
.text-link { color: #9d4921; }

/* Directions --------------------------------------------------------------- */
.directions {
  background:
    linear-gradient(180deg, #f7f8f8 0%, #f2f3f4 100%);
}
.direction-card,
.direction-image { border-radius: 16px; }
.direction-card {
  position: relative;
  border: 1px solid rgba(19, 26, 31, .07);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.direction-card::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 0;
  width: 52px;
  height: 3px;
  background: var(--industrial-orange);
  opacity: .72;
  transform-origin: left;
  transform: scaleX(.38);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.direction-card:hover {
  background: #fff;
  box-shadow: 0 24px 60px rgba(20,27,32,.10);
}
.direction-card:hover::before { transform: scaleX(1); opacity: 1; }
.round-arrow { border-color: rgba(22,29,34,.20); color: #343c42; }
.direction-card:hover .round-arrow {
  background: var(--industrial-orange);
  border-color: var(--industrial-orange);
}
.direction-card p { color: #50575c; }
.direction-image {
  position: relative;
  background: #11171c;
  isolation: isolate;
}
.direction-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9,13,16,.02) 28%, rgba(8,12,15,.83) 100%);
}
.direction-image img { filter: saturate(.80) contrast(1.06); }
.direction-image-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 27px;
  display: grid;
  gap: 7px;
  color: #fff;
}
.direction-image-caption small {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.direction-image-caption strong {
  max-width: 13ch;
  font: 400 25px/1.02 var(--xolonium);
}

/* About -------------------------------------------------------------------- */
.about { min-height: 1060px; background: #11171c; }
.about-bg {
  object-position: center 52% !important;
  filter: saturate(.86) contrast(1.02) brightness(.98);
}
.about::after {
  background:
    linear-gradient(90deg, rgba(10,15,19,.52) 0%, rgba(12,18,22,.36) 46%, rgba(13,18,21,.28) 100%),
    linear-gradient(180deg, rgba(9,13,16,.04), rgba(7,10,13,.24));
}
.about-copy p { color: rgba(255,255,255,.86); }
.stat-card {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(28,36,43,.20), rgba(18,24,29,.14));
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  backdrop-filter: blur(26px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.10);
}
.stat-card::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--industrial-orange);
  margin-bottom: 20px;
}
.stat-card p { color: rgba(255,255,255,.73); }

/* Catalogue ---------------------------------------------------------------- */
.products { background: #f7f8f8; }
.product-group-label:hover { color: var(--industrial-orange); }
.product-group-label:focus-visible { outline-color: rgba(210,106,49,.45); }
.product-group-label:hover .group-toggle-icon {
  border-color: var(--industrial-orange);
  background: rgba(210,106,49,.07);
}
.product-card {
  border-color: rgba(20,27,32,.065);
  background: linear-gradient(180deg,#fff 0%,#f3f4f4 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.92) inset;
}
.product-card:hover { box-shadow: 0 22px 54px rgba(20,27,32,.10); }
.product-card a:hover { color: var(--industrial-orange); }
.product-image { background: #171c20; }
.product-image--placeholder {
  border-color: rgba(210,106,49,.16);
  background: radial-gradient(circle at 70% 30%, rgba(210,106,49,.11), transparent 36%), linear-gradient(135deg,#eef0f0,#fafafa);
}
.product-placeholder-mark { color: rgba(164,74,32,.75); }

/* Logistics ---------------------------------------------------------------- */
.logistics { background: #f7f8f8; }
.logistics-card {
  min-height: 500px;
  color: #fff;
  background: linear-gradient(135deg, #161d22 0%, #20282e 100%);
  border: 1px solid rgba(16,22,27,.08);
  box-shadow: 0 30px 90px rgba(18,24,29,.12);
}
.logistics-card::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15,20,24,.96) 0 48%, rgba(15,20,24,.72) 60%, rgba(15,20,24,.06) 100%);
}
.logistics-copy { z-index: 2; }
.logistics-copy p { color: rgba(255,255,255,.72); }
.logistics-map {
  filter: saturate(.65) contrast(1.08) brightness(.83);
  clip-path: polygon(46% 0,100% 0,100% 100%,0 100%) !important;
}

/* Features ----------------------------------------------------------------- */
.features { background: linear-gradient(180deg,#eef0f1 0%,#f7f8f8 100%); }
.feature-card {
  border-color: rgba(20,27,32,.07);
  background: rgba(255,255,255,.86);
}
.feature-card::after { background: linear-gradient(90deg,var(--industrial-orange),rgba(210,106,49,0)); }
.feature-card:hover { border-color: rgba(210,106,49,.15); box-shadow: 0 24px 64px rgba(18,24,29,.09); }
.feature-icon {
  color: #a44a20;
  border-color: rgba(210,106,49,.22);
  background: linear-gradient(145deg,rgba(210,106,49,.11),rgba(210,106,49,.025));
  box-shadow: 0 10px 30px rgba(113,49,17,.055);
}
.feature-card p { color: #686f75; }

/* Documents ---------------------------------------------------------------- */
.documents { background: #f7f8f8; }
.documents-controls button { color: var(--industrial-orange); }
.documents-controls button:hover { color: #9f451d; }
.document-card { background: #454d53; }

/* Contact ------------------------------------------------------------------ */
.contact { background: #f7f8f8; }
.contact-card { background: #11171c; box-shadow: 0 32px 100px rgba(15,21,25,.14); }
.contact-bg {
  object-position: 52% 48% !important;
  filter: saturate(.88) contrast(1.01) brightness(.98);
}
.contact-card::after {
  background:
    linear-gradient(90deg, rgba(11,16,20,.20) 0%, rgba(10,15,19,.30) 48%, rgba(10,14,17,.38) 100%),
    linear-gradient(180deg, rgba(10,14,17,.03), rgba(9,13,16,.20));
}
.contact-form {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(24,34,43,.24), rgba(15,22,28,.18));
  box-shadow: 0 20px 60px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}
.button-light { color: #1c2328; background: #fff; }
.button-light:hover { background: #f3f3f3; }
.country-select-menu {
  border-color: rgba(20,27,32,.10);
  color: #1c2328;
  box-shadow: 0 18px 45px rgba(16,22,27,.22);
}
.country-select-option { color: #1c2328; }
.country-select-option:hover,
.country-select-option:focus-visible { background: #f3eee9; }
.country-select-option[aria-selected="true"] { background: #f5e5da; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: #f7f8f8; }
.footer-card { background: #0f1418; }
.footer-main a:hover { color: #ee8a4c; }
.footer-contact-label { color: rgba(255,255,255,.42); }
.footer-bottom { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.64); }
.back-to-top {
  background: rgba(24,30,35,.82);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 16px 40px rgba(8,12,15,.25);
}
.back-to-top:hover { background: rgba(210,106,49,.94); }
.skip-link { background: #11171c; }

/* Focus -------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline-color: rgba(236,123,55,.95);
}

/* Mobile navigation -------------------------------------------------------- */
@media (max-width: 1360px) {
  .mobile-menu {
    background: linear-gradient(150deg, rgba(14,20,26,.58), rgba(8,14,18,.46));
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 30px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.09);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    backdrop-filter: blur(28px) saturate(145%);
  }
  .mobile-menu nav a:hover,
  .mobile-menu nav a:hover::after { color: #f1a26f; }
  .mobile-menu-contact > div {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }
}

@media (max-width: 1024px) {
  .hero { min-height: 720px; height: 820px; }
  .hero-content { padding-top: 198px; }
  .hero h1 { max-width: 800px; font-size: clamp(46px, 7vw, 64px); }
  .hero-copy p { font-size: 19px; }
  .logistics-card::before { background: linear-gradient(90deg, rgba(15,20,24,.96) 0 42%, rgba(15,20,24,.72) 68%, rgba(15,20,24,.20) 100%); }
}

@media (max-width: 700px) {
  .section { padding-block: 74px; }
  .section-sm { padding-block: 38px; }

  .hero {
    height: 780px;
    min-height: 700px;
  }
  .hero-media-image {
    object-position: 72% center;
    transform: scale(1.01);
  }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(8,12,15,.74) 0%, rgba(8,12,15,.52) 34%, rgba(8,12,15,.74) 100%),
      linear-gradient(90deg, rgba(8,12,15,.58), rgba(8,12,15,.28));
  }
  .hero-content { padding-top: 154px; }
  .hero-eyebrow {
    margin-bottom: 18px;
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: .075em;
  }
  .hero h1 {
    max-width: 11ch;
    margin-bottom: 28px;
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: .96;
  }
  .hero-copy p {
    max-width: 34ch;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.42;
  }
  .hero .button-primary { min-width: 0; width: auto; }

  .direction-card::before { left: 22px; }
  .direction-image-caption { left: 22px; right: 22px; bottom: 22px; }
  .direction-image-caption strong { font-size: 22px; }

  .about-bg { object-position: 55% center !important; }
  .about::after {
    background: linear-gradient(180deg, rgba(9,14,17,.89), rgba(10,15,19,.75) 52%, rgba(8,12,15,.88));
  }

  .logistics-card {
    min-height: 590px;
    background: #151c21;
  }
  .logistics-card::before {
    background: linear-gradient(180deg, rgba(15,20,24,.97) 0 52%, rgba(15,20,24,.74) 72%, rgba(15,20,24,.24) 100%);
  }
  .logistics-map { filter: saturate(.64) contrast(1.07) brightness(.78); opacity: .74 !important; }

  .contact-bg { object-position: 46% center !important; }
  .contact-card::after {
    background: linear-gradient(180deg, rgba(10,15,19,.66), rgba(9,14,17,.78));
  }
}

@media (max-width: 420px) {
  .hero { height: 740px; }
  .hero h1 { font-size: clamp(37px, 11vw, 47px); }
  .hero-copy p { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-image { animation: none !important; transform: none !important; }
}

/* Remove the remaining agricultural-green interaction tints inherited from
   the stable base stylesheet. */
.lang-switch button.is-active { color: #1a2025; }
.direction-card:focus-visible,
.direction-image:focus-visible,
.documents-viewport:focus-visible { outline-color: rgba(236,123,55,.72); }
.direction-image::after { opacity: 1; }
.direction-image:hover::after { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .feature-card::before {
    background: radial-gradient(360px circle at var(--spot-x) var(--spot-y), rgba(210,106,49,.105), rgba(210,106,49,.025) 31%, transparent 67%);
  }
  .direction-card:hover .round-arrow { box-shadow: 0 10px 26px rgba(113,49,17,.16); }
  .direction-image.is-navigating { box-shadow: 0 18px 50px rgba(113,49,17,.14); }
}

@media (max-width: 768px) {
  .directions .text-link {
    border-color: rgba(210,106,49,.24);
    background: rgba(210,106,49,.06);
  }
  .mobile-menu {
    background: linear-gradient(150deg, rgba(14,20,26,.58), rgba(8,14,18,.46));
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    backdrop-filter: blur(28px) saturate(145%);
  }
}


/* Final polish ----------------------------------------------------------------
   V36 — logo aligned to the industrial palette; robust product-card titles so
   long single Russian words never overflow the card on real devices. */
.brand-logo {
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.14));
}
.product-card {
  min-width: 0;
  overflow: hidden;
}
.product-card h4,
.product-card h4 .i18n-text {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
}
.product-card h4 {
  font-size: clamp(15px, .95vw, 16px);
  line-height: 1.12;
}
.product-card .product-actions {
  flex-wrap: wrap;
  row-gap: 8px;
}
@media (min-width: 1180px) and (max-width: 1380px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(210px, 1fr));
  }
  .product-card h4 {
    font-size: 15px;
  }
}


/* ========================================================================== 
   V37 — final visual polish
   Keeps the approved layout and frontend behaviour intact. This pass only
   unifies tone, glass, spacing and interaction states across the redesign.
   ========================================================================== */
:root {
  --glass-border: rgba(255,255,255,.20);
  --glass-highlight: rgba(255,255,255,.11);
  --glass-dark: rgba(17,24,30,.16);
  --glass-shadow: 0 20px 52px rgba(8,14,18,.12);
  --industrial-orange-soft: #c96632;
}

/* Header: more glass, less opaque black slab. */
.site-header.is-scrolled {
  background: rgba(14,20,25,.74);
  border-color: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow: 0 12px 38px rgba(7,12,16,.18), inset 0 -1px 0 rgba(255,255,255,.025);
}
.desktop-nav a,
.header-consult,
.header-phone {
  text-shadow: 0 1px 14px rgba(0,0,0,.18);
}
.desktop-nav a::after { background: rgba(236,123,55,.92); }

/* Hero: retain readable left side while allowing the bright industrial image
   to breathe. The old overlay was visually heavier than the rest of the site. */
.hero-vignette {
  background:
    linear-gradient(90deg, rgba(8,13,17,.72) 0%, rgba(9,15,19,.55) 34%, rgba(10,16,20,.20) 66%, rgba(8,13,17,.10) 100%),
    linear-gradient(180deg, rgba(7,11,14,.08) 0%, rgba(8,12,15,.02) 58%, rgba(7,11,14,.28) 100%);
}
.hero-eyebrow {
  border-color: var(--glass-border);
  background: rgba(20,29,36,.17);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 10px 30px rgba(0,0,0,.06);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}
.hero h1 { text-shadow: 0 4px 24px rgba(0,0,0,.24); }
.hero-copy p { color: rgba(255,255,255,.88); }
.button-primary {
  background: linear-gradient(135deg, #d26a31 0%, #c65c2b 100%);
  box-shadow: 0 14px 32px rgba(113,49,17,.20), inset 0 1px 0 rgba(255,255,255,.12);
}
.button-primary:hover {
  background: linear-gradient(135deg, #e17738 0%, #d46731 100%);
  box-shadow: 0 20px 42px rgba(113,49,17,.25), inset 0 1px 0 rgba(255,255,255,.14);
}

/* Section typography/rhythm. */
h2 { text-wrap: balance; }
.section-heading-row,
.directions-heading,
.documents-copy,
.about-intro { min-width: 0; }
.text-link {
  text-decoration-color: rgba(157,73,33,.30);
  text-underline-offset: 4px;
}

/* Direction cards and editorial image: cleaner white surfaces and a lighter
   photographic treatment. */
.direction-card {
  border-color: rgba(20,28,34,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 10px 28px rgba(20,27,32,.025);
}
.direction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(20,27,32,.085), inset 0 1px 0 rgba(255,255,255,.95);
}
.direction-image::after {
  background: linear-gradient(180deg, rgba(8,12,15,0) 38%, rgba(8,12,15,.66) 100%);
}
.direction-image img {
  filter: saturate(.92) contrast(1.025) brightness(1.02);
}
.direction-image-caption small { color: rgba(255,255,255,.76); }

/* About / stats: same glass language as contact and mobile menu. */
.about-bg { filter: saturate(.92) contrast(1.015) brightness(1.01); }
.about::after {
  background:
    linear-gradient(90deg, rgba(10,15,19,.44) 0%, rgba(12,18,22,.29) 48%, rgba(13,18,21,.20) 100%),
    linear-gradient(180deg, rgba(9,13,16,.02), rgba(7,10,13,.17));
}
.stat-card {
  border-color: var(--glass-border);
  background: linear-gradient(145deg, rgba(28,38,46,.15), rgba(12,20,26,.09));
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
  box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(255,255,255,.025), var(--glass-shadow);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover:hover) and (pointer:fine) {
  .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.28);
    background: linear-gradient(145deg, rgba(36,48,57,.19), rgba(15,23,29,.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 54px rgba(5,10,14,.14);
  }
}
.stat-card p { color: rgba(255,255,255,.80); }

/* Catalogue: more consistent card radius, image treatment and vertical rhythm. */
.product-card {
  border-radius: 14px;
  border: 1px solid rgba(20,27,32,.07);
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 10px 30px rgba(20,27,32,.025);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210,106,49,.12);
  box-shadow: 0 22px 52px rgba(20,27,32,.085), inset 0 1px 0 rgba(255,255,255,.98);
}
.product-image {
  border-radius: 10px;
  overflow: hidden;
}
.product-image img { transition: transform .45s var(--ease), filter .35s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.018); }
.product-card h4 { letter-spacing: -.012em; }
.product-price { color: #a94f28; }
.product-card .product-actions a {
  color: #717a81;
  text-decoration-color: rgba(113,122,129,.45);
  text-underline-offset: 3px;
}
.product-card .product-actions a:hover {
  color: #a94f28;
  text-decoration-color: rgba(169,79,40,.65);
}

/* Logistics: keep it serious but no longer nearly black. */
.logistics-card {
  background: linear-gradient(135deg, #1b2730 0%, #293944 100%);
  border-color: rgba(255,255,255,.055);
  box-shadow: 0 28px 76px rgba(18,24,29,.10);
}
.logistics-card::before {
  background: linear-gradient(90deg, rgba(17,25,31,.84) 0 44%, rgba(18,27,34,.55) 62%, rgba(18,27,34,.02) 100%);
}
.logistics-copy p { color: rgba(255,255,255,.80); }
.logistics-map { filter: saturate(.88) contrast(1.02) brightness(.98); }

/* Advantages: softer white cards, consistent accent. */
.feature-card {
  border-radius: 14px;
  border-color: rgba(20,27,32,.075);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210,106,49,.13);
  box-shadow: 0 22px 52px rgba(18,24,29,.075), inset 0 1px 0 rgba(255,255,255,.96);
}
.feature-icon { color: #a94f28; }

/* Contact: visually transparent glass rather than a dark panel placed on top
   of the photo. */
.contact-card {
  background: #18242d;
  box-shadow: 0 28px 78px rgba(15,21,25,.11);
}
.contact-bg { filter: saturate(.94) contrast(1.01) brightness(1.02); }
.contact-card::after {
  background:
    linear-gradient(90deg, rgba(13,20,26,.10) 0%, rgba(13,20,26,.17) 48%, rgba(13,20,26,.22) 100%),
    linear-gradient(180deg, rgba(10,15,19,0), rgba(9,13,16,.10));
}
.contact-form {
  border-color: var(--glass-border);
  background: linear-gradient(145deg, rgba(25,37,47,.23), rgba(12,21,28,.16));
  box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(255,255,255,.025), 0 24px 58px rgba(5,10,14,.10);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
}
.contact-form input,
.contact-form textarea { text-shadow: 0 1px 9px rgba(0,0,0,.08); }
.button-light {
  box-shadow: 0 12px 30px rgba(5,10,14,.10), inset 0 1px 0 rgba(255,255,255,.8);
}
.button-light:hover { box-shadow: 0 17px 38px rgba(5,10,14,.14); }

/* Footer / mobile menu: same material and border treatment. */
.footer-card {
  background: linear-gradient(145deg, #111a20, #0e151a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.back-to-top {
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}
@media (max-width:1360px) {
  .mobile-menu {
    background: linear-gradient(145deg, rgba(18,28,35,.52), rgba(8,15,20,.40));
    border-color: var(--glass-border);
    -webkit-backdrop-filter: blur(32px) saturate(150%);
    backdrop-filter: blur(32px) saturate(150%);
  }
  .mobile-menu-contact > div {
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    border-color: rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
  }
}

/* Mobile lightness pass: previous breakpoint overlays overpowered the new
   bright photography. */
@media (max-width:700px) {
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(8,12,15,.50) 0%, rgba(8,12,15,.27) 36%, rgba(8,12,15,.49) 100%),
      linear-gradient(90deg, rgba(8,12,15,.45), rgba(8,12,15,.12));
  }
  .about::after {
    background: linear-gradient(180deg, rgba(9,14,17,.49), rgba(10,15,19,.34) 52%, rgba(8,12,15,.45));
  }
  .logistics-card::before {
    background: linear-gradient(180deg, rgba(17,25,31,.80) 0 48%, rgba(17,25,31,.50) 70%, rgba(17,25,31,.15) 100%);
  }
  .logistics-map {
    filter: saturate(.86) contrast(1.02) brightness(.96);
    opacity: .88 !important;
  }
  .contact-card::after {
    background: linear-gradient(180deg, rgba(12,20,26,.27), rgba(9,15,20,.40));
  }
}

/* Focus states: clear, consistent and not aggressively orange. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(224,116,56,.88);
  outline-offset: 3px;
}


/* ========================================================================== 
   V40 — catalogue cleanup, product details, responsive stability
   ========================================================================== */

/* With Agriculture moved into drilling fluids, use the freed grid area for a
   wider industry image so the directions section still feels intentional. */
@media (min-width: 1025px) {
  .directions-grid--industrial .direction-image {
    grid-column: 2 / 4;
  }
}

/* Catalogue without public prices. */
.product-card {
  min-height: 430px;
}
.product-meta {
  margin-top: 2px;
}
.product-packaging {
  color: #7b838a;
}
.product-image[data-product-details-trigger],
.product-card h4[data-product-details-trigger] {
  cursor: pointer;
}
.product-image[data-product-details-trigger]::after {
  content: '↗';
  position: absolute;
  inset: 14px 14px auto auto;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(13,18,22,.34);
  border: 1px solid rgba(255,255,255,.36);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  opacity: .82;
  transform: translateY(2px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.product-card:hover .product-image[data-product-details-trigger]::after,
.product-image[data-product-details-trigger]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  background: rgba(210,106,49,.90);
}
.product-image[data-product-details-trigger]:focus-visible,
.product-card h4[data-product-details-trigger]:focus-visible {
  outline: 2px solid rgba(236,123,55,.85);
  outline-offset: 4px;
}

/* Product detail overlay — compact application-oriented view inspired by the
   reference catalogue, without duplicating unverified technical data. */
.product-detail-overlay[hidden] { display: none !important; }
.product-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(9,13,16,.58);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}
.product-detail-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(760px, calc(100dvh - 64px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(390px, 1.08fr);
  gap: 0;
  border-radius: 24px;
  border: 1px solid rgba(24,31,36,.09);
  background: rgba(250,251,251,.97);
  box-shadow: 0 38px 120px rgba(0,0,0,.30);
}
.product-detail-media {
  min-height: 560px;
  padding: 30px;
  background: linear-gradient(145deg,#edf0f1,#f8f9f9);
  display: flex;
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  background: #15191d;
}
.product-detail-copy {
  padding: 64px 66px 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.product-detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #9d4921;
  background: rgba(210,106,49,.09);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.product-detail-copy h2 {
  margin: 0 0 24px;
  max-width: 16ch;
  font-size: clamp(30px, 2.5vw, 43px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.product-detail-copy p {
  margin: 0;
  max-width: 52ch;
  color: #50585e;
  font-size: 18px;
  line-height: 1.58;
}
.product-detail-package {
  width: 100%;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(20,27,32,.10);
  color: #767f86;
  font-size: 15px;
}
.product-detail-consult {
  margin-top: auto;
  transform: translateY(14px);
}
.product-detail-close {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(17,23,28,.90);
  font: 300 28px/1 Arial,sans-serif;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.product-detail-close:hover { background: var(--industrial-orange); }
body.product-dialog-open { overflow: hidden; }

/* Mid-width browsers used side-by-side were the weak spot: preserve a real
   two-column contact layout, but reduce the headline instead of breaking a
   long Russian word in the middle. */
@media (min-width: 1025px) and (max-width: 1360px) {
  .contact-title h2 {
    
    
    
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    
  }
}

@media (max-width: 1024px) {
  .directions-grid--industrial .direction-image { grid-column: auto; }
  .product-detail-overlay { padding: 18px; }
  .product-detail-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 36px);
  }
  .product-detail-media {
    min-height: 0;
    height: min(390px, 42vh);
    padding: 18px;
  }
  .product-detail-media img { min-height: 0; }
  .product-detail-copy { padding: 36px 30px 42px; }
  .product-detail-copy h2 { max-width: 22ch; }
  .product-detail-consult { margin-top: 30px; transform: none; }
}

@media (max-width: 700px) {
  .product-card { min-height: 405px; }
  .product-detail-overlay { padding: 10px; }
  .product-detail-dialog { border-radius: 18px; }
  .product-detail-media { height: 300px; padding: 12px; }
  .product-detail-media img { border-radius: 12px; }
  .product-detail-copy { padding: 28px 20px 28px; }
  .product-detail-copy h2 { font-size: 28px; }
  .product-detail-copy p { font-size: 16px; line-height: 1.5; }
  .product-detail-close { right: 14px; top: 14px; width: 42px; height: 42px; }
  .contact-title h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}


/* V41 — robust contact headline at side-by-side browser widths. */
@media (min-width: 1025px) and (max-width: 1440px) {
  .contact-title h2 {
    
    
    
    
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    
  }
}


/* ========================================================================== 
   V41 — truthful content cleanup + stronger mid-width contact stability
   ========================================================================== */
@media (min-width: 1200px) and (max-width: 1450px) {
  .contact-title h2 {
    
    
    
    
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .contact-title h2 {
    
    
    
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    
  }
}


/* ========================================================================== 
   V42 — tighter contact heading bounds for half-width desktop windows
   ========================================================================== */


/* ========================================================================== 
   V43 — remove unstable live blur artifacts, restore a cleaner glass material,
   tighten the contact heading, and remove catalogue image corner arrows.
   ========================================================================== */

/* Faux-glass instead of heavy live backdrop blur: more stable across browsers
   and half-width desktop windows, while still reading as glass. */
.stat-card {
  border-color: rgba(255,255,255,.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05) 44%, rgba(255,255,255,.03) 100%),
    linear-gradient(135deg, rgba(39,52,62,.30), rgba(16,24,31,.18));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.04),
    0 16px 40px rgba(8,12,15,.12);
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.11), rgba(255,255,255,0) 28%, rgba(255,255,255,.03) 72%, rgba(255,255,255,.09));
  opacity: .92;
}
.stat-card > * { position: relative; z-index: 1; }

.contact-form {
  border-color: rgba(255,255,255,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04) 38%, rgba(255,255,255,.02) 100%),
    linear-gradient(135deg, rgba(34,52,67,.30), rgba(16,26,35,.18));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.03),
    0 24px 58px rgba(5,10,14,.10);
}
.mobile-menu,
.mobile-menu-contact > div {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.mobile-menu {
  background: linear-gradient(145deg, rgba(18,28,35,.88), rgba(8,15,20,.82));
}
.mobile-menu-contact > div {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

/* Product cards: the corner CTA arrow is visually noisy and was explicitly
   requested to be removed. Interaction remains on image/title/Подробнее. */
.product-image[data-product-details-trigger]::after {
  content: none !important;
  display: none !important;
}

/* Contact block: keep the heading well clear of the form in awkward desktop
   widths and split-screen usage. */


/* ========================================================================== 
   V46 — complete product descriptions + production statistic wording
   ========================================================================== */
.stat-card--production strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 13px;
}
.stat-card--production strong small {
  font-size: .48em;
  line-height: 1.05;
  white-space: nowrap;
}
.stat-card--production p {
  max-width: 22ch;
}
@media (max-width: 700px) {
  .stat-card--production strong {
    gap: 5px 9px;
  }
  .stat-card--production strong small {
    font-size: .52em;
  }
}


/* ========================================================================== 
   V52 — V46 visual-only stability patch
   IMPORTANT: no geometry, positioning or breakpoint changes in this block.
   ========================================================================== */

/* Keep the existing V46 faux-glass look but remove compositor effects that can
   flash/smear while scrolling or animating in Chromium/Safari. */
.stat-card,
.contact-form,
.mobile-menu,
.mobile-menu-contact > div {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* The stats cards already use layered gradients for the glass appearance.
   Prevent hover movement from producing edge/compositor artifacts. */
@media (hover:hover) and (pointer:fine) {
  .stat-card:hover {
    transform: none !important;
  }
}

/* The old menu open animation also blurred the whole panel during transition.
   Remove only that blur; retain its original transform/position/size. */
@media (max-width: 1360px) {
  body::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .mobile-menu,
  .mobile-menu.is-open {
    filter: none !important;
  }

  /* Visual-only colour update: dark industrial graphite/blue, matching the
     current petroleum/industrial palette. No layout properties here. */
  .mobile-menu {
    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
      linear-gradient(145deg, rgba(28,38,46,.97), rgba(11,18,24,.965)) !important;
    border-color: rgba(255,255,255,.15) !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08) !important;
  }
  .mobile-menu-contact > div {
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
    border-color: rgba(255,255,255,.11) !important;
  }
}


/* ========================================================================== 
   V53 — product modal scroll isolation + smooth internal scrolling
   ========================================================================== */
html.product-dialog-open,
body.product-dialog-open {
  overscroll-behavior: none;
}
.product-detail-overlay {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
.product-detail-dialog {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-y;
  scrollbar-gutter: stable;
  contain: layout paint;
}
.product-detail-dialog::-webkit-scrollbar { width: 8px; }
.product-detail-dialog::-webkit-scrollbar-track { background: transparent; }
.product-detail-dialog::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(39,48,55,.30);
  background-clip: padding-box;
}
@media (max-width: 700px) {
  .product-detail-overlay {
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }
  .product-detail-dialog {
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    border-radius: 18px;
  }
  .product-detail-media {
    height: min(280px, 36dvh);
  }
  .product-detail-copy {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}
