:root {
  --header-height: 88px;

  --primary: #147CEB;
  --primary-dark: #0E62BD;
  --secondary: #39D400;

  --navy: #0F172A;
  --text-dark: #202020;
  --text-muted: #666666;

  --white: #ffffff;
  --light-bg: #F5FAFF;
  --border: #E4EEF9;

  --transition: 0.25s ease;
}


.shared-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 1200;

  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    background-color var(--transition),
    box-shadow var(--transition);
}

.header-scrolled .shared-header {
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.10);
}


.header-container {
  width: 100%;
  min-height: var(--header-height);

  margin: 0 auto;
  padding-left: clamp(70px, 9vw, 200px);
  padding-right: clamp(70px, 9vw, 200px);

  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;

  gap: 34px;
}

.brand-logo {
  min-width: 0;

  display: inline-flex;
  align-items: center;
  justify-self: start;

  gap: 12px;

  color: var(--navy);
  text-decoration: none;
}
.logo-image {
  width: 100px;
  height: auto;
  object-fit: contain;
  transition: 0.3s ease;
}
/* .logo-image {
  width: 56px;
  height: 56px;

  display: block;
  flex-shrink: 0;

  object-fit: contain;
  border-radius: 10px;
} */

.brand-text {
  min-width: 0;

  display: flex;
  flex-direction: column;

  line-height: 1.2;
}

.brand-text strong {
  color: var(--navy);

  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;

  white-space: nowrap;
}

.brand-text small {
  margin-top: 4px;

  color: var(--text-muted);

  font-size: 0.7rem;
  font-weight: 600;

  white-space: nowrap;
}

.main-navigation {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Move desktop navigation slightly to the right */
  transform: translateX(75px);
}
/* .main-navigation {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
} */

.nav-list {
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(22px, 2.5vw, 44px);

  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;

  min-height: 48px;
  padding: 0 4px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--text-dark);

  font-size: 1.05rem;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;

  border-radius: 8px;

  transition:
    color var(--transition),
    background-color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary);
  outline: none;
}

.nav-item.active > .nav-link {
  color: var(--primary);
}

.nav-item.active > .nav-link::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;

  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-dark)
  );

  border-radius: 999px;
}


.mobile-nav-arrow {
  display: none;
}



.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;

  gap: 12px;
}

