/* =========================================================
   DFMAX LOAN SERVICES PAGE
========================================================= */

.dfmax-loan-services-page {
  background: #ffffff;

  overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.dfmax-loan-services-hero {
  position: relative;

  overflow: hidden;

  padding: 40px 0 40px;

  background: linear-gradient(120deg, #006b87 0%, #008ba8 48%, #009fc1 100%);

  color: #ffffff;
}

/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.dfmax-loan-services-hero-circle {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.13);

  border-radius: 50%;

  pointer-events: none;
}

.dfmax-loan-services-hero-circle.circle-one {
  width: 520px;
  height: 520px;

  right: -190px;
  top: -315px;
}

.dfmax-loan-services-hero-circle.circle-two {
  width: 450px;
  height: 450px;

  left: -290px;
  bottom: -320px;
}

/* =========================================================
   HERO GRID
========================================================= */

.dfmax-loan-services-hero-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(420px, 0.9fr);

  align-items: center;

  gap: 70px;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.dfmax-loan-services-hero-content {
  max-width: 700px;
}

.dfmax-loan-services-eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 1.1px;
}

.dfmax-loan-services-eyebrow i {
  color: #ffffff;

  font-size: 15px;
}

.dfmax-loan-services-hero h1 {
  margin: 0 0 16px;

  color: #ffffff;

  font-size: clamp(48px, 4vw, 68px);

  line-height: 1.08;

  font-weight: 800;

  letter-spacing: -2px;
}

.dfmax-loan-services-hero h1 span {
  display: block;

  color: #c8edf5;
}

.dfmax-loan-services-hero-content > p {
  max-width: 680px;

  margin: 0;

  color: rgba(255, 255, 255, 0.78);

  font-size: 16px;

  line-height: 1.75;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.dfmax-loan-services-hero-buttons {
  display: flex;

  align-items: center;

  gap: 14px;

  flex-wrap: wrap;

  margin-top: 34px;
}

.dfmax-loan-services-hero-btn-primary,
.dfmax-loan-services-hero-btn-secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 52px;

  padding: 0 25px;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 800;

  text-decoration: none;

  transition: var(--dfmax-transition);
}

.dfmax-loan-services-hero-btn-primary {
  background: #ffffff;

  color: var(--dfmax-primary-dark);
}

.dfmax-loan-services-hero-btn-primary:hover {
  color: var(--dfmax-primary-dark);

  transform: translateY(-3px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.dfmax-loan-services-hero-btn-secondary {
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.42);

  background: rgba(255, 255, 255, 0.03);
}

.dfmax-loan-services-hero-btn-secondary:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.1);

  border-color: rgba(255, 255, 255, 0.7);

  transform: translateY(-3px);
}

/* =========================================================
   HERO VISUAL
========================================================= */

.dfmax-loan-services-hero-visual {
  position: relative;

  min-height: 450px;

  display: flex;

  align-items: center;

  justify-content: center;
}

/* =========================================================
   HERO MAIN CARD
========================================================= */

.dfmax-loan-services-hero-card {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 440px;

  padding: 40px;

  border-radius: 22px;

  background: #ffffff;

  box-shadow: 0 25px 60px rgba(0, 40, 60, 0.18);

  color: var(--dfmax-text);

  animation: dfmaxLoanHeroFloat 5s ease-in-out infinite;
}

@keyframes dfmaxLoanHeroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* =========================================================
   HERO CARD ICON
========================================================= */

.dfmax-loan-services-hero-card-icon {
  width: 76px;
  height: 76px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 26px;

  border-radius: 14px;

  background: var(--dfmax-primary);

  color: #ffffff;

  font-size: 28px;
}

/* =========================================================
   HERO CARD LABEL
========================================================= */

.dfmax-loan-services-hero-card-label {
  margin-bottom: 15px;

  color: var(--dfmax-primary);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.4px;
}

/* =========================================================
   HERO CARD TITLE
========================================================= */

