/*
Theme Name: Stabiterm V2
Theme URI: https://stabiterm.uz
Author: Stabiterm Team
Description: Modernized presentation theme for stabiterm.uz with focus on products, projects, documents, and news.
Version: 2.0.0
Text Domain: stabiterm-v2
*/

:root {
  --stv2-bg: #cfd7de;
  --stv2-surface: #ffffff;
  --stv2-surface-soft: #eef2f4;
  --stv2-ink: #162126;
  --stv2-muted: #58646b;
  --stv2-accent: #b81e2f;
  --stv2-accent-deep: #8f1221;
  --stv2-line: #d9e0e4;
  --stv2-radius: 20px;
  --stv2-radius-sm: 14px;
  --stv2-shadow: 0 14px 34px rgba(8, 12, 14, 0.08);
  --stv2-shadow-soft: 0 8px 20px rgba(8, 12, 14, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--stv2-ink);
  background-color: var(--stv2-bg);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0 2px, rgba(0, 0, 0, 0) 2px 11px),
    repeating-linear-gradient(90deg, rgba(10, 20, 26, 0.04) 0 1px, rgba(255, 255, 255, 0) 1px 8px),
    linear-gradient(180deg, #d7dee4 0%, #c8d1d9 52%, #bfc9d2 100%);
  background-attachment: fixed;
  background-position: center top;
  font: 400 17px/1.65 "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.stv2-bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(850px 360px at 102% -8%, rgba(184, 30, 47, 0.05), transparent 64%),
    linear-gradient(120deg, rgba(8, 16, 20, 0.08) 0%, rgba(8, 16, 20, 0) 56%);
  z-index: -1;
}

.stv2-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.stv2-site-header {
  padding: 14px 0 8px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.stv2-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--stv2-line);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--stv2-shadow-soft);
  padding: 10px 14px 10px 18px;
}

