/* IDOrganizer — uses the shared BizCardDex styling */
.ido-hero {
  background-image: url("../assets/bizcarddex/bcd-hero.png");
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.ido-hero .bcd-hero-copy {
  max-width: 560px
}

.ido-hero .bcd-hero-copy h2 {
  font-size: clamp(25px, 2.55vw, 37px)
}

.ido-hero .bcd-hero-copy h2 span {
  display: block;
  font-size: .7em;
  margin-top: 12px;
  white-space: normal
}

.ido-hero .bcd-hero-phones {
  width: min(36%, 365px);
  max-height: 400px;
  transform: translateY(26px)
}

.ido-benefits img {
  object-fit: contain
}

.ido-intro {
  padding-bottom: 12px
}

.ido-details>h2,
.ido-industries>h2 {
  color: #0879ff;
  text-align: center;
  font-size: clamp(20px, 2.1vw, 27px);
  margin: 32px 0 24px
}

.ido-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  margin: 24px auto 46px;
  max-width: 1050px
}

.ido-visual img {
  display: block;
  width: 100%;
  max-height: 470px;
  object-fit: contain
}

.ido-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 22px
}

.ido-copy strong {
  color: #0879ff;
  font-weight: 650
}

.ido-industry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px
}

.ido-industry-grid article {
  text-align: center;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 12px 9px 14px;
  transition: transform .2s, border-color .2s, box-shadow .2s
}

@media (hover: hover) {
  .ido-industry-grid article:hover {
    transform: translateY(-4px);
    border-color: #f0a34a;
    box-shadow:
      0 0 0 1px #f0a34a,
      0 8px 24px rgba(7, 19, 78, 0.08);
  }
}

.ido-industry-grid img {
  width: 100%;
  height: 95px;
  object-fit: contain
}

.ido-industry-grid p {
  font-size: 12px;
  line-height: 1.4;
  margin: 8px 0 0
}

.ido-cta {
  margin-top: 35px;
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #090b16;
  height: 200px;
}

.ido-cta-image {
  min-width: 0;
}

.ido-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ido-cta-center {
  color: #fff;
  text-align: center;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  row-gap: 10px;
  min-height: 0;
  padding: 0 12px 24px;
  box-sizing: border-box;
  transform: none;
}

.ido-cta-center p {
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
}

.ido-cta-center .bcd-button {
  font-size: 17px;
  border: 0.5px solid #fff;
  background: transparent;
  white-space: nowrap;
}

@media(max-width:800px) {
  .ido-detail-row {
    gap: 20px
  }

  .ido-industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .ido-hero .bcd-hero-phones {
    width: min(42%, 320px)
  }
}

@media(max-width:600px) {
  .ido-hero {
    min-height: 680px;
    background-size: cover;
    background-position: center top;
  }

  .ido-hero .bcd-hero-copy h2 span {
    font-size: .76em
  }

  .ido-hero .bcd-hero-phones {
    width: min(72%, 260px);
    max-height: 280px;
    transform: none
  }

  .ido-detail-row {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .ido-reverse .ido-copy {
    order: 2
  }

  .ido-reverse .ido-visual {
    order: 1
  }

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

  .ido-cta {
    grid-template-columns: 1fr 1fr
  }

  .ido-cta-center {
    grid-column: 1/-1;
    grid-row: 1
  }

  .ido-cta-image {
    height: 150px
  }

  .ido-copy p {
    font-size: 16px
  }
}

/* IDOrganizer | Hover on the two feature images */
.ido-page .ido-details .ido-visual img {
  transition: transform 0.35s ease, filter 0.35s ease;
  transform-origin: center center;
}

.ido-page .ido-details .ido-visual:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 18px rgba(0, 50, 150, 0.18));
}

@media (prefers-reduced-motion: reduce) {
  .ido-page .ido-details .ido-visual img {
    transition: none;
  }
}

/* ============================================================
   IDOrganizer | Download Banner App Icon
   ============================================================ */

.ido-cta-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.ido-cta-download .bcd-button {
  min-height: 54px;
  box-sizing: border-box;
  margin: 0;
}

.ido-cta-app-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0;
  border-radius: 8px;
}

/* IDOrganizer | Mobile Download Banner */
@media (max-width: 600px) {
  .ido-cta {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .ido-cta-image {
    width: 100%;
    height: 120px;
  }

  .ido-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .ido-cta-image:first-child img {
    object-position: center 15%;
  }

  .ido-cta-image:last-child img {
    object-position: center 15%;
  }

  .ido-cta-center {
    width: 100%;
    padding: 24px 12px;
    transform: none;
  }
}