/* =========================================================
   WEB APPLICATION DEVELOPMENT PAGE — Pixel-perfect overrides
   ========================================================= */

.page-web-app {
  background: #fff;
}

.page-web-app .service-detail-hero .hero-copy h1 .accent {
  color: var(--blue-400);
}

.page-web-app .service-detail-hero .hero-copy .pill {
  margin-bottom: 4px;
}

.page-web-app .btn-submit-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 16px 24px;
}

.page-web-app .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

/* Problem section */
.wa-problem-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wa-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.wa-problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wa-problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.wa-problem-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.wa-problem-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* App types */
.wa-types-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.wa-types-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 44px;
}

.wa-type-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.wa-type-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.wa-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-500);
}

.wa-type-main h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.wa-type-main p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.wa-type-stack {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.wa-stack-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.wa-type-stack p {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  line-height: 1.6;
  margin: 0;
}

/* Tech stack */
.wa-tech-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wa-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wa-tech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wa-tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.wa-tech-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.wa-tech-card > p:not(.wa-tech-list) {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.wa-tech-list {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  line-height: 1.7;
  margin: 0;
}

/* Process */
.wa-process-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.wa-process-list {
  display: flex;
  flex-direction: column;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.wa-process-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.wa-process-num {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue-500);
  letter-spacing: -0.03em;
}

.wa-process-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.wa-process-body p {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* Industries */
.wa-industry-section {
  padding: 80px 0 88px;
  background: #fff;
}

.wa-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wa-industry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wa-industry-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.wa-industry-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* Featured case study */
.wa-case-feature {
  padding: 88px 0;
  background: radial-gradient(circle at 16% 15%, rgba(38, 196, 255, 0.1), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(18, 96, 225, 0.18), transparent 20%),
    linear-gradient(180deg, #061726 0%, #08223C 100%);
  color: #fff;
}

.wa-case-head .section-h2.light,
.wa-case-head .section-sub.light {
  color: rgba(255, 255, 255, 0.88);
}

.wa-case-head .section-h2.light {
  color: #fff;
}

.wa-case-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.wa-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}

.wa-case-quote-col h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
}

.wa-case-quote {
  font-size: 17px;
  line-height: 1.75;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.wa-case-quote-col cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
}

.wa-case-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #E85D4C;
  margin: 0 0 10px;
}

.wa-case-label-solution {
  color: var(--blue-400);
  margin-top: 22px;
}

.wa-case-detail-col p:not(.wa-case-label) {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.wa-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wa-metric {
  text-align: center;
}

.wa-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.wa-metric span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.wa-case-feature .section-cta-center {
  margin-top: 44px;
}

/* Why section */
.wa-why-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.wa-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.wa-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.wa-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.wa-why-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.wa-why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* FAQ */
.page-web-app .wa-faq {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.page-web-app .wa-faq .section-head {
  margin-bottom: 36px;
}

/* Final CTA */
.page-web-app .wa-final-cta {
  padding: 88px 0 48px;
}

.page-web-app .wa-final-cta .project-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 20px 0 20px;
}

.page-web-app .wa-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-web-app .wa-final-cta .project-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.page-web-app .wa-final-cta .contact-row {
  margin-top: 40px;
  padding-top: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .wa-problem-grid,
  .wa-tech-grid,
  .wa-industry-grid,
  .wa-why-grid,
  .wa-metrics-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-type-card {
    grid-template-columns: 1fr;
  }

  .wa-type-stack {
    border-left: none;
    padding-left: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .wa-case-feature-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wa-problem-grid,
  .wa-tech-grid,
  .wa-industry-grid,
  .wa-why-grid,
  .wa-metrics-bar {
    grid-template-columns: 1fr;
  }

  .wa-process-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .wa-type-card {
    padding: 24px 20px;
  }

  .wa-type-main {
    flex-direction: column;
  }

  .page-web-app .wa-final-cta .project-actions {
    flex-direction: column;
  }

  .page-web-app .wa-final-cta .project-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
