/*
Theme Name: Olimp-M
Theme URI: https://olimpm.ru/
Author: NPO Olimp-M
Description: Custom WordPress theme for NPO Olimp-M metal trading website.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: olimp-m
*/
:root {
  --white: #ffffff;
  --paper: #fbfaf7;
  --soft: #f4f1eb;
  --gold: #b88722;
  --gold-dark: #7a5418;
  --gold-light: #dfb963;
  --steel: #5f6975;
  --graphite: #1c2229;
  --ink: #101418;
  --line: #ddd6c9;
  --success: #2d6a4f;
  --danger: #b42318;
  --shadow: 0 20px 55px rgba(16, 20, 24, 0.12);
  --radius: 8px;
  --header-height: 74px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(184, 135, 34, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: clamp(112px, 12vw, 140px);
  height: 64px;
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #2c333b;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.phone-link {
  color: var(--gold-dark);
  font-weight: 800;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--graphite);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 44px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 31%, rgba(255, 255, 255, 0.2) 62%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(184, 135, 34, 0.12));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 44px);
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--graphite);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--graphite);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #343b43;
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions,
.section-heading,
.form-row,
.contact-mini {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(184, 135, 34, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--gold-dark);
}

.button--ghost {
  border-color: rgba(16, 20, 24, 0.25);
  background: rgba(255, 255, 255, 0.72);
  color: var(--graphite);
}

.button--secondary {
  border-color: rgba(184, 135, 34, 0.4);
  background: var(--white);
  color: var(--gold-dark);
}

.proof-strip {
  border-top: 1px solid rgba(184, 135, 34, 0.16);
  border-bottom: 1px solid rgba(184, 135, 34, 0.16);
  background: var(--white);
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip__inner div {
  padding: 24px 20px;
  border-left: 1px solid rgba(184, 135, 34, 0.16);
}

.proof-strip__inner div:last-child {
  border-right: 1px solid rgba(184, 135, 34, 0.16);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--graphite);
  font-size: 24px;
}

.proof-strip span {
  color: var(--steel);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section--muted {
  background: var(--paper);
}

.section--split {
  background: var(--white);
}

.split-grid,
.processing-band__inner,
.payment-grid,
.request-grid,
.contacts-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.text-flow p,
.section-note {
  color: #3c454e;
  font-size: 18px;
}

.text-flow p:last-child,
.section-note:last-child {
  margin-bottom: 0;
}

.section-heading {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading > div {
  max-width: 790px;
}

.section-note {
  max-width: 500px;
  margin-bottom: 0;
}

.catalog-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.catalog-tab {
  min-height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 15px;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  font-weight: 700;
}

.catalog-tab.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.catalog-grid,
.services-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.service-item,
.benefit-card,
.payment-steps article,
.contacts-list article,
.lead-form,
.gains,
.table-panel {
  border: 1px solid rgba(184, 135, 34, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.05);
}

.product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 22px;
}

.product-card[hidden] {
  display: none;
}

.product-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.product-card__head span {
  flex: 0 0 auto;
  border: 1px solid rgba(184, 135, 34, 0.3);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-card ul,
.gains ul {
  margin: 0;
  padding-left: 20px;
}

.product-card li,
.gains li {
  margin-bottom: 7px;
}

.product-card p {
  margin: auto 0 0;
  color: var(--steel);
}

.table-panel {
  margin-top: 28px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--graphite);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.service-item,
.benefit-card {
  padding: 24px;
}

.service-item {
  min-height: 250px;
}

.service-item__index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
}

.service-item p,
.benefit-card p,
.payment-steps p,
.contacts-list p {
  margin-bottom: 0;
  color: var(--steel);
}

.processing-band {
  padding: 78px 0;
  background: var(--graphite);
  color: var(--white);
}

.processing-band h2,
.processing-band .section-kicker {
  color: var(--white);
}

.processing-band .text-flow p {
  color: rgba(255, 255, 255, 0.78);
}

.benefits-grid {
  margin-bottom: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gains {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 24px;
  padding: 28px;
  align-items: start;
}

.gains h3 {
  margin-bottom: 0;
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.payment-steps article {
  padding: 24px;
}

.payment-steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 900;
}

.section--accent {
  background: linear-gradient(135deg, var(--graphite), #30353b);
  color: var(--white);
}

.section--accent h2,
.section--accent .section-kicker {
  color: var(--white);
}

.section--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-mini {
  margin-top: 24px;
}

.contact-mini a {
  border-bottom: 1px solid rgba(223, 185, 99, 0.6);
  color: var(--white);
  font-weight: 800;
}

.lead-form {
  padding: 26px;
  color: var(--ink);
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
}

.lead-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #313941;
  font-size: 14px;
  font-weight: 800;
}

.form-row label {
  flex: 1 1 220px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.catalog-tab:focus-visible,
.button:focus-visible,
a:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(184, 135, 34, 0.28);
  outline-offset: 2px;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
}

.consent span {
  margin-bottom: 0 !important;
  color: var(--steel) !important;
  font-weight: 500 !important;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--success) !important;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger) !important;
}