.dfmax-loan-services-hero-card h2 {
  max-width: 350px;

  margin: 0 0 16px;

  color: #2c2c2c;

  font-size: 31px;

  line-height: 1.25;

  font-weight: 800;
}

/* =========================================================
   HERO CARD TEXT
========================================================= */

.dfmax-loan-services-hero-card p {
  max-width: 355px;

  margin: 0;

  color: #69778b;

  font-size: 15px;

  line-height: 1.7;
}

/* =========================================================
   HERO CARD DIVIDER
========================================================= */

.dfmax-loan-services-hero-divider {
  height: 1px;

  width: 100%;

  margin: 26px 0;

  background: #e5e7eb;
}

/* =========================================================
   HERO CARD BENEFIT
========================================================= */

.dfmax-loan-services-hero-benefit {
  display: flex;

  align-items: center;

  gap: 11px;
}

.dfmax-loan-services-benefit-icon {
  flex: 0 0 18px;

  width: 18px;
  height: 18px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #16a34a;

  color: #ffffff;

  font-size: 9px;
}

.dfmax-loan-services-hero-benefit strong {
  color: #3d3d3d;

  font-size: 13px;

  font-weight: 800;
}

/* =========================================================
   FLOATING CARD
========================================================= */

.dfmax-loan-services-floating-card {
  position: absolute;

  z-index: 4;

  right: -45px;

  bottom: 15px;

  display: flex;

  align-items: center;

  gap: 13px;

  width: 315px;

  padding: 17px;

  border-radius: 14px;

  background: #ffffff;

  box-shadow: 0 18px 45px rgba(0, 40, 60, 0.16);

  color: var(--dfmax-text);

  animation: dfmaxLoanFloating 4s ease-in-out infinite;
}

@keyframes dfmaxLoanFloating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.dfmax-loan-services-floating-icon {
  flex: 0 0 54px;

  width: 54px;
  height: 54px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: var(--dfmax-light-blue);

  color: var(--dfmax-primary);

  font-size: 21px;
}

.dfmax-loan-services-floating-card strong {
  display: block;

  margin-bottom: 4px;

  color: #303030;

  font-size: 14px;

  font-weight: 800;
}

.dfmax-loan-services-floating-card span {
  display: block;

  max-width: 190px;

  color: #69778b;

  font-size: 11px;

  line-height: 1.45;
}

/* =========================================================
   LOAN SERVICES SECTION
========================================================= */

.dfmax-loan-services-section {
  padding: 40px 0;

  background: #ffffff;
}

.dfmax-loan-services-heading {
  max-width: 720px;

  margin: 0 auto 48px;

  text-align: center;
}

.dfmax-loan-services-heading small {
  display: block;

  margin-bottom: 9px;

  color: var(--dfmax-primary);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.1px;

  text-transform: uppercase;
}

.dfmax-loan-services-heading h2 {
  margin: 0 0 13px;

  color: var(--dfmax-text);

  font-size: clamp(29px, 4vw, 40px);

  line-height: 1.2;

  font-weight: 800;
}

.dfmax-loan-services-heading p {
  margin: 0;

  color: var(--dfmax-text-light);

  font-size: 15px;

  line-height: 1.75;
}

/* =========================================================
   LOAN GRID
========================================================= */

.dfmax-loan-services-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 22px;
}

/* =========================================================
   LOAN CARD
========================================================= */

.dfmax-loan-service-card {
  position: relative;

  display: flex;

  flex-direction: column;

  min-height: 285px;

  padding: 27px;

  border: 1px solid var(--dfmax-border);

  border-radius: 17px;

  background: #ffffff;

  text-decoration: none;

  overflow: hidden;

  transition: var(--dfmax-transition);
}

.dfmax-loan-service-card::after {
  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  right: -55px;
  bottom: -55px;

  border-radius: 50%;

  background: rgba(0, 156, 197, 0.06);

  transition: var(--dfmax-transition);
}

