/* =========================================================
   HIRE A DEVELOPER PAGE
   ========================================================= */

.page-hire-developer {
  background: #fff;
}

.page-hire-developer .service-detail-hero .hero-copy h1 .accent {
  color: var(--blue-400);
}

.page-hire-developer .btn-submit-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 16px 24px;
}

.page-hire-developer .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

/* Challenge */
.had-challenge-section {
  padding: 80px 0 72px;
  background: #fff;
}

.had-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.had-challenge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}

.had-challenge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.had-challenge-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.had-challenge-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.had-challenge-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

.had-challenge-cta strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Deliver */
.had-deliver-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.had-deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.had-deliver-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.had-deliver-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.had-deliver-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.had-deliver-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.had-governance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.had-governance-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}

.had-governance-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}

.had-governance-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.had-governance-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* Why + About */
.had-why-section {
  padding: 80px 0 88px;
  background: #fff;
}

.had-why-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 28px;
  margin-top: 44px;
  align-items: start;
}

.had-about-panel {
  background: radial-gradient(circle at 16% 15%, rgba(38, 196, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #061726 0%, #08223C 100%);
  border-radius: 24px;
  padding: 32px 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.had-about-panel h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.had-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.had-about-list li {
  display: grid;
  gap: 6px;
}

.had-about-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-400);
  letter-spacing: 0.02em;
}

.had-about-value {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.had-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.had-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.had-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);
}

.had-why-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.had-why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.had-why-card-highlight {
  background: var(--blue-pill-bg);
  border-color: #C8E5FA;
}

.had-metric {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

/* Results */
.had-results-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.had-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.had-case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.had-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}

.had-case-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.had-case-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E85D4C;
  margin: 16px 0 8px;
}

.had-case-label-solution {
  color: var(--blue-500);
}

.had-case-card > p:not(.had-case-label) {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.had-case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.had-case-metric {
  background: var(--bg-grey);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.had-case-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1;
  margin-bottom: 8px;
}

.had-case-metric span {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

.had-results-section .section-cta-center {
  margin-top: 44px;
}

/* FAQ */
.page-hire-developer .had-faq {
  padding: 80px 0 64px;
  background: var(--bg-grey);
}

.page-hire-developer .had-faq .section-head {
  margin-bottom: 36px;
}

/* Final CTA */
.page-hire-developer .had-final-cta {
  padding: 88px 0 48px;
}

.page-hire-developer .had-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-hire-developer .had-final-cta .project-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.page-hire-developer .had-final-cta .contact-row {
  margin-top: 40px;
  padding-top: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .had-challenge-grid,
  .had-deliver-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .had-why-layout {
    grid-template-columns: 1fr;
  }

  .had-case-grid,
  .had-governance-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .had-challenge-grid,
  .had-deliver-grid,
  .had-why-grid,
  .had-case-metrics {
    grid-template-columns: 1fr;
  }

  .had-governance-card {
    flex-direction: column;
  }

  .page-hire-developer .had-final-cta .project-actions {
    flex-direction: column;
  }

  .page-hire-developer .had-final-cta .project-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
