/* =========================================================
   Customized Development page
   ========================================================= */

.page-custom-dev {
  background: #fff;
  --cd-band-pad: 60px;
  --cd-inner-gap: 52px;
  --cd-head-gap: 32px;
  --cd-card-radius: 20px;
  --cd-card-shadow: 0 4px 24px rgba(15, 32, 66, 0.06);
  --cd-card-shadow-hover: 0 12px 36px rgba(15, 32, 66, 0.09);
}

.page-custom-dev .section-head {
  margin-bottom: var(--cd-head-gap);
}

/* Consistent vertical padding inside every background band */
.page-custom-dev .cd-intro-section,
.page-custom-dev .cd-band {
  padding: var(--cd-band-pad) 0;
}

.page-custom-dev .cd-band--grey {
  background: var(--bg-grey);
}

.page-custom-dev .cd-band--white {
  background: #fff;
}

.page-custom-dev .cd-band__block--split {
  margin-top: var(--cd-inner-gap);
  padding-top: 0;
  border-top: none;
}

.page-custom-dev .cd-band .client-testimonials,
.page-custom-dev .cd-band .cd-faq {
  padding: 0;
  background: transparent;
}

.page-custom-dev .service-detail-hero {
  padding-bottom: var(--cd-band-pad);
}

.page-custom-dev .cd-final-cta.project-section {
  margin-top: 0;
  padding: var(--cd-band-pad) 24px;
}

/* Unified elevated surfaces (cards) */
.page-custom-dev .cd-service-box,
.page-custom-dev .cd-why-choose-card,
.page-custom-dev .cd-industry-card,
.page-custom-dev .cd-tech-card,
.page-custom-dev .cd-gotech-card,
.page-custom-dev .client-testi-card,
.page-custom-dev .cd-process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--cd-card-radius);
  box-shadow: var(--cd-card-shadow);
}

.page-custom-dev .cd-service-box:hover,
.page-custom-dev .cd-gotech-card:hover,
.page-custom-dev .client-testi-card:hover {
  border-color: #c8e5fa;
  box-shadow: var(--cd-card-shadow-hover);
}

.page-custom-dev .client-testi-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-custom-dev .service-detail-hero .hero-copy h1 .accent {
  color: var(--blue-400);
}

.page-custom-dev .service-detail-hero .hero-copy h1 .line-block {
  display: block;
}

.page-custom-dev .btn-submit-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 16px 24px;
}

.page-custom-dev .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

/* Intro */
.cd-intro-section {
  background: #fff;
}

.cd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: stretch;
}

.cd-intro-visual {
  display: flex;
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-grey);
  border: 1px solid var(--line);
}

.cd-intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cd-intro-content .pill {
  margin-bottom: 14px;
}

.cd-intro-content .section-h2 {
  text-align: left;
  margin-bottom: 20px;
}

.cd-intro-block {
  margin-bottom: 26px;
}

.cd-intro-block--lead {
  margin-bottom: 28px;
}

.cd-intro-block h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cd-intro-block p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--text-body);
  margin: 0;
}

.cd-band__block .section-head .pill {
  margin-bottom: 12px;
}

.cd-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cd-service-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-service-box h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cd-service-box > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 14px;
}

.cd-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
  flex-shrink: 0;
}

.cd-service-icon .lucide {
  width: 20px;
  height: 20px;
}

.cd-service-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-service-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

.cd-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.cd-why-choose-card {
  grid-column: span 2;
  padding: 28px 24px;
}

.cd-why-choose-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.cd-why-choose-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.cd-why-choose-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cd-why-choose-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

.cd-process-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-process-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px 36px;
  padding: 28px 28px 28px 24px;
  align-items: start;
}

.cd-process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.cd-process-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
  flex-shrink: 0;
}

.cd-process-icon .lucide {
  width: 24px;
  height: 24px;
}

.cd-process-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue-500);
}

.cd-process-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cd-process-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 14px;
}

.cd-process-body ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cd-process-body .cd-delivery {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  margin: 0;
  padding: 12px 16px;
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
  border-radius: 12px;
  line-height: 1.5;
}

.cd-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cd-industry-card {
  padding: 26px 22px;
  text-align: center;
}

.cd-industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
}

.cd-industry-icon .lucide {
  width: 22px;
  height: 22px;
}

.cd-industry-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cd-industry-card p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  text-align: left;
}

.cd-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cd-tech-card {
  padding: 28px 26px;
}

.cd-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);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
}

.cd-tech-icon .lucide {
  width: 22px;
  height: 22px;
}

.cd-tech-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.cd-tech-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 16px;
}

.cd-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-tech-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
  line-height: 1.3;
}

.cd-gotech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cd-gotech-card {
  padding: 28px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-gotech-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
}

.cd-gotech-icon .lucide {
  width: 22px;
  height: 22px;
}

.cd-gotech-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cd-gotech-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

.page-custom-dev .cd-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-custom-dev .project-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  appearance: none;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.page-custom-dev .project-form select option {
  color: var(--text-dark);
  background: #fff;
}

@media (max-width: 1100px) {
  .cd-why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cd-why-choose-card,
  .cd-why-choose-card:nth-child(4),
  .cd-why-choose-card:nth-child(5) {
    grid-column: span 1;
  }

  .cd-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cd-tech-grid,
  .cd-gotech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cd-process-step {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px 24px;
  }
}

@media (max-width: 1080px) {
  .cd-intro-grid {
    grid-template-columns: 1fr;
  }

  .cd-intro-visual {
    min-height: 320px;
  }

  .cd-intro-visual img {
    min-height: 320px;
  }

  .cd-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-custom-dev {
    --cd-band-pad: 48px;
    --cd-inner-gap: 40px;
    --cd-head-gap: 28px;
  }

  .cd-intro-visual img {
    min-height: 260px;
  }

  .cd-why-choose-grid,
  .cd-industries-grid,
  .cd-tech-grid,
  .cd-gotech-grid {
    grid-template-columns: 1fr;
  }

  .cd-process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .cd-process-marker {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
  }

  .cd-process-marker::after {
    display: none;
  }

  .page-custom-dev .cd-final-cta .project-grid {
    grid-template-columns: 1fr;
  }
}
