.km-lp,
#km-op-form,
.km-op__ch,
.km-op__f,
.km-op__acts,
.km-op__foot,
.km-lp__title,
.km-lp__sub,
.km-lp__disc,
.km-lp__cat,
.km-lp__tabs,
.km-lp__wave,
.km-lp__adv,
.km-lp__gal,
.km-lp__band,
.km-lp__frow,
.km-lp__fn,
.km-lp__ok,
.km-lp__cont,
.km-btn-or,
#km-form {
  --az: #4799cf;
  --az2: #0871bb;
  --or: #F07E1B;
  --or2: #D96A0C;
  --bg: #efefef;
  --bd: #e2e2e2;
  --tx: #4a4a4a;
  --tx2: #6b6b6b;
  --mut: #9a9a9a;
}

#km-op-form {
  font-family: 'Roboto', sans-serif;
  color: var(--tx);
  font-size: 15px;
  line-height: 1.65;
  background: var(--bg);
  margin: 0 0 30px;
  padding: 1px 0 20px;
  display: block;
}

.km-lp__title {
  font-family: 'Ubuntu', 'Roboto', sans-serif;
  color: var(--az);
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.28;
}

.km-lp__title {
  font-size: 28px;
}

.km-lp__sub,
.km-lp__disc {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  float: none;
  clear: both;
}

.km-lp__sub {
  color: var(--tx2);
}

.km-lp__disc {
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.55;
  max-width: 900px;
  margin-top: 10px;
  margin-bottom: 0;
}

.km-lp__ctr {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  clear: both;
  float: none;
  text-align: center;
}

.km-lp__ctr .blue-btn,
.km-lp__ctr .km-btn-or,
.km-lp__ctr .white-btn {
  float: none;
  margin-left: 0;
  margin-right: 0;
}

/* оранжевая CTA как у заказчика, размеры как blue-btn */
.km-btn-or {
  background-color: var(--or);
  border: 1px solid var(--or);
  color: #fff !important;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  padding: 0 28px;
  letter-spacing: .6px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none !important;
}

.km-btn-or:hover,
.km-btn-or:focus,
.km-btn-or:active,
.km-btn-or:visited {
  background-color: var(--or2);
  border-color: var(--or2);
  color: #fff !important;
  text-decoration: none !important;
}

button.km-btn-or {
  padding: 0 28px;
  line-height: 38px;
}

/* ---- каталог 4 колонки ---- */
.km-lp__cat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.km-lp__cat-item {
  text-align: center;
}

.km-lp__cat-item img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  margin-bottom: 14px;
}

.km-lp__cat-item .t {
  font-size: 15px;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 9px;
}

.km-lp__cat-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.km-lp__cat-item ul li {
  margin-bottom: 4px;
}

.km-lp__cat-item ul a {
  font-size: 13.5px;
  text-decoration: underline;
}

.km-lp__cat-item ul a:hover {
  text-decoration: none;
  color: var(--az2);
}

/* ---- вкладки ---- */
.km-lp__tabs {
  display: flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.km-lp__tabs a {
  background: #8c8c8c;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 26px;
}

.km-lp__tabs a:hover {
  background: var(--az);
}

.km-lp__tabs a.on {
  background: #6e6e6e;
}

/* ---- волна / преимущества ---- */
.km-lp__wave {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 20px 0 10px;
}

.km-lp__wave svg.bgw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.km-lp__wave > .container {
  position: relative;
  background: transparent;
  box-shadow: none;
}

.km-lp__adv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.km-lp__adv-item {
  background: #fff;
  border-radius: 5px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.km-lp__ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--or);
  display: flex;
  align-items: center;
  justify-content: center;
}

.km-lp__ic svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.km-lp__adv-item .h {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--az);
  margin-bottom: 5px;
  line-height: 1.35;
}

.km-lp__adv-item .d {
  font-size: 14px;
  color: var(--tx2);
  line-height: 1.55;
}

/* ---- галерея ---- */
.km-lp__gal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.km-lp__gal figure {
  margin: 0;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.km-lp__gal img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.km-lp__gal figcaption {
  padding: 15px 18px 17px;
}

.km-lp__gal .t {
  font-size: 15px;
  font-weight: 700;
  color: var(--az);
  margin-bottom: 4px;
}

.km-lp__gal .d {
  font-size: 13.5px;
  color: var(--tx2);
  line-height: 1.5;
}

/* ---- синяя полоса ---- */
.km-lp__band {
  background: var(--az);
  color: #fff;
  text-align: center;
  padding: 40px 0;
  margin-bottom: 20px;
}

.km-lp__band .container {
  background: transparent;
  margin-bottom: 0;
  box-shadow: none;
}

.km-lp__band h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.3;
  font-family: 'Ubuntu', 'Roboto', sans-serif;
}

.km-lp__band p {
  color: #dceefa;
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 16px;
}

/* ---- форма лендинга ---- */
.km-lp__frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

