﻿.dc-page {
  background: #ffffff;
  color: #2e4f69;
}

.dc-page main {
  overflow: hidden;
}

.dc-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dc-hero {
  background-color: #eaf2f8;
  background-image: linear-gradient(
      90deg,
      rgba(234, 242, 248, 0.96) 0%,
      rgba(234, 242, 248, 0.9) 38%,
      rgba(234, 242, 248, 0.48) 60%,
      rgba(234, 242, 248, 0.18) 100%
    ),
    url("../img/debt-consolidation/hero-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid #d7e4ee;
  padding-top: 136px;
  padding-bottom: 80px;
}

.dc-hero-grid {
  display: grid;
}

.dc-hero-content {
  max-width: 440px;
}

.dc-eyebrow {
  margin: 0 0 8px;
  color: #5a7890;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.dc-hero-content h1 {
  margin: 0;
  color: #123b5e;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  max-width: 420px;
}

.dc-rate-form {
  margin-top: 22px;
  max-width: 360px;
}

.dc-rate-form input,
.dc-rate-form select {
  width: 100%;
  height: 44px;
  border: 1px solid #b8ccd9;
  border-radius: 2px;
  background: #ffffff;
  color: #325a74;
  font-size: 14px;
  padding: 0 14px;
  margin-bottom: 9px;
}

.dc-rate-form input:focus,
.dc-rate-form select:focus {
  outline: 0;
  border-color: #0b84c5;
}

.dc-rate-form select {
  cursor: pointer;
}

.dc-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dc-primary-btn,
.dc-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.dc-primary-btn {
  border: 0;
  min-width: 164px;
  background: linear-gradient(180deg, #0f89cd 0%, #0a73ae 100%);
  color: #ffffff;
  padding: 0 22px;
  box-shadow: 0 8px 18px rgba(7, 93, 145, 0.24);
}

.dc-primary-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.dc-mail-offer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #345e79;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.dc-mail-offer img {
  width: 14px;
  height: 14px;
}

.dc-mail-offer:hover {
  color: #0f7bb7;
}

.dc-disclaimer {
  margin: 7px 0 0;
  color: #6a8398;
  font-size: 11.5px;
}

.dc-what,
.dc-benefits,
.dc-compare,
.dc-members,
.dc-apply,
.dc-faq {
  padding-top: 78px;
  padding-bottom: 78px;
}

.dc-what h2,
.dc-apply h2,
.dc-faq h2,
.dc-section-title {
  margin: 0;
  color: #123b5e;
  font-size: clamp(32px, 2.8vw, 50px);
  line-height: 1.08;
  font-weight: 900;
}

.dc-what p,
.dc-apply p,
.dc-accordion .accordion-body {
  margin: 0 0 14px;
  color: #4f6b81;
  font-size: 17px;
  line-height: 1.66;
}

.dc-what .dc-outline-btn {
  margin-top: 8px;
}

.dc-outline-btn {
  min-width: 178px;
  border: 1.5px solid #1792d2;
  color: #0e7cb7;
  background: #ffffff;
  padding: 0 24px;
}

.dc-outline-btn:hover {
  background: #0f87c8;
  border-color: #0f87c8;
  color: #ffffff;
}

.dc-benefits {
  background: #edf4f9;
}

.dc-section-title {
  text-align: center;
  margin-bottom: 34px;
}

.dc-benefit-card {
  text-align: center;
  padding: 8px 18px;
}

.dc-benefit-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.dc-benefit-card h3 {
  margin: 14px 0 8px;
  color: #133d5f;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.dc-benefit-card p {
  margin: 0;
  color: #5a7387;
  font-size: 16px;
  line-height: 1.6;
}

.dc-compare {
  background: #e6f0f8;
}

.dc-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.dc-compare-col {
  border-top: 2px solid #1f5c85;
  padding-top: 14px;
}

.dc-compare-col h3 {
  margin: 0 0 12px;
  color: #123b5e;
  font-size: 24px;
  font-weight: 800;
}

.dc-compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-compare-col li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 26px;
  color: #4b677d;
  font-size: 15px;
  line-height: 1.55;
}

.dc-compare-col li::before {
  position: absolute;
  left: 0;
  top: 2px;
  font-family: bootstrap-icons;
  font-size: 14px;
  font-weight: 700;
}

.dc-pro::before {
  content: "✓";\n  color: #1ea38e;\n  font-family: inherit;\n  font-weight: 800;
}

.dc-con::before {
  content: "✕";\n  color: #ef7f76;\n  font-family: inherit;\n  font-weight: 800;
}