.stv2-brand {
  text-decoration: none;
  color: var(--stv2-ink);
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.stv2-brand-name {
  font: 800 28px/1.1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
}

.stv2-brand img {
  display: block;
  width: auto;
  max-height: 64px;
}

.stv2-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.stv2-nav {
  min-width: 0;
}

.stv2-lang-switch {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stv2-lang-switch li {
  margin: 0;
}

.stv2-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cfd8dd;
  background: #ffffff;
  color: #273237;
  text-decoration: none;
  font: 700 12px/1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.06em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-lang-switch a:hover,
.stv2-lang-switch a.is-active {
  background: #202a2f;
  border-color: #202a2f;
  color: #fff;
}

.stv2-menu,
.stv2-nav .menu {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stv2-nav .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stv2-menu li,
.stv2-nav .menu li {
  margin: 0;
}

.stv2-menu a,
.stv2-nav .menu a {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #273237;
  font: 700 13px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.stv2-menu a:hover,
.stv2-nav .menu a:hover,
.stv2-menu .current-menu-item > a,
.stv2-menu .current_page_item > a,
.stv2-nav .menu .current-menu-item > a,
.stv2-nav .menu .current_page_item > a {
  background: #202a2f;
  border-color: #202a2f;
  color: #fff;
}

.stv2-menu .stv2-menu-danger {
  color: #bf1f31;
  border-color: #e2c2c7;
}

.stv2-menu .stv2-menu-danger:hover {
  background: #bf1f31;
  border-color: #bf1f31;
  color: #fff;
}

.stv2-top-cta {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--stv2-accent);
  background: var(--stv2-accent);
  color: #fff;
  padding: 10px 14px;
  font: 700 12px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.stv2-top-cta:hover {
  background: var(--stv2-accent-deep);
  border-color: var(--stv2-accent-deep);
}

.stv2-top-ctas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stv2-top-cta-secondary {
  border-color: #cfd8dd;
  background: #ffffff;
  color: #273237;
}

.stv2-top-cta-secondary:hover {
  background: #202a2f;
  border-color: #202a2f;
  color: #ffffff;
}

.stv2-main {
  padding: 10px 0 44px;
}

.stv2-hero {
  margin-top: 14px;
  padding: 38px;
  border-radius: calc(var(--stv2-radius) + 8px);
  border: 1px solid #1f2a2f;
  background: linear-gradient(126deg, #172125 0%, #27343a 47%, #1d282d 100%);
  color: #eef4f6;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  box-shadow: var(--stv2-shadow);
}

.stv2-eyebrow {
  margin: 0 0 12px;
  font: 700 13px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.08em;
  color: #f9bac1;
  text-transform: uppercase;
}

.stv2-hero h1 {
  margin: 0 0 14px;
  font: 800 clamp(32px, 4vw, 50px)/1.05 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.01em;
}

.stv2-lead {
  margin: 0;
  max-width: 58ch;
  color: #d5e1e6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font: 700 13px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-btn-primary {
  background: var(--stv2-accent);
  color: #fff;
}

.stv2-btn-primary:hover {
  background: var(--stv2-accent-deep);
}

.stv2-btn-ghost {
  border-color: #c0d0d6;
  color: #e8f0f3;
}

.stv2-btn-ghost:hover {
  background: rgba(231, 240, 244, 0.12);
}

.stv2-hero-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(227, 238, 244, 0.22);
  border-radius: var(--stv2-radius);
  padding: 18px 16px 16px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 20px rgba(6, 11, 14, 0.14);
}

.stv2-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #cf2b3b 0%, rgba(207, 43, 59, 0) 100%);
}

.stv2-hero-panel h2 {
  margin: 0 0 14px;
  font: 700 23px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.01em;
}

.stv2-hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.stv2-hero-panel li + li {
  margin-top: 0;
}

.stv2-hero-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(228, 238, 243, 0.22);
  background: rgba(15, 24, 30, 0.2);
  color: #f2f7fa;
  text-decoration: none;
  font: 700 14px/1.25 "Exo 2", "Trebuchet MS", sans-serif;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.stv2-hero-panel a::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  color: #ff9aa5;
}

.stv2-hero-panel a:hover {
  color: #fff;
  background: rgba(184, 30, 47, 0.3);
  border-color: rgba(255, 172, 182, 0.44);
  transform: translateX(2px);
}

.stv2-hero-panel a:focus-visible {
  outline: 2px solid rgba(255, 188, 196, 0.75);
  outline-offset: 1px;
}

.stv2-promo {
  margin-top: 22px;
  border: 1px solid #1d292e;
  border-radius: var(--stv2-radius);
  background: linear-gradient(120deg, #1a262b 0%, #223038 55%, #1d282d 100%);
  box-shadow: var(--stv2-shadow);
  color: #ecf4f7;
  overflow: hidden;
}

.stv2-promo-track {
  position: relative;
  min-height: 320px;
}

.stv2-promo-slide {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
  padding: 22px;
}

.stv2-promo-slide.is-active {
  display: grid;
  animation: stv2-promo-fade 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stv2-promo-slide.is-text-only {
  grid-template-columns: 1fr;
}

.stv2-promo-media {
  display: block;
  min-height: 260px;
  border-radius: 16px;
  border: 1px solid rgba(231, 239, 243, 0.28);
  overflow: hidden;
  background: #131b1f;
}

.stv2-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stv2-promo-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stv2-promo-eyebrow {
  margin: 0;
  font: 700 12px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f2aeb6;
}

.stv2-promo-counter {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  align-self: flex-start;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(231, 239, 243, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #e4eef2;
  font: 700 11px/1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stv2-promo-text {
  margin: 0;
  color: #d8e4e9;
  font-size: 19px;
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-promo-text p {
  margin: 0;
}

.stv2-promo-text p + p {
  margin-top: 8px;
}

.stv2-promo-link {
  margin-top: auto;
  align-self: flex-start;
}

.stv2-promo-dots {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stv2-promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.2s ease, background 0.2s ease;
}

.stv2-promo-dot.is-active {
  width: 28px;
  background: #cf2b3b;
}

.stv2-kpis {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stv2-kpi {
  border: 1px solid var(--stv2-line);
  border-radius: var(--stv2-radius-sm);
  background: linear-gradient(180deg, #fff 0%, #f9f7f4 100%);
  box-shadow: var(--stv2-shadow-soft);
  padding: 18px;
  min-width: 0;
}

.stv2-kpi h3 {
  margin: 0 0 8px;
  font: 700 21px/1.18 "Exo 2", "Trebuchet MS", sans-serif;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-kpi p {
  margin: 0;
  color: var(--stv2-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-section {
  margin-top: 26px;
  background: var(--stv2-surface);
  border: 1px solid var(--stv2-line);
  border-radius: var(--stv2-radius);
  padding: 26px;
  box-shadow: var(--stv2-shadow);
  position: relative;
  overflow: hidden;
}

.stv2-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--stv2-accent) 0%, rgba(184, 30, 47, 0) 100%);
}

.stv2-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stv2-section-head h2 {
  margin: 0;
  font: 800 30px/1.08 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-section-head h1 {
  margin: 0;
  font: 800 34px/1.08 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.stv2-section-head-stack {
  justify-content: flex-start;
}

.stv2-section-head a {
  color: var(--stv2-accent);
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-section-head a:hover {
  color: var(--stv2-accent-deep);
}

.stv2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.stv2-card-grid > * {
  min-width: 0;
}

.stv2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stv2-columns > * {
  min-width: 0;
}

.stv2-taxonomy-description {
  margin: 0 0 16px;
  color: var(--stv2-muted);
}

.stv2-taxonomy-description p {
  margin: 0;
}

.stv2-taxonomy-nav {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stv2-taxonomy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d6e0e5;
  border-radius: 999px;
  background: #ffffff;
  color: #273237;
  text-decoration: none;
  font: 700 12px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-taxonomy-link-text {
  display: inline-block;
}

.stv2-taxonomy-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid #e3bac0;
  background: #fff5f6;
  color: #9f1323;
  font: 800 9px/1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stv2-taxonomy-link:hover,
.stv2-taxonomy-link.is-active {
  background: #202a2f;
  border-color: #202a2f;
  color: #ffffff;
}

.stv2-taxonomy-link:hover .stv2-taxonomy-badge,
.stv2-taxonomy-link.is-active .stv2-taxonomy-badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.stv2-ribbon {
  overflow: hidden;
}

.stv2-ribbon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stv2-ribbon-item {
  border: 1px solid #dce4e9;
  border-radius: 14px;
  background: #f8fafb;
  padding: 14px;
}

.stv2-ribbon-title {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 17px/1.25 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stv2-ribbon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #cf2b3b;
  color: #ffffff;
  font: 700 10px/1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.06em;
}

.stv2-ribbon-media {
  display: block;
  margin-bottom: 10px;
  border: 1px solid #d9e2e7;
  border-radius: 10px;
  overflow: hidden;
  max-width: 220px;
  background: #ffffff;
}

.stv2-ribbon-media img {
  width: 100%;
  height: auto;
  display: block;
}

.stv2-ribbon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stv2-ribbon-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d6e0e5;
  border-radius: 999px;
  background: #ffffff;
  color: #273237;
  text-decoration: none;
  font: 700 12px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-ribbon-link:hover {
  background: #202a2f;
  border-color: #202a2f;
  color: #ffffff;
}

.stv2-card {
  background: var(--stv2-surface-soft);
  border: 1px solid #e3e9ed;
  border-radius: var(--stv2-radius-sm);
  padding: 16px;
  min-width: 0;
  min-height: 310px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stv2-card:hover {
  transform: translateY(-3px);
  border-color: #ced7dc;
  box-shadow: 0 14px 24px rgba(12, 17, 20, 0.08);
}

.stv2-thumb {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
}

.stv2-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stv2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.stv2-card-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #d5dfe4;
  background: #fff;
  font: 700 11px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #53616a;
}

.stv2-card-tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 52%;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #e2c7cb;
  color: #8f1221;
  background: #fff4f5;
  font: 700 11px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stv2-card-title {
  margin: 0 0 8px;
  font: 700 21px/1.23 "Exo 2", "Trebuchet MS", sans-serif;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.stv2-card-title a {
  color: #132127;
  text-decoration: none;
}

.stv2-card-title a:hover {
  color: var(--stv2-accent-deep);
}

.stv2-card-excerpt {
  margin: 0;
  color: var(--stv2-muted);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  flex-grow: 1;
}

.stv2-card-price-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.stv2-card-price {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font: 700 13px/1.3 "Exo 2", "Trebuchet MS", sans-serif;
  color: #1d2a31;
}

.stv2-card-price-label {
  color: #5f6f79;
  font-weight: 700;
}

.stv2-card-price-value {
  color: #b31b2a;
  font-weight: 800;
}

.stv2-card-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #c92638;
  background: #c92638;
  color: #ffffff !important;
  font: 700 11px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.stv2-card-call:hover {
  background: #9e1d2d;
  border-color: #9e1d2d;
}

.stv2-card a {
  color: var(--stv2-ink);
  text-decoration: none;
}

.stv2-card-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8e1e6;
  background: #fff;
  font: 700 11px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stv2-accent);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-card-link::after {
  content: ">";
  font-size: 11px;
  line-height: 1;
}

.stv2-card-link:hover {
  background: #fdf3f4;
  border-color: #e4c9cd;
  color: var(--stv2-accent-deep);
}

.stv2-entry h1 {
  margin: 0 0 12px;
  font: 800 clamp(30px, 3.3vw, 42px)/1.1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-entry-content,
.stv2-lead {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stv2-entry-content {
  font-size: 19px;
}

.stv2-entry-content p,
.stv2-entry-content li {
  max-width: 78ch;
}

.stv2-entry-content .map {
  width: 100%;
  margin: 0 0 16px;
}

.stv2-entry-content .map iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: clamp(320px, 48vw, 550px);
  border: 0;
  border-radius: 12px;
}

.stv2-entry-empty-note {
  margin: 6px 0 0;
  padding: 14px 16px;
  border: 1px solid #dbe3e8;
  border-radius: 12px;
  background: #f9fbfc;
  color: #516068;
  font-size: 16px;
}

.stv2-docs {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e0e7eb;
}

.stv2-docs h2 {
  margin: 0 0 12px;
  font: 700 23px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
}

.stv2-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.stv2-doc-item {
  display: block;
  border-radius: 12px;
  border: 1px solid #dce4e9;
  background: #fff;
  overflow: hidden;
  min-height: 120px;
}

.stv2-doc-item img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}

.stv2-download {
  margin: 12px 0 0;
}

.stv2-download a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #cf2b3b;
  background: #ffffff;
  color: #9a1323;
  text-decoration: none;
  font: 700 12px/1 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stv2-download a:hover {
  background: #9a1323;
  border-color: #9a1323;
  color: #ffffff;
}

.stv2-entry-products .stv2-entry-content ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stv2-entry-products .stv2-entry-content li {
  margin: 0;
  max-width: none;
}

.stv2-entry-products .stv2-entry-content li::before {
  display: none;
}

.stv2-entry-products .stv2-entry-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #cfd8dd;
  background: #ffffff;
  color: #1b272c;
  font: 700 14px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-decoration: none;
  position: relative;
  gap: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stv2-entry-products .stv2-entry-content a:hover {
  background: #212d32;
  border-color: #212d32;
  color: #ffffff;
}

.stv2-entry-products .stv2-entry-content a:focus-visible {
  outline: 2px solid #cf2b3b;
  outline-offset: 2px;
}

.stv2-entry-products .stv2-entry-content a[href*="/cable-protection/"],
.stv2-entry-products .stv2-entry-content a[href*="/kabelni-uchun/"],
.stv2-entry-products .stv2-entry-content a[href*="/thermal-insulation/"],
.stv2-entry-products .stv2-entry-content a[href*="/issiqlik-izolyatsiyasi/"] {
  border-color: #e4b5bc;
  background: #fff6f7;
}

.stv2-entry-products .stv2-entry-content a[href*="/cable-protection/"]::after,
.stv2-entry-products .stv2-entry-content a[href*="/kabelni-uchun/"]::after,
.stv2-entry-products .stv2-entry-content a[href*="/thermal-insulation/"]::after,
.stv2-entry-products .stv2-entry-content a[href*="/issiqlik-izolyatsiyasi/"]::after {
  content: "НОВОЕ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #cf2b3b;
  color: #ffffff;
  font: 700 10px/1 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.06em;
}

.stv2-entry-qa .stv2-entry-content {
  margin-bottom: 14px;
}

.stv2-qa-wrap {
  margin-top: 18px;
  border-top: 1px solid #e1e7eb;
  padding-top: 14px;
}

.stv2-qa-intro {
  margin: 0 0 12px;
  font: 700 20px/1.25 "Exo 2", "Trebuchet MS", sans-serif;
}

.stv2-qa-wrap .comment-reply-title {
  margin: 0 0 10px;
  font: 700 24px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
}

.stv2-qa-wrap .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  max-width: 860px;
}

.stv2-qa-wrap .comment-form p {
  margin: 0;
}

.stv2-qa-wrap .comment-form label {
  display: block;
  margin-bottom: 4px;
  font: 700 13px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #37454d;
}

.stv2-qa-wrap .comment-form-comment,
.stv2-qa-wrap .comment-form-cookies-consent,
.stv2-qa-wrap .form-submit {
  grid-column: 1 / -1;
}

.stv2-qa-wrap input[type="text"],
.stv2-qa-wrap input[type="email"],
.stv2-qa-wrap textarea {
  width: 100%;
  border: 1px solid #cfd8dd;
  border-radius: 10px;
  background: #fff;
  color: #1f2a2f;
  padding: 9px 11px;
  font: 400 15px/1.35 "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

.stv2-qa-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.stv2-qa-wrap input:focus,
.stv2-qa-wrap textarea:focus {
  outline: 2px solid #cf2b3b;
  outline-offset: 1px;
}

.stv2-qa-wrap .submit {
  border: 1px solid var(--stv2-accent);
  background: var(--stv2-accent);
  color: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 18px;
  font: 700 12px/1 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.stv2-qa-wrap .submit:hover {
  background: var(--stv2-accent-deep);
  border-color: var(--stv2-accent-deep);
}

.stv2-qa-comments {
  margin-top: 20px;
}

.stv2-qa-comments h2 {
  margin: 0 0 10px;
  font: 700 22px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
}

.stv2-qa-comments .commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.stv2-qa-comments .comment {
  border: 1px solid #d8e1e6;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.stv2-meta {
  margin: 0 0 12px;
  color: var(--stv2-muted);
}

.stv2-empty {
  margin: 0;
  color: var(--stv2-muted);
}

.stv2-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--stv2-line);
  border-radius: var(--stv2-radius-sm);
  box-shadow: var(--stv2-shadow-soft);
  background: linear-gradient(95deg, #fff 0%, #f8f3ef 100%);
}

.stv2-cta p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.stv2-site-footer {
  margin-top: 30px;
  padding: 8px 0 34px;
}

.stv2-footer-inner {
  border: 1px solid var(--stv2-line);
  border-radius: var(--stv2-radius);
  background: var(--stv2-surface);
  box-shadow: var(--stv2-shadow-soft);
  padding: 22px;
}

.stv2-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 18px;
}

.stv2-footer-brand {
  margin: 0 0 6px;
  font: 800 24px/1.1 "Exo 2", "Trebuchet MS", sans-serif;
  color: var(--stv2-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stv2-footer-text {
  margin: 0;
  color: var(--stv2-muted);
  max-width: 55ch;
}

.stv2-footer-title {
  margin: 0 0 8px;
  font: 700 15px/1.25 "Exo 2", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stv2-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stv2-footer-links li + li {
  margin-top: 6px;
}

.stv2-footer-links a {
  color: var(--stv2-muted);
  text-decoration: none;
}

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

.stv2-footer-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.stv2-footer-copy {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e1e6ea;
  color: #6a757d;
}

.stv2-footer-copy-brand {
  color: var(--stv2-accent);
  font: 800 14px/1.2 "Exo 2", "Trebuchet MS", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pagination,
.nav-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--stv2-line);
  text-decoration: none;
}

.page-numbers.current {
  background: #202a2f;
  border-color: #202a2f;
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: stv2-fade-up 0.65s ease forwards;
}

.stv2-hero.reveal {
  animation-delay: 0.05s;
}

.stv2-section.reveal:nth-of-type(1) {
  animation-delay: 0.1s;
}

.stv2-section.reveal:nth-of-type(2) {
  animation-delay: 0.18s;
}

.stv2-cta.reveal {
  animation-delay: 0.25s;
}

@keyframes stv2-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stv2-promo-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .stv2-card,
  .stv2-btn,
  .stv2-top-cta,
  .stv2-menu a,
  .stv2-nav .menu a {
    transition: none;
  }

  .stv2-promo-slide,
  .stv2-promo-media img {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1240px) {
  .stv2-wrap {
    width: calc(100% - 30px);
  }

  .stv2-hero {
    grid-template-columns: 1fr;
  }

  .stv2-promo-track {
    min-height: 0;
  }

  .stv2-promo-slide {
    grid-template-columns: 1fr;
  }

  .stv2-promo-media {
    min-height: 0;
    max-height: 260px;
  }

  .stv2-promo-dots {
    position: static;
    margin: 0 0 18px 22px;
  }

  .stv2-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .stv2-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stv2-ribbon-grid {
    grid-template-columns: 1fr;
  }

  .stv2-card-title {
    font-size: 19px;
  }

  .stv2-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  .stv2-site-header {
    position: static;
  }

  .stv2-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stv2-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .stv2-lang-switch {
    order: -1;
  }

  .stv2-nav {
    width: 100%;
  }

  .stv2-menu,
  .stv2-nav .menu {
    width: 100%;
    justify-content: flex-start;
  }

  .stv2-columns {
    grid-template-columns: 1fr;
  }

  .stv2-ribbon-desktop {
    display: none;
  }

  .stv2-entry-content {
    font-size: 18px;
  }

  .stv2-entry-products .stv2-entry-content a {
    font-size: 13px;
    min-height: 38px;
    padding: 9px 12px;
  }
}

@media (max-width: 860px) {
  .stv2-hero {
    padding: 24px;
    border-radius: 16px;
  }

  .stv2-promo {
    border-radius: 16px;
  }

  .stv2-promo-slide {
    padding: 18px;
  }

  .stv2-promo-text {
    font-size: 17px;
  }

  .stv2-hero h1 {
    font-size: 33px;
  }

  .stv2-kpis {
    grid-template-columns: 1fr;
  }

  .stv2-section {
    padding: 20px;
    border-radius: 16px;
  }

  .stv2-section-head h2 {
    font-size: 25px;
  }

  .stv2-section-head h1 {
    font-size: 29px;
  }

  .stv2-card {
    min-height: 0;
  }

  .stv2-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stv2-wrap {
    width: calc(100% - 18px);
  }

  .stv2-menu,
  .stv2-nav .menu {
    gap: 3px;
  }

  .stv2-menu a,
  .stv2-nav .menu a {
    font-size: 11px;
    padding: 8px 9px;
  }

  .stv2-top-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stv2-top-ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .stv2-hero,
  .stv2-section {
    padding: 16px;
  }

  .stv2-promo {
    display: none;
  }

  .stv2-card-grid {
    grid-template-columns: 1fr;
  }

  .stv2-section-head h2 {
    font-size: 22px;
  }

  .stv2-section-head h1 {
    font-size: 24px;
  }

  .stv2-card-title {
    font-size: 17px;
    line-height: 1.25;
  }

  .stv2-card-excerpt {
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 6;
  }

  .stv2-card-price {
    font-size: 12px;
  }

  .stv2-card-call {
    width: 100%;
  }

  .stv2-card-tag {
    max-width: 58%;
  }

  .stv2-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .stv2-cta .stv2-btn {
    width: 100%;
  }

  .stv2-entry-products .stv2-entry-content ul {
    gap: 8px;
  }

  .stv2-entry-products .stv2-entry-content a {
    width: 100%;
    justify-content: flex-start;
  }

  .stv2-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stv2-qa-wrap .comment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .stv2-hero h1 {
    font-size: 29px;
  }

  .stv2-kpi h3 {
    font-size: 19px;
  }

  .stv2-footer-inner {
    padding: 16px;
  }

  .stv2-doc-grid {
    grid-template-columns: 1fr;
  }
}