.contacts-list {
  display: grid;
  gap: 14px;
}

.contacts-list article {
  padding: 22px;
}

.contacts-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contacts-list a {
  color: var(--graphite);
  font-size: 22px;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  background: #11161b;
  color: var(--white);
}

.footer-grid {
  align-items: center;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(184, 135, 34, 0.5);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.scroll-top::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  content: "↑";
  font-size: 22px;
  font-weight: 900;
}

.scroll-top.is-visible {
  display: block;
}

@media (max-width: 1040px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .menu-button {
    display: block;
  }

  .proof-strip__inner,
  .catalog-grid,
  .services-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .processing-band__inner,
  .payment-grid,
  .request-grid,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer a {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 0 14px;
  }

  .phone-link {
    display: none;
  }

  .brand__logo {
    width: 112px;
    height: 58px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 34px);
  }

  .hero__content {
    min-height: calc(100svh - var(--header-height) - 34px);
    padding: 44px 0;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.48) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(184, 135, 34, 0.12));
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .hero__actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-strip__inner,
  .catalog-grid,
  .services-grid,
  .benefits-grid,
  .payment-steps {
    grid-template-columns: 1fr;
  }

  .proof-strip__inner div,
  .proof-strip__inner div:last-child {
    border-right: 1px solid rgba(184, 135, 34, 0.16);
  }

  .section {
    padding: 68px 0;
  }

  .processing-band {
    padding: 58px 0;
  }

  .product-card {
    min-height: auto;
  }

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

  .lead-form {
    padding: 20px;
  }

  .contacts-list a {
    font-size: 19px;
  }
}

/* Architecture layer inspired by a classic metal-trading catalog structure. */
.top-bar {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.top-bar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar a {
  color: var(--gold-light);
  font-weight: 800;
}

.main-nav {
  gap: 18px;
}

.hero--catalog {
  min-height: 680px;
}

.hero--catalog .hero__content {
  min-height: 680px;
}

.hero-quick {
  display: flex;
  max-width: 780px;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-quick a {
  border: 1px solid rgba(184, 135, 34, 0.3);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-menu {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  border: 1px solid rgba(184, 135, 34, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.05);
}

.catalog-menu h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.catalog-menu a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  color: var(--graphite);
  font-weight: 800;
}

.faq-grid,
.steels-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(184, 135, 34, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--graphite);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--steel);
}

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

.reference-grid article,
.industry-grid article {
  border: 1px solid rgba(184, 135, 34, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.05);
}

.reference-grid p {
  margin-bottom: 0;
  color: var(--steel);
}

.industry-grid article {
  display: flex;
  min-height: 108px;
  align-items: center;
  color: var(--graphite);
  font-weight: 900;
}

.steel-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.steel-tags span {
  border: 1px solid rgba(184, 135, 34, 0.3);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--paper);
  color: var(--gold-dark);
  font-weight: 900;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-columns h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 16px;
}

.footer-columns a {
  text-align: left;
}

.scroll-top::before {
  content: "\2191";
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 12px;
    font-size: 13px;
  }
}

