:root{--tg-ink:#111b1d;--tg-deep:#0f2e31;--tg-mint:#dce8df;--tg-acid:#fbe33e;--tg-line:rgba(15,46,49,.16);--tg-paper:#f4f1e8}.tg-sales{padding:clamp(60px,8vw,112px) 0;color:var(--tg-ink)}.tg-sales:nth-of-type(even){background:var(--tg-paper)}.tg-sales-heading{max-width:850px;margin-bottom:clamp(30px,5vw,56px)}.tg-sales-heading h2,.tg-evidence-panel h2,.tg-final-panel h2{margin:8px 0 16px;font-size:clamp(30px,4vw,58px);line-height:1.02;letter-spacing:-.035em}.tg-sales-heading>p:last-child{max-width:720px;font-size:18px;line-height:1.65}.tg-kicker{margin:0;color:#8f6f00;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.tg-sales-grid{display:grid;gap:18px}.tg-sales-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-route-card,.tg-offer-card{display:flex;min-height:330px;flex-direction:column;padding:clamp(24px,3vw,40px);border:1px solid var(--tg-line);background:#fff}.tg-route-card>span,.tg-offer-card__level{margin-bottom:58px;color:#8f6f00;font-weight:800}.tg-route-card h3,.tg-offer-card h3{margin:0 0 14px;font-size:clamp(24px,2.5vw,34px)}.tg-route-card p,.tg-offer-card p{font-size:16px;line-height:1.6}.tg-route-card>a,.tg-offer-card>a{margin-top:auto;color:var(--tg-deep);font-weight:800;text-decoration:underline;text-underline-offset:5px}.tg-offer-card--accent{background:var(--tg-deep);color:#fff}.tg-offer-card--accent p{color:rgba(255,255,255,.72)}.tg-offer-card--accent a{color:var(--tg-acid)}.tg-evidence-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(30px,6vw,90px);padding:clamp(32px,6vw,82px);background:var(--tg-deep);color:#fff}.tg-evidence-panel ol{margin:0;padding:0;list-style:none}.tg-evidence-panel li{display:grid;grid-template-columns:50px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.16)}.tg-evidence-panel li>span{color:var(--tg-acid);font-weight:800}.tg-evidence-panel li strong{font-size:18px}.tg-evidence-panel li p{margin:6px 0;color:rgba(255,255,255,.72);line-height:1.55}.tg-text-link{grid-column:2;color:var(--tg-acid);font-weight:800;text-decoration:underline;text-underline-offset:5px}.tg-tco-calculator{padding:clamp(24px,5vw,58px);border:1px solid var(--tg-line);background:#fff}.tg-tco-head,.tg-tco-calculator>label{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(2,minmax(120px,1fr));gap:14px;align-items:center}.tg-tco-head{padding-bottom:12px;border-bottom:2px solid var(--tg-deep)}.tg-tco-calculator>label{padding:14px 0;border-bottom:1px solid var(--tg-line)}.tg-tco-calculator input,.tg-lead-grid select{min-height:48px;border:1px solid var(--tg-line);background:#fff;padding:10px 12px}.tg-tco-common{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.tg-tco-common label{display:grid;gap:8px}.tg-tco-result{margin-top:22px;padding:22px;background:var(--tg-mint);font-size:18px;line-height:1.6}.tg-tco-note{margin-top:15px;color:#596669;font-size:13px}.tg-faq-layout{display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:clamp(30px,7vw,100px)}.tg-faq-items{border-top:1px solid var(--tg-line)}.tg-faq-items details{padding:20px 0;border-bottom:1px solid var(--tg-line)}.tg-faq-items summary{position:relative;padding-right:42px;font-size:18px;font-weight:800;cursor:pointer;list-style:none}.tg-faq-items summary::-webkit-details-marker{display:none}.tg-faq-items summary:after{position:absolute;right:5px;content:'+';color:#8f6f00;font-size:26px}.tg-faq-items details[open] summary:after{content:'−'}.tg-faq-items p{margin:14px 0 0;line-height:1.65}.tg-sales--final{background:var(--tg-acid)!important}.tg-final-panel{display:flex;align-items:end;justify-content:space-between;gap:35px}.tg-final-panel>div{max-width:780px}.tg-final-panel .button-BG{flex:none}.tg-hero-eyebrow{margin:0 0 10px;color:var(--tg-acid);font-size:12px;font-weight:800;letter-spacing:.14em}.border-home .tg-hero-lead{max-width:760px;margin:16px auto 24px;color:#fff;font-size:clamp(15px,2vw,20px);line-height:1.5}.tg-hero-actions{display:flex;align-items:center;justify-content:center;gap:22px}.tg-hero-link{color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:5px}.tg-lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tg-lead-grid label{display:grid;gap:6px;color:#fff;font-size:12px}.tg-lead-message{min-height:110px;resize:vertical}.tg-honeypot{position:absolute!important;left:-10000px!important}.tg-lang--en{display:none!important}html[lang^="en"] .tg-lang--ru{display:none!important}html[lang^="en"] .tg-lang--en{display:initial!important}.tg-route-card .tg-lang--en,.tg-offer-card .tg-lang--en,.tg-faq-items .tg-lang--en{display:none!important}html[lang^="en"] .tg-route-card .tg-lang--en,html[lang^="en"] .tg-offer-card .tg-lang--en,html[lang^="en"] .tg-faq-items .tg-lang--en{display:block!important}.tg-tco-head .tg-lang--en{display:none!important}html[lang^="en"] .tg-tco-head .tg-lang--en{display:block!important}
@media(max-width:900px){.tg-sales-grid--3,.tg-evidence-panel,.tg-faq-layout{grid-template-columns:1fr}.tg-text-link{grid-column:1}.tg-final-panel{align-items:flex-start;flex-direction:column}.tg-route-card,.tg-offer-card{min-height:0}.tg-tco-head,.tg-tco-calculator>label{grid-template-columns:1fr 1fr}.tg-tco-head>span,.tg-tco-calculator>label>span{grid-column:1/-1}.tg-tco-common{grid-template-columns:1fr}.tg-hero-actions{align-items:stretch;flex-direction:column}.border-home h1{font-size:clamp(25px,7vw,40px)!important;line-height:1.05!important}.border-home{padding:24px 18px!important}}@media(max-width:560px){.tg-lead-grid{grid-template-columns:1fr}.tg-sales{padding:54px 0}.tg-tco-calculator{padding:20px}.tg-tco-head,.tg-tco-calculator>label{gap:8px}.tg-tco-calculator input{width:100%;min-width:0}}

/* 2026-08-08 hero correction: isolate the commercial message from legacy hero rules */
.home-page .bg-video,.home-page .bg-image-home{min-height:clamp(620px,72vh,820px)!important}
.home-page .border-home{position:absolute!important;z-index:3!important;inset:0!important;display:flex!important;width:100%!important;height:100%!important;align-items:flex-end!important;justify-content:flex-start!important;padding:0!important;border:0!important;background:linear-gradient(90deg,rgba(10,25,27,.48) 0,rgba(10,25,27,.08) 62%,transparent 100%)!important;text-align:left!important;overflow:hidden!important}
.home-page .tg-hero-panel{width:min(720px,calc(100% - 80px));margin:0 0 clamp(38px,6vw,84px) clamp(28px,7vw,112px);padding:clamp(26px,3.2vw,44px);border-left:4px solid var(--tg-acid);background:rgba(11,35,37,.9);box-shadow:0 24px 70px rgba(5,18,19,.3);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.home-page .border-home .tg-hero-eyebrow{margin:0 0 15px;color:var(--tg-acid);font-family:inherit;font-size:12px;font-weight:700;line-height:1.3;letter-spacing:.12em;text-transform:uppercase}
.home-page .border-home h1{max-width:650px;margin:0;color:#fff!important;background:none!important;font-family:inherit!important;font-size:clamp(38px,4vw,58px)!important;font-weight:700!important;line-height:1.02!important;letter-spacing:-.035em!important;text-align:left!important;text-transform:none!important;text-wrap:balance}
.home-page .border-home .tg-hero-lead{max-width:570px;margin:20px 0 0;color:rgba(255,255,255,.78)!important;font-family:inherit;font-size:clamp(16px,1.4vw,19px);font-weight:400;line-height:1.55;text-align:left}
.home-page .border-home .tg-hero-actions{display:flex!important;margin:28px 0 0!important;align-items:center!important;justify-content:flex-start!important;gap:22px!important;text-align:left!important}
.home-page .border-home .tg-hero-actions .button-BG{display:inline-flex;min-height:52px;align-items:center;padding:13px 22px!important;color:#111!important;font-size:15px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap;transition:transform .2s ease,background-color .2s ease}
.home-page .border-home .tg-hero-actions .button-BG:hover{transform:translateY(-2px)}
.home-page .border-home .tg-hero-link{color:#fff!important;font-size:15px;font-weight:650;text-decoration-color:rgba(255,255,255,.48);text-underline-offset:5px}
.home-page .border-home .tg-hero-link:focus-visible,.home-page .border-home .tg-hero-actions .button-BG:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:991px){.home-page .bg-video,.home-page .bg-image-home{height:620px!important;min-height:620px!important}.home-page .border-home{align-items:flex-end!important;background:linear-gradient(180deg,rgba(10,25,27,.05) 15%,rgba(10,25,27,.66) 100%)!important}.home-page .tg-hero-panel{width:calc(100% - 36px);margin:0 18px 24px;padding:26px 24px}.home-page .border-home h1{font-size:clamp(32px,7vw,45px)!important}.home-page .border-home .tg-hero-lead{font-size:16px}.home-page .border-home .tg-hero-actions{align-items:flex-start!important;flex-direction:row!important;flex-wrap:wrap}}
@media(max-width:560px){.home-page .bg-video,.home-page .bg-image-home{height:590px!important;min-height:590px!important}.home-page .tg-hero-panel{width:calc(100% - 24px);margin:0 12px 14px;padding:23px 20px}.home-page .border-home h1{font-size:clamp(29px,9vw,38px)!important;line-height:1.04!important}.home-page .border-home .tg-hero-lead{margin-top:15px;line-height:1.45}.home-page .border-home .tg-hero-actions{margin-top:22px!important;align-items:stretch!important;flex-direction:column!important;gap:15px!important}.home-page .border-home .tg-hero-actions .button-BG{justify-content:center;width:100%;white-space:normal}.home-page .border-home .tg-hero-link{text-align:center}}

/* 2026-08-08 hero v3: hard reset of legacy absolute children and quieter industrial composition */
.home-page .border-home .tg-hero-panel,.home-page .border-home .tg-hero-panel h1,.home-page .border-home .tg-hero-panel p,.home-page .border-home .tg-hero-panel a{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:auto!important;height:auto!important;transform:none!important;text-align:left!important}
.home-page .border-home{display:flex!important;width:100%!important;height:100%!important;align-items:flex-end!important;justify-content:flex-start!important}
.home-page .tg-hero-panel{display:block!important;width:min(650px,calc(100% - 80px))!important;margin:0 0 clamp(34px,5vw,72px) clamp(28px,7vw,112px)!important;padding:clamp(26px,3vw,40px)!important;border:1px solid rgba(17,36,38,.12)!important;border-left:5px solid #e7c917!important;background:rgba(248,247,242,.95)!important;box-shadow:0 24px 70px rgba(8,24,25,.2)!important;color:#142628!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.home-page .border-home .tg-hero-panel h1{max-width:580px!important;margin:0!important;color:#142628!important;font-family:inherit!important;font-size:clamp(36px,3.35vw,52px)!important;font-weight:700!important;line-height:1.04!important;letter-spacing:-.035em!important;text-transform:none!important;text-wrap:balance}
.home-page .border-home .tg-hero-panel .tg-hero-lead{max-width:535px!important;margin:18px 0 0!important;color:#4b5b5d!important;font-family:inherit!important;font-size:17px!important;font-weight:400!important;line-height:1.55!important}
.home-page .border-home .tg-hero-panel .tg-hero-actions{display:flex!important;max-width:none!important;margin:26px 0 0!important;align-items:center!important;justify-content:flex-start!important;gap:20px!important;font-size:15px!important;line-height:1.2!important}
.home-page .border-home .tg-hero-panel .tg-hero-actions .button-BG{display:inline-flex!important;min-height:50px!important;align-items:center!important;justify-content:center!important;padding:13px 22px!important;border:1px solid #163638!important;border-radius:2px!important;background:#163638!important;color:#fff!important;font-family:inherit!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important}
.home-page .border-home .tg-hero-panel .tg-hero-actions .button-BG:hover{background:#23494b!important;transform:translateY(-2px)!important}
.home-page .border-home .tg-hero-panel .tg-hero-link{display:inline-flex!important;min-height:44px!important;align-items:center!important;color:#21393b!important;font-family:inherit!important;font-size:15px!important;font-weight:650!important;line-height:1.3!important;text-decoration:underline!important;text-decoration-color:#b9a000!important;text-underline-offset:5px!important}
@media(max-width:991px){.home-page .tg-hero-panel{width:calc(100% - 36px)!important;margin:0 18px 22px!important;padding:27px 25px!important}.home-page .border-home .tg-hero-panel h1{font-size:clamp(33px,6vw,44px)!important}.home-page .border-home .tg-hero-panel .tg-hero-actions{flex-wrap:wrap!important}}
@media(max-width:560px){.home-page .bg-video,.home-page .bg-image-home{height:540px!important;min-height:540px!important}.home-page .tg-hero-panel{width:calc(100% - 24px)!important;margin:0 12px 12px!important;padding:23px 20px!important}.home-page .border-home .tg-hero-panel h1{font-size:clamp(29px,8.8vw,37px)!important}.home-page .border-home .tg-hero-panel .tg-hero-lead{margin-top:14px!important;font-size:16px!important;line-height:1.45!important}.home-page .border-home .tg-hero-panel .tg-hero-actions{display:grid!important;margin-top:20px!important;gap:13px!important}.home-page .border-home .tg-hero-panel .tg-hero-actions .button-BG{width:100%!important;white-space:normal!important}.home-page .border-home .tg-hero-panel .tg-hero-link{justify-content:center!important;width:100%!important;text-align:center!important}}

/* Techglas logo prominence v4 */
#logo {
  display: flex !important;
  align-items: center;
  height: 80px !important;
  margin: 0 !important;
}

#logo > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 66px;
  padding: 5px 7px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(21, 51, 52, 0.16);
  border-left: 4px solid #f4d824;
  box-shadow: 0 8px 20px rgba(16, 34, 35, 0.12);
}

#logo > a > .img-responsive,
#logo > a > img {
  display: block !important;
  width: 86px !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
}

@media (max-width: 767px) {
  #logo {
    height: 68px !important;
  }

  #logo > a {
    width: 88px;
    height: 56px;
    padding: 4px 6px;
  }

  #logo > a > .img-responsive,
  #logo > a > img {
    width: 74px !important;
  }
}

/* Knowledge base navigation v5 */
.knowledge-overview {
  margin: 38px 0 46px;
  padding: clamp(24px, 3vw, 40px);
  background: #f3f3ee;
  border-left: 5px solid #f4d824;
}

.knowledge-overview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.knowledge-overview__kicker {
  margin: 0 0 8px;
  color: #667071;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-overview h2 {
  max-width: 720px;
  margin: 0;
  color: #153334;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.knowledge-overview__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.knowledge-overview__actions a {
  color: #153334;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #f4d824;
}

.knowledge-section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-section-card {
  grid-column: span 4;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  color: #153334;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(21, 51, 52, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.knowledge-section-card:nth-child(-n + 2) {
  grid-column: span 6;
}

.knowledge-section-card:hover,
.knowledge-section-card:focus-visible {
  color: #153334;
  border-color: rgba(21, 51, 52, 0.34);
  box-shadow: 0 16px 34px rgba(16, 34, 35, 0.11);
  transform: translateY(-3px);
}

.knowledge-section-card__count {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 26px;
  padding: 5px 8px;
  color: #153334;
  font-size: 12px;
  font-weight: 800;
  background: #f4d824;
}

.knowledge-section-card h3 {
  margin: 0 0 12px;
  color: #153334;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.knowledge-section-card p {
  margin: 0 0 22px;
  color: #5d6869;
  font-size: 15px;
  line-height: 1.55;
}

.knowledge-section-card__link {
  margin-top: auto;
  color: #153334;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .knowledge-section-card,
  .knowledge-section-card:nth-child(-n + 2) {
    grid-column: span 6;
  }

  .knowledge-section-card:last-child {
    grid-column: span 12;
  }
}

/* Critical typography geometry v13 */
html,
body,
nav.navbar-default,
.common-home .tg-hero-panel,
.common-home .tg-hero-panel h1,
.common-home .tg-hero-lead {
  font-family: GothaProMed, Arial, sans-serif !important;
}

.common-home .tg-hero-actions {
  font-family: GothaProReg, Arial, sans-serif !important;
  font-size: 15px;
  line-height: 18px;
}

nav.navbar-default {
  min-height: 80px;
  padding: 10px 0;
  font-size: 12px;
  line-height: 20px;
}

nav.navbar-default .nav.navbar-nav {
  min-height: 70px;
  margin: 0;
  padding-top: 3px;
}

nav.navbar-default .nav > li > a.black-color {
  padding: 32px 15px 15px;
  font-size: 14px;
  line-height: 20px;
}

nav.navbar-default .head-phone {
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .knowledge-overview {
    margin: 26px 0 34px;
    padding: 22px 18px;
  }

  .knowledge-overview__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .knowledge-overview__actions {
    justify-content: flex-start;
  }

  .knowledge-section-card,
  .knowledge-section-card:nth-child(-n + 2),
  .knowledge-section-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

/* PageSpeed stability and accessibility v6 */
nav.navbar-default .nav > li > a.black-color,
nav.navbar-default .head-phone {
  color: #3e4a4b !important;
  opacity: 1 !important;
}

a#play_video {
  display: block;
  width: 100%;
  aspect-ratio: 1906 / 730;
  overflow: hidden;
}

a#play_video > img.img-responsive {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1906 / 730;
  object-fit: cover;
}

@media (min-width: 992px) {
  .common-home .bg-video {
    background-image: url('/image/optimized/video-kadr.webp') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  .common-home .bg-video > .hero-background-video {
    display: none !important;
  }

  nav.navbar-default .container.production > .row {
    min-height: 80px;
  }

  nav.navbar-default .nav > li > a {
    white-space: nowrap;
  }

}

@media (max-width: 991px) {
  .common-home .bg-image-home {
    background-image: url('/image/optimized/stroyka-mobile.webp') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 150% auto !important;
  }
}
