/* Template One: call to action */

.dd-cta {
  padding: clamp(28px, 4vw, 48px) 0 clamp(72px, 8vw, 104px);
}

.dd-cta__container {
  width: min(100% - 32px, 1368px);
  margin: 0 auto;
  min-height: 204px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: stretch;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 2.8vw, 34px) clamp(24px, 3vw, 42px) 0;
  border-radius: 26px;
  border: 1px solid rgba(8, 120, 237, 0.08);
  background: #FFFFFF url('../../../images/product/cta-section-bg.webp') center / cover no-repeat;
  box-shadow: 0 16px 40px rgba(10, 34, 86, 0.08);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.dd-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  padding: clamp(4px, 1vw, 10px) 0;
}

.dd-cta__title {
  margin: 0;
  color: var(--color-navy, #0A2256);
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dd-cta__title span {
  display: inline-block;
  margin-top: 6px;
  color: var(--color-navy, #0A2256);
  font-weight: 700;
}

.dd-cta__title strong {
  color: var(--color-red, #DF001F);
  font-weight: 700;
}

.dd-cta__button {
  margin-top: clamp(18px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 28px 12px 24px;
  border-radius: 14px;
  border: 1px solid rgba(182, 0, 24, 0.2);
  background: linear-gradient(180deg, #FF2745 0%, #DF001F 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(223, 0, 31, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.dd-cta__button:hover,
.dd-cta__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(223, 0, 31, 0.32);
  filter: saturate(1.03);
}

.dd-cta__button:focus-visible {
  outline: 3px solid rgba(8, 120, 237, 0.24);
  outline-offset: 4px;
}

.dd-cta__button-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #FFFFFF;
  flex-shrink: 0;
}

.dd-cta__button-icon i,
.dd-cta__button-icon i::before {
  display: block;
  margin: 0;
  line-height: 1;
  font-size: 1rem;
}

.dd-cta__button-text {
  display: inline-flex;
  align-items: center;
}

.dd-cta__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  z-index: 1;
  overflow: hidden;
}

.dd-cta__media img {
  width: min(100%, 330px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: auto auto 0;
  transform: translateY(8px);
}

@media (max-width: 980px) {
  .dd-cta {
    padding-bottom: clamp(64px, 9vw, 88px);
  }

  .dd-cta__container {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    padding: 24px 24px 0;
    min-height: 188px;
  }

  .dd-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .dd-cta__button {
    min-height: 52px;
    font-size: 1.25rem;
  }

  .dd-cta__media img {
    width: min(100%, 252px);
    margin: auto auto 0;
    transform: translateY(6px);
  }
}

@media (max-width: 767px) {
  .dd-cta {
    padding-bottom: 72px;
  }

  .dd-cta__container {
    width: min(100% - 24px, 1368px);
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 18px;
    background-position: center;
  }

  .dd-cta__content {
    align-items: flex-start;
    max-width: none;
  }

  .dd-cta__title {
    font-size: clamp(1.6rem, 8vw, 2.25rem);
    line-height: 1.16;
  }

  .dd-cta__title strong {
    display: inline-block;
    margin-top: 4px;
  }

  .dd-cta__button {
    min-height: 50px;
    padding: 11px 22px 11px 18px;
    font-size: 1.125rem;
  }

  .dd-cta__button-icon {
    width: 30px;
    height: 30px;
  }

  .dd-cta__media {
    display: none;
  }
}

@media (max-width: 420px) {
  .dd-cta__container {
    width: min(100% - 16px, 1368px);
    padding: 20px 14px;
    border-radius: 22px;
  }

  .dd-cta__title {
    font-size: 1.42rem;
  }

  .dd-cta__button {
    width: auto;
    min-height: 48px;
    font-size: 1rem;
    gap: 10px;
  }

}

