/* ==========================================================================
   EGZMASTER - INDUSTRIAL MINIMALISM STYLESHEET
   AISI 304 Stainless Steel Grid & Manufacturing Design
   ========================================================================== */

:root {
  --bg-main: #F5F6F7;
  --bg-white: #FFFFFF;
  --bg-steel-light: #E3E7EA;
  --color-border: #BDC5CB;
  --color-text-muted: #818C95;
  --bg-graphite: #30383E;
  --color-dark: #14181B;
  --color-black: #000000;
  --accent-steel: #5D7382;

  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tech: 'Space Grotesk', monospace;

  --container-max: 1300px;
  --radius: 3px;
  --transition: all 0.22s ease-in-out;
}

/* Reset & Basics */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--color-dark);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--color-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sub-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-steel);
  margin-bottom: 8px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.section-head {
  margin-bottom: 54px;
  max-width: 820px;
}

.section-title {
  font-size: 42px;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-dark {
  background-color: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

.btn-dark:hover {
  background-color: #242B30;
  border-color: #242B30;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-dark);
  background-color: rgba(20, 24, 27, 0.04);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  height: 86px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-black);
}

.nav-desktop .nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-dark);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search-box {
  position: relative;
}

.search-toggle-btn {
  background: none;
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark);
  transition: var(--transition);
}

.search-toggle-btn:hover {
  border-color: var(--color-dark);
}

.quick-search-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 320px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: none;
  border-radius: var(--radius);
  z-index: 1010;
}

.quick-search-dropdown.open {
  display: block;
}

.quick-search-dropdown input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
}

.quick-search-dropdown input:focus {
  border-color: var(--color-dark);
}

.quick-search-results {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 13px;
}

.quick-search-item {
  padding: 6px 8px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.quick-search-item:hover {
  background: var(--bg-steel-light);
}

.header-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.01em;
}

.btn-header {
  padding: 11px 20px;
  font-size: 14px;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-dark);
  transition: var(--transition);
}

.mobile-drawer {
  display: none;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
}

.mobile-drawer.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mob-link {
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mob-phone {
  font-size: 18px;
  font-weight: 700;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background-color: var(--bg-main);
  padding: 70px 0 80px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.tech-badge {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-steel);
  background-color: var(--bg-steel-light);
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid rgba(189, 197, 203, 0.4);
}

.hero-title {
  font-size: 58px;
  line-height: 1.08;
  color: var(--color-dark);
  margin-bottom: 22px;
  font-weight: 800;
}

.steel-highlight {
  display: inline-block;
  color: var(--bg-graphite);
  border-bottom: 3px solid var(--color-border);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-meta-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-dark);
  border-radius: 50%;
}

.meta-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.hero-spec-code {
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 16px;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  background: #14181B;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.hero-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-main-img {
  transform: scale(1.02);
}