.dc-members {
  background: #ffffff;
}

.dc-stars {
  display: flex;
  gap: 5px;
  color: #f8ba26;
  font-size: 20px;
  margin-bottom: 16px;
}

.dc-quote {
  margin: 0;
  color: #4c6880;
  font-size: 18px;
  line-height: 1.72;
}

.dc-member-name {
  margin: 12px 0 20px;
  color: #133b5a;
  font-size: 16px;
  font-weight: 700;
}

.dc-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.dc-metrics img {
  width: 100%;
  max-width: 128px;
  height: auto;
}

.dc-members-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #eef6fc 100%);
  box-shadow:
    0 20px 48px rgba(15, 55, 86, 0.2),
    0 6px 18px rgba(15, 55, 86, 0.12);
  overflow: hidden;
}

.dc-members-image-wrap::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 183, 214, 0.22) 0%, rgba(46, 183, 214, 0) 72%);
  pointer-events: none;
}

.dc-members-image {
  width: min(430px, 100%);
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(15, 55, 86, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dc-members-image-wrap:hover .dc-members-image {
  transform: scale(1.02);
  box-shadow: 0 22px 38px rgba(15, 55, 86, 0.24);
}

.dc-apply {
  background: #eef5fa;
}

.dc-apply-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dc-apply-image {
  width: min(240px, 100%);
  height: auto;
  display: block;
}

.dc-slider-dots {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.dc-slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5dde5;
}

.dc-slider-dots span.active {
  background: #f26c57;
}

.dc-apply-content ol {
  margin: 24px 0 24px;
  padding: 0;
  list-style: none;
}

.dc-apply-content li {
  margin-bottom: 17px;
}

.dc-apply-content h3 {
  margin: 0;
  color: #123b5e;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.dc-faq {
  background: #ffffff;
}

.dc-accordion {
  border-top: 1px solid #d7e3ec;
}

.dc-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #d7e3ec;
  background: transparent;
}

.dc-accordion .accordion-button {
  background: transparent;
  color: #123b5e;
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  padding: 18px 2px;
}

.dc-accordion .accordion-button::after {
  filter: saturate(0.2);
}

.dc-accordion .accordion-button:not(.collapsed) {
  color: #0f7cb8;
}

.dc-accordion .accordion-body {
  padding: 0 2px 18px;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .dc-hero {
    padding-top: 126px;
    padding-bottom: 72px;
    background-image: linear-gradient(
        90deg,
        rgba(234, 242, 248, 0.97) 0%,
        rgba(234, 242, 248, 0.9) 48%,
        rgba(234, 242, 248, 0.52) 78%,
        rgba(234, 242, 248, 0.22) 100%
      ),
      url("../img/debt-consolidation/hero-bg.png");
    background-position: 66% top;
  }

  .dc-what,
  .dc-benefits,
  .dc-compare,
  .dc-members,
  .dc-apply,
  .dc-faq {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .dc-what h2,
  .dc-apply h2,
  .dc-faq h2,
  .dc-section-title {
    font-size: clamp(30px, 5.2vw, 44px);
  }

  .dc-what p,
  .dc-apply p,
  .dc-accordion .accordion-body {
    font-size: 16px;
  }

  .dc-benefit-card h3,
  .dc-compare-col h3 {
    font-size: 22px;
  }

  .dc-apply-content h3 {
    font-size: 24px;
  }

  .dc-compare-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .dc-metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .dc-hero {
    padding-top: 112px;
    padding-bottom: 64px;
    background-image: linear-gradient(
        180deg,
        rgba(234, 242, 248, 0.95) 0%,
        rgba(234, 242, 248, 0.86) 42%,
        rgba(234, 242, 248, 0.58) 72%,
        rgba(234, 242, 248, 0.35) 100%
      ),
      url("../img/debt-consolidation/hero-bg.png");
    background-position: 65% top;
  }

  .dc-rate-form {
    max-width: 100%;
  }

  .dc-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-primary-btn,
  .dc-outline-btn {
    width: 100%;
  }

  .dc-mail-offer {
    justify-content: center;
  }

  .dc-benefit-card {
    padding: 6px 10px;
  }

  .dc-metrics {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .dc-metrics img {
    max-width: 154px;
  }

  .dc-members-image-wrap {
    border-radius: 22px;
    padding: 8px;
  }

  .dc-members-image {
    border-radius: 16px;
  }

  .dc-apply-image {
    width: min(220px, 72vw);
  }

  .dc-accordion .accordion-button {
    font-size: 15px;
  }
}

