/* DM Credit band — shared (home + pricing)
   Selectors are scoped under .dm-page so they beat the page-wide
   `.dm-page * { margin:0; padding:0 }` reset. */

.dm-page .dm-credit-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: var(--white, #fff);
  background:
    radial-gradient(ellipse 80% 70% at 12% 20%, rgba(41, 171, 226, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 80%, rgba(4, 120, 87, 0.22), transparent 50%),
    linear-gradient(145deg, #0a1a2e 0%, #0f2840 42%, #163a5c 100%);
}
.dm-page .dm-credit-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
/* Same width + side padding as .dm-container so it lines up with sticky nav / packages */
.dm-page .dm-credit-band .dm-credit-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px 56px;
  align-items: center;
  box-sizing: border-box;
}
.dm-page .dm-credit-band .dm-credit-mark {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 14px;
  animation: dm-credit-fade-up 0.7s ease both;
}
.dm-page .dm-credit-band .dm-credit-brand {
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
  background: linear-gradient(105deg, #fff 10%, #7dd3fc 55%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: dm-credit-fade-up 0.7s 0.08s ease both;
}
.dm-page .dm-credit-band .dm-credit-h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
  max-width: 18ch;
  animation: dm-credit-fade-up 0.7s 0.14s ease both;
}
.dm-page .dm-credit-band .dm-credit-lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.82);
  margin-bottom: 28px;
  max-width: 42ch;
  animation: dm-credit-fade-up 0.7s 0.2s ease both;
}
.dm-page .dm-credit-band .dm-credit-lead strong { color: #fff; font-weight: 700; }
.dm-page .dm-credit-band .dm-credit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: dm-credit-fade-up 0.7s 0.26s ease both;
}
.dm-page .dm-credit-band .dm-btn-green {
  box-shadow: 0 8px 28px rgba(4, 120, 87, 0.35);
}
.dm-page .dm-credit-band .dm-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.dm-page .dm-credit-band .dm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.dm-page .dm-credit-band .dm-credit-visual {
  animation: dm-credit-fade-up 0.8s 0.18s ease both;
}
.dm-page .dm-credit-band .dm-credit-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}
.dm-page .dm-credit-band .dm-credit-flow-step {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.dm-page .dm-credit-band .dm-credit-flow-step span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 6px;
}
.dm-page .dm-credit-band .dm-credit-flow-step strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.dm-page .dm-credit-band .dm-credit-flow-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.2), #7dd3fc);
  position: relative;
  animation: dm-credit-pulse 1.8s ease-in-out infinite;
}
.dm-page .dm-credit-band .dm-credit-flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #7dd3fc;
  border-top: 2px solid #7dd3fc;
  transform: translateY(-50%) rotate(45deg);
}
.dm-page .dm-credit-band .dm-credit-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
}
.dm-page .dm-credit-band .dm-credit-tier {
  text-align: center;
  padding: 16px 8px 14px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-width: 3px;
  transition: transform 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}
.dm-page .dm-credit-band .dm-credit-tier:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}
.dm-page .dm-credit-band .dm-credit-tier:nth-child(1) { border-bottom-color: #64748b; min-height: 88px; }
.dm-page .dm-credit-band .dm-credit-tier:nth-child(2) { border-bottom-color: #38bdf8; min-height: 100px; }
.dm-page .dm-credit-band .dm-credit-tier:nth-child(3) { border-bottom-color: #34d399; min-height: 112px; }
.dm-page .dm-credit-band .dm-credit-tier:nth-child(4) {
  border-bottom-color: #fbbf24;
  min-height: 128px;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.16), rgba(255, 255, 255, 0.04));
}
.dm-page .dm-credit-band .dm-credit-tier em {
  display: block;
  font-style: normal;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.dm-page .dm-credit-band .dm-credit-tier:nth-child(4) em { color: #fde68a; font-size: 30px; }
.dm-page .dm-credit-band .dm-credit-tier small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.3;
}
.dm-page .dm-credit-band .dm-credit-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.5;
  text-align: center;
}
@keyframes dm-credit-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dm-credit-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-page .dm-credit-band .dm-credit-mark,
  .dm-page .dm-credit-band .dm-credit-brand,
  .dm-page .dm-credit-band .dm-credit-h2,
  .dm-page .dm-credit-band .dm-credit-lead,
  .dm-page .dm-credit-band .dm-credit-actions,
  .dm-page .dm-credit-band .dm-credit-visual,
  .dm-page .dm-credit-band .dm-credit-flow-arrow { animation: none; }
}

/* Mobile — compact but still clear (home + pricing) */
@media (max-width: 960px) {
  .dm-page .dm-credit-band {
    padding: 36px 0 32px;
  }
  .dm-page .dm-credit-band .dm-credit-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dm-page .dm-credit-band .dm-credit-mark {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .dm-page .dm-credit-band .dm-credit-brand {
    font-size: clamp(34px, 9vw, 42px);
    margin-bottom: 10px;
  }
  .dm-page .dm-credit-band .dm-credit-h2 {
    max-width: none;
    font-size: clamp(18px, 4.8vw, 22px);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .dm-page .dm-credit-band .dm-credit-lead {
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .dm-page .dm-credit-band .dm-credit-actions {
    flex-direction: column;
    gap: 8px;
  }
  /* Sticky bar + final CTA already cover booking on mobile */
  .dm-page .dm-credit-band .dm-credit-actions .dm-btn-green {
    display: none;
  }
  /* Secondary = text link on mobile (saves a full button row) */
  .dm-page .dm-credit-band .dm-credit-actions .dm-btn-ghost {
    width: 100%;
    padding: 8px 4px;
    border: none;
    background: transparent;
    color: #7dd3fc;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
  }
  .dm-page .dm-credit-band .dm-credit-actions .dm-btn-ghost:hover {
    background: transparent;
    border: none;
    color: #fff;
  }
  .dm-page .dm-credit-band .dm-credit-flow {
    margin-bottom: 14px;
    padding: 10px 8px;
    gap: 4px;
    border-radius: 12px;
  }
  .dm-page .dm-credit-band .dm-credit-flow-step span {
    font-size: 8px;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
  }
  .dm-page .dm-credit-band .dm-credit-flow-step strong {
    font-size: 12px;
  }
  .dm-page .dm-credit-band .dm-credit-flow-arrow {
    width: 12px;
  }
  /* One row of 4 — shorter than 2×2 tall cards */
  .dm-page .dm-credit-band .dm-credit-tiers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
  }
  .dm-page .dm-credit-band .dm-credit-tier {
    padding: 10px 4px 8px;
    border-radius: 8px;
  }
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(1),
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(2),
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(3),
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(4) {
    min-height: 0;
  }
  .dm-page .dm-credit-band .dm-credit-tier em {
    font-size: 17px;
    margin-bottom: 3px;
  }
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(4) em {
    font-size: 18px;
  }
  .dm-page .dm-credit-band .dm-credit-tier small {
    font-size: 9px;
    line-height: 1.2;
  }
  .dm-page .dm-credit-band .dm-credit-note {
    margin-top: 10px;
    font-size: 11px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .dm-page .dm-credit-band .dm-credit-tier em {
    font-size: 15px;
  }
  .dm-page .dm-credit-band .dm-credit-tier:nth-child(4) em {
    font-size: 16px;
  }
  .dm-page .dm-credit-band .dm-credit-tier small {
    font-size: 8px;
  }
}