.hero-image-spec-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(20, 24, 27, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tag-title {
  font-size: 10px;
  color: var(--color-border);
  letter-spacing: 0.1em;
}

.tag-val {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-watermark {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-tech);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.15em;
}

/* ==========================================================================
   8. Преимущества
   ========================================================================== */
.section-benefits {
  background-color: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  border-color: var(--color-dark);
  transform: translateY(-2px);
  background: #FFFFFF;
}

.benefit-icon {
  margin-bottom: 22px;
}

.benefit-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-desc {
  font-size: 15px;
  color: #4A5560;
  line-height: 1.55;
}

/* ==========================================================================
   9. Каталог продукции
   ========================================================================== */
.section-catalog {
  background-color: var(--bg-main);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 110px;
}

.sidebar-block {
  margin-bottom: 28px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-heading {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--color-dark);
  font-weight: 700;
}

.cat-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-btn:hover {
  background-color: var(--bg-steel-light);
}

.cat-btn.active {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

.cat-count {
  font-size: 12px;
  opacity: 0.8;
}

.sidebar-note {
  background: var(--bg-steel-light);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--color-dark);
}

.sidebar-note .note-title {
  font-weight: 700;
  margin-bottom: 4px;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.current-cat-name {
  font-size: 22px;
  font-weight: 700;
  margin-right: 12px;
}

.items-count {
  font-size: 14px;
  color: var(--color-text-muted);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 14px;
  color: var(--color-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.product-media {
  position: relative;
  background: #14181B;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 24, 27, 0.85);
  color: #FFFFFF;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 700;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  background: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(189, 197, 203, 0.4);
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-k {
  color: var(--color-text-muted);
}

.spec-v {
  font-weight: 600;
  color: var(--color-dark);
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-steel);
  margin-bottom: 18px;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ==========================================================================
   10. Индивидуальное изготовление (Калькулятор / Тёмная секция)
   ========================================================================== */
.section-custom-order {
  background-color: var(--color-dark);
  color: #FFFFFF;
  border-bottom: 1px solid #2B3339;
  position: relative;
  overflow: hidden;
}

.order-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.order-left {
  position: relative;
}

.tech-subheading {
  font-family: var(--font-tech);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-border);
  margin-bottom: 14px;
}

.order-title {
  color: #FFFFFF;
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.order-desc {
  font-size: 18px;
  color: var(--color-border);
  margin-bottom: 36px;
  max-width: 480px;
}

.order-perks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.perk-point {
  display: flex;
  gap: 18px;
}

.perk-num {
  font-family: var(--font-tech);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-steel);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.perk-point strong {
  display: block;
  font-size: 17px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.perk-point p {
  font-size: 14px;
  color: #9EA8B0;
  line-height: 1.45;
}

.order-watermark {
  font-family: var(--font-tech);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  bottom: -40px;
  left: 0;
  pointer-events: none;
}

/* Правая сторона: форма */
.order-form-card {
  background: #FFFFFF;
  color: var(--color-dark);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.form-card-title {
  font-size: 22px;
  margin-bottom: 22px;
  font-weight: 800;
  color: var(--color-dark);
}

.industrial-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #30383E;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-dark);
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-dark);
  background: #FFFFFF;
}

.file-upload-group {
  margin-top: 4px;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-main);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--accent-steel);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-label:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.file-input-hidden {
  display: none;
}

.form-checkbox-group {
  margin-top: 4px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #55616A;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.custom-checkbox input:checked + .checkbox-box {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
}

.custom-checkbox input:checked + .checkbox-box::after {
  content: '✓';
  position: absolute;
  color: #FFFFFF;
  font-size: 11px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-status-msg {
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.form-status-msg.success {
  display: block;
  color: #1F7A38;
}

.form-status-msg.error {
  display: block;
  color: #A32626;
}

/* ==========================================================================
   11. О компании
   ========================================================================== */
.section-about {
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-dark);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-tech-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(20, 24, 27, 0.9);
  color: #FFFFFF;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
}

.about-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 34px;
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet-box {
  width: 38px;
  height: 38px;
  background: var(--bg-steel-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-code {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-dark);
}

.bullet-info h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.bullet-info p {
  font-size: 14px;
  color: #55616A;
}

/* ==========================================================================
   12. Наши работы (Галерея)
   ========================================================================== */
.section-works {
  background-color: var(--bg-main);
}

.section-head-works {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
}

.works-filters {
  display: flex;
  gap: 8px;
}

.pill-btn {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: var(--color-dark);
}

.pill-btn.active {
  background: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.work-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #14181B;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 27, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
}

.work-caption {
  padding: 20px;
}

.work-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-steel);
  font-weight: 700;
  margin-bottom: 6px;
}

.work-title {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 700;
}

.work-spec {
  font-family: var(--font-tech);
  font-size: 13px;
  color: var(--bg-graphite);
  font-weight: 700;
  margin-bottom: 8px;
}

.work-desc {
  font-size: 13px;
  color: #55616A;
  line-height: 1.4;
}

/* ==========================================================================
   13. Фотографии клиентов
   ========================================================================== */
.section-clients {
  background-color: var(--bg-white);
}

.client-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.arrow-btn:hover {
  background: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

.clients-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clients-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.client-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.client-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-main);
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--color-dark);
}

.client-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #14181B;
}

.client-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(20, 24, 27, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius);
}

.client-meta {
  padding: 18px;
}

.client-order-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.client-note {
  font-size: 13px;
  color: #55616A;
  line-height: 1.45;
}

.client-disclaimer {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--bg-steel-light);
  border-radius: var(--radius);
  font-size: 13px;
  color: #55616A;
  text-align: center;
}

/* ==========================================================================
   14. Форма обратной связи
   ========================================================================== */
.section-feedback {
  background-color: var(--bg-main);
}

.feedback-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 50px;
}

.feedback-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.feedback-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-steel-light);
  padding: 20px;
  border-radius: var(--radius);
}

.contact-line {
  display: flex;
  gap: 8px;
  font-size: 15px;
}

.c-label {
  color: var(--accent-steel);
  font-weight: 600;
}

.c-link {
  font-weight: 700;
  color: var(--color-dark);
}

.c-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   15. Контакты
   ========================================================================== */