.dfmax-loan-service-card:hover {
  transform: translateY(-7px);

  border-color: rgba(0, 156, 197, 0.3);

  box-shadow: 0 18px 40px rgba(0, 50, 70, 0.09);
}

.dfmax-loan-service-card:hover::after {
  width: 170px;
  height: 170px;
}

/* =========================================================
   CARD ICON
========================================================= */

.dfmax-loan-service-icon {
  width: 53px;
  height: 53px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 21px;

  border-radius: 13px;

  background: var(--dfmax-light-blue);

  color: var(--dfmax-primary);

  font-size: 21px;

  transition: var(--dfmax-transition);
}

.dfmax-loan-service-card:hover .dfmax-loan-service-icon {
  background: var(--dfmax-primary);

  color: #ffffff;

  transform: translateY(-2px);
}

/* =========================================================
   CARD CONTENT
========================================================= */

.dfmax-loan-service-card h3 {
  margin: 0 0 9px;

  color: var(--dfmax-text);

  font-size: 19px;

  line-height: 1.35;

  font-weight: 800;
}

.dfmax-loan-service-card p {
  margin: 0;

  color: var(--dfmax-text-light);

  font-size: 13px;

  line-height: 1.7;
}

/* =========================================================
   CARD LINK
========================================================= */

.dfmax-loan-service-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: auto;
  padding-top: 20px;

  color: var(--dfmax-primary);

  font-size: 12px;

  font-weight: 800;
}

.dfmax-loan-service-link i {
  transition: transform 0.3s ease;
}

.dfmax-loan-service-card:hover .dfmax-loan-service-link i {
  transform: translateX(4px);
}

/* =========================================================
   WHY CHOOSE SECTION
========================================================= */

.dfmax-loan-services-why {
  padding: 40px 0;

  background: var(--dfmax-light-gray);
}

.dfmax-loan-services-why-grid {
  display: grid;

  grid-template-columns: 0.95fr 1.05fr;

  gap: 65px;

  align-items: center;
}

/* =========================================================
   DFMAX LOAN SERVICES
   UNIQUE ANIMATED VISUAL
   PREFIX: dfmax-ls-
========================================================= */

/* =========================================================
   MAIN VISUAL
========================================================= */

.dfmax-ls-visual {
  position: relative;

  width: 100%;

  min-height: 430px;

  display: flex;

  align-items: center;

  justify-content: center;

  isolation: isolate;
}

/* =========================================================
   CENTER GLOW
========================================================= */

.dfmax-ls-visual::before {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0, 156, 197, 0.18) 0%,
    rgba(0, 156, 197, 0.08) 42%,
    transparent 72%
  );

  filter: blur(8px);

  z-index: 1;

  animation: dfmaxLsGlow 4s ease-in-out infinite;
}