.mobile-menu-toggle {
  width: 46px;
  height: 46px;

  padding: 10px;

  display: none;
  flex-shrink: 0;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;

  display: block;

  margin: 4px auto;

  background: var(--navy);

  border-radius: 999px;

  transition:
    transform var(--transition),
    opacity var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


.mobile-drawer-header,
.mobile-menu-overlay {
  display: none;
}


.main-content {
  padding-top: var(--header-height);
}



.shared-footer {
  position: relative;

  margin: 0;

  color: #ffffff;
  background: linear-gradient(135deg, #147CEB, #0E62BD);

  overflow: hidden;
}

.shared-footer::before,
.shared-footer::after {
  display: none;
}

/* .footer-main {
  padding: 72px 0 48px;
} */
 .footer-main {
  padding: 42px 0 30px;
}

.footer-container {
  width: min(1200px, calc(100% - 48px));

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;

  gap: 64px;
}

.footer-column {
  min-width: 0;
}


.footer-brand {
  display: inline-flex;
  align-items: center;

  gap: 13px;

  color: #ffffff;
  text-decoration: none;
}

.footer-logo-image {
  width: 60px;
  height: 60px;

  padding: 4px;

  display: block;
  flex-shrink: 0;

  object-fit: contain;

  background: #ffffff;

  border-radius: 14px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1.2;
}

.footer-brand-text strong {
  color: #ffffff;

  font-family: "Manrope", sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
}

.footer-brand-text small {
  margin-top: 5px;

  color: rgba(255, 255, 255, 0.66);

  font-size: 0.73rem;
}

.footer-description {
  max-width: 420px;

  margin: 24px 0 0;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.93rem;
  line-height: 1.85;
}


.footer-social-links {
  margin-top: 24px;

  display: flex;
  align-items: center;

  gap: 11px;
}

.footer-social-links a {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  text-decoration: none;

  transition:
    transform var(--transition),
    background-color var(--transition);
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: #ffffff;
  background: var(--primary);

  transform: translateY(-3px);

  outline: none;
}


.footer-title {
  position: relative;

  margin: 0 0 27px;
  padding-bottom: 13px;

  color: #ffffff;

  font-family: "Manrope", sans-serif;
  font-size: 1.14rem;
  font-weight: 750;
}

.footer-title::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 42px;
  height: 3px;

  background: var(--secondary);

  border-radius: 999px;
}


.footer-links-list {
  margin: 0;
  padding: 0;

  display: grid;

  gap: 13px;

  list-style: none;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.92rem;

  text-decoration: none;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-links-list a i {
  color: var(--secondary);
  font-size: 0.68rem;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible {
  color: #ffffff;

  transform: translateX(5px);

  outline: none;
}


.footer-contact-list {
  display: grid;

  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;

  gap: 13px;
}

.footer-contact-icon {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;
  flex-shrink: 0;

  color: var(--secondary);

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.footer-contact-item div:last-child {
  min-width: 0;
}

.footer-contact-item small {
  display: block;

  margin-bottom: 4px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 0.71rem;
  font-weight: 600;
}

.footer-contact-item p,
.footer-contact-item a {
  margin: 0;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.89rem;
  line-height: 1.6;

  text-decoration: none;

  overflow-wrap: anywhere;
}

.footer-contact-item a:hover {
  color: #ffffff;
}



.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom-container {
  width: min(1200px, calc(100% - 48px));
  min-height: 72px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;

  gap: 14px;
}

.footer-bottom-links span {
  width: 4px;
  height: 4px;

  background: rgba(255, 255, 255, 0.35);

  border-radius: 50%;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.66);

  font-size: 0.85rem;

  text-decoration: none;

  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}


.sticky-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;

  z-index: 1500;

  width: 66px;
  height: 66px;

  display: grid;
  place-items: center;

  color: #ffffff;
  background: #25d366;

  border: 4px solid #ffffff;
  border-radius: 21px;

  box-shadow:
    0 12px 30px rgba(5, 35, 20, 0.25),
    0 0 0 7px rgba(37, 211, 102, 0.15);

  text-decoration: none;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.sticky-whatsapp:hover,
.sticky-whatsapp:focus-visible {
  color: #ffffff;

  transform: translateY(-4px) scale(1.03);

  box-shadow:
    0 17px 36px rgba(5, 35, 20, 0.3),
    0 0 0 9px rgba(37, 211, 102, 0.15);

  outline: none;
}

.whatsapp-icon {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;
}

.whatsapp-icon i {
  font-size: 2.05rem;
}

.whatsapp-pulse {
  position: absolute;
  inset: -8px;

  z-index: -1;

  border: 2px solid rgba(37, 211, 102, 0.42);
  border-radius: 26px;

  animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.86);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}



@media (min-width: 993px) and (max-width: 1200px) {
  .header-container {
    padding-left: 60px;
    padding-right: 60px;

    grid-template-columns: auto minmax(0, 1fr) auto;

    gap: 24px;
  }

  .main-navigation {
    transform: translateX(35px);
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}



@media (max-width: 992px) {
  :root {
    --header-height: 76px;
  }

  .header-container {
  width: 100%;
  min-height: var(--header-height);

  padding-left: 28px;
  padding-right: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;
}

  .brand-logo {
    max-width: calc(100% - 62px);

    justify-self: auto;

    overflow: hidden;
  }

  /* .logo-image {
    width: 48px;
    height: 48px;
  } */
   .logo-image {
  width: 118px;
  height: 58px;

  object-fit: contain;
  object-position: left center;
}

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.63rem;
  }
.mobile-menu-toggle {
    display: block;
  }


  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;

    transform: none;
    
    z-index: 1450;

    width: min(390px, 90vw);
    max-width: 390px;
    height: 100dvh;

    padding: 0;

    display: block;

    overflow-x: hidden;
    overflow-y: auto;

    background: #ffffff;

    border-left: 1px solid var(--border);

    box-shadow:
      -18px 0 55px rgba(17, 17, 17, 0.20);

    pointer-events: none;

    transition: right 0.3s ease;
  }

  .main-navigation.menu-open {
    right: 0;

    pointer-events: auto;
  }


 .mobile-drawer-header {
  position: sticky;
  top: 0;

  width: 100%;
  min-height: 92px;

  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  background: #ffffff;

  border-bottom: 1px solid var(--border);

  z-index: 20;
}

  .mobile-drawer-brand {
  min-width: 0;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  flex: 1;

  color: var(--navy);
  text-decoration: none;
}

.mobile-drawer-brand img {
  width: 125px;
  height: 64px;

  display: block;
  flex-shrink: 0;

  object-fit: contain;
  object-position: left center;

  border-radius: 0;
}

  .mobile-drawer-brand span {
    display: none !important;
  }

  .mobile-drawer-close {
  width: 46px;
  height: 46px;

  padding: 0;

  display: grid;
  place-items: center;
  flex: 0 0 46px;

  color: #111111;
  background: #f7f7f7;

  border: 1px solid #e5e5e5;
  border-radius: 50%;

  font-size: 1.25rem;

  cursor: pointer;

  position: relative;
  z-index: 25;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.mobile-drawer-close i {
  display: block;

  color: inherit;

  font-size: 1.25rem;
  line-height: 1;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
  color: #ffffff;
  background: var(--primary);

  border-color: var(--primary);

  transform: rotate(90deg);

  outline: none;
}


  .nav-list {
    width: 100%;

    margin: 0;
    padding: 28px 20px 0;

    display: grid;
    align-items: initial;
    justify-content: initial;

    gap: 10px;

    list-style: none;
  }

  .nav-item {
    width: 100%;

    border: none;
  }

  .nav-link {
    width: 100%;
    min-height: 62px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 0;

    color: var(--text-dark);
    background: transparent;

    border-radius: 15px;

    font-size: 1.08rem;
    font-weight: 750;

    text-align: left;
    white-space: nowrap;

    transition:
      color var(--transition),
      background-color var(--transition);
  }

  .nav-link span {
    display: block;

    width: 100%;
    flex: initial;

    text-align: left;
  }


  .mobile-nav-arrow {
    display: none !important;
  }

  .nav-item.active > .nav-link {
    color: var(--primary);
    background: rgba(20, 124, 235, 0.09);
  }

  .nav-item.active > .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    color: var(--primary);
    background: rgba(20, 124, 235, 0.07);

    outline: none;
  }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;

    z-index: 1440;

    display: block;

    background: rgba(17, 17, 17, 0.56);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-scroll-lock {
    overflow: hidden;
  }


  .footer-container {
    width: calc(100% - 56px);

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 46px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-description {
    max-width: 650px;
  }
}


@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header-container {
    padding-left: 22px;
    padding-right: 18px;
  }

  .brand-logo {
    max-width: calc(100% - 58px);

    gap: 9px;
  }

  .logo-image {
  width: 105px;
  height: 52px;

  object-fit: contain;
  object-position: left center;
}

  .brand-text strong {
    max-width: 175px;

    overflow: hidden;

    font-size: 0.88rem;

    text-overflow: ellipsis;
  }

  .brand-text small {
    max-width: 175px;

    overflow: hidden;

    font-size: 0.59rem;

    text-overflow: ellipsis;
  }

  .mobile-menu-toggle {
    width: 43px;
    height: 43px;

    padding: 9px;
  }

  .main-navigation {
    width: min(360px, 92vw);
    max-width: 360px;
  }

  .mobile-drawer-header {
    min-height: 80px;

    padding: 12px 16px;
  }

 .mobile-drawer-brand img {
  width: 115px;
  height: 58px;

  object-fit: contain;
  object-position: left center;
}

  .mobile-drawer-close {
  width: 44px;
  height: 44px;

  flex-basis: 44px;

  font-size: 1.15rem;
}

  .nav-list {
    padding: 24px 16px 0;

    gap: 8px;
  }

  .nav-link {
    min-height: 60px;

    padding: 0 18px;

    font-size: 1.03rem;
  }
.shared-footer {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

  .footer-main {
    padding: 52px 0 38px;
  }

  .footer-container {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;

    gap: 40px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom-container {
    width: calc(100% - 40px);

    padding: 20px 0;

    flex-direction: column;

    justify-content: center;

    text-align: center;
  }

  .sticky-whatsapp {
    right: 16px;
    bottom: 17px;

    width: 57px;
    height: 57px;

    border-width: 3px;
    border-radius: 18px;
  }

  .whatsapp-icon i {
    font-size: 1.82rem;
  }

  .whatsapp-pulse {
    border-radius: 22px;
  }
}


@media (max-width: 480px) {
  .main-navigation {
    width: min(335px, 92vw);
    max-width: 335px;
  }

  .mobile-drawer-header {
    min-height: 76px;

    padding: 10px 14px;
  }

  .mobile-drawer-brand img {
    width: 105px;
    height: 54px;

    object-fit: contain;
    object-position: left center;
  }

  .mobile-drawer-close {
  width: 42px;
  height: 42px;

  flex-basis: 42px;

  font-size: 1.1rem;
}

  .nav-list {
    padding: 22px 14px 0;

    gap: 7px;
  }

  .nav-link {
    min-height: 58px;

    padding: 0 16px;

    font-size: 1rem;
  }
.shared-footer {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

  .footer-container {
    width: calc(100% - 32px);
  }

  .footer-bottom-container {
    width: calc(100% - 32px);
  }

  .footer-bottom-links {
    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;
  }
}


/* =========================================================
   UNIVERSAL LOANS HEADER PHONE
========================================================= */

.header-phone {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--navy);

  text-decoration: none;
}

.header-phone-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );

  border-radius: 13px;

  box-shadow:
    0 10px 22px rgba(20, 124, 235, 0.22);
}

.header-phone-content {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.header-phone-content small {
  margin-bottom: 4px;

  color: var(--text-muted);

  font-size: 0.66rem;
  font-weight: 600;
}

.header-phone-content strong {
  color: var(--navy);

  font-size: 0.82rem;
  font-weight: 800;

  white-space: nowrap;
}

/* =========================================================
   HEADER LOANS DROPDOWN
========================================================= */

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  gap: 7px;

  background: transparent;
  border: none;

  cursor: pointer;
}

.dropdown-chevron {
  font-size: 0.72rem;

  transition:
    transform var(--transition);
}

.nav-dropdown.dropdown-open
.dropdown-chevron {
  transform: rotate(180deg);
}

.loans-dropdown-menu {
  /* position: absolute;
  top: calc(100% + 13px);
  left: 50%; */
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;

  z-index: 1300;

  width: 590px;

  padding: 20px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 22px;

  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.16);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translate(-50%, 14px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.loans-dropdown-menu::before {
  content: "";

  position: absolute;
  top: -8px;
  left: 50%;

  width: 16px;
  height: 16px;

  background: #ffffff;

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);

  transform:
    translateX(-50%)
    rotate(45deg);
}

.nav-dropdown.dropdown-open
.loans-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translate(-50%, 0);
}