.section-contacts {
  background-color: var(--bg-white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.c-data-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(189, 197, 203, 0.4);
}

.c-term {
  font-size: 13px;
  color: var(--accent-steel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.c-def {
  font-size: 18px;
  color: var(--color-dark);
}

.c-highlight-link {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
}

.c-highlight-link:hover {
  color: var(--accent-steel);
}

.contact-buttons-group {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.map-placeholder-box {
  background: var(--bg-graphite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #30383E 0%, #14181B 100%);
  padding: 30px;
  text-align: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-meta-center {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.map-pin-icon svg {
  fill: #FFFFFF;
}

.map-note-title {
  font-family: var(--font-tech);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 10px;
  margin-bottom: 6px;
}

.map-note-sub {
  font-size: 14px;
  color: var(--color-border);
  max-width: 340px;
  margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  color: #BDC5CB;
  padding: 80px 0 36px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #283036;
}

.footer-brand .brand-text {
  color: #FFFFFF;
}

.footer-tagline {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: #8E99A2;
}

.f-col-title {
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.f-links a:hover {
  color: #FFFFFF;
}

.f-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #CAD0D4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  font-size: 13px;
  color: #6C7780;
}

.legal-links a:hover {
  color: #BDC5CB;
}

/* ==========================================================================
   Модальные окна (Lightboxes & Modals)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 15, 0.88);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox */
.lightbox-dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #14181B;
  border: 1px solid #333D44;
  border-radius: var(--radius);
  overflow: hidden;
}

.lightbox-content {
  display: flex;
  align-items: center;
  position: relative;
}

.lb-img-box {
  width: 100%;
  text-align: center;
  position: relative;
}

.lb-img-box img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.lb-caption-panel {
  padding: 18px 24px;
  background: #14181B;
  color: #FFFFFF;
  text-align: left;
  font-size: 14px;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 24, 27, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 26px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-arrow:hover {
  background: #000000;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* Product Modal (Страница отдельного изделия) */
.product-modal-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.pm-col-gallery {
  background: #14181B;
  display: flex;
  flex-direction: column;
}

.pm-main-img-box {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.pm-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFF;
  font-family: var(--font-tech);
  font-size: 11px;
  padding: 4px 8px;
}

.pm-col-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.pm-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-steel);
  margin-bottom: 8px;
}

.pm-title {
  font-size: 26px;
  margin-bottom: 20px;
}

.pm-tech-table {
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.pm-row {
  display: flex;
  justify-content: space-between;
}

.pm-row .k {
  color: var(--color-text-muted);
}

.pm-desc {
  font-size: 14px;
  color: #4A5560;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pm-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.pm-other-sizes .other-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--accent-steel);
}

.other-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.other-tags span {
  background: var(--bg-main);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  font-size: 12px;
  font-family: var(--font-tech);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.other-tags span:hover {
  background: var(--color-dark);
  color: #FFF;
}

/* Callback Modal */
.callback-modal-dialog {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.callback-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.callback-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

/* ==========================================================================
   Cookie Banner (Mandatory)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(20, 24, 27, 0.95);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  z-index: 1900;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  color: #D2D7DC;
}

.cookie-text a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cookie-btn {
  background: #FFFFFF;
  color: var(--color-dark);
  border: none;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.cookie-btn:hover {
  background: #E3E7EA;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title { font-size: 46px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .client-slide { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { height: 72px; }
  .nav-desktop, .btn-header, .header-phone { display: none; }
  .burger-btn { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-main-img { height: 380px; }
  .hero-title { font-size: 38px; }

  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
  }

  .order-container {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-img { height: 340px; }

  .feedback-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }

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

  .product-modal-body {
    grid-template-columns: 1fr;
  }
  .pm-main-img-box {
    min-height: 260px;
  }
  .pm-col-info {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero-section { padding: 40px 0 60px 0; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .hero-cta-group { flex-direction: column; }

  .benefits-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .client-slide { flex: 0 0 100%; }

  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .order-form-card { padding: 22px 16px; }

  .section-head-works {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .works-filters {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/*start_css_for_catalog*/
#catalog {
  position: relative;
  background-color: var(--bg-main, #f4f6f8);
}

#catalog .catalog-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

#catalog .category-card {
  background: var(--bg-white, #ffffff);
  border: 1px solid var(--color-border, #d7dfe5);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#catalog .category-card:hover {
  border-color: var(--color-dark, #14181b);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

#catalog .category-media {
  position: relative;
  background-color: #14181b;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

#catalog .category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#catalog .category-card:hover .category-media img {
  transform: scale(1.04);
}

#catalog .category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(20, 24, 27, 0.88);
  color: #ffffff;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius, 4px);
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

#catalog .category-num {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: var(--color-dark, #14181b);
  color: #ffffff;
  font-family: var(--font-tech, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#catalog .category-content {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#catalog .category-header {
  margin-bottom: 18px;
}

#catalog .category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-steel, #5a738e);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#catalog .category-title {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: var(--color-dark, #14181b);
}

#catalog .category-desc {
  font-size: 14.5px;
  color: var(--color-text-muted, #616e78);
  line-height: 1.5;
  margin: 0;
}

#catalog .category-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  background: var(--bg-main, #f4f6f8);
  padding: 14px 16px;
  border-radius: var(--radius, 6px);
  border: 1px solid rgba(189, 197, 203, 0.45);
}

#catalog .meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

#catalog .meta-label {
  color: var(--color-text-muted, #616e78);
  flex-shrink: 0;
}

#catalog .meta-value {
  font-weight: 600;
  color: var(--color-dark, #14181b);
  text-align: right;
}

#catalog .category-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border, #d7dfe5);
  flex-wrap: wrap;
}

#catalog .category-price-hint {
  font-size: 13px;
  color: var(--color-text-muted, #616e78);
  line-height: 1.35;
}

#catalog .category-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#catalog .category-actions .btn {
  flex-shrink: 0;
}

#catalog .catalog-action-row {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#catalog .catalog-btn-all {
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(20, 24, 27, 0.15);
  text-decoration: none;
}

#catalog .catalog-btn-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 24, 27, 0.22);
}

#catalog .catalog-btn-all svg {
  transition: transform 0.25s ease;
}

#catalog .catalog-btn-all:hover svg {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  #catalog .catalog-categories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #catalog .category-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #catalog .category-actions {
    width: 100%;
    display: flex;
  }

  #catalog .category-actions .btn {
    flex: 1;
    text-align: center;
  }

  #catalog .category-title {
    font-size: 21px;
  }

  #catalog .category-content {
    padding: 22px 20px;
  }

  #catalog .catalog-action-row {
    margin-top: 36px;
  }

  #catalog .catalog-btn-all {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #catalog .category-actions {
    flex-direction: column;
    width: 100%;
  }

  #catalog .category-actions .btn {
    width: 100%;
  }
}
/*end_css_for_catalog*/

/*start_css_for_client-photos*/
#client-photos.section-clients {
  background-color: var(--bg-white, #ffffff);
}

#client-photos .client-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
}

#client-photos .carousel-nav-arrows {
  display: flex;
  gap: 10px;
}