@keyframes dfmaxLsGlow {
  0%,
  100% {
    opacity: 0.55;

    transform: translate(-50%, -50%) scale(0.92);
  }

  50% {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* =========================================================
   ORBIT RINGS
========================================================= */

.dfmax-ls-ring {
  position: absolute;

  left: 50%;
  top: 50%;

  border-radius: 50%;

  transform: translate(-50%, -50%);

  pointer-events: none;
}

/* INNER */

.dfmax-ls-ring-inner {
  width: 310px;
  height: 310px;

  border: 1px dashed rgba(0, 156, 197, 0.24);

  animation: dfmaxLsInnerOrbit 18s linear infinite;
}

/* OUTER */

.dfmax-ls-ring-outer {
  width: 395px;
  height: 395px;

  border: 1px dashed rgba(0, 156, 197, 0.17);

  animation: dfmaxLsOuterOrbit 27s linear infinite;
}

/* =========================================================
   INNER ORBIT ANIMATION
========================================================= */

@keyframes dfmaxLsInnerOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =========================================================
   OUTER ORBIT ANIMATION
========================================================= */

@keyframes dfmaxLsOuterOrbit {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* =========================================================
   CENTER CIRCLE
========================================================= */

.dfmax-ls-center {
  position: relative;

  z-index: 5;

  width: 220px;
  height: 220px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(145deg, #009cc5 0%, #007d9b 55%, #006b87 100%);

  color: #ffffff;

  box-shadow: 0 25px 60px rgba(0, 100, 125, 0.22);

  animation:
    dfmaxLsCenterFloat 4.5s ease-in-out infinite,
    dfmaxLsCenterShadow 4.5s ease-in-out infinite;
}

/* =========================================================
   CENTER FLOAT
========================================================= */

@keyframes dfmaxLsCenterFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* =========================================================
   CENTER SHADOW
========================================================= */

@keyframes dfmaxLsCenterShadow {
  0%,
  100% {
    box-shadow: 0 25px 60px rgba(0, 100, 125, 0.2);
  }

  50% {
    box-shadow: 0 30px 70px rgba(0, 156, 197, 0.32);
  }
}

/* =========================================================
   CENTER ICON
========================================================= */

.dfmax-ls-center > i {
  margin-bottom: 12px;

  color: #ffffff;

  font-size: 35px;

  animation: dfmaxLsIconFloat 3s ease-in-out infinite;
}

@keyframes dfmaxLsIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* =========================================================
   CENTER TITLE
========================================================= */

.dfmax-ls-center > strong {
  color: #ffffff;

  font-size: 29px;

  line-height: 1;

  font-weight: 800;

  letter-spacing: 0.3px;
}

/* =========================================================
   CENTER SUBTITLE
========================================================= */

.dfmax-ls-center > span {
  margin-top: 12px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 12px;
}

/* =========================================================
   BADGES
========================================================= */

.dfmax-ls-badge {
  position: absolute;

  z-index: 10;

  display: flex;

  align-items: center;

  gap: 10px;

  min-height: 58px;

  padding: 0 18px;

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: 14px;

  background: #ffffff;

  box-shadow: 0 14px 35px rgba(0, 50, 70, 0.1);

  color: #242424;

  font-size: 14px;

  font-weight: 800;

  white-space: nowrap;
}

/* =========================================================
   BADGE ICON
========================================================= */

.dfmax-ls-badge > i {
  color: #009cc5;

  font-size: 15px;

  transition: transform 0.3s ease;
}

/* =========================================================
   BADGE HOVER
========================================================= */

.dfmax-ls-badge:hover {
  box-shadow: 0 18px 42px rgba(0, 100, 125, 0.16);
}

.dfmax-ls-badge:hover > i {
  transform: scale(1.18);
}

/* =========================================================
   CLARITY
========================================================= */

.dfmax-ls-badge-clarity {
  top: 37px;

  left: 5%;

  animation: dfmaxLsClarity 4.5s ease-in-out infinite;
}

@keyframes dfmaxLsClarity {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -9px, 0) rotate(-1deg);
  }
}

/* =========================================================
   CUSTOMER
========================================================= */

.dfmax-ls-badge-customer {
  right: 0;

  top: 43%;

  animation: dfmaxLsCustomer 5s ease-in-out infinite;
}

@keyframes dfmaxLsCustomer {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(8px, -6px, 0) rotate(1deg);
  }
}

/* =========================================================
   TRANSPARENCY
========================================================= */

.dfmax-ls-badge-transparency {
  left: 9%;

  bottom: 30px;

  animation: dfmaxLsTransparency 4.8s ease-in-out infinite;
}

@keyframes dfmaxLsTransparency {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(1deg);
  }
}

/* =========================================================
   ORBIT DOT
========================================================= */

.dfmax-ls-orbit-dot {
  position: absolute;

  z-index: 4;

  left: 50%;
  top: 50%;

  width: 9px;
  height: 9px;

  margin-left: -4.5px;
  margin-top: -4.5px;

  border-radius: 50%;

  background: #009cc5;

  box-shadow:
    0 0 0 5px rgba(0, 156, 197, 0.08),
    0 0 20px rgba(0, 156, 197, 0.35);

  animation: dfmaxLsDotOrbit 9s linear infinite;
}

