/*
Theme Name: Комплекс ПКЗ
Theme URI: https://complex-pkz.ru/
Author: WEBKEY
Author URI: https://webkey18.ru/
Description: Адаптивная корпоративная тема для ООО «Комплекс ПКЗ».
Version: 1.1.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: complex-pkz
*/
:root {
  --navy: #071c31;
  --navy2: #0b2b4c;
  --blue: #008fd0;
  --blue2: #0674b4;
  --ink: #10233c;
  --muted: #56677a;
  --soft: #f3f7fa;
  --line: #d7e1e9;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 16px 50px rgba(5,28,51,.1);
  --shell: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,input,textarea {
  font: inherit;
}

.shell {
  width: min(var(--shell),calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.custom-logo {
  max-width: 220px;
  max-height: 64px;
  width: auto;
  height: auto;
}

.brand-mark {
  width: 63px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #0a3f70;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.05em;
  border: 3px solid #0a3f70;
  clip-path: polygon(50% 0,100% 28%,100% 78%,50% 100%,0 78%,0 28%);
}

.brand-name {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
}

.primary-nav a {
  padding: 34px 0;
  transition: .2s;
}

.primary-nav a:hover {
  color: var(--blue);
}

.header-phones {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.55;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s,background .2s,box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue2);
  box-shadow: 0 10px 25px rgba(0,143,208,.25);
}

.button-outline {
  min-height: 46px;
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
  white-space: nowrap;
}

.button-outline:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  background: var(--navy) url("assets/images/hero-industrial.png") center/cover no-repeat;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,21,39,.98) 0%,rgba(4,21,39,.95) 34%,rgba(4,21,39,.35) 62%,rgba(4,21,39,.05) 100%);
}

.hero-content {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 730px;
  padding: 70px 0;
}

.kicker,.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: #40b9ef;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(43px,4.8vw,68px);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.hero-copy>p {
  max-width: 660px;
  margin: 23px 0;
  font-size: 20px;
  color: #d9e5ef;
}

.hero-actions {
  display: flex;
  gap: 13px;
}

.button-ghost {
  background: transparent;
  border-color: #9fb4c8;
}

.button-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-facts {
  display: flex;
  gap: 38px;
  margin-top: 42px;
}

.hero-facts span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero-facts .icon {
  width: 34px;
  height: 34px;
  color: #69c9f3;
}

.section {
  padding: 100px 0;
}

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

.section h2,.request-band h2 {
  margin: 0 0 22px;
  font-size: clamp(34px,4vw,52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section p {
  color: var(--muted);
}

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

.about-grid>div:first-child p {
  max-width: 650px;
}

.standards {
  padding: 36px 40px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.standards strong {
  font-size: 18px;
}

.standards ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 35px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.standards li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
}

.standards li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

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

.scheme-card {
  position: relative;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.scheme-card img {
  width: 100%;
  height: 310px;
  object-fit: contain;
}

.scheme-labels {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.benefits {
  padding: 30px 0;
  color: #fff;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(21,74,115,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(21,74,115,.28) 1px,transparent 1px);
  background-size: 36px 36px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
}

.benefit-grid article {
  min-height: 145px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}

.benefit-grid article:last-child {
  border: 0;
}

.benefit-grid .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #74cff5;
}

.benefit-grid strong,.benefit-grid span {
  display: block;
}

.benefit-grid span {
  color: #c6d6e3;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  max-width: 540px;
  margin: 0;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 220px;
  padding: 22px;
  background: #fafcfd;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-body {
  position: relative;
  padding: 22px;
}

.product-no {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #becbd6;
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.product-card strong {
  display: block;
  max-width: 85%;
  font-size: 13px;
  line-height: 1.35;
}

.product-card p {
  margin: 7px 0 17px;
  font-size: 13px;
}

.product-card a {
  color: var(--blue2);
  font-weight: 800;
  font-size: 14px;
}

.product-card a span {
  transition: .2s;
}

.product-card:hover a span {
  margin-left: 5px;
}

.product-card:last-child {
  grid-column: 2/span 2;
}

.request-band {
  padding: 35px 0;
  color: #fff;
  background: var(--navy);
}

.request-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.request-band h2 {
  margin: 0 0 5px;
  font-size: 28px;
}

.request-band p {
  margin: 0;
  color: #c5d5e1;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
}

.contacts-grid-call {
  display: flex;
  justify-content: center;
}

.contacts-grid-call .contact-card {
  width: min(100%, 680px);
}

.contact-card-call {
  text-align: center;
}

.contact-card-call>p {
  margin: -8px auto 28px;
}

.contact-card-call ul {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.contact-card-call li a {
  font-size: 22px;
}

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: none;
}

.cookie-notice.is-visible {
  display: block;
}

.cookie-notice__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.cookie-notice p {
  margin: 0;
  color: #d7e5ef;
  font-size: 14px;
}

.cookie-notice a {
  color: #74cff5;
  text-decoration: underline;
}

.cookie-accept {
  min-width: 130px;
  min-height: 44px;
}

@media(max-width:600px) {
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-notice__inner {
    padding: 16px;
    display: grid;
    gap: 14px;
  }

  .cookie-accept {
    width: 100%;
  }
}

.form-card,.contact-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card h2,.contact-card h2 {
  font-size: 36px;
}

.form-card form {
  display: grid;
  gap: 13px;
}

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

.form-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.form-card input:not([type=file]),.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd7e1;
  border-radius: 7px;
  background: #fff;
  outline: none;
}

.form-card input:focus,.form-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,143,208,.12);
}

.file-label {
  padding: 11px 14px;
  border: 1px dashed #a9bbca;
  border-radius: 7px;
}

.file-label input {
  margin-top: 5px;
}

.form-submit {
  width: 100%;
}

.honeypot {
  position: absolute!important;
  left: -9999px!important;
}

.form-status {
  margin-bottom: 14px;
  padding: 12px 15px;
  border-radius: 7px;
}

.form-status.success {
  color: #136432;
  background: #e8f8ed;
}

.form-status.error {
  color: #8a2020;
  background: #fdecec;
}

.contact-card ul {
  display: grid;
  gap: 23px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
}

.contact-card .icon {
  color: var(--blue2);
}

.messengers {
  display: flex;
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.messengers a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue2);
  font-size: 13px;
  font-weight: 900;
}