#client-photos .arrow-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-white, #ffffff);
  border: 1px solid var(--color-border, #d7dde2);
  border-radius: var(--radius, 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark, #14181b);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

#client-photos .arrow-btn:hover:not(:disabled) {
  background: var(--color-dark, #14181b);
  color: #ffffff;
  border-color: var(--color-dark, #14181b);
}

#client-photos .arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#client-photos .clients-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

#client-photos .clients-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

#client-photos .client-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  box-sizing: border-box;
}

#client-photos .client-card {
  border: 1px solid var(--color-border, #d7dde2);
  border-radius: var(--radius, 4px);
  overflow: hidden;
  background: var(--bg-main, #f5f7f9);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#client-photos .client-card:hover {
  border-color: var(--color-dark, #14181b);
  box-shadow: 0 8px 24px rgba(20, 24, 27, 0.08);
}

#client-photos .client-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #14181b;
  overflow: hidden;
}

#client-photos .client-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#client-photos .client-card:hover .client-img-wrap img {
  transform: scale(1.04);
}

#client-photos .client-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(20, 24, 27, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius, 4px);
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
  z-index: 1;
}

#client-photos .client-meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#client-photos .client-order-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark, #14181b);
}

#client-photos .client-note {
  font-size: 13px;
  color: #55616a;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 992px) {
  #client-photos .client-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  #client-photos .client-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  #client-photos .carousel-nav-arrows {
    align-self: flex-end;
  }
  #client-photos .client-slide {
    flex: 0 0 100%;
  }
}
/*end_css_for_client-photos*/

/*start_css_for_about*/
#about.section-about {
  background-color: var(--bg-white, #ffffff);
}

#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

#about .about-image-wrap {
  position: relative;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: var(--color-dark, #14181b);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

#about .about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

#about .about-tech-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(20, 24, 27, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 4px;
}

#about .about-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark, #14181b);
  margin-bottom: 34px;
}

#about .about-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

#about .about-bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

#about .bullet-box {
  width: 38px;
  height: 38px;
  background: var(--bg-steel-light, #f1f5f9);
  border: 1px solid var(--color-border, #cbd5e1);
  border-radius: var(--radius, 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#about .bullet-code {
  font-family: var(--font-tech, monospace);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-dark, #14181b);
}

#about .bullet-info h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

#about .bullet-info p {
  font-size: 14px;
  color: #55616a;
  line-height: 1.5;
  margin: 0;
}

#about .about-actions {
  display: flex;
  align-items: center;
}

#about .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background-color: var(--color-dark, #14181b);
  color: #ffffff;
  font-family: var(--font-main, inherit);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius, 6px);
  border: 1px solid var(--color-dark, #14181b);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

#about .about-btn:hover {
  background-color: #2b3339;
  border-color: #2b3339;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 24, 27, 0.16);
}

#about .about-btn svg {
  transition: transform 0.25s ease;
}

#about .about-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #about .about-img {
    height: 360px;
  }
}

@media (max-width: 576px) {
  #about .about-img {
    height: 280px;
  }

  #about .about-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  #about .about-btn {
    width: 100%;
  }
}
/*end_css_for_about*/

/*start_css_for_hero*/
/* Главный баннер: светлый текстовый блок слева, фотография только справа на фоне. */
#hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  padding: 76px 0 80px;
  background: #eef0f2;
  border-bottom: 1px solid #d8dde1;
}

/* Фотография не является отдельным элементом — это только фон правой стороны. */
#hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 56%;
  background: url('/sites/all/themes/vesta_theme/egzmaster/staticfiles/section-ai-hero-2-0fab23d9.png') center center / cover no-repeat;
  pointer-events: none;
}

/* Плавный переход к однотонному серому фону, чтобы текст оставался читаемым. */
#hero .hero-bg-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg,
    #eef0f2 0%,
    #eef0f2 38%,
    rgba(238, 240, 242, 0.98) 43%,
    rgba(238, 240, 242, 0.87) 49%,
    rgba(238, 240, 242, 0.12) 64%,
    rgba(238, 240, 242, 0) 75%);
  pointer-events: none;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

#hero .hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 53%;
  max-width: 630px;
  margin: 0;
  text-align: left;
}

#hero .tech-badge {
  display: inline-block;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.11em;
  color: #657078;
  background: #e4e8eb;
  padding: 7px 12px;
  margin: 0 0 22px;
  border: 1px solid #cfd6db;
  border-radius: var(--radius, 3px);
  box-shadow: none;
}

#hero .hero-title {
  max-width: 630px;
  margin: 0 0 22px;
  font-size: clamp(39px, 3.55vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.034em;
  color: #49535b;
  text-align: left;
}

#hero .steel-highlight {
  display: inline;
  color: #69747c;
  border: 0;
}

#hero .hero-subtitle {
  max-width: 560px;
  margin: 0 0 30px;
  color: #646e76;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
}

#hero .hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
}

#hero .hero-btn {
  box-shadow: none;
}

#hero .btn-outline {
  background: #eef0f2;
  backdrop-filter: none;
  border-color: #aeb8c0;
  color: #4f5961;
}

#hero .hero-meta-strip {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
  max-width: 560px;
  width: 100%;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #cbd2d7;
}

#hero .meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
}

#hero .meta-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: #89959e;
  border-radius: 50%;
}

#hero .meta-label {
  color: #6b757d;
  font-size: 13px;
  font-weight: 600;
}

