/* SudokuWare — shared Essential Capture design */
.sdw-hero {
  background-image: url('../assets/bizcarddex/bcd-hero.png');
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat
}

.sdw-hero .bcd-hero-copy {
  max-width: 540px
}

.sdw-hero .bcd-hero-copy h2 span {
  color: #fff
}

.sdw-hero .bcd-hero-phones {
  width: min(43%, 455px);
  max-height: 440px;
  transform: translateY(18px)
}

.sdw-benefits p strong {
  font-weight: 700
}

.sdw-intro {
  margin-bottom: 20px
}

.sdw-details {
  padding-bottom: 12px
}

.sdw-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1050px;
  margin: 20px auto 60px
}

.sdw-visual img {
  display: block;
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease
}

.sdw-visual:hover img {
  transform: scale(1.035);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .12))
}

.sdw-copy h2 {
  font-size: clamp(22px, 2.3vw, 30px);
  margin: 0 0 24px;
  color: #0879ff
}

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

.sdw-copy strong {
  color: #0879ff
}

.sdw-cta {
  margin-top: 22px;
  margin-bottom: 45px;
  display: grid;
  grid-template-columns: 34% 66%;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(90deg, #10131c, #102b62 60%, #0c4bb9);
  min-height: 220px
}

.sdw-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sdw-cta-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 38px;
  color: #fff
}

.sdw-cta-center h2 {
  font-size: 25px;
  margin: 0 0 8px
}

.sdw-cta-center p {
  margin: 0 0 18px
}

.sdw-cta-download {
  display: flex;
  align-items: center;
  gap: 22px
}

.sdw-cta-download img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 14px
}

.sdw-cta-download .bcd-button {
  background: #070707;
  border: 0px solid #fff;
  font-size: 17px;
  white-space: nowrap
}

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

  .sdw-hero .bcd-hero-phones {
    width: 42%
  }

  .sdw-cta-center {
    padding: 20px
  }
}

@media(max-width:600px) {
  .sdw-hero {
    min-height: 680px;
    height: auto;
    background-size: cover
  }

  .sdw-hero .bcd-hero-phones {
    width: min(78%, 310px);
    max-height: 300px;
    transform: none
  }

  .sdw-detail-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px auto 42px
  }

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

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

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

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

  .sdw-cta-photo {
    height: 180px
  }

  .sdw-cta-center {
    text-align: center;
    align-items: center;
    padding: 24px 12px
  }

  .sdw-cta-download {
    gap: 12px
  }

  .sdw-cta-download img {
    width: 52px;
    height: 52px
  }

  .sdw-cta-download .bcd-button {
    font-size: 14px;
    padding: 10px 16px;
    min-height: 46px
  }
}

@media(prefers-reduced-motion:reduce) {
  .sdw-visual img {
    transition: none
  }
}

/* Reduce space above download banner */
.sdw-detail-row:last-child {
  margin-bottom: 0;
}

.sdw-details {
  padding-bottom: 0;
}

.sdw-cta {
  margin-top: 25px;
}

/* Match BizCardDex download banner height */
@media (min-width: 601px) {
  .sdw-cta {
    height: 200px;
    min-height: 0;
  }

  .sdw-cta-photo {
    min-height: 0;
    overflow: hidden;
  }

  .sdw-cta-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.sdw-cta-center h2 {
  font-weight: 500;
}

/* Center SudokuWare download banner content */
.sdw-cta-center {
  align-items: center;
  text-align: center;
}

.sdw-cta-download {
  justify-content: center;
}