@keyframes dfmaxLsDotOrbit {
  from {
    transform: rotate(0deg) translateX(155px);
  }

  to {
    transform: rotate(360deg) translateX(155px);
  }
}

/* =========================================================
   SECOND SMALL DOT
========================================================= */

.dfmax-ls-visual {
  --dfmax-ls-dot-size: 6px;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {
  .dfmax-ls-visual {
    max-width: 560px;

    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {
  .dfmax-ls-visual {
    min-height: 380px;
  }

  .dfmax-ls-center {
    width: 190px;
    height: 190px;
  }

  .dfmax-ls-center > i {
    font-size: 30px;
  }

  .dfmax-ls-center > strong {
    font-size: 24px;
  }

  .dfmax-ls-center > span {
    font-size: 11px;
  }

  .dfmax-ls-ring-inner {
    width: 270px;
    height: 270px;
  }

  .dfmax-ls-ring-outer {
    width: 340px;
    height: 340px;
  }

  .dfmax-ls-badge {
    min-height: 51px;

    padding: 0 14px;

    font-size: 12px;

    border-radius: 12px;
  }

  .dfmax-ls-badge-clarity {
    top: 25px;

    left: 0;
  }

  .dfmax-ls-badge-customer {
    right: 0;
  }

  .dfmax-ls-badge-transparency {
    left: 3%;

    bottom: 20px;
  }

  .dfmax-ls-orbit-dot {
    animation-duration: 11s;
  }
}

/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .dfmax-ls-visual {
    min-height: 335px;
  }

  .dfmax-ls-center {
    width: 165px;
    height: 165px;
  }

  .dfmax-ls-center > i {
    margin-bottom: 8px;

    font-size: 25px;
  }

  .dfmax-ls-center > strong {
    font-size: 20px;
  }

  .dfmax-ls-center > span {
    margin-top: 8px;

    font-size: 9px;
  }

  .dfmax-ls-ring-inner {
    width: 235px;
    height: 235px;
  }

  .dfmax-ls-ring-outer {
    width: 295px;
    height: 295px;
  }

  .dfmax-ls-badge {
    min-height: 44px;

    padding: 0 10px;

    gap: 7px;

    border-radius: 10px;

    font-size: 10px;
  }

  .dfmax-ls-badge > i {
    font-size: 11px;
  }

  .dfmax-ls-badge-clarity {
    top: 15px;

    left: 0;
  }

  .dfmax-ls-badge-customer {
    right: 0;

    top: 43%;
  }

  .dfmax-ls-badge-transparency {
    left: 0;

    bottom: 15px;
  }

  .dfmax-ls-orbit-dot {
    width: 7px;
    height: 7px;

    margin-left: -3.5px;
    margin-top: -3.5px;

    animation-duration: 12s;
  }
}

/* =========================================================
   WHY CONTENT
========================================================= */
.dfmax-loan-services-why-content small {
  display: block;
  margin-bottom: 9px;
  color: var(--dfmax-primary);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.dfmax-loan-services-why-content h2 {
  margin: 0 0 15px;

  color: var(--dfmax-text);

  font-size: clamp(30px, 4vw, 40px);

  line-height: 1.2;

  font-weight: 800;
}

.dfmax-loan-services-why-content > p {
  margin: 0 0 28px;

  color: var(--dfmax-text-light);

  font-size: 15px;

  line-height: 1.75;
}

/* =========================================================
   BENEFIT LIST
========================================================= */

.dfmax-loan-services-benefit-list {
  display: grid;

  gap: 17px;
}

.dfmax-loan-services-benefit {
  display: flex;

  align-items: flex-start;

  gap: 13px;
}

.dfmax-loan-services-benefit-check {
  flex: 0 0 27px;

  width: 27px;
  height: 27px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(0, 156, 197, 0.1);

  color: var(--dfmax-primary);

  font-size: 11px;
}

.dfmax-loan-services-benefit strong {
  display: block;

  margin-bottom: 3px;

  color: var(--dfmax-text);

  font-size: 14px;

  font-weight: 800;
}

.dfmax-loan-services-benefit span {
  color: var(--dfmax-text-light);

  font-size: 12px;

  line-height: 1.5;
}

/* =========================================================
   HOW IT WORKS
========================================================= */

.dfmax-loan-services-how {
  padding: 40px 0;

  background: #ffffff;
}

.dfmax-loan-services-steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

  position: relative;
}

.dfmax-loan-services-step {
  position: relative;

  text-align: center;
}

.dfmax-loan-services-step-number {
  position: relative;

  z-index: 2;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: var(--dfmax-primary);

  color: #ffffff;

  font-size: 16px;

  font-weight: 800;

  box-shadow: 0 8px 20px rgba(0, 156, 197, 0.18);
}

.dfmax-loan-services-step h3 {
  margin: 0 0 8px;

  color: var(--dfmax-text);

  font-size: 17px;

  font-weight: 800;
}

.dfmax-loan-services-step p {
  max-width: 230px;

  margin: auto;

  color: var(--dfmax-text-light);

  font-size: 12px;

  line-height: 1.65;
}

/* =========================================================
   STEP CONNECTOR
========================================================= */

.dfmax-loan-services-steps::before {
  content: "";

  position: absolute;

  top: 28px;

  left: 12%;

  right: 12%;

  height: 1px;

  background: #dce8eb;
}

/* =========================================================
   CTA
========================================================= */

.dfmax-loan-services-cta {
  padding: 40px 20px;

  background: var(--dfmax-footer);

  text-align: center;
}

.dfmax-loan-services-cta-inner {
  max-width: 750px;

  margin: auto;
}

.dfmax-loan-services-cta h2 {
  margin: 0 0 14px;

  color: #ffffff;

  font-size: clamp(29px, 4vw, 41px);

  font-weight: 800;
}

.dfmax-loan-services-cta p {
  max-width: 650px;

  margin: 0 auto 28px;

  color: rgba(255, 255, 255, 0.75);

  font-size: 15px;

  line-height: 1.7;
}

.dfmax-loan-services-cta-buttons {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.dfmax-loan-services-btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  min-height: 48px;

  padding: 0 23px;

  border-radius: 10px;

  background: var(--dfmax-accent);

  color: #ffffff;

  text-decoration: none;

  font-size: 13px;

  font-weight: 800;

  transition: var(--dfmax-transition);
}

.dfmax-loan-services-btn-primary:hover {
  color: #ffffff;

  background: #e96727;

  transform: translateY(-2px);
}

.dfmax-loan-services-btn-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  min-height: 48px;

  padding: 0 23px;

  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.28);

  color: #ffffff;

  text-decoration: none;

  font-size: 13px;

  font-weight: 800;

  transition: var(--dfmax-transition);
}