#hero .hero-spec-code {
  margin: 18px 0 0;
  color: #9099a1;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left;
}

@media (max-width: 1100px) {
  #hero .hero-content { width: 57%; }
  #hero::before { width: 55%; }
  #hero .hero-title { font-size: 43px; }
}

@media (max-width: 820px) {
  #hero { min-height: 0; padding: 64px 0 68px; }
  #hero::before { width: 57%; background-position: 57% center; }
  #hero .hero-content { width: 68%; }
  #hero .hero-title { font-size: 39px; }
  #hero .hero-subtitle { font-size: 16px; }
  #hero .hero-bg-overlay {
    background: linear-gradient(90deg, #eef0f2 0%, #eef0f2 39%, rgba(238,240,242,.95) 54%, rgba(238,240,242,.3) 84%, rgba(238,240,242,.1) 100%);
  }
}

@media (max-width: 600px) {
  #hero { padding: 46px 0 50px; }
  #hero::before {
    width: 52%;
    background-position: 57% center;
    opacity: .3;
  }
  #hero .hero-bg-overlay {
    background: linear-gradient(90deg, #eef0f2 0%, rgba(238,240,242,.98) 40%, rgba(238,240,242,.8) 68%, rgba(238,240,242,.4) 100%);
  }
  #hero .hero-content { width: 100%; max-width: 100%; }
  #hero .tech-badge { font-size: 9px; margin-bottom: 18px; }
  #hero .hero-title { font-size: clamp(30px, 8vw, 37px); margin-bottom: 18px; }
  #hero .hero-subtitle { font-size: 15px; margin-bottom: 26px; }
  #hero .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; max-width: 350px; margin-bottom: 29px; }
  #hero .hero-cta-group .btn { width: 100%; justify-content: center; }
  #hero .hero-meta-strip { align-items: flex-start; gap: 10px; }
  #hero .meta-label { font-size: 12px; }
}
/*end_css_for_hero*/


/*start_css_for_calculator*/
#calculator.section-custom-order {
  background-color: var(--color-dark, #1f2529);
  color: #FFFFFF;
  border-bottom: 1px solid #2B3339;
  position: relative;
  overflow: hidden;
}

#calculator .order-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

#calculator .order-left {
  position: relative;
}

#calculator .tech-subheading {
  font-family: var(--font-tech, monospace);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-border, #d1d5db);
  margin-bottom: 14px;
}

#calculator .order-title {
  color: #FFFFFF;
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
}

#calculator .order-desc {
  font-size: 18px;
  color: var(--color-border, #d1d5db);
  margin-bottom: 36px;
  max-width: 480px;
}

#calculator .order-perks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#calculator .perk-point {
  display: flex;
  gap: 18px;
}

#calculator .perk-num {
  font-family: var(--font-tech, monospace);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-steel, #9ea8b0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius, 4px);
}

#calculator .perk-point strong {
  display: block;
  font-size: 17px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

#calculator .perk-point p {
  font-size: 14px;
  color: #9EA8B0;
  line-height: 1.45;
  margin: 0;
}

#calculator .order-watermark {
  font-family: var(--font-tech, monospace);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  bottom: -40px;
  left: 0;
  pointer-events: none;
}

#calculator .order-form-card {
  background: #FFFFFF;
  color: var(--color-dark, #242B30);
  border-radius: var(--radius, 4px);
  padding: 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

#calculator .form-card-title {
  font-size: 22px;
  margin-bottom: 22px;
  font-weight: 800;
  color: var(--color-dark, #242B30);
}

#calculator .industrial-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#calculator .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#calculator .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#calculator .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #30383E;
}

#calculator .form-input,
#calculator .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-dark, #242B30);
  background: var(--bg-main, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius, 4px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

#calculator .form-input:focus,
#calculator .form-textarea:focus {
  border-color: var(--color-dark, #242B30);
  background: #FFFFFF;
}

#calculator .file-upload-group {
  margin-top: 4px;
}

#calculator .file-input-hidden {
  display: none;
}

#calculator .form-checkbox-group {
  margin-top: 4px;
}

#calculator .custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #55616A;
  user-select: none;
  line-height: 1.4;
}

#calculator .custom-checkbox input {
  display: none;
}

#calculator .checkbox-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-border, #c4cdd5);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  background-color: #FFFFFF;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#calculator .custom-checkbox input:checked + .checkbox-box {
  background-color: var(--color-dark, #242B30);
  border-color: var(--color-dark, #242B30);
}

#calculator .custom-checkbox input:checked + .checkbox-box::after {
  content: '✓';
  position: absolute;
  color: #FFFFFF;
  font-size: 11px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

#calculator .checkbox-text {
  flex: 1;
}

#calculator .form-status-msg {
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

#calculator .form-status-msg.success {
  display: block;
  color: #1F7A38;
}

#calculator .form-status-msg.error {
  display: block;
  color: #A32626;
}

@media (max-width: 991px) {
  #calculator .order-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #calculator .order-title {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  #calculator {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #calculator .order-form-card {
    padding: 22px 16px;
  }

  #calculator .form-row-2 {
    grid-template-columns: 1fr;
  }

  #calculator .order-title {
    font-size: 28px;
  }

  #calculator .order-desc {
    font-size: 16px;
  }
}
/*end_css_for_calculator*/

/*start_css_for_contacts*/
#contacts.section-contacts {
  background-color: var(--bg-white, #ffffff);
}

#contacts .contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