@media (max-width: 1040px) {
  .catalog-shell,
  .faq-grid,
  .steels-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .catalog-menu {
    position: static;
  }

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

@media (max-width: 720px) {
  .top-bar__inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 9px 0;
  }

  .hero--catalog,
  .hero--catalog .hero__content {
    min-height: calc(100svh - var(--header-height) - 34px);
  }

  .reference-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-shell > * {
  min-width: 0;
}

.catalog-tabs,
.table-panel {
  max-width: 100%;
}

.table-panel {
  width: 100%;
}

/* Dark visual variant */
:root {
  color-scheme: dark;
  --paper: #0f141b;
  --soft: #17202a;
  --gold: #d7a447;
  --gold-dark: #f2cb78;
  --gold-light: #ffe0a0;
  --steel: #b8c1cc;
  --graphite: #f5f0e5;
  --ink: #f7f3ea;
  --line: rgba(223, 185, 99, 0.24);
  --success: #72d69b;
  --danger: #ff947f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --dark-bg: #080b0f;
  --dark-bg-soft: #0f141b;
  --dark-panel: #121922;
  --dark-panel-strong: #17212c;
  --dark-text-muted: #b8c1cc;
}

body {
  background:
    radial-gradient(circle at top left, rgba(215, 164, 71, 0.12), transparent 32rem),
    linear-gradient(180deg, #080b0f 0%, #0c1117 48%, #080b0f 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(8, 11, 15, 0.9);
  border-bottom-color: rgba(223, 185, 99, 0.28);
}

.top-bar,
.site-footer {
  background: #06080b;
}

.main-nav {
  color: rgba(247, 243, 234, 0.86);
}

.phone-link,
.eyebrow,
.section-kicker,
.product-card__head span,
.contacts-list span,
.steel-tags span {
  color: var(--gold-light);
}

.menu-button {
  background: var(--dark-panel);
  border-color: var(--line);
}

.menu-button span {
  background: var(--gold-light);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.98) 0%, rgba(8, 11, 15, 0.88) 34%, rgba(8, 11, 15, 0.38) 68%, rgba(8, 11, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(215, 164, 71, 0.14), rgba(8, 11, 15, 0.72));
}

.hero__lead,
.text-flow p,
.section-note,
.proof-strip span,
.product-card p,
.service-item p,
.benefit-card p,
.payment-steps p,
.contacts-list p,
.faq-list p,
.reference-grid p,
.consent span {
  color: var(--dark-text-muted) !important;
}

.button--primary {
  background: linear-gradient(135deg, #e3b65a, #b98224);
  color: #080b0f;
  box-shadow: 0 16px 34px rgba(215, 164, 71, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #f2cb78;
}

.button--ghost,
.button--secondary,
.hero-quick a,
.catalog-tab {
  border-color: rgba(223, 185, 99, 0.34);
  background: rgba(18, 25, 34, 0.82);
  color: var(--graphite);
}

.button--secondary:hover,
.button--secondary:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible,
.hero-quick a:hover,
.hero-quick a:focus-visible,
.catalog-tab:hover,
.catalog-tab:focus-visible {
  border-color: rgba(255, 224, 160, 0.72);
  background: rgba(23, 33, 44, 0.96);
}

.catalog-tab.is-active {
  background: linear-gradient(135deg, #e3b65a, #b98224);
  color: #080b0f;
}

.section {
  background: var(--dark-bg);
}

.section--muted {
  background: var(--dark-bg-soft);
}

.section--split,
.proof-strip {
  background: #0a0f14;
}

.proof-strip,
.proof-strip__inner div,
.proof-strip__inner div:last-child {
  border-color: rgba(223, 185, 99, 0.2);
}

.product-card,
.service-item,
.benefit-card,
.payment-steps article,
.contacts-list article,
.lead-form,
.gains,
.table-panel,
.catalog-menu,
.faq-list details,
.reference-grid article,
.industry-grid article {
  border-color: rgba(223, 185, 99, 0.2);
  background: linear-gradient(180deg, rgba(23, 33, 44, 0.96), rgba(18, 25, 34, 0.96));
  box-shadow: var(--shadow);
}

.product-card__head span,
.steel-tags span {
  border-color: rgba(223, 185, 99, 0.42);
  background: rgba(215, 164, 71, 0.12);
}

th {
  background: var(--dark-panel-strong);
  color: var(--graphite);
}

td {
  color: var(--ink);
}

.processing-band,
.section--accent {
  background:
    linear-gradient(135deg, rgba(215, 164, 71, 0.16), transparent 36%),
    linear-gradient(135deg, #090d12, #17212c);
  color: var(--ink);
}

.processing-band h2,
.processing-band .section-kicker,
.section--accent h2,
.section--accent .section-kicker {
  color: var(--graphite);
}

.processing-band .text-flow p,
.section--accent p {
  color: rgba(247, 243, 234, 0.76) !important;
}

.lead-form {
  color: var(--ink);
}

.lead-form label > span,
.contacts-list a,
.faq-list summary,
.industry-grid article,
.catalog-menu a {
  color: var(--graphite);
}

input,
textarea {
  background: #0b1118;
  color: var(--ink);
  border-color: var(--line);
}

input::placeholder,
textarea::placeholder {
  color: rgba(184, 193, 204, 0.72);
}

.scroll-top {
  background: var(--dark-panel);
  border-color: rgba(223, 185, 99, 0.42);
}

.scroll-top::before {
  color: var(--gold-light);
}

@media (max-width: 1040px) {
  .main-nav {
    background: rgba(8, 11, 15, 0.98);
    border-bottom-color: var(--line);
  }
}

@media (max-width: 720px) {
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 11, 15, 0.98) 0%, rgba(8, 11, 15, 0.9) 62%, rgba(8, 11, 15, 0.62) 100%),
      linear-gradient(180deg, rgba(215, 164, 71, 0.18), rgba(8, 11, 15, 0.78));
  }
}
