:is(.itp-home, .itp-form-page) {
  --home-navy: #222f47;
  --home-blue: #518ff2;
  --home-link: #245ca8;
  --home-muted: #43516a;
  --home-border: #dfe6f2;
  --home-pale: #f5f7fb;
  --home-radius: 20px;
  color: var(--home-navy);
}
:is(.itp-home, .itp-form-page) :focus-visible {
  outline: 3px solid var(--home-link);
  outline-offset: 4px;
}
.itp-home :is(#functional, #consultation, #production) {
  scroll-margin-top: 106px;
}
:is(.itp-home, .itp-form-page) :is(input[type='text'], input[type='tel'], input[type='email'], textarea)::placeholder {
  color: #616c7e;
}
:is(.itp-home, .itp-form-page) .button {
  background-color: var(--home-blue);
  color: #1a263b;
  min-height: 48px;
}
:is(.itp-home, .itp-form-page) .button.transparent {
  background: transparent;
  color: var(--home-navy);
}
:is(.itp-home, .itp-form-page) .button:hover { opacity: .9; }
.itp-home-title {
  font-family: Circe, Exo2, system-ui, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.09;
}
.itp-home-more {
  color: var(--home-link);
  text-decoration: underline;
  text-underline-offset: .19em;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
}
.itp-home-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(90deg, #17243bd9 0%, #1827409c 55%, #20345132 100%),
    var(--home-navy) url('../img/main/hero-background.webp') center / cover no-repeat;
  overflow: hidden;
}
.itp-home-hero__inner {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(44px, 6vw, 78px) clamp(53px, 6vw, 84px);
  gap: 22px;
  isolation: isolate;
}
.itp-home-hero__text { position: relative; z-index: 1; }
.itp-home-hero h1 {
  font: 800 clamp(2.25rem, 3.8vw, 3.5rem) / 1.05 Circe, Exo2, system-ui, sans-serif;
  text-wrap: balance;
  max-width: 660px;
  margin: 0 0 13px;
}
.itp-home-hero__lead {
  color: #f0f5ff;
  max-width: 495px;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.5;
}
.itp-home-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 14px;
  margin-top: 24px;
}
.itp-home-hero__actions > div { min-width: 0; }
.itp-home-hero__actions p { color: #e6eef9; font-size: .83rem; line-height: 1.35; margin-top: .38rem; text-align: center; }
.itp-home-hero .itp-home-hero__button,
.itp-home .itp-home-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 1.28rem;
  font: 700 1rem/1.16 Exo2, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  min-height: 50px;
}
.itp-home-hero .itp-home-hero__button { width: 100%; background: #518ff2; color: #15243b; }
.itp-home-hero .itp-home-hero__button--project { color: #fff; background: #24334bd6; box-shadow: inset 0 0 0 1px #b9cde8; }
.itp-home-hero .itp-home-hero__button:hover { opacity: 1; background: #79adff; }
.itp-home-hero .itp-home-hero__button--project:hover { background: #435b80; }
.itp-home-hero .itp-home-hero__button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.itp-home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  margin-top: 23px;
  color: #f4f7fd;
  font-size: .87rem;
  line-height: 1.35;
}
.itp-home-hero__trust li { display: flex; align-items: baseline; gap: .43rem; }
.itp-home-hero__trust li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #ffb619; }
.itp-home-hero__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  justify-self: center;
}
.itp-home #production {
  position: relative;
  margin-top: -22px;
  border-radius: 22px 22px 0 0;
  background: #fff;
}
.itp-home-benefits {
  padding-bottom: 7px;
}
.itp-home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.itp-home-benefits__card {
  border-radius: 13px;
  display: grid;
  align-content: start;
  padding: 17px 19px 20px;
  min-height: 164px;
  color: #fff;
  background: var(--home-navy);
  border: 1px solid #3a4c6a;
}
.itp-home-benefits__card img {
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
  width: 46px;
  height: 36px;
}
.itp-home-benefits__card h2 { margin: 10px 0 6px; font-size: 18px; line-height: 1.2; font-weight: 700; }
.itp-home-benefits__card p { color: #edf3ff; font-size: 15px; line-height: 1.4; }
.itp-home-section { padding-block: clamp(35px, 5vw, 67px); }
.itp-home-section__heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 24px; }
.itp-home-production__heading { margin-bottom: 0; }
.itp-home-products { margin-top: 27px; }
.itp-home-products h3 { margin-bottom: 14px; font-size: clamp(1.11rem, 2vw, 1.32rem); font-weight: 700; }
.itp-home-products__grid, .itp-home-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.itp-home-products__grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.itp-home-product {
  position: relative;
  isolation: isolate;
  min-height: 168px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px 20px;
  background: var(--home-pale);
  border: 1px solid var(--home-border);
  border-radius: 15px;
}
.itp-home-product:hover { background: #edf3fc; border-color: #a9c4ef; }
.itp-home-product__text {
  flex: 0 0 70%;
  line-height: 1.28;
  display: grid;
  gap: 16px;
  z-index: 1;
}
.itp-home-product__text strong { font-size: clamp(1.06rem, 1.55vw, 1.3rem); font-weight: 700; }
.itp-home-product__text > span { font-size: 14px; font-weight: 700; color: var(--home-link); }
.itp-home-product img { position: absolute; width: min(46%, 160px); height: 86%; object-fit: contain; object-position: right bottom; right: 2px; bottom: 4px; }
.itp-home-product img[src$='.png']:not([src$='/img.png']) { width: 53px; height: 58px; right: 14px; bottom: 17px; }
.itp-home-shop { padding-top: 0; }
.itp-home-shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}
.itp-home-shop__card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid var(--home-border);
  border-radius: 15px;
  background: var(--home-pale);
  color: var(--home-navy);
  font-weight: 700;
  line-height: 1.28;
}
.itp-home-shop__card:hover { background: #edf3fc; border-color: #a9c4ef; }
.itp-home-shop__card img { display: block; justify-self: center; width: auto; height: clamp(68px, 8vw, 100px); object-fit: contain; }
.itp-home-shop__card > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; overflow-wrap: anywhere; }
.itp-home-shop__card > span > span { color: var(--home-link); }
.itp-form-page__breadcrumbs { padding-top: 24px; }
.itp-form-page__breadcrumbs ol { margin-bottom: 0; }
.itp-form-page .itp-home-quiz,
.itp-form-page .itp-home-project { margin-top: 18px; }
.itp-home-project__panel {
  min-height: 440px;
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 32px;
  background: var(--home-navy);
  overflow: hidden;
  border-radius: var(--home-radius);
  padding: 34px;
}
.itp-home-project__intro { color: #fff; position: relative; isolation: isolate; padding: 7px 5px 175px; }
.itp-home-project__intro p { margin-top: 13px; font-size: 1.04rem; line-height: 1.53; max-width: 25rem; }
.itp-home-project__intro img { position: absolute; z-index: -1; width: 340px; height: auto; top: 47%; right: 2%; transform: rotate(-5deg); }
.itp-home-project__form { display: grid; align-self: center; align-items: start; gap: 11px; border-radius: 15px; background: #fff; padding: 23px; }
.itp-home-project__form > label, .itp-home-project__contacts label { color: var(--home-navy); font-size: 15px; display: grid; gap: 5px; min-width: 0; font-weight: 600; }
.itp-home-project__form :is(input[type='text'], input[type='tel'], textarea) { font-size: 16px; padding: 13px 11px; }
.itp-home-project__form textarea { height: 70px; }
.itp-home-project__form .button { justify-self: start; }
.itp-home-project__form :is(.consent-check, .privacy-note) { color: var(--home-muted); }
.itp-home-project__form .consent-block a { color: var(--home-link); }
.itp-home-project__contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.itp-home-project__file input { font: inherit; min-width: 0; width: 100%; }
.itp-home-project__file input::file-selector-button { border: 0; border-radius: 8px; background: #eaf1fe; color: var(--home-navy); font: inherit; padding: 8px 10px; cursor: pointer; }
.itp-home-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.itp-home-quiz.main.sect { padding-block: 24px; margin: 0; background: var(--home-pale); }
.itp-home-quiz .quiz { border: 1px solid var(--home-border); }
.itp-home-quiz.main.sect .quiz .intro p { color: var(--home-muted); }
.itp-home-quiz.main.sect .quiz .intro a { color: var(--home-link); text-decoration: underline; text-underline-offset: .19em; }
.itp-home-quiz .itp-quiz-feedback { color: #a92437; margin: 14px 0 0; }
.itp-home-quiz .quiz .step .field input:focus-visible + label { outline: 2px solid var(--home-link); outline-offset: 4px; }
.itp-home-features { background: #fff; }
.itp-home-features__panel {
  border-radius: var(--home-radius);
  background: var(--home-pale);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 22px;
  align-items: center;
}
.itp-home-feature-list { margin: 23px 0; display: grid; gap: 18px; }
.itp-home-feature-list li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 13px; }
.itp-home-feature-list img, .itp-home-applications img, .itp-home-workflow img { object-fit: contain; }
.itp-home-feature-list h3, .itp-home-applications h3, .itp-home-workflow h4, .itp-home-article h3 { font-size: 19px; font-weight: 700; line-height: 1.22; }
.itp-home-feature-list p, .itp-home-applications p, .itp-home-workflow p { margin-top: 4px; color: var(--home-muted); font-size: 15px; line-height: 1.48; }
.itp-home-features__image { width: 100%; height: auto; }
.itp-home-applications, .itp-home-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.itp-home-applications article, .itp-home-workflow li { border-radius: 15px; border: 1px solid var(--home-border); padding: 20px 17px; }
.itp-home-applications article { background: var(--home-navy); color: #fff; }
.itp-home-applications p { color: #edf3ff; }
.itp-home-applications h3, .itp-home-workflow h4 { margin-top: 11px; }
.itp-home-company { background: var(--home-pale); }
.itp-home-company__intro { display: grid; align-items: center; grid-template-columns: 1fr .83fr; gap: 30px; }
.itp-home-company__text p { font-size: 18px; line-height: 1.5; margin: 16px 0 20px; }
.itp-home-company__intro img { border-radius: var(--home-radius); width: 100%; height: clamp(190px, 25vw, 310px); object-fit: cover; }
.itp-home-company__steps-title { margin-top: clamp(28px, 5vw, 55px); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.itp-home-workflow { margin: 18px 0 20px; padding: 0; list-style: none; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.itp-home-workflow li { background: #fff; }
.itp-home-article {
  display: grid;
  grid-template-rows: 143px auto;
  height: 100%;
  border: 1px solid var(--home-border);
  border-radius: 15px;
  overflow: hidden;
}
.itp-home-article__image { background: var(--home-pale); overflow: hidden; }
.itp-home-article__image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.itp-home-article__text { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 17px; }
.itp-home-article__text p { font-size: 16px; line-height: 1.4; color: var(--home-muted); }
.itp-home-article:hover { border-color: #a9c4ef; }
.itp-home-consultation { background: var(--home-pale); }
.itp-help {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.itp-help__intro { padding-block: .6rem; }
.itp-help__intro p { margin: .85rem 0 1.3rem; max-width: 29rem; color: var(--home-muted); line-height: 1.5; }
.itp-help__intro a { display: block; width: fit-content; font-weight: 700; color: var(--home-link); text-decoration: underline; text-underline-offset: .16em; }
.itp-help__intro span { display: block; margin-top: .35rem; color: var(--home-muted); font-size: .88rem; }
.itp-help__form { display: grid; gap: 12px; padding: clamp(16px, 3vw, 26px); background: #fff; border: 1px solid var(--home-border); border-radius: 16px; }
.itp-help__contacts,
.itp-help__extra > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.itp-help__form label:not(.consent-check) { display: grid; gap: 5px; font-size: .94rem; font-weight: 600; }
.itp-help__form input:not([type="checkbox"]),
.itp-help__form textarea {
  box-sizing: border-box;
  border: 1px solid #b8c8de;
  padding: 10px 12px;
  font-weight: 400;
  font-size: 1rem;
}
.itp-help__form input:not([type="checkbox"]) { min-height: 46px; }
.itp-help__form textarea { height: auto; min-height: 80px; }
.itp-help__extra summary { font-size: .92rem; padding-block: .4rem; font-weight: 600; color: var(--home-link); cursor: pointer; }
.itp-help__extra > div { margin-top: .5rem; align-items: start; }
.itp-help__form .personal { margin-top: 0; }
.itp-help__form .button { justify-self: start; }

@media (max-width: 1199px) {
  .itp-home-hero__inner { min-height: 420px; }
}
@media (max-width: 991px) {
  .itp-home-hero__inner { min-height: 0; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .itp-home-benefits__grid, .itp-home-applications { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .itp-home-benefits__card { min-height: 132px; }
  .itp-home-workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .itp-home-project__panel { padding: 25px; gap: 20px; }
  .itp-home-project__intro img { width: 300px; max-width: 105%; }
}
@media (max-width: 767px) {
  .itp-home :is(#functional, #consultation, #production) { scroll-margin-top: 73px; }
  .itp-home-hero__inner { display: block; padding-block: 31px 48px; }
  .itp-home-hero h1 { font-size: clamp(1.9rem, 6.8vw, 2.65rem); max-width: 16em; }
  .itp-home-hero__lead { max-width: 25rem; }
  .itp-home-hero__image {
    position: absolute;
    z-index: -1;
    width: min(51vw, 233px);
    opacity: .26;
    top: -4px;
    right: -19px;
  }
  .itp-home-hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; gap: 10px; margin-top: 19px; }
  .itp-home-hero .itp-home-hero__button { font-size: .94rem; padding-inline: .6rem; text-align: center; }
  .itp-home-hero__trust { margin-top: 17px; column-gap: .8rem; font-size: .81rem; }
  .itp-home-products__grid, .itp-home-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .itp-home-product { min-height: 140px; padding: 14px; }
  .itp-home-product__text { flex-basis: 87%; gap: 9px; }
  .itp-home-product img { height: 50%; }
  .itp-home-product img[src$='.png']:not([src$='/img.png']) { width: 35px; height: 39px; right: 10px; bottom: 10px; }
  .itp-home-project__panel, .itp-home-features__panel, .itp-home-company__intro { grid-template-columns: minmax(0, 1fr); }
  .itp-home-project__intro { padding: 0; }
  .itp-home-project__intro img { display: none; }
  .itp-home-features__image { max-width: 365px; justify-self: center; }
  .itp-home-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .itp-help { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 479px) {
  .itp-home-hero .itp-home-hero__button { min-height: 54px; padding-block: .45rem; }
  .itp-home-hero__button > span { display: none; }
  .itp-home-benefits__grid, .itp-home-articles__grid, .itp-home-applications { grid-template-columns: minmax(0, 1fr); }
  .itp-home-benefits__card { min-height: 0; }
  .itp-home-project__panel { padding: 17px; }
  .itp-home-project__form { padding: 15px; }
  .itp-home-project__contacts { grid-template-columns: minmax(0, 1fr); }
  .itp-home-workflow li { padding: 15px 12px; overflow-wrap: anywhere; }
  .itp-home-workflow h4, .itp-home-applications h3 { font-size: 17px; }
  .itp-help__contacts, .itp-help__extra > div { grid-template-columns: minmax(0, 1fr); }
  .itp-help__form .button { width: 100%; }
}
@media (max-width: 359px) {
  .itp-home-hero h1 { font-size: 1.76rem; }
  .itp-home-hero .itp-home-hero__button { font-size: .88rem; }
  .itp-home-hero__button > span { display: none; }
}
