/**
 * USA service landing pages — case studies and small hero extras.
 * Metrics, pricing, calculator, scorecard and delivery reuse
 * lp-a11y-sections.css and lp-mobile-agency-sections.css.
 */

.lp-line-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  color: #673ab7;
}

.lp-usa-hero .lp-compliance-badge {
  align-items: center;
}

.lp-a11y-ui .lp-line-icon {
  color: var(--a11y-brand-blue, #0086de);
}

.lp-hero-trust-line {
  font-size: 14px;
  font-weight: 600;
  color: #27364b;
}

.lp-reply-note {
  font-size: 13px;
  color: #5b6b82;
}

.lp-call-link {
  font-size: 14px;
}

.lp-hero-form .lp-hero-form-tag {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content;
  font-size: 13px !important;
  padding: 6px 14px !important;
}

.lp-case-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.lp-case-section .section-desc,
.delivery-section .section-desc,
.scorecard-section .section-desc {
  max-width: none;
}

.lp-a11y-ui .metrics-section .section-desc {
  max-width: none !important;
}

.lp-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.lp-case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dceaf4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 44, 94, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 44, 94, 0.12);
}

.lp-case-result {
  background: linear-gradient(135deg, #1f2c5e 0%, #159fe3 100%);
  color: #fff;
  padding: 26px 28px;
}

.lp-case-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.lp-case-metric {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.92;
}

.lp-case-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lp-case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7557d5;
  background: #f1e7ff;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.lp-case-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1f2c5e;
  margin: 0 0 10px;
}

.lp-case-body p {
  font-size: 14px;
  line-height: 1.65;
  color: #637083;
  margin: 0 0 18px;
}

.lp-case-scope {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-case-scope span {
  font-size: 12px;
  font-weight: 600;
  color: #1f2c5e;
  background: #eaf7ff;
  border-radius: 6px;
  padding: 5px 10px;
}

.lp-a11y-ui .delivery-grid.lp-steps-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 767px) {
  .lp-usa-hero .lp-hero-row--sticky > .col-md-7 {
    display: contents;
  }

  .lp-usa-hero .lp-hero-row--sticky > .col-md-7 > * {
    width: 100%;
  }

  .lp-usa-hero .lp-hero-form-col--sticky {
    order: 1;
    width: 100%;
  }

  .lp-usa-hero .lp-hero-mobile-after {
    order: 2;
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  .lp-case-grid,
  .lp-case-grid.lp-case-grid-3 {
    grid-template-columns: 1fr;
  }

  .lp-a11y-ui .delivery-grid.lp-steps-3 {
    grid-template-columns: 1fr !important;
  }
}
