/*
 * USA landing pages, November build.
 * Loaded only by lp/includes/render-usa-lp.php (software-testing-services,
 * software-outsourcing, mobile-app-development-company, dedicated-teams,
 * custom-software-development).
 */

/* Hero background: recompressed copy (143 KB instead of 570 KB) */
.lp-common-bg-container {
  background-image: url('../images/landing-page-banner-opt.webp') !important;
}

/* Skip rendering of off-screen sections until they are near the viewport */
.rate-section,
.lp-case-section,
.calc-section,
.scorecard-section,
.delivery-section,
.why-vervali-section,
.lp-testimonials-section,
.award-banner-section,
.lp-offshore-band,
.lp-new-faq-container,
.lp-new-services-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
#lp-models,
#lp-offshore,
#scorecard {
  scroll-margin-top: 90px;
}

/* Headline */
@media (min-width: 768px) {
  #page-banner h1.heading {
    font-size: clamp(30px, 3.1vw, 44px) !important;
    line-height: 1.15 !important;
  }
}

/* Menu button: text centred vertically */
#sticky-consult-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  line-height: 1.2 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 46px;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .lp-navbar-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 44px;
  }
}

/* Hero: copy and email box on the left, results panel on the right */
@media (min-width: 768px) {
  #page-banner .lp-hero-copy-form .form-section.lp-hero-form {
    position: static !important;
    top: auto !important;
    max-width: 560px;
    width: 100%;
    margin: 20px 0 12px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 29, 61, 0.1);
  }
  #page-banner .col-md-5.lp-hero-data-col {
    display: flex;
    align-items: center;
    align-self: stretch;
  }
}
@media (max-width: 767px) {
  #page-banner .lp-hero-copy-form .form-section.lp-hero-form {
    margin: 16px 0 12px;
    padding: 12px;
  }
  #page-banner .lp-hero-data-col {
    margin-top: 8px;
  }
}
#page-banner .lp-hero-copy-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
#page-banner .lp-hero-copy-form form > #email {
  order: 1;
  flex: 1 1 200px;
  min-width: 0;
  height: 48px;
  margin: 0 !important;
}
#page-banner .lp-hero-copy-form form > button[type="submit"] {
  order: 2;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 170px;
  height: 48px;
  margin: 0 !important;
  padding: 0 22px;
  white-space: nowrap;
}
#page-banner .lp-hero-copy-form form > #email_error_top {
  order: 3;
  flex: 0 0 100%;
}
#page-banner .lp-hero-copy-form form > .lp-step2 {
  order: 4;
  flex: 0 0 100%;
}
#page-banner .lp-hero-copy-form form.lp-step2-open > button[type="submit"] {
  order: 5;
  flex: 0 0 100%;
}
#page-banner .lp-hero-copy-form form > .lp-call-link {
  order: 6;
  flex: 0 0 100%;
  margin: 2px 0 0 !important;
}
#page-banner .lp-hero-copy-form form > .lp-success-message {
  order: 8;
  flex: 0 0 100%;
  margin: 0 !important;
}
#page-banner .lp-hero-copy-form form > .lp-success-message:empty {
  display: none;
}
#page-banner .lp-hero-copy-form form > .lp-privacy-note {
  order: 7;
  margin: -4px 0 0 !important;
}
@media (max-width: 480px) {
  #page-banner .lp-hero-copy-form form > button[type="submit"] {
    flex: 0 0 100%;
  }
}

/* Step 2 of the hero form */
.lp-step2[hidden] {
  display: none !important;
}
.lp-step2 {
  animation: lpStep2In 0.25s ease-out;
}
@keyframes lpStep2In {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lp-step2-note {
  font-size: 13px;
  font-weight: 600;
  color: #27364b;
}

/* Privacy note under both forms */
.lp-privacy-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #6b7a90;
  text-align: center;
}

/* Proof line under the hero form */
.lp-hero-proof {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2c5e;
}
.lp-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d6e4f5;
  box-shadow: 0 2px 8px rgba(15, 29, 61, 0.06);
  line-height: 1.2;
}
.lp-hero-proof span:before {
  content: "\2605";
  font-size: 14px;
  line-height: 1;
  color: #f5a623;
}

/* "What our clients measured" panel */
.lp-data-panel {
  background: linear-gradient(160deg, #0f1d3d 0%, #16346a 100%);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 29, 61, 0.25);
  width: 100%;
}
.lp-dp-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fd0ff;
  font-weight: 700;
  margin: 0 0 6px;
}
.lp-dp-title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 22px;
  color: #fff;
}
.lp-dp-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.lp-dp-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.35;
  color: #dbe6f7;
}
.lp-dp-val {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.lp-dp-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  margin-top: 8px;
  overflow: hidden;
}
.lp-dp-track span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, #2aa7ff, #7fe3c9);
  transform-origin: left center;
  animation: lpDpGrow 1.1s ease-out both;
}
@keyframes lpDpGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-dp-track span {
    animation: none;
  }
}
.lp-dp-foot {
  font-size: 12px;
  color: #9fb3d1;
  margin: 22px 0 0;
}

/* "Where the Team Is" band */
.lp-offshore-band {
  padding: 56px 0;
  background: #f4f8fb;
}
.lp-offshore-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.lp-offshore-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0086de;
}
.lp-offshore-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  color: #1f2c5e;
}
.lp-offshore-title span {
  color: #0086de;
}
.lp-offshore-text {
  margin: 0;
  max-width: 820px;
  font-size: 17px;
  line-height: 1.65;
  color: #4a5a70;
}