@media (min-width: 993px) {
  .nav-dropdown:hover
  .loans-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
      translate(-50%, 0);
  }

  .nav-dropdown:hover
  .dropdown-chevron {
    transform: rotate(180deg);
  }
}

/* Dropdown heading */

.loans-dropdown-header {
  position: relative;

  margin-bottom: 15px;
  padding: 12px 14px 18px;

  display: flex;
  align-items: center;

  gap: 12px;

  border-bottom: 1px solid var(--border);
}

.loans-dropdown-header-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;
  flex-shrink: 0;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );

  border-radius: 14px;

  font-size: 1.1rem;
}

.loans-dropdown-header div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.loans-dropdown-header strong {
  color: var(--navy);

  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.loans-dropdown-header small {
  margin-top: 3px;

  color: var(--text-muted);

  font-size: 0.73rem;
}

/* Two items in each row */

.loans-dropdown-grid {
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  list-style: none;
}

.loan-dropdown-item {
  min-width: 0;
}

.loan-dropdown-link {
  width: 100%;
  min-height: 72px;

  padding: 12px;

  display: flex;
  align-items: center;

  gap: 11px;

  color: var(--text-dark);
  background: #f8fbff;

  border: 1px solid transparent;
  border-radius: 16px;

  text-decoration: none;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.loan-dropdown-link:hover,
.loan-dropdown-link:focus-visible,
.loan-dropdown-link.active {
  color: var(--primary);

  background: #ffffff;

  border-color:
    rgba(20, 124, 235, 0.24);

  box-shadow:
    0 10px 24px
    rgba(20, 124, 235, 0.1);

  transform: translateY(-2px);

  outline: none;
}

.loan-dropdown-icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;
  flex-shrink: 0;

  color: var(--primary);

  background:
    rgba(20, 124, 235, 0.1);

  border-radius: 12px;

  transition:
    color var(--transition),
    background-color var(--transition);
}

.loan-dropdown-link:hover
.loan-dropdown-icon,
.loan-dropdown-link.active
.loan-dropdown-icon {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );
}