#km-form label,
label.km-op__lb {
  display: block;
  font-size: 12.5px;
  color: var(--tx2);
  margin-bottom: 5px;
}

label.km-op__lb {
  font-size: 13.5px;
  color: var(--tx);
  font-weight: 600;
  margin-bottom: 3px;
}

#km-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
#km-form select,
#km-form textarea,
#km-op-form input[type=text],
#km-op-form input[type=tel],
#km-op-form input[type=email],
#km-op-form input[type=number],
#km-op-form select,
#km-op-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--bd);
  border-radius: 5px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: 'Roboto', sans-serif;
  color: var(--tx);
  background: #fff;
  margin: 0;
}

#km-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]):focus,
#km-form select:focus,
#km-form textarea:focus,
#km-op-form input:focus,
#km-op-form select:focus,
#km-op-form textarea:focus {
  outline: none;
  border-color: var(--az);
}

#km-form textarea,
#km-op-form textarea {
  min-height: 76px;
  resize: vertical;
}

#km-form .km-lp__frow > div {
  min-width: 0;
}

#km-form button.km-btn-or {
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--or);
  background-color: var(--or);
  background-image: none;
  box-shadow: none;
  padding: 0 28px;
  height: 40px;
  line-height: 40px;
  font-size: 11px;
  letter-spacing: .6px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
}

/* кастомный чекбокс — на сайте input[type=checkbox] скрыт глобально */
#km-form .km-lp__agree {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--tx2);
  line-height: 1.45;
}

#km-form .km-lp__agree input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

#km-form .km-lp__agree label {
  display: block;
  position: relative;
  margin: 0;
  padding: 1px 0 0 30px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--tx2);
  font-weight: 400;
  cursor: pointer;
}

#km-form .km-lp__agree label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid var(--az);
  border-radius: 3px;
  background: #fff;
}

#km-form .km-lp__agree label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}

#km-form .km-lp__agree input[type=checkbox]:checked + label::before {
  background: var(--or);
  border-color: var(--or);
}

#km-form .km-lp__agree input[type=checkbox]:checked + label::after {
  opacity: 1;
}

#km-form .km-lp__agree input[type=checkbox]:focus + label::before {
  box-shadow: 0 0 0 2px rgba(71, 153, 207, .25);
}

#km-form .km-lp__agree a {
  color: var(--az);
}

#km-form .errors {
  color: #c0392b;
  font-size: 13px;
  margin: 6px 0 0;
}

#km-form .privacy_field,
#km-form .required_field,
#km-form .feedback_form_param_text,
#km-form h3 {
  display: none !important;
}

.km-lp__fn,
.km-op__fn {
  font-size: 12px;
  color: var(--mut);
  margin-top: 12px;
  text-align: center;
}

.km-lp__ok,
.km-op__okbox {
  display: none;
  background: #fff;
  border-radius: 5px;
  border-left: 4px solid var(--or);
  padding: 26px 30px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.km-lp__ok b,
.km-op__okbox b {
  display: block;
  font-size: 19px;
  color: var(--az);
  margin-bottom: 6px;
}

.km-lp__cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 26px;
  text-align: center;
}

.km-lp__cont .k {
  font-size: 12px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.km-lp__cont .v {
  font-size: 18px;
  color: var(--az);
  font-weight: 700;
  margin-top: 4px;
}

.km-lp__cont a {
  text-decoration: none;
}

.km-lp__cont a:hover {
  color: var(--az2);
  text-decoration: underline;
}

/* ===================== ОПРОСНЫЙ ЛИСТ ===================== */

.km-op__hero {
  text-align: center;
  padding: 20px 0 10px;
}

.km-op__h1 {
  font-size: 29px;
}

.km-op__hero p {
  color: var(--tx2);
  max-width: 660px;
  margin: 0 auto 16px;
}

.detail .pills,
.detail .pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9a9a9a;
  margin-top: 16px;
}

.detail .pills span,
.detail .pills span {
  background: #efefef;
  border-radius: 20px;
  padding: 5px 15px;
}

.km-op__ch {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.km-op__ci {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--or);
  color: #fff;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

h2.km-op__ch-title {
  font-size: 19px;
  text-align: left;
  margin: 0;
}

.km-op__ch p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--mut);
  line-height: 1.4;
}

.km-op__f {
  margin-bottom: 16px;
}

.km-op__f:last-child {
  margin-bottom: 4px;
}

.km-op__hint {
  font-size: 12.5px;
  color: var(--mut);
  margin-bottom: 6px;
  line-height: 1.45;
}

.km-op__req::after {
  content: " *";
  color: var(--or);
  font-weight: 700;
}

.km-op__g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.km-op__g3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.km-op__unit {
  font-size: 12px;
  color: var(--mut);
  margin-top: 3px;
  display: block;
}

