.tech_hero {
  background-image: linear-gradient(90deg, rgba(12, 39, 66, 0.84), rgba(12, 39, 66, 0.38)), url("../images/banner2.jpg");
}

.technology_overview_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.technology_overview_card {
  position: relative;
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(21, 118, 120, 0.14);
  border-radius: var(--radius_card);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 118, 120, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technology_overview_card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow_card);
}

.technology_overview_number {
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(21, 118, 120, 0.11);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.technology_overview_icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color_primary);
  background: rgba(21, 118, 120, 0.09);
  font-size: 23px;
}

.technology_overview_card strong {
  color: var(--color_text);
  font-size: 23px;
  line-height: 1.45;
}

.technology_overview_card span:last-child {
  color: var(--color_primary);
  font-weight: 800;
}

.tech_detail {
  scroll-margin-top: 90px;
}

.tech_detail_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.tech_detail_reverse .tech_detail_content {
  order: 2;
}

.tech_detail_title {
  margin: 0;
  font-size: 38px;
  line-height: 1.3;
}

.tech_detail_desc {
  margin: 18px 0 0;
  color: var(--color_text_light);
  font-size: 17px;
  line-height: 1.9;
}

.tech_detail_affiliations {
  display: flex;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(21, 118, 120, 0.18);
  border-bottom: 1px solid rgba(21, 118, 120, 0.18);
}

.tech_detail_affiliation {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 0 18px;
}

.tech_detail_affiliation + .tech_detail_affiliation {
  border-left: 1px solid var(--color_border);
}

.tech_detail_affiliation_label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color_text_light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.tech_detail_affiliation_label i {
  color: var(--color_secondary);
  font-size: 12px;
}

.tech_detail_affiliation strong {
  color: var(--color_primary_dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.tech_detail_action {
  margin-top: 28px;
}

.tech_detail_affiliations + .tech_detail_action {
  margin-top: 18px;
}

.tech_detail_panel {
  padding: 30px;
  border: 1px solid var(--color_border);
  border-radius: var(--radius_card);
  background: #ffffff;
  box-shadow: var(--shadow_card);
}

.tech_detail_panel h3 {
  margin: 0;
  color: var(--color_primary_dark);
  font-size: 24px;
}

.tech_detail_points {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tech_detail_points li {
  position: relative;
  padding-left: 26px;
  color: var(--color_text_light);
  font-size: 16px;
  line-height: 1.8;
}

.tech_detail_points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color_secondary);
}

.tech_detail_gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--color_border);
}

.tech_detail_gallery figure {
  margin: 0;
}

.tech_detail_gallery_button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.tech_detail_gallery img {
  display: block;
  width: 100%;
  height: 112px;
  padding: 5px;
  border: 1px solid var(--color_border);
  border-radius: 6px;
  background: var(--color_bg_soft);
  object-fit: contain;
}

.tech_detail_gallery figcaption {
  margin-top: 8px;
  color: var(--color_text_light);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.tech_lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.tech_lightbox.is_open {
  display: flex;
}

.tech_lightbox_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 39, 66, 0.78);
  backdrop-filter: blur(5px);
}

.tech_lightbox_dialog {
  position: relative;
  z-index: 1;
  max-width: min(900px, 100%);
  max-height: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius_card);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  animation: fade_up 260ms ease-out both;
}

.tech_lightbox_close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color_border);
  border-radius: 50%;
  color: var(--color_text_light);
  background: #ffffff;
  cursor: pointer;
}

.tech_lightbox_image {
  display: block;
  width: auto;
  max-width: min(84vw, 760px);
  height: auto;
  max-height: 84vh;
  object-fit: contain;
}

.process_steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process_step {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--color_border);
  border-radius: var(--radius_card);
  background: #ffffff;
}

.process_step b {
  color: rgba(21, 118, 120, 0.25);
  font-size: 34px;
  line-height: 1;
}

.process_step strong {
  color: var(--color_text);
  font-size: 18px;
}

.process_step span {
  color: var(--color_text_light);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .technology_overview_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process_steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tech_detail_layout {
    grid-template-columns: 1fr;
  }

  .tech_detail_reverse .tech_detail_content {
    order: 0;
  }
}

@media (max-width: 640px) {
  .technology_overview_grid,
  .process_steps {
    grid-template-columns: 1fr;
  }

  .tech_detail_title {
    font-size: 30px;
  }

  .tech_detail_gallery img {
    height: 100px;
  }

  .tech_detail_affiliation {
    padding: 0 12px;
  }

  .tech_lightbox {
    padding: 18px;
  }

  .tech_lightbox_dialog {
    padding: 10px;
  }

  .tech_lightbox_image {
    max-width: 88vw;
    max-height: 86vh;
  }
}