#contacts .contact-card {
  background: var(--bg-main, #f6f8f9);
  border: 1px solid var(--color-border, #d9e0e6);
  border-radius: var(--radius, 10px);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#contacts .contact-card:hover {
  border-color: #bdc5cb;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 24, 27, 0.05);
}

#contacts .c-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

#contacts .c-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border, #d9e0e6);
  color: var(--color-dark, #14181b);
  flex-shrink: 0;
}

#contacts .c-term {
  font-size: 12px;
  color: var(--accent-steel, #5c6b75);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#contacts .c-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

#contacts .c-highlight-link {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-dark, #14181b);
  display: inline-block;
  line-height: 1.3;
  word-break: break-word;
  transition: color 0.2s ease;
}

#contacts .c-highlight-link:hover {
  color: var(--accent-steel, #5c6b75);
}

#contacts .c-highlight-link--mail {
  font-size: 16px;
  font-weight: 700;
}

#contacts .c-def-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark, #14181b);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

#contacts .c-note {
  font-size: 13px;
  color: var(--accent-steel, #74838e);
  line-height: 1.4;
}

#contacts .c-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

#contacts .c-btn-messenger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

#contacts .c-btn-messenger--wa {
  background: #eaf8ef;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

#contacts .c-btn-messenger--wa:hover {
  background: #15803d;
  color: #ffffff;
}

#contacts .c-btn-messenger--tg {
  background: #e8f4fc;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

#contacts .c-btn-messenger--tg:hover {
  background: #0284c7;
  color: #ffffff;
}

#contacts .c-card-footer {
  margin-top: 2px;
}

#contacts .c-person-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-dark, #14181b);
  margin-top: 2px;
}

#contacts .c-person-icon {
  display: inline-flex;
  color: var(--accent-steel, #5c6b75);
}

#contacts .c-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #eaf8ef;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

#contacts .c-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

#contacts .c-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

#contacts .c-tag {
  background: #ffffff;
  border: 1px solid var(--color-border, #d9e0e6);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark, #14181b);
  width: fit-content;
}

#contacts .contacts-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: var(--bg-main, #f6f8f9);
  border: 1px solid var(--color-border, #d9e0e6);
  border-radius: var(--radius, 10px);
  padding: 20px 24px;
  box-sizing: border-box;
}

#contacts .contacts-banner-divider {
  width: 1px;
  height: 42px;
  background: var(--color-border, #d9e0e6);
}

#contacts .contacts-banner-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#contacts .contacts-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border, #d9e0e6);
  color: var(--accent-steel, #5c6b75);
  flex-shrink: 0;
}

#contacts .contacts-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#contacts .contacts-banner-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark, #14181b);
}

#contacts .contacts-banner-text span {
  font-size: 12px;
  color: var(--accent-steel, #74838e);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  #contacts .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #contacts .contacts-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  #contacts .contacts-banner-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  #contacts .contacts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #contacts .contact-card {
    padding: 20px 18px;
  }

  #contacts .c-highlight-link {
    font-size: 18px;
  }

  #contacts .c-def-title {
    font-size: 18px;
  }
}
/*end_css_for_contacts*/

/*start_css_for_i2peae*/
#i2peae {
  background-color: var(--color-dark, #1a2228);
  color: #BDC5CB;
  padding: 80px 0 36px 0;
}

#i2peae .footer-container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

#i2peae .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #283036;
}

#i2peae .footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

#i2peae .footer-brand .brand-symbol {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

#i2peae .footer-brand .brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

#i2peae .footer-tagline {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: #8E99A2;
}

#i2peae .f-col-title {
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

#i2peae .f-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

#i2peae .f-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

#i2peae .f-links a:hover {
  color: #FFFFFF;
}

#i2peae .f-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #CAD0D4;
}

#i2peae .f-contacts a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

#i2peae .f-contacts a:hover {
  color: #FFFFFF;
}

#i2peae .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  font-size: 13px;
  color: #6C7780;
}

#i2peae .footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

#i2peae .footer-bottom a:hover {
  color: #BDC5CB;
}

#i2peae .dev-link {
  color: #7d8b95;
  transition: color 0.2s ease;
}

#i2peae .dev-link span {
  color: #BDC5CB;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

#i2peae .dev-link:hover {
  color: #BDC5CB;
}

#i2peae .dev-link:hover span {
  color: #FFFFFF;
}

@media (max-width: 991px) {
  #i2peae .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  #i2peae .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  #i2peae {
    padding: 50px 0 30px 0;
  }

  #i2peae .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  #i2peae .footer-bottom {
    text-align: center;
  }
}
/*end_css_for_i2peae*/

/*start_css_for_i59vx*/
#i59vx {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#i59vx .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#i59vx .tech-badge {
  margin-left: auto;
  margin-right: auto;
}

#i59vx .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#i59vx .hero-subtitle {
  text-align: center;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

#i59vx .hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

#i59vx .hero-meta-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
}

#i59vx .meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#i59vx .hero-spec-code {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#i59vx .hero-visual {
  display: none;
}

@media (max-width: 640px) {
  #i59vx .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  #i59vx .hero-cta-group .btn {
    width: 100%;
  }

  #i59vx .hero-meta-strip {
    flex-direction: column;
    gap: 10px;
  }
}
/*end_css_for_i59vx*/

/*start_css_for_iqst*/
#iqst {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
}

#iqst .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

#iqst .brand-symbol {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