.dfmax-loan-services-btn-outline:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .dfmax-loan-services-hero-grid {
    gap: 45px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(370px, 0.9fr);
  }

  .dfmax-loan-services-hero h1 {
    font-size: 53px;
  }

  .dfmax-loan-services-floating-card {
    right: -15px;
  }

  .dfmax-loan-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .dfmax-loan-services-hero {
    padding: 70px 0 85px;
  }

  .dfmax-loan-services-hero-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .dfmax-loan-services-hero-content {
    max-width: 760px;

    margin: auto;

    text-align: center;
  }

  .dfmax-loan-services-hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .dfmax-loan-services-hero-buttons {
    justify-content: center;
  }

  .dfmax-loan-services-hero-visual {
    max-width: 560px;

    width: 100%;

    margin: auto;
  }

  .dfmax-loan-services-why-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .dfmax-loan-services-why-content {
    max-width: 700px;

    margin: auto;
  }

  .dfmax-loan-services-steps {
    grid-template-columns: repeat(2, 1fr);

    gap: 35px;
  }

  .dfmax-loan-services-steps::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .dfmax-loan-services-hero {
    padding: 55px 0 70px;
  }

  .dfmax-loan-services-hero h1 {
    font-size: 42px;

    letter-spacing: -1.2px;
  }

  .dfmax-loan-services-hero-content > p {
    font-size: 15px;

    line-height: 1.7;
  }

  .dfmax-loan-services-hero-visual {
    min-height: 400px;
  }

  .dfmax-loan-services-hero-card {
    padding: 30px;

    border-radius: 17px;
  }

  .dfmax-loan-services-hero-card-icon {
    width: 64px;
    height: 64px;

    font-size: 24px;
  }

  .dfmax-loan-services-hero-card h2 {
    font-size: 27px;
  }

  .dfmax-loan-services-floating-card {
    right: -5px;

    bottom: 0;

    width: 290px;
  }

  .dfmax-loan-services-section,
  .dfmax-loan-services-how {
    padding: 60px 0;
  }

  .dfmax-loan-services-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .dfmax-loan-service-card {
    min-height: 250px;
  }

  .dfmax-loan-services-why {
    padding: 60px 0;
  }

  .dfmax-loan-services-why-visual {
    min-height: 370px;
  }

  .dfmax-loan-services-center-card {
    width: 190px;
    height: 190px;
  }

  .dfmax-loan-services-orbit.orbit-one {
    width: 270px;
    height: 270px;
  }

  .dfmax-loan-services-orbit.orbit-two {
    width: 340px;
    height: 340px;
  }

  .dfmax-loan-services-mini-card.one {
    left: 0;
  }

  .dfmax-loan-services-mini-card.two {
    right: 0;
  }

  .dfmax-loan-services-mini-card.three {
    left: 3%;
  }
}

