/**
 * 立即預約 CTA — Figma node 125:272
 * 僅用於 index-copy.html
 */

.pub-cta-band--v2 {
  --cta-v2-content-max: 1400px;
  --cta-v2-rail-gutter: max(140px, calc((100% - var(--cta-v2-content-max)) / 2));
  min-height: 256px;
  height: 256px;
  padding: 0 var(--cta-v2-rail-gutter);
  align-items: stretch;
}

.pub-cta-band--v2::after,
.pub-cta-band--v2 .pub-cta-band__scrim::before {
  display: none;
}

.pub-cta-band--v2 .pub-cta-band__bg-img {
  object-fit: cover;
  object-position: center center;
}

.pub-cta-band--v2 .pub-cta-band__scrim {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 20.408%,
    rgba(0, 0, 0, 0.28) 67.464%
  );
}

.pub-cta-band--v2 .pub-cta-band__inner {
  max-width: var(--cta-v2-content-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.pub-cta-band--v2 .pub-cta-band__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 56px 0 52px;
  max-width: 720px;
}

.pub-cta-band--v2 .pub-cta-band__title {
  margin: 0 0 16px;
  font-family: 'Noto Sans TC', 'PingFang TC', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 33.6px;
  letter-spacing: 0.5px;
  color: #fafaf8;
}

.pub-cta-band--v2 .pub-cta-band__desc {
  margin: 0;
  font-family: 'Noto Sans TC', 'PingFang TC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: rgba(250, 250, 248, 0.82);
  white-space: normal;
}

.pub-cta-band--v2 .pub-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.pub-cta-band--v2 .pub-cta-band__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9.5px 21px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: 'PingFang TC', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pub-cta-band--v2 .pub-cta-band__btn--primary {
  background: #df2f2f;
  color: #fafaf8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pub-cta-band--v2 .pub-cta-band__btn--primary:hover {
  background: #c92828;
  color: #fafaf8;
}

.pub-cta-band--v2 .pub-cta-band__btn--secondary {
  color: #fafaf8;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(3px);
}

.pub-cta-band--v2 .pub-cta-band__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fafaf8;
}

@media (max-width: 767px) {
  .pub-cta-band--v2 {
    --cta-v2-rail-gutter: 24px;
    height: auto;
    min-height: 256px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pub-cta-band--v2 .pub-cta-band__content {
    padding: 0;
    justify-content: flex-start;
  }

  .pub-cta-band--v2 .pub-cta-band__title {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.2;
  }

  .pub-cta-band--v2 .pub-cta-band__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .pub-cta-band--v2 .pub-cta-band__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pub-cta-band--v2 .pub-cta-band__btn--secondary {
    backdrop-filter: none;
  }
}
