/* N57 Engine Works hero — standalone styles, no Bootstrap dependency */
.n57-hero {
  --n57-blue: #2670cb;
  --n57-blue-dark: #075ed1;
  --n57-ink: #0b2348;
  --n57-muted: #536985;
  --n57-line: #dbe8f8;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 5.2vw, 35px) 0;
  color: var(--n57-ink);
  background:
    radial-gradient(ellipse at 6% 100%, rgba(35, 128, 255, .075), transparent 36%),
    linear-gradient(125deg, #ffffff 0%, #f8fbff 62%, #eef5ff 100%);
  font-family: inherit;
}

.n57-hero *,
.n57-hero *::before,
.n57-hero *::after { box-sizing: border-box; }

.n57-hero__container {margin-inline: auto;display: grid;grid-template-columns: 1fr 1fr;/* align-items: center; */gap: clamp(28px, 4vw, 66px);}
.n57-hero__content { position: relative; z-index: 2; min-width: 0;}
.n57-hero__price{margin:16px 0 0;font-size:clamp(23px,2.1vw,28px);font-weight:800;line-height:1.3;color:var(--n57-ink);letter-spacing:0}
.n57-hero__eyebrow {display: flex;align-items: center;flex-wrap: wrap;gap: 12px;margin-bottom: clamp(22px, 2.5vw, 34px);
  color: var(--n57-blue);font-size: 12px;font-weight: 800;letter-spacing: .105em;text-transform: uppercase;}
.n57-hero__eyebrow-dot {width: 10px;height: 10px;flex: 0 0 10px;border-radius: 50%;background: var(--n57-blue);
  box-shadow: 0 0 0 5px rgba(8, 119, 255, .12);}
/* .n57-hero__eyebrow-line {width: 34px;height: 1px;margin-left: 4px;background: #9cc6ff;} */
.n57-hero__eyebrow-meta {color: #71839c;font-size: 10px;font-weight: 700;letter-spacing: .12em;}
.n57-hero__eyebrow-meta i { margin-inline: 4px; color: #a7bad3; font-style: normal;}
.n57-hero__title {max-width: 800px;margin: 0;color: var(--n57-ink);font-weight: 800;
  line-height: 1.075;letter-spacing: -.045em;}
.n57-hero__title .n57-highlight,.n57-hero__title strong { color: var(--n57-blue);}
.n57-hero__subtitle {max-width: 650px;margin: 22px 0 26px;color: var(--n57-muted);font-size: clamp(15px, 1.15vw, 18px);line-height: 1.7;}
.n57-hero__form-shell {max-width: 760px;padding: 8px;border: 4px solid var(--n57-blue);border-radius: 5px;
  background: rgba(255, 255, 255, .88);box-shadow: 0 12px 34px rgba(17, 64, 125, .09);}
.n57-hero__form {display: flex;align-items: center;gap: 10px;min-width: 0;scroll-margin-top:160px;}
.n57-hero__uk {display: grid;place-items: center;width: 48px;min-width: 48px;align-self: stretch;font-size: 27px;border-radius: 10px;background: #f1f6ff;}
.n57-hero__input {width: 100%;min-width: 0;height:54px;padding:0 14px;outline:none;font:inherit;font-size:24px;border-radius:5px;font-weight:600;
  text-align:center;background:#ffcb05;color: var(--n57-ink);background-size:contain;border:1px solid #d6e4f8;background-position:zleft;background-repeat:no-repeat;transition: border-color .2s ease, box-shadow .2s ease;
  background-image:url(../images/gb.png);text-transform:uppercase;border-color: var(--n57-blue);box-shadow: 0 0 0 3px rgba(8, 119, 255, .12);}
.n57-hero__input::placeholder { color: #000000; opacity: 1;}
.n57-hero__input:focus {border-color: var(--n57-blue);box-shadow: 0 0 0 3px rgba(8, 119, 255, .12);}
.n57-hero__submit {display: inline-flex;align-items: center;justify-content: center;gap: 12px;min-height: 54px;flex: 0 0 auto;padding: 0 18px;border: 0;border-radius: 5px;background: linear-gradient(135deg, var(--n57-blue), var(--n57-blue));color: #fff;font: inherit;font-size: 18px;font-weight: 750;cursor: pointer;box-shadow: 0 7px 16px rgba(8, 119, 255, .18);transition: transform .2s ease, box-shadow .2s ease, background .2s ease;}.n57-hero__submit span {font-size: 20px;line-height:1;}
.n57-hero__submit:hover {transform: translateY(-1px);background: linear-gradient(135deg, #086be8, var(--n57-blue-dark));
  box-shadow: 0 10px 20px rgba(8, 119, 255, .25);}
.n57-hero__submit:focus-visible{outline:3px solid #9cc6ff;outline-offset:3px;}
.n57-hero__specialist {display:flex;align-items:center;gap:8px;margin:15px 0 15px;color:#17365f;font-size: 14px;font-weight: 700;}
.n57-hero__shield i { /* display:inline-flex;width:27px;height:30px; */font-size:23px;color:var(--n57-blue);font-weight: 600;}
.n57-hero__shield svg { width: 100%; height: 100%;}
.n57-hero__benefits {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 12px;}

.n57-hero__benefit {display: flex;flex-direction: column;align-items: flex-start;min-width: 0;min-height: 145px;padding: 15px 12px 15px;border: 1px solid var(--n57-line);border-radius: 14px;background: rgba(255, 255, 255, .82);box-shadow: 0 5px 16px rgba(21, 70, 126, .035);transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;}
.n57-hero__benefit:hover {
  transform: translateY(-3px);
  border-color: #a8ceff;
  box-shadow: 0 12px 26px rgba(21, 70, 126, .09);
}
/* .n57-hero__shield i.bi::before, [class*=" bi-"]::before{font-weight: 600 !important;} */
.n57-hero__benefit-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 11px;
  color: var(--n57-blue);
}
.n57-hero__benefit-icon svg { width: 100%; height: 100%; }
.n57-hero__benefit strong {
  margin-bottom: 3px;
  color: #102b50;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.n57-hero__benefit > span:last-child {
  color: #71839b;
  font-size: 12px;
  line-height: 1.5;
}

.n57-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 570px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(211, 228, 249, .9);
  border-radius: 24px;
  background: #eaf2fc;
  box-shadow: 0 24px 60px rgba(19, 54, 99, .13);
}
.n57-hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 250, 255, .2), transparent 35%),
              linear-gradient(0deg, rgba(6, 28, 57, .18), transparent 30%);
}
.n57-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center;
}
.n57-hero__visual-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(7, 29, 58, .78);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.n57-hero__caption-line { width: 28px; height: 3px; margin-bottom: 4px; border-radius: 2px; background: #1684ff; }
.n57-hero__visual-caption strong { font-size: 13px; }

@media (max-width: 1100px) {
  .n57-hero__container { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 28px; }
  .n57-hero__eyebrow-meta, .n57-hero__eyebrow-line { display: none; }
  .n57-hero__visual, .n57-hero__visual img { min-height: 500px; }
  .n57-hero__submit { padding-inline: 15px; }
  .n57-hero__benefit { padding-inline: 12px; }
}

@media (max-width: 767px) {
  .n57-hero { padding: 34px 0 42px; }
  .n57-hero__container { grid-template-columns: 1fr; gap: 15px; }
  .n57-hero__eyebrow { margin-bottom: 8px; font-size: 11px; }
  .n57-hero__title { max-width: 100%;}
  .n57-hero__subtitle { margin: 8px 0 12px; font-size: 15px; }
  .n57-hero__form-shell { padding: 7px; border-radius: 14px; }
  .n57-hero__form { flex-wrap: wrap; gap: 8px; }
  .n57-hero__uk { width: 42px; min-width: 42px; min-height: 48px; font-size: 24px; }
  /* .n57-hero__input { flex: 1; height: 48px; font-size: 13px; } */
  .n57-hero__submit { width: 80%; min-height: 49px; }
  .n57-hero__specialist { margin: 18px 0 22px; font-size: 15px; }
  .n57-hero__benefits { gap: 9px; }
  .n57-hero__benefit { min-height: 132px; padding: 13px 10px; border-radius: 12px; }
  .n57-hero__benefit-icon { width: 29px; height: 29px; margin-bottom: 9px; }
  .n57-hero__benefit strong { font-size: 12px; }
  .n57-hero__benefit > span:last-child { font-size: 11px; }
  .n57-hero__visual { min-height: 360px; border-radius: 18px; }
  .n57-hero__visual img { min-height: 360px; max-height: 500px; }
}

@media (max-width: 420px) {
  .n57-hero__benefits { grid-template-columns: 1fr; }
  .n57-hero__benefit { min-height: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; align-items: center; }
  .n57-hero__benefit-icon { grid-row: span 2; margin: 0; }
  .n57-hero__benefit strong { margin: 0 0 3px; }
  .n57-hero__visual, .n57-hero__visual img { min-height: 300px; }
  .n57-hero__visual-caption { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .n57-hero__submit, .n57-hero__benefit { transition: none; }
}