.loan-dropdown-content {
  min-width: 0;
  flex: 1;
}

.loan-dropdown-content strong {
  display: block;

  color: inherit;

  font-size: 0.89rem;
  font-weight: 750;
  line-height: 1.35;
}

.loan-dropdown-arrow {
  color: var(--secondary);

  font-size: 0.72rem;

  opacity: 0;

  transform: translateX(-5px);

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.loan-dropdown-link:hover
.loan-dropdown-arrow,
.loan-dropdown-link.active
.loan-dropdown-arrow {
  opacity: 1;

  transform: translateX(0);
}

/* =========================================================
   FOOTER FOUR COLUMN LAYOUT
========================================================= */

.footer-container {
  grid-template-columns:
    1.35fr 0.65fr 0.9fr 1.1fr;

  gap: 45px;
}

.footer-logo-image {
  width: 180px;
  height: auto;

  padding: 10px;

  object-fit: contain;

  background: #ffffff;

  border-radius: 16px;
}

.footer-view-more {
  margin-top: 18px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: var(--secondary);

  font-size: 0.9rem;
  font-weight: 750;

  text-decoration: none;

  transition:
    color var(--transition),
    gap var(--transition);
}

.footer-view-more:hover,
.footer-view-more:focus-visible {
  color: #ffffff;
  gap: 12px;

  outline: none;
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (min-width: 993px) and (max-width: 1200px) {
  .header-phone {
    display: none;
  }

  .loans-dropdown-menu {
    width: 540px;
  }

  .footer-container {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 45px;
  }
}

/* =========================================================
   MOBILE AND TABLET DRAWER DROPDOWN
========================================================= */

@media (max-width: 992px) {
  .header-phone {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-trigger {
    width: 100%;

    justify-content: flex-start;
  }

  .dropdown-trigger span {
    width: auto;
    flex: 1;
  }

  .dropdown-chevron {
    margin-left: auto;

    display: block;
  }

  .loans-dropdown-menu {
    position: static;

    width: 100%;

    margin: 0;
    padding: 0 10px;

    background: transparent;

    border: none;
    border-radius: 0;

    box-shadow: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;

    display: none;
  }

  .loans-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.dropdown-open
  .loans-dropdown-menu {
    display: block;

    transform: none;
  }

  .loans-dropdown-header {
    display: none;
  }

  .loans-dropdown-grid {
    padding: 7px 0 5px;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;
  }

  .loan-dropdown-link {
    min-height: 66px;

    padding: 10px;

    background: var(--light-bg);

    border-color: var(--border);

    border-radius: 14px;
  }

  .loan-dropdown-icon {
    width: 36px;
    height: 36px;

    border-radius: 10px;

    font-size: 0.88rem;
  }

  .loan-dropdown-content strong {
    font-size: 0.72rem;
  }

  .loan-dropdown-arrow {
    display: none;
  }

  .footer-container {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 42px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {
  .loans-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .loan-dropdown-link {
    min-height: 60px;
  }

  .loan-dropdown-content strong {
    font-size: 0.82rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-logo-image {
    width: 160px;
  }
}

/* =========================================================
   LOANS MAIN LINK + SEPARATE DROPDOWN ARROW
========================================================= */

.nav-dropdown-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 3px;
}

.loans-main-link {
  padding-right: 2px;
}

.nav-dropdown-control .dropdown-trigger {
  width: 30px;
  height: 42px;

  padding: 0;

  display: inline-grid;
  place-items: center;

  color: var(--text-dark);
  background: transparent;

  border: none;
  border-radius: 8px;

  cursor: pointer;

  transition:
    color var(--transition),
    background-color var(--transition);
}

.nav-dropdown-control .dropdown-trigger:hover,
.nav-dropdown-control .dropdown-trigger:focus-visible {
  color: var(--primary);
  background: rgba(20, 124, 235, 0.08);

  outline: none;
}

.nav-dropdown.active .loans-main-link,
.nav-dropdown.dropdown-open .loans-main-link {
  color: var(--primary);
}

.nav-dropdown.active .loans-main-link::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--primary-dark)
    );

  border-radius: 999px;
}

@media (max-width: 992px) {
  .nav-dropdown-control {
    width: 100%;

    display: flex;
    align-items: center;
  }

  .nav-dropdown-control .loans-main-link {
    width: calc(100% - 54px);
    flex: 1;
  }

  .nav-dropdown-control .dropdown-trigger {
    width: 50px;
    height: 60px;

    flex-shrink: 0;

    color: var(--text-dark);
    background: transparent;

    border-radius: 14px;
  }

  .nav-dropdown.dropdown-open
  .nav-dropdown-control
  .dropdown-trigger {
    color: var(--primary);
    background: rgba(20, 124, 235, 0.08);
  }
}