@media (max-width: 480px) {
  .dfmax-loan-services-hero {
    padding: 45px 0 65px;
  }

  .dfmax-loan-services-eyebrow {
    font-size: 11px;
  }

  .dfmax-loan-services-hero h1 {
    font-size: 34px;
  }

  .dfmax-loan-services-hero-content > p {
    font-size: 14px;
  }

  .dfmax-loan-services-hero-buttons {
    flex-direction: column;

    width: 100%;
  }

  .dfmax-loan-services-hero-btn-primary,
  .dfmax-loan-services-hero-btn-secondary {
    width: 100%;
  }

  .dfmax-loan-services-hero-visual {
    min-height: 390px;

    padding-bottom: 45px;
  }

  .dfmax-loan-services-hero-card {
    padding: 24px 20px;
  }

  .dfmax-loan-services-hero-card-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 20px;
  }

  .dfmax-loan-services-hero-card h2 {
    font-size: 23px;
  }

  .dfmax-loan-services-hero-card p {
    font-size: 13px;
  }

  .dfmax-loan-services-floating-card {
    width: calc(100% - 10px);

    right: 5px;
  }

  .dfmax-loan-services-section,
  .dfmax-loan-services-how {
    padding: 50px 0;
  }

  .dfmax-loan-services-service-card {
    padding: 22px;
  }

  .dfmax-loan-services-why-visual {
    min-height: 330px;
  }

  .dfmax-loan-services-center-card {
    width: 165px;
    height: 165px;
  }

  .dfmax-loan-services-center-card i {
    font-size: 27px;
  }

  .dfmax-loan-services-center-card strong {
    font-size: 18px;
  }

  .dfmax-loan-services-orbit.orbit-one {
    width: 235px;
    height: 235px;
  }

  .dfmax-loan-services-orbit.orbit-two {
    width: 295px;
    height: 295px;
  }

  .dfmax-loan-services-mini-card {
    padding: 9px 11px;

    font-size: 10px;
  }

  .dfmax-loan-services-mini-card.one {
    top: 20px;
  }

  .dfmax-loan-services-mini-card.two {
    top: 44%;
  }

  .dfmax-loan-services-mini-card.three {
    bottom: 15px;
  }

  .dfmax-loan-services-steps {
    grid-template-columns: 1fr;
  }
}