.km-op__choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.km-op__choice label {
  border: 1px solid var(--bd);
  border-radius: 5px;
  padding: 9px 15px;
  font-size: 14px;
  color: var(--tx2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.km-op__choice input,
.km-op__checks input {
  accent-color: var(--az);
  width: 15px;
  height: 15px;
  margin: 0;
}

.km-op__choice label:hover {
  border-color: var(--az);
}

.km-op__checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 20px;
}

.km-op__checks label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--tx2);
  cursor: pointer;
  line-height: 1.45;
}

.km-op__checks input {
  margin: 3px 0 0;
}

.km-op__tip {
  background: #f4fafe;
  border-left: 4px solid var(--az);
  border-radius: 0 5px 5px 0;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--tx2);
  margin-top: 16px;
}

.km-op__tip b {
  color: var(--az);
}

.km-op__acts {
  text-align: center;
  padding: 8px 0 4px;
}

.km-op__acts .blue-btn,
.km-op__acts .km-btn-or,
.km-op__acts .white-btn,
.km-op__acts .km-op__b-gh {
  margin: 0 5px 0;
  vertical-align: middle;
}

.km-op__b-gh {
  background: #fff;
  border: 1px solid var(--az);
  color: var(--az) !important;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  padding: 0 23px;
  letter-spacing: .6px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none !important;
}

.km-op__b-gh:hover {
  background: var(--az);
  color: #fff !important;
}

.km-op__sign {
  display: none;
}

.km-op__sign .g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.km-op__sign .l {
  border-bottom: 1px solid #000;
  height: 26px;
}

.km-op__sign .c {
  font-size: 11.5px;
  color: #555;
  margin-top: 4px;
}

.km-op__foot {
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.55;
  text-align: center;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .km-lp__adv,
  .km-lp__frow,
  .km-op__g2,
  .km-op__g3 {
    grid-template-columns: 1fr;
  }

  .km-lp__title,
  .km-op__h1 {
    font-size: 22px;
  }
}

@media print {
  .header,
  .footer,
  .nav,
  .aside,
  .km-op__acts,
  .km-op__fn,
  .km-op__okbox,
  .detail .pills {
    display: none !important;
  }

  #km-op-form {
    background: #fff;
    color: #000;
    font-size: 11pt;
    padding: 0;
    margin: 0;
  }

  .km-op__sign {
    display: block;
  }

  #km-op-form .blank.container {
    box-shadow: none;
    border: 1px solid #999;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 10px;
    padding: 14px 16px 10px;
    width: auto;
  }

  .km-op__ci {
    background: #fff;
    color: #000;
    border: 1.5px solid #000;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .km-op__h1,
  h2.km-op__ch-title,
  .km-op__tip b {
    color: #000;
  }

  .km-op__tip {
    background: #fff;
    border-left-color: #999;
  }

  @page {
    size: A4;
    margin: 12mm;
  }
}


/* опросник: показать checkbox/radio (сайт скрывает checkbox глобально) */
#km-op-form .km-op__choice input[type=radio],
#km-op-form .km-op__checks input[type=checkbox] {
  display: inline-block !important;
  opacity: 1;
  position: static;
  width: 15px !important;
  height: 15px !important;
  max-width: none;
  margin: 0;
  padding: 0;
  accent-color: var(--az);
  -webkit-appearance: auto;
  appearance: auto;
}
#km-op-form .km-op__checks input[type=checkbox] {
  margin: 3px 0 0;
}
#km-op-form .km-op__agree {
  margin: 18px 0 8px;
}
#km-op-form .km-op__agree input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
#km-op-form .km-op__agree label {
  display: block;
  position: relative;
  margin: 0;
  padding: 1px 0 0 30px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--tx2);
  font-weight: 400;
  cursor: pointer;
}
#km-op-form .km-op__agree label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid var(--az);
  border-radius: 3px;
  background: #fff;
}
#km-op-form .km-op__agree label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}
#km-op-form .km-op__agree input[type=checkbox]:checked + label::before {
  background: var(--or);
  border-color: var(--or);
}
#km-op-form .km-op__agree input[type=checkbox]:checked + label::after {
  opacity: 1;
}
#km-op-form .km-op__agree a { color: var(--az); }
#km-op-form .errors { color: #c0392b; font-size: 13px; margin: 4px 0 0; }
#km-op-form .privacy_field,
#km-op-form .required_field,
#km-op-form h3 { display: none !important; }
#km-op-form button.km-btn-or {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--or);
  background-color: var(--or);
  background-image: none;
  box-shadow: none;
  padding: 0 28px;
  height: 40px;
  line-height: 40px;
  font-size: 11px;
  letter-spacing: .6px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff !important;
  cursor: pointer;
  border-radius: 5px;
}
label.km-op__lb {
  display: block;
  font-size: 13.5px;
  color: var(--tx);
  font-weight: 600;
  margin-bottom: 3px;
}
h2.km-op__ch-title {
  font-family: 'Ubuntu', 'Roboto', sans-serif;
  color: var(--az);
  font-weight: 700;
  font-size: 19px;
  text-align: left;
  margin: 0;
  line-height: 1.28;
}