.messengers a:nth-child(2) {
  background: #27a844;
}

.messengers a:nth-child(3) {
  background: #2787f5;
}

.site-footer {
  padding: 26px 0;
  color: #b8c8d5;
  background: #06172a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner div {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: #fff;
}

.footer-inner b {
  color: #35b7ef;
}

.content-page {
  min-height: 60vh;
  padding-block: 80px;
}

.legal-content {
  width: min(100%, 900px);
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 38px;
  font-size: clamp(34px,4vw,52px);
  line-height: 1.1;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 25px;
}

.legal-content p {
  color: var(--muted);
}

@media(max-width:1180px) {
  .header-phones {
    display: none;
  }

  .primary-nav {
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .benefit-grid article:nth-child(3) {
    border-right: 0;
  }

  .about-grid {
    gap: 45px;
  }

}

@media(max-width:900px) {
  .header-inner {
    height: 72px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 72px;
    padding: 25px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .primary-nav a {
    width: 100%;
    padding: 8px 0;
  }

  .hero,.hero-content {
    min-height: 650px;
  }

  .hero:before {
    background: rgba(4,21,39,.82);
  }

  .hero-copy {
    max-width: 680px;
  }

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

  .application-grid {
    gap: 35px;
  }

  .application-grid>div:last-child {
    grid-row: 1;
  }

  .product-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .section {
    padding: 75px 0;
  }

  .contacts-grid {
    gap: 25px;
  }

}

@media(max-width:600px) {
  .shell {
    width: min(var(--shell),calc(100% - 30px));
  }

  .brand-mark {
    width: 52px;
    height: 45px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero,.hero-content {
    min-height: 700px;
  }

  .hero {
    background-position: 66% center;
  }

  .hero:before {
    background: linear-gradient(180deg,rgba(4,21,39,.96) 0%,rgba(4,21,39,.86) 62%,rgba(4,21,39,.5) 100%);
  }

  .hero-copy {
    align-self: flex-start;
    padding: 55px 0;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-copy>p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    display: grid;
    gap: 13px;
    margin-top: 30px;
  }

  .section {
    padding: 62px 0;
  }

  .about-grid {
    gap: 25px;
  }

  .standards {
    padding: 25px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .standards ul {
    grid-template-columns: 1fr;
  }

  .scheme-card {
    padding: 18px;
  }

  .scheme-card img {
    height: 230px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .benefit-grid article:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,.2);
  }

  .benefit-grid article:nth-child(even) {
    border-right: 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

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

  .product-image {
    height: 235px;
  }

  .request-band-inner {
    display: block;
    text-align: center;
  }

  .request-band .button {
    width: 100%;
    margin-top: 20px;
  }

  .form-card,.contact-card {
    padding: 26px 20px;
  }

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

  .form-card h2,.contact-card h2 {
    font-size: 31px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner>a {
    display: block;
    margin-top: 16px;
  }

}

.hero {
  background-image: url("assets/images/hero-industrial.webp");
}

.product-card:last-child {
  grid-column: auto;
}

.product-no,.scheme-labels {
  display: none!important;
}

.site-brand,.custom-logo-link,.brand-fallback {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.custom-logo-link {
  height: 68px;
  max-width: 260px;
  overflow: visible;
}

.custom-logo {
  display: block;
  width: auto!important;
  height: auto!important;
  max-width: 260px!important;
  max-height: 68px!important;
  object-fit: contain;
  object-position: left center;
}

.brand-fallback {
  gap: 14px;
}

@media(max-width:600px) {
  .custom-logo-link {
    height: 52px;
    max-width: 190px;
  }

  .custom-logo {
    max-width: 190px!important;
    max-height: 52px!important;
  }

}

.brand-fallback {
  width: 260px;
  height: 68px;
}

.fallback-logo {
  display: block;
  width: 260px!important;
  height: auto!important;
  max-width: 260px!important;
  max-height: 68px!important;
  object-fit: contain;
  object-position: left center;
}

@media(max-width:600px) {
  .brand-fallback {
    width: 190px;
    height: 52px;
  }

  .fallback-logo {
    width: 190px!important;
    max-width: 190px!important;
    max-height: 52px!important;
  }

}