#iqst .brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-black, #14181b);
}

#iqst .nav-desktop {
  display: none;
}

#iqst .nav-desktop .nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

#iqst .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark, #242b30);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

#iqst .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-dark, #242b30);
  transition: width 0.2s ease;
}

#iqst .nav-link:hover::after {
  width: 100%;
}

#iqst .header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

#iqst .header-search-box {
  position: relative;
}

#iqst .search-toggle-btn {
  background: none;
  border: 1px solid var(--color-border, #d9e0e6);
  width: 40px;
  height: 40px;
  border-radius: var(--radius, 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark, #242b30);
  transition: border-color 0.2s ease, color 0.2s ease;
}

#iqst .search-toggle-btn:hover {
  border-color: var(--color-dark, #242b30);
}

#iqst .quick-search-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 320px;
  background: var(--bg-white, #ffffff);
  border: 1px solid var(--color-border, #d9e0e6);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: none;
  border-radius: var(--radius, 6px);
  z-index: 1010;
}

#iqst .quick-search-dropdown.open {
  display: block;
}

#iqst .quick-search-dropdown input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--color-border, #d9e0e6);
  border-radius: var(--radius, 6px);
  outline: none;
  box-sizing: border-box;
}

#iqst .quick-search-dropdown input:focus {
  border-color: var(--color-dark, #242b30);
}

#iqst .quick-search-results {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 13px;
}

#iqst .header-phone {
  display: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark, #242b30);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

#iqst .btn-header {
  display: none;
  padding: 11px 20px;
  font-size: 14px;
}

#iqst .burger-btn {
  display: flex;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

#iqst .burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-dark, #242b30);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 992px) {
  #iqst .nav-desktop {
    display: block;
  }

  #iqst .header-phone {
    display: inline-block;
  }

  #iqst .btn-header {
    display: inline-flex;
  }

  #iqst .burger-btn {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #iqst .nav-desktop .nav-list {
    gap: 18px;
  }

  #iqst .header-actions {
    gap: 12px;
  }

  #iqst .btn-header {
    padding: 9px 14px;
    font-size: 13px;
  }
}
/*end_css_for_iqst*/

/* ==========================================================================
   Brushed steel accents: subtle photographic texture, high text contrast.
   Uses the supplied metal texture in an optimized WebP format.
   ========================================================================== */
:root {
  --steel-texture-image: url("/sites/all/themes/vesta_theme/egzmaster/staticfiles/brushed-steel.webp");
}

/* Priority area: all four benefits, with a soft veil to prevent glare. */
#benefits .benefit-card {
  background-color: #edf1f3;
  background-image: linear-gradient(110deg, rgba(247, 249, 250, .83), rgba(241, 244, 246, .87)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #c8d0d6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
#benefits .benefit-card:hover {
  background-image: linear-gradient(110deg, rgba(249, 251, 252, .79), rgba(240, 244, 246, .84)), var(--steel-texture-image);
  border-color: #8999a4;
  box-shadow: 0 10px 26px rgba(34, 46, 55, .09), inset 0 1px 0 rgba(255,255,255,.8);
}
#benefits .benefit-icon {
  width: 56px;
  height: 56px;
  padding: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b5bec5;
  border-radius: 5px;
  background-color: #dce2e6;
  background-image: linear-gradient(125deg, rgba(246, 248, 250, .60), rgba(230, 236, 239, .70)), var(--steel-texture-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 3px 10px rgba(30, 42, 50, .07), inset 0 1px 0 rgba(255,255,255,.7);
  flex-shrink: 0;
}
#benefits .benefit-icon svg { width: 30px; height: 30px; }
#benefits .benefit-title { color: #182128; }
#benefits .benefit-desc { color: #394650; }

/* Restrained matching details in the catalog and in the company's numbers. */
#catalog .category-meta {
  background-color: #f0f3f5;
  background-image: linear-gradient(105deg, rgba(249,250,251,.87), rgba(244,247,249,.91)), var(--steel-texture-image);
  background-size: cover;
  background-position: center;
  border-color: #c9d1d6;
}
#about .bullet-box {
  background-color: #e7ebee;
  background-image: linear-gradient(115deg, rgba(245,248,250,.63), rgba(235,240,244,.71)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #b7c2c9;
}

/* Contact cards retain a uniform light tone: legibility comes first. */
#contacts .contact-card {
  background-color: #f1f4f6;
  background-image: linear-gradient(110deg, rgba(249,250,251,.89), rgba(241,245,247,.92)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #c9d1d6;
}
#contacts .contact-card:hover { border-color: #9aabb6; }
#contacts .c-icon {
  background-color: #eef2f4;
  background-image: linear-gradient(120deg, rgba(251,252,253,.68), rgba(233,238,241,.73)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #b9c4cc;
}

/* MAX messenger — header, mobile menu, footer and floating quick-action dock. */
.max-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.max-link img { display: block; width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }

#iqst .max-link--header:hover { border-color: #8796a2; background: #e9eef1; transform: translateY(-1px); }
.mobile-drawer-footer .max-link--mobile {
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  color: #1d2932;
  background: #f1f4f6;
  border: 1px solid #c9d2d8;
  border-radius: 6px;
  width: fit-content;
}
.mobile-drawer-footer .max-link--mobile:hover { background: #e5ebee; border-color: #8999a4; }
#i2peae .footer-max-line { margin: 4px 0 2px; }
#i2peae .max-link--footer:hover { color: #fff; border-color: #9eafb9; background: rgba(255,255,255,.12); }
#i2peae { border-top: 2px solid #84939e; }

.floating-actions {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.floating-actions .max-link--floating {
  width: 58px;
  height: 58px;
}
.floating-actions .max-link--floating img { width: 44px; height: 44px; }
.floating-actions .max-link--floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 30px rgba(20,24,27,.25);
}
.floating-actions .back-to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #4e5b64;
  border-radius: 13px;
  color: #fff;
  background: #263038;
  box-shadow: 0 4px 18px rgba(20,24,27,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
}
.floating-actions .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-actions .back-to-top:hover { background: #3b4c56; }
.max-link:focus-visible, .back-to-top:focus-visible {
  outline: 3px solid #477cbd;
  outline-offset: 3px;
}

@media (min-width: 992px) and (max-width: 1480px) {
  #iqst .max-link--header { padding: 5px; min-width: 38px; }
  #iqst .max-link--header span { display: none; }
  #iqst .header-actions { gap: 11px; }
  #iqst .nav-desktop .nav-list { gap: 17px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  /* Preserve space for the new button on laptops/tablets. */
  #iqst .nav-desktop, #iqst .header-phone { display: none; }
  #iqst .burger-btn { display: flex; }
}
@media (max-width: 991px) {
  #iqst .max-link--header { padding: 5px; min-width: 38px; }
  #iqst .max-link--header span { display: none; }
}
@media (max-width: 600px) {
  #iqst .header-actions { gap: 12px; }
  #iqst .brand-symbol { width: 32px; height: 32px; }
  #iqst .brand-text { font-size: 19px; }
  #iqst .search-toggle-btn { width: 38px; height: 38px; }
  .floating-actions { right: 14px; bottom: 16px; gap: 10px; }
  .floating-actions .max-link--floating { width: 52px; height: 52px; border-radius: 15px; padding: 6px; }
  .floating-actions .max-link--floating img { width: 40px; height: 40px; }
  .floating-actions .back-to-top { width: 44px; height: 44px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .max-link, .back-to-top, #benefits .benefit-card { transition: none; }
}

/* Comfortable mobile touch targets without crowding the 320px header. */
@media (max-width: 600px) {
  #iqst .max-link--header { min-width: 42px; min-height: 42px; }
}
@media (max-width: 360px) {
  #iqst .brand-logo { gap: 7px; }
  #iqst .brand-symbol { width: 27px; height: 27px; }
  #iqst .brand-text { font-size: 17px; }
  #iqst .header-actions { gap: 7px; }
  #iqst .search-toggle-btn { width: 36px; height: 36px; }
  #iqst .burger-btn { width: 26px; }
}

/* ======================================================================
   Refinement round 2:
   - brushed steel for perk numbers and client meta cards
   - plain icon containers when the parent already uses steel texture
   ====================================================================== */

/* Perk numbers: add restrained steel texture while keeping strong contrast. */
.perk-num,
#calculator .perk-num {
  color: #34424c;
  background-color: #e9edf0;
  background-image: linear-gradient(115deg, rgba(250,251,252,.82), rgba(235,240,243,.88)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #bcc6cd;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 3px 10px rgba(26, 34, 40, .06);
}

/* If the card already has steel texture, the icon should stay simple. */
#benefits .benefit-icon,
#contacts .c-icon {
  background-color: #f6f8f9;
  background-image: none;
  border-color: #c7d0d6;
  box-shadow: 0 2px 8px rgba(31, 42, 50, .06), inset 0 1px 0 rgba(255,255,255,.85);
}

/* Client meta cards: subtle steel texture in the text area of client cards. */
.client-meta,
#client-photos .client-meta {
  background-color: #eef2f4;
  background-image: linear-gradient(112deg, rgba(250,251,252,.84), rgba(239,243,246,.89)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-top: 1px solid #c9d1d6;
}

.client-order-title,
#client-photos .client-order-title {
  color: #1a232a;
}

.client-note,
#client-photos .client-note {
  color: #4c5a64;
}

/* ======================================================================
   Steel texture refinement — applied to the user's latest supplied archive.
   Tech badge, catalog detail buttons and catalog navigation buttons only.
   ====================================================================== */

#hero .tech-badge {
  background-color: #e8edf0;
  background-image: linear-gradient(110deg, rgba(251, 252, 253, .74), rgba(239, 243, 246, .81)), var(--steel-texture-image);
  background-position: center;
  background-size: cover;
  border-color: #bbc5cc;
  color: #394752;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 7px rgba(20, 29, 38, .06);
}

/* "Подробнее" on the catalog cards, "Смотреть каталог" in the hero,
   and "Смотреть весь каталог" below the catalog. */
#catalog .category-actions .btn {
  background-color: #fff;
  background-image: linear-gradient(115deg, rgba(249, 251, 253, .72), rgba(236, 242, 246, .80)), var(--steel-texture-image);
  background-size: cover;
  background-position: center;
  border-color: #afbcc5;
  color: #2c3944;
}
#hero .hero-cta-group .btn-outline {
    background: #fff;
}

/* Visual editor additions: source CSS above is preserved. */
#i2peae {
  background-color: var(--color-dark, #1a2228);
  color: rgb(189, 197, 203);
  padding-top: 80px;
  padding-right: 0px;
  padding-bottom: 36px;
  padding-left: 0px;
}
