/* Detail pages (service, industry, project, article) - content below the page banner */

.detail_intro_section { padding: 110px 0 100px; }
.detail_intro_section .heading_focus_text { margin-bottom: 14px; }
.detail_intro_section .detail_title { font-size: 44px; line-height: 54px; margin-bottom: 22px; }
.detail_intro_section .detail_lead { font-size: 18px; line-height: 30px; color: var(--bs-dark); margin-bottom: 16px; }
.detail_intro_section p { color: #5b5f73; }

.detail_highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 28px 0 34px; padding: 0; list-style: none; }
.detail_highlights li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 24px; color: var(--bs-dark); font-family: 'Axiforma Medium'; }
.detail_highlights li i { flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: var(--bs-primary); }

.detail_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.detail_actions .hotline_block .hotline_content small { color: #676767; }
.detail_actions .hotline_block .hotline_content strong { color: var(--bs-dark); }

.detail_media { position: relative; padding: 0 0 40px 40px; }
.detail_media:before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: linear-gradient(135deg, var(--bs-primary), #5C8DFF); opacity: .14; }
.detail_media .detail_media_frame { position: relative; z-index: 1; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3.4; background: #fff; box-shadow: 0 30px 60px -20px rgba(2, 8, 66, .25); }
.detail_media .detail_media_frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.detail_media:hover .detail_media_frame img { transform: scale(1.04); }
.detail_media .detail_stat { position: absolute; z-index: 2; left: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -12px rgba(2, 8, 66, .22); }
.detail_media .detail_stat strong { font-size: 34px; line-height: 1; color: var(--bs-primary); font-family: 'Axiforma Bold'; }
.detail_media .detail_stat span { font-size: 14px; line-height: 20px; color: var(--bs-dark); max-width: 110px; }
.detail_media .detail_badge { position: absolute; z-index: 2; top: 24px; right: -12px; padding: 10px 18px; border-radius: 40px; font-size: 14px; color: #fff; background: var(--bs-dark); font-family: 'Axiforma Medium'; box-shadow: 0 14px 30px -10px rgba(2, 8, 66, .4); }
.detail_media .detail_badge i { color: #5C8DFF; margin-right: 6px; }

/* feature cards */
.detail_features_section { padding: 100px 0 80px; background: #fff; }
.detail_feature_card { height: 100%; padding: 32px 28px; border-radius: 18px; background: var(--bs-light); border: 1px solid transparent; transition: all .3s ease; }
.detail_feature_card:hover { background: #fff; border-color: #dfe7fb; transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(2, 8, 66, .2); }
.detail_feature_card .feature_number { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; background: var(--bs-primary); font-family: 'Axiforma Bold'; }
.detail_feature_card h3 { font-size: 20px; line-height: 28px; margin-bottom: 10px; }
.detail_feature_card p { margin: 0; font-size: 15px; line-height: 24px; color: #5b5f73; }
.detail_features_section .row > [class*="col-"] { margin-bottom: 24px; }

/* process */
.detail_process_section { padding: 100px 0; }

/* related cards */
.detail_related_section { padding: 100px 0 80px; background: #fff; }
.detail_related_card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; border-radius: 16px; background: var(--bs-light); color: var(--bs-dark); transition: all .3s ease; }
.detail_related_card:hover { color: #fff; background: var(--bs-primary); }
.detail_related_card .related_icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; }
.detail_related_card .related_icon img { max-width: 24px; max-height: 24px; }
.detail_related_card .related_icon i { color: var(--bs-primary); font-size: 18px; }
.detail_related_card strong { display: block; font-size: 17px; line-height: 24px; font-family: 'Axiforma SemiBold'; }
.detail_related_card small { display: block; font-size: 13px; opacity: .75; }
.detail_related_card .fa-arrow-up-right { margin-left: auto; font-size: 14px; }
.detail_related_section .row > [class*="col-"] { margin-bottom: 20px; }

/* project facts bar */
.detail_facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0 32px; }
.detail_facts div { padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #e3e9f7; }
.detail_facts small { display: block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #8a8fa3; margin-bottom: 2px; }
.detail_facts strong { font-size: 15px; color: var(--bs-dark); font-family: 'Axiforma SemiBold'; }

/* article */
.article_hero_image { overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 9; margin-bottom: 34px; background: #fff; }
.article_hero_image img { width: 100%; height: 100%; object-fit: cover; }
.article_body .article_lead { font-size: 20px; line-height: 32px; color: var(--bs-dark); margin-bottom: 30px; }
.article_body h3 { font-size: 26px; line-height: 34px; margin: 38px 0 14px; }
.article_body p { font-size: 17px; line-height: 30px; color: #4f5366; }
.article_checklist { margin: 40px 0; padding: 30px 32px; border-radius: 18px; background: #fff; border-left: 4px solid var(--bs-primary); }
.article_checklist h4 { font-size: 20px; margin-bottom: 16px; }
.article_checklist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.article_checklist li { display: flex; gap: 10px; font-size: 16px; line-height: 24px; color: var(--bs-dark); }
.article_checklist li i { color: var(--bs-primary); margin-top: 4px; }

@media (max-width: 1199px) {
  .detail_intro_section .detail_title { font-size: 38px; line-height: 48px; }
}
@media (max-width: 991px) {
  .detail_intro_section { padding: 80px 0; }
  .detail_media { margin-top: 50px; }
  .detail_features_section, .detail_related_section, .detail_process_section { padding: 80px 0 60px; }
}
@media (max-width: 575px) {
  .detail_intro_section { padding: 60px 0; }
  .detail_intro_section .detail_title { font-size: 30px; line-height: 40px; }
  .detail_intro_section .detail_lead { font-size: 16px; line-height: 27px; }
  .detail_highlights, .detail_facts, .article_checklist ul { grid-template-columns: 1fr; }
  .detail_media { padding: 0 0 30px 16px; }
  .detail_media .detail_badge { right: 8px; top: 14px; font-size: 12px; padding: 8px 14px; }
  .detail_media .detail_stat { padding: 14px 18px; }
  .detail_media .detail_stat strong { font-size: 26px; }
  .detail_feature_card { padding: 26px 22px; }
  .article_body .article_lead { font-size: 17px; line-height: 28px; }
  .article_body h3 { font-size: 22px; line-height: 30px; }
  .article_checklist { padding: 24px 20px; }
}

/* team illustrations (SVG) fill the whole card image area */
.team_block .image_wrap:has(img[src$=".svg"]) { padding: 0; overflow: hidden; }
.team_block .image_wrap img[src$=".svg"] { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.team_member_details_card .team_member_image img.illustration_image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.our_world_employees .image_wrap img[src$=".svg"] { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* project cards use mixed-size photos: keep one consistent frame */
.portfolio_block .portfolio_image_wrap { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.portfolio_block .portfolio_image_wrap img { width: 100%; height: 100%; object-fit: cover; }
