:root {
  /* Colores Principales */
  --Primary-Blue-50: rgba(237, 245, 255, 1);
  --Primary-Blue-100: rgba(222, 237, 255, 1);
  --Primary-Blue-700: rgba(44, 66, 208, 1);
  --Primary-Blue-800: rgba(41, 60, 170, 1);
  --Primary-Blue-900: rgba(41, 57, 134, 1);
  --Primary-Blue-950: rgba(24, 32, 78, 1);
  --Primary-DarkBlue-950: rgba(14, 29, 55, 1);
  --Primary-DarkBlue-100: rgba(218, 239, 255, 1);
  --Primary-DarkBlue-50: rgba(239, 248, 255, 1);

  /* Colores Neutros */
  --Secondary-Neutral-0: rgba(255, 255, 255, 1);
  --Secondary-Neutral-50: rgba(246, 246, 246, 1);
  --Secondary-Neutral-100: rgba(231, 231, 231, 1);
  --Secondary-Neutral-300: rgba(176, 176, 176, 1);
  --Secondary-Neutral-400: rgba(136, 136, 136, 1);
  --Secondary-Neutral-500: rgba(109, 109, 109, 1);
  --Secondary-Neutral-600: rgba(93, 93, 93, 1);
  --Secondary-Neutral-900: rgba(61, 61, 61, 1);
  --Secondary-Neutral-950: rgba(38, 38, 38, 1);

  /* Espaciado */
  --spacing-xxs: 0.5rem;
  --spacing-xs: 1rem;
  --spacing-s: 1.5rem;
  --spacing-m: 2rem;
  --spacing-l: 3rem;

  /* Bordes */
  --radius-xs: 1rem;
  --radius-xss: 0.5rem;

  /* Tamaños de fuentes */
  --font-size-xxs: 0.75rem;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
}


/* Fuentes */
@font-face {
  font-family: "Montserrat";
  src: url("/documents/d/global/Montserrat-Regular-2") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/documents/d/global/Montserrat-Medium-2") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/documents/d/global/Montserrat-Bold-2") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/documents/d/global/Montserrat-Black-2") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Hammersmith One";
  src: url("/documents/d/global/HammersmithOne-Regular-2") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Base */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-sm);
  box-sizing: border-box;
}

header.cadmin.portlet-topper {
  z-index: 10;
}

.portlet {
  margin-bottom: 0px;
}

.portlet-content-editable {
  border-width: 0px !important;
}

a {
  text-decoration: none;
}

/* Clases de fuente consolidadas */
.font-white {
  color: var(--Secondary-Neutral-0);
}

.font-1 {
  font-family: Open Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--Primary-DarkBlue-950);
}

.font-2,
.font-3 {
  font-family: Montserrat;
  font-weight: 500;
  line-height: 150%;
  vertical-align: middle;
  color: var(--Secondary-Neutral-0);
}

.font-2 {
  font-size: 16px;
}

.font-3 {
  font-size: var(--font-size-xs);
}

.font-4,
.font-6,
.font-9,
.font-14,
.font-15,
.font-17,
.font-21,
.nav-link-empresa,
.nav-link-2-empresa,
.nav-link-inver,
.nav-link-2-inver,
.text-dark-empresa,
.text-dark-inver {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
}

.font-4 {
  color: var(--Secondary-Neutral-100);
}

.font-6 {
  color: var(--Secondary-Neutral-600);
}

.font-9 {
  color: var(--Secondary-Neutral-400);
}

.font-14 {
  text-align: center;
  color: var(--Secondary-Neutral-950);
}

.font-15 {
  text-align: center;
  color: var(--Primary-Blue-900);
}

.font-17 {
  color: var(--Primary-Blue-100);
}

.font-21 {
  text-align: center;
  color: var(--Primary-Blue-700);
}

.font-5,
.font-8,
.font-16,
.font-20 {
  font-family: Hammersmith One;
  font-weight: 400;
  line-height: 150%;
  vertical-align: middle;
}

.font-5 {
  font-size: 32px;
  color: #2c42d0;
}

.font-8 {
  font-size: 32px;
  color: var(--Secondary-Neutral-0);
}

.font-16 {
  font-size: 32px;
  color: var(--Primary-DarkBlue-100);
}

.font-20 {
  font-size: 40px;
  color: var(--Primary-Blue-950);
}

.font-7,
.font-11,
.font-22 {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
}

.font-7 {
  color: #981e32;
}

.font-11 {
  vertical-align: middle;
  color: var(--Primary-DarkBlue-950);
}

.font-22 {
  color: var(--Primary-Blue-900);
}

.font-10,
.font-23 {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
}

.font-10 {
  color: var(--Primary-DarkBlue-950);
}

.font-23 {
  color: var(--Secondary-Neutral-950);
}

.font-12 {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--Primary-Blue-950);
}

.font-13 {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  vertical-align: middle;
  color: var(--Secondary-Neutral-950);
}

.font-18 {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 25px;
  line-height: 130%;
  color: var(--Primary-Blue-50);
}

.font-19,
.font-25 {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  vertical-align: middle;
}

.font-19 {
  color: var(--Primary-Blue-950);
}

.font-25 {
  color: var(--Secondary-Neutral-900);
}

.font-24 {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  vertical-align: middle;
  color: var(--Secondary-Neutral-300);
}

.font-29:hover,
.nav-link:hover {
  color: white !important;
  text-decoration: underline;
}

.font-26 {
  font-family: Font Awesome 6 Free;
  font-weight: 900;
  font-size: 32px;
  line-height: 100%;
  vertical-align: middle;
  color: var(--Primary-DarkBlue-950);
}

.font-27 {
  color: #971e32;
  font-size: 18px;
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
}

/* Colores de utilidad */
.color-blue-700 {
  color: var(--Primary-Blue-700);
}

.color-blue-900 {
  color: var(--Primary-Blue-900);
}

.color-darkblue-950 {
  color: var(--Primary-DarkBlue-950);
}

/* Modales - Base común */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-overlay.show {
  display: flex;
}

/* Modal personalizado */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 97%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
}

.custom-modal-overlay.show {
  display: flex;
}

/* Separador */
.divider-accent {
  border: none;
  border-top: 4px solid #971e32;
  margin: 0;
  width: 80px;
  border-radius: 60px;
  justify-self: center;
}

/* Modal transaccional - hereda de modal-overlay */
.modal-transaccional-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: none;
}

.modal-transaccional-overlay.show {
  display: flex;
}

.custom-modal {
  background: var(--Secondary-Neutral-0);
  border-radius: 16px;
  width: 100%;
  max-width: 1145px;
  border: 8px solid var(--Secondary-Neutral-100);
  height: auto;
  margin: auto;
  position: relative;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.custom-modal-header {
  padding: 30px 30px 20px;
  text-align: center;
  position: relative;
}

.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--Secondary-Neutral-950);
  font-weight: 700;
}

.logo-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.logo-main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
}

.partners-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.welcome-title {
  margin-bottom: 8px;
}

.welcome-subtitle {
  margin-bottom: 15px;
}

.selection-title {
  margin-bottom: 15px;
  text-align: center;
}

.custom-modal-body {
  padding: 0 20px 20px;
}

.profile-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
  height: 190px;
}

.profile-card:hover {
  border-color: #2c5aa0;
  box-shadow: 0 2px 10px rgba(44, 90, 160, 0.1);
}

.profile-card.personas {
  background: radial-gradient(91.99% 100.47% at 115.43% 15.84%,
      rgba(222, 237, 255, 0) 0%,
      rgba(222, 237, 255, 0.5) 50.9%,
      #deedff 100%),
    url("/documents/d/global/fondosdeinversioncolectiva");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.profile-card.empresa {
  background: radial-gradient(91.99% 100.47% at 115.43% 15.84%,
      rgba(222, 237, 255, 0) 0%,
      rgba(222, 237, 255, 0.5) 50.9%,
      #deedff 100%),
    url("/documents/d/global//mercadoscapitales");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.profile-card.inversionista {
  background: radial-gradient(91.99% 100.47% at 115.43% 15.84%,
      rgba(222, 237, 255, 0) 0%,
      rgba(222, 237, 255, 0.5) 50.9%,
      #deedff 100%),
    url("/documents/d/global/portafoliosindividuales");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.profile-title {
  max-width: 226px;
  margin-bottom: 10px;
}

.card-body {
  margin-top: auto;
}

.card-body h6 {
  background: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: #1A356C;
}

/* Modal transaccional */
.modal-transaccional-overlay {
  padding: 1rem;
}

.modal-transaccional {
  background: white;
  border-radius: 12px;
  max-width: 1224px;
  height: 655px;
  position: relative;
  border: 8px solid var(--Secondary-Neutral-100);
  overflow: hidden;
  display: flex;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-left {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-left img {
  width: 90%;
  height: 90%;
  border-radius: 16px;
  object-fit: cover;
}

.modal-right {
  flex: 1.2;
  padding: 40px;
  position: relative;
}

.security-icon i {
  width: 50px;
  height: 40px;
  font-family: Font Awesome 6 Free;
  font-weight: 900;
  font-size: 40px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  margin: 16px 0;
  color: var(--Primary-DarkBlue-950);
}

.modal-title {
  color: var(--Primary-Blue-950);
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
  vertical-align: middle;
}

.modal-subtitle {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  vertical-align: middle;
  color: var(--Secondary-Neutral-600);
  margin-bottom: 20px;
}

.banks-section {
  width: 100%;
  margin-bottom: 30px;
}

.banks-logos {
  display: flex;
  gap: 20px;
  align-items: center;
}

.bank-logo {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: #666;
}

.selected-bank {
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 5px;
}

.services-section {
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.service-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  color: var(--Primary-DarkBlue-950);
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
}

.service-btn:hover {
  border-color: #2c5aa0;
  color: #2c5aa0;
}

.service-btn.active {
  background: #2c5aa0;
  color: white;
  border-color: #2c5aa0;
}

.security-notice {
  background: rgba(160, 196, 255, 1);
  border: 1px solid #e3f2fd;
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--Primary-Blue-950);
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  vertical-align: middle;
}

.security-notice-icon {
  font-family: Font Awesome 6 Free;
  font-weight: 900;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  margin-top: 15px;
}

/* Header - Estilos comunes */
.navbar .btn-link {
  color: var(--Secondary-Neutral-0);
  font-weight: 500;
  background-color: transparent !important;
  border-color: transparent !important;
}

.navbar .btn-link:hover {
  border-color: #f8f9fa !important;
  transform: scale(1.050);
}

.navbar .container {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar .btn-link:hover {
  text-decoration: underline;
}

/* Modales de exito */
#modalExitoAvalCasaSubscripcion .modal-content {
  max-width: 660px;
}

/* Modales de suscripcion */
.modal-categorias-content .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 678px) {
  .modal-categorias-content .modal-categorias-row {
    margin: 0 15px;
  }
}

/* Tab buttons comunes */
.tab-btn,
.tab-btn-empresa,
.tab-btn-inver {
  border: none;
  padding: 20px;
  height: 53px;
}

.tab-btn {
  background-color: #0e1d37;
  color: var(--Secondary-Neutral-0);
}

.tab-btn.active {
  background-color: #002F53;
  color: white;
  outline: none;
  box-shadow: none;
}

.tab-btn-empresa {
  color: white;
  background-color: var(--Primary-DarkBlue-950);
}

.tab-btn-empresa.active {
  background-color: #002F53;
  color: white;
  outline: none;
  box-shadow: none;
}

.tab-btn-inver {
  background-color: #0e1d37;
  color: var(--Secondary-Neutral-0);
}

.tab-btn-inver.active {
  background-color: #002F53;
  color: white;
  outline: none;
  box-shadow: none;
}

/* Backgrounds */
.bg-blue-dark {
  background-color: #0e1d37;
}

.bg-blue-medium {
  background-color: #002F53;
}

.bg-blue-normal {
  background-color: #002F53;
}

.bg-blue-light {
  background-color: #2c42d0;
}



/* Header backgrounds */
.bg-custom-header {
  background-color: var(--Primary-Blue-700);
}

.bg-custom-header-empresas {
  background-color: var(--Primary-DarkBlue-950);
}

.bg-custom-header-inver {
  background-color: var(--Primary-Blue-900);
}

.bg-custom-header,
.bg-custom-header-empresas,
.bg-custom-header-inver {
  width: 100%;
  height: auto;
  justify-content: space-between;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

/* Botones custom */
.lineaetica-avalcasa .btn-custom-empresa,
.AvalCasa-Contactenos .btn-custom-empresa{
  display: block !important;
  max-width: 50% !important;
  justify-self: right;
}
.btn-custom,
.btn-custom-empresa,
.btn-custom-inver {
  display: flex;
  width: 149px;
  height: 53px;
  text-align: center;
  font-size: 14px;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
}

.btn:hover {
  color: white;
}

.btn-custom {
  background-color: var(--Primary-Blue-700);
  color: white;
  justify-content: center;
  width: 180px;
  height: auto;
  text-align: center;
  font-size: 14px;
  border-radius: 0.5rem;
  padding-top: 0.75rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;

}

.btn-custom2 {
  width: 53px;
  height: 53px;
  gap: var(--spacing-xxs);
  border-radius: var(--radius-xs);
  padding: var(--spacing-xs);
  color: white;
  background-color: #981e32;
}

.btn-custom6 {
  width: 180px;
  background: none;
  text-align: center;
  font-size: 14px;
  border-radius: 0.5rem;
  padding-top: 0.75rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  color: white;
  border-color: white;
}

.btn-custom6:hover, .btn-custom:hover, .btn-custom2:hover, .btn-custom4:hover, .btn-card:hover,
.btn-custom-empresa:hover, .btn-custom3:hover, .cardhome:hover {
  transform: scale(1.050);
}

@media (max-width: 580px) {
  .cardhome:hover {
    transform: none;
}
}

.btn-custom:hover,
.btn-custom-empresa:hover,
.btn-custom-inver:hover,
.btn-custom2:hover,
.btn-custom2-empresa:hover,
.btn-custom2-inver:hover {
  color: white !important;
}

.btn-custom:focus,
.btn-custom-empresa:focus,
.btn-custom-inver:focus,
.btn-custom2:focus,
.btn-custom2-empresa:focus,
.btn-custom2-inver:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.btn-custom3 {
  width: 100%;
  background-color: var(--Secondary-Neutral-0);
  text-align: center;
  font-size: 14px;
  border-radius: var(--radius-xs);
  padding-top: var(--spacing-xs);
  padding-right: var(--spacing-s);
  padding-bottom: var(--spacing-xs);
  padding-left: var(--spacing-s);
  color: white;
  border-color: white;
}

.btn-custom4 {
  width: 100%;
  background-color: white;
  text-align: center;
  font-size: 14px;
  border-radius: 0.5rem;
  padding-right: var(--spacing-s);
  padding-left: var(--spacing-s);
  color: #1c488c !important;
  border-color: #000;
}

.btn-custom5 {
  background-color: var(--Primary-Blue-950);
  text-align: center;
  font-size: 14px;
  border-radius: var(--radius-xs);
  color: var(--Primary-DarkBlue-50);
  border-color: #000;
}

.btn-custom-empresa {
  background-color: var(--Primary-DarkBlue-950);
}

.btn-custom-inver {
  background-color: var(--Primary-Blue-900);
}

.btn-custom2,
.btn-custom2-empresa,
.btn-custom2-inver {
  width: 53px;
  height: 53px;
  gap: var(--spacing-xxs);
  border-radius: var(--radius-xs);
  padding: var(--spacing-xs);
  color: white;
  background-color: #981e32;
}

.buscadorMovil {
  align-content: center;
  display: none;
  font-size: 20px;
  width: 30px;
  height: 53px;
  color: white;
}

.contenedorMovil {
  display: none;
}

.btn-custom2 {
  color: white;
}

.btn-custom2-empresa {
  color: var(--Primary-DarkBlue-950);
}

.btn-custom2-inver {
  color: var(--Primary-DarkBlue-950);
}

.bg-level3 {
  background-color: #003c69;
  width: 100%;
  height: auto;
  gap: 10px;
  font-size: 14px;
  padding: var(--spacing-s) 0;
}

.containerBanner {
  width: 100%;
  height: 500px;
}

.cardBeneficios {
  background: #FFF;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .075);
  padding: 16px;
}

.cardBeneficios:hover {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 20px;
}

.containerBanner img {
  height: 500px;
  object-fit: cover;
}

.containerBanner .bannerMovilImg {
  display: none;
}

.containerBanner .containerText {
  top: 48%;
  left: 33%;
  position: absolute;
  right: auto;
  transform: translateY(-60%);
  text-align: left;
  padding: 60px 30px 30px;
  color: white;
}

.containerBanner .containerText p {
  max-width: 80%;
}

.containerBanner .containerText h3 {
  font-size: 32px;
  color: white;
}

.containerBanner .containerText h5 {
  font-size: 20px;
  color: white;
}

.containerBanner .containerText p {
  font-size: 16px;
  color: white;
}

.navbar .dropdown {
  position: static !important;
}

.mega-menu {
  min-width: 100%;
}

.mega-menu-categories {
  background-color: #f8f9fa;
  min-height: 300px;
  padding: 20px 0;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.category-item:hover {
  background-color: #e9ecef;
}

.category-item.active {
  color: #2c42d0 !important
}

.category-item span {
  font-weight: 500;
  font-size: 14px;
}

.category-item i {
  font-size: 12px;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}

.category-item.active i {
  transform: rotate(90deg);
}

.category-item i::before {
  content: "\f077";
}

.nav-link i { 
  transform: rotate(180deg);
}

.nav-link i::before {
  content: "\f077";
  margin-right: 5px;
  font-size: 12px;
}

.mega-menu-subcategories {
  padding: 20px;
  min-height: 300px;
}

.subcategory-content {
  animation: fadeIn 0.3s ease;
}

.subcategory-item {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.subcategory-item:hover {
  color: #007bff;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mega-menu-simple {
  padding: 20px;
  min-height: 200px;
}

.mega-menu-simple .subcategory-item {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.mega-menu-simple .subcategory-item:hover {
  color: #007bff;
  text-decoration: none;
}

.mega-menu-simple .subcategory-item:last-child {
  border-bottom: none;
}

.nav-link {
  color: white;
  gap: var(--spacing-xs);
}

#mob-autogestion-li .mega-menu {
  margin: 0px !important;
}

.mobile-menu-toggle {
  display: none;
}

/* Footer */
.iframeSuscribete {
  height: 350px;
  background-color: #2c42d0 !important;
}

@media (max-width: 769px) {
  .iframeSuscribete {
    height: 450px;
}
}

.footer-custom {
  background-color: #0e1d37;
  color: var(--Secondary-Neutral-0);
  padding: var(--spacing-xl) 0;
  background-size: 15px;
}

.footer-custom .footer-column ul li a{
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  opacity: .9;
  padding: 2px 0;
  transform: translateX(0);
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

/* Línea animada inferior */
.footer-custom .footer-column ul li a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: currentColor;
  opacity: .85;
  transition: width .2s ease;
}

/* Hover: subrayado + leve desplazamiento */
.footer-custom .footer-column ul li a:hover{
  opacity: 1;
  transform: translateX(4px);
  color: #ffffff; /* ← si no quieres cambio de color, pon: color: inherit; */
}

.footer-custom .footer-column ul li a:hover::after{
  width: 100%;
}

/* Accesibilidad: foco visible con teclado */
.footer-custom .footer-column ul li a:focus-visible{
  outline: 2px solid rgba(255,255,255,.65);
  outline-offset: 3px;
  border-radius: 4px;
}


.footer-custom .footer-social a,
.footer-custom .footer-social a:hover,
.footer-custom .footer-social a i,
.footer-custom .footer-social a:hover i{
  transform: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}

.footer-custom .footer-social a::after{
  content: none !important;
}

.footer-social-bottom {
  display: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-top: 40px;
}

.footer-list-title {
  font-size: 16px;
  color: #FFF;
}

.footer-list-title:hover {
  color: #FFF;
  text-decoration: none;
}

.footer-column h6 {
  color: var(--Secondary-Neutral-0);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 8px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--Secondary-Neutral-0);
}

.footer-divider {
  height: 1px;
  background-color: var(--Secondary-Neutral-0);
  margin: var(--spacing-L) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social {
  display: flex;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-dark);
  color: var(--Secondary-Neutral-0);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: white;
  color: var(--Secondary-Neutral-950);
}

.copyright-contanier {
  display: flex;
  align-items: center;
}

.footer-copyright {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  vertical-align: middle;
}

.footer-logo {
  height: 40px;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(1);
}

.footer-logo-item img {
  width: 235px;
  height: 50px;
}

/* Home Personas */
.container-banner {
  width: 1224px;
  height: 350px;
  margin: auto;
  margin-top: 55px;
  background-color: var(--Primary-DarkBlue-950);
  border-radius: var(--radius-xs);
  padding: 0 var(--spacing-L);
}

.banner-imagen {
  width: 100%;
  height: 100%;
  max-height: 378px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 20px 20px 0;
}

.slider-indicators {
  gap: 8px;
}

.custom-indicator {
  width: 30px;
  height: 8px;
  border-radius: 4px;
  background-color: var(--Secondary-Neutral-300);
  transition: background-color 0.3s;
  cursor: pointer;
  margin: 0 4px;
}

.custom-indicator.active {
  background-color: var(--Primary-Blue-700);
}

.social {
  width: 34px;
  height: 202px;
  position: fixed;
  top: 30%;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
  z-index: 1000;
}

.social-buttons {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xss);
  padding: var(--spacing-xxs);
  background-color: var(--Primary-DarkBlue-50);
  display: flex;
  justify-content: center;
}

.social-btn {
  width: 34px;
  height: 34px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  color: var(--Primary-DarkBlue-950);
}

article {
  margin-bottom: 80px;
}

.container-custom {
  width: 1224px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 80px;
}

.custome-size {
  width: 80%;
}

.container-custom .container-text {
  text-align: center;
  max-width: 708px;
}

.custom-card p {
  max-width: 280px;
  margin-top: auto;
}

.custom-card .btn-card {
  width: 151px;
  height: 37px;
  gap: var(--spacing-xxs);
  padding: var(--spacing-xxs) var(--spacing-s);
  border-radius: var(--radius-xs);
  border: 1px solid var(--Primary-DarkBlue-950);
  background-color: var(--Primary-DarkBlue-50);
  font-size: var(--font-size-xs);
}

.container-text-category-product {
  width: 100%;
  align-self: center;
  gap: 24px;
  justify-content: center;
}

.container-contact {
  display: flex;
  gap: 60px;
  margin: 0 auto !important;
  padding: 80px 0 80px 0;
  flex-direction: column;
}

.container-text-contact {
  text-align: center;
}

.target-category-products {
  padding: 16px 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xss);
  width: 20%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  max-width: 204px;
  max-height: 300px;
  min-width: 156px;
  min-height: 200px;
  align-items: center;
}

.target-category-products:hover {
  padding: 16px 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xss);
  width: 20%;
  background-color: var(--Primary-Blue-700);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  max-width: 204px;
  max-height: 240px;
  min-width: 156px;
  min-height: 200px;
  align-items: center;
}

.target-category-products:hover .logo-products {
  background-color: var(--Primary-Blue-600);
}

.target-category-products:hover .logo-products path {
  margin: 20px;
  fill: var(--Secondary-Neutral-0);
}

.target-category-products .logo-products {
  background-color: var(--Secondary-Neutral-50);
  max-width: 64px;
  border-radius: 50px;
  width: 40px;
  height: 40px;
}

.target-category-products .logo-products i {
  padding: 12px;
  color: #262626;
}

.target-category-products:hover .logo-products {
  background-color: #3c57ef;
}

.target-category-products:hover .logo-products i {
  color: white;
}

.target-category-products .text-card-produc {
  text-align: center;
}

.target-category-products .logo-products svg {
  margin: 20px;
  fill: var(--Primary-DarkBlue-950);
}

.target-category-products .text-card-produc h6 {
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.target-category-products .text-card-produc p {
  font-size: var(--font-size-xxs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--Primary-Blue-950);
}

.target-category-products:hover .text-card-produc h6 {
  color: var(--Secondary-Neutral-0);
}

.target-category-products:hover .text-card-produc p {
  color: var(--Secondary-Neutral-0);
}

.target-category-products .btn-card-1 {
  gap: var(--spacing-xxs);
  border-radius: 0.5rem;
  border: none;
  background-color: #3c57ef;
  font-size: var(--font-size-sm);
  color: var(--Secondary-Neutral-0);
  cursor: pointer;
  padding: 2px 7px;
}

.target-category-products:hover .btn-card-1 {
  background-color: var(--Secondary-Neutral-0);
  color: var(--Primary-Blue-600);
}

.target-category-products:hover .btn-card-1 i {
  color: #3c57ef;
}

section .container {
  width: 1224px;
}

.section-pse {
  background-color: #1c488c;
  position: relative;
  overflow: hidden;
}

.container-pse {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 80px;
  gap: 0.5rem;
  padding-right: var(--spacing-L);
  padding-left: var(--spacing-L);
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  overflow: hidden;
}

.decorative-circle {
  width: 50%;
  height: 180%;
  background-color: #1b53b2;
  border-radius: 50%;
  position: absolute;
  bottom: -115%;
  right: -14%;
  pointer-events: none;
}

.container-pes-text {
  max-width: 567px;
  height: 202px;
  gap: var(--spacing-xs);
}

.decorative-triangle {
  width: 0;
  height: 0;
  border-right: 360px solid transparent;
  border-top: 360px solid #ad0e15;
  transform: rotate(90deg);
  position: absolute;
  pointer-events: none;
  top: 0%;
  right: 0%;
}

.container .container-pse .container-pse-text {
  z-index: 1;
  display: flex;
  flex-direction: row;
  max-width: 1012px;
  justify-content: space-evenly;
  align-items: center;
}

.container .container-pse .container-pse-text .d-flex {
  max-width: 825px;
  display: flex;
  flex-direction: column;
}

.container .container-pse .container-pse-text .d-flex hr {
  margin: 0;
  width: 60px;
  border-width: 4px;
  border-radius: var(--radius-xss);
  background-color: var(--Primary-DarkRed);

}

.container-text-contact {
  padding: 0 16px;
}

.container .container-pse .container-pse-text .d-flex .container-portal p {
  align-content: center;
  font-size: 2rem;
  color: var(--Secondary-Neutral-0);

  text-align: start;
}

.container .container-pse .container-pse-text p {
  max-width: 825px;
  margin: 0 !important;
  font-size: var(--font-size-sm);
  color: var(--Secondary-Neutral-0);
}

.container .container-pse .container-pse-text .btn-card {
  background-color: var(--Secondary-Neutral-0);
  text-align: center;
  font-size: 14px;
  border-radius: var(--radius-xss);
  padding-right: var(--spacing-s);
  padding-left: var(--spacing-s);
  color: #1C488C;
  border: none;
  width: 100%;
  max-width: 200px;
}

.info-card {
  background: var(--Secondary-Neutral-0);
  border: 2px solid var(--Primary-Blue-700);
  border-radius: 12px;
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.article-fix {
  margin-top: 250px;
}

.sala-card {
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xs);
  padding: var(--spacing-m);
  background-color: var(--Secondary-Neutral-50);
}

.sala-card .card-body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
}

.sala-card .card-title {
  margin-bottom: 10px;
}

.sala-card p {
  margin: 0;
}

.sala-card .fas {
  margin-top: 10px;
  align-self: flex-end;
  color: var(--Primary-DarkBlue-950);
  font-size: var(--font-size-md);
}

/* Blog Global */
.section-blog {
  width: 1224px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.custom-width {
  width: 90%;
  margin-top: 20px;
}

.globlar-container {
  width: 100%;
  margin: 20px 0;
}


.section-title {
  margin-bottom: 40px;
}

.post-card {
  background: var(--Secondary-Neutral-0);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--Primary-DarkBlue-950);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

.post-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.post-date {
  margin-bottom: 10px;
}

.post-title {
  margin-bottom: 15px;
}

.post-excerpt {
  color: var(--Secondary-Neutral-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.hero-carousel {
  overflow: hidden;
  border-radius: 16px;
  margin: 50px 0;
}

.carousel-item {
  height: 100%;

}

.carousel-pc-media {
  height: 100%;
}

.carousel-mobile-media {
  display: none;
  height: 100%;
}

@media (max-width: 575px) {

.carousel-mobile-media {
  display: block;
}

.carousel-pc-media {
  display: none;
}

}


.carousel-item .ImagenVigilado {
  position: absolute;
  right: 98%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-height: 250px;
  width: auto !important;
}

.carousel-item .ImagenLegal {
  position: absolute;
  left: 99.2%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-height: 490px;
  width: auto !important;
}

@media (max-width: 1220px) {

.carousel-item .ImagenVigilado {
  right: 96%;
}

.carousel-item .ImagenLegal {
  left: 98.4%;
}

}

@media (max-width: 768px) {

.carousel-item .ImagenVigilado {
  right: 95%;
}

.carousel-item .ImagenLegal {
  left: 97.5%;
}

}

@media (max-width: 575px) {

.carousel-item .ImagenVigilado {
  right: 91%;
}

.carousel-item .ImagenLegal {
  left: 97%;
}

}

.custom-caption {
  position: absolute;
  top: 46%;
  left: 6%;
  width: 600px;
  right: auto;
  transform: translateY(-60%);
  text-align: left;
  bottom: 0;
  padding: 60px 30px 60px 60px;
}

.custom-caption a {
  margin-top: 5px;
}

.carousel-caption h3 {
  font-size: 2rem;
  font-weight: bold;
}

.carousel-caption p {
  max-width: 440px;
}

.carousel-caption .btn {
  background-color: #2c42d0;
  padding: 12px 30px;
  border-radius: 0.5rem;
  text-align: center;
  border: none;
}

.carousel-inner {
  height: 100%;
}

.carousel-indicators {
  gap: 0.75rem;
}

.carousel-indicators li {
  height: 10px;
  width: 40px;
  border-radius: 1rem;
  background-color: #d1d1d1;
  border-bottom: none !important;
  border-top: none !important;
  z-index: 20;
}

.carousel-indicators .active {
  background-color: #981e32;
}

.carousel-home {
  height: 100%;
  width: 100%;
}


.custom-indicator {
  width: 30px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(176, 176, 176, 1);
  transition: background-color 0.3s;
  cursor: pointer;
  margin: 0 4px;
}

.custom-indicator.active {
  background-color: rgba(44, 66, 208, 1);
}

.read-more-btn {
  background-color: transparent;
  border: 1px solid var(--Primary-DarkBlue-950);
  padding: 10px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  color: #212529 !important;
}

.btn-educacion-financiera {
  width: 179px;
  height: 34px;
  border-radius: 16px;
  background-color: var(--Primary-Blue-50);
  border: 1px solid rgba(93, 187, 253, 1);
  color: var(--Primary-Blue-800);
  transition: all 0.3s ease;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  vertical-align: middle;
  margin: 45px;
}

.btn-educacion-financiera:hover {
  background-color: var(--Secondary-Neutral-0);
  color: #333;
}

.btn-educacion-financiera:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
  color: #333;
}

.btn-educacion-financiera-small {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 16px;
  background-color: var(--Primary-Blue-50);
  border: 1px solid rgba(93, 187, 253, 1);
  color: var(--Primary-Blue-800);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-educacion-financiera-small:hover {
  background-color: var(--Secondary-Neutral-0);
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-educacion-financiera-small:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.5);
  color: #333;
}

.nav-tabs-custom {
  display: flex;
  justify-content: space-between;
  width: 95%;
  text-align: center;
  list-style: none;
  padding: 0 20px;
  margin: 10px;
}

.tab-btn-global {
  flex: 1;
  background: none;
  border: none;
  padding-bottom: 10px;
  cursor: pointer;
  border-bottom: 3px solid var(--Secondary-Neutral-300);
  transition: all 0.2s ease;
  white-space: normal;
  outline: none;
}

.tab-btn-global.active-tab {
  border-bottom: 3px solid var(--Primary-Blue-700);
  outline: none;
  text-decoration: none;
}

/* Blog Individual */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-size: cover;
  background-position: center;
  min-height: 550px;
  display: flex;
  align-items: center;
  text-align: center;
}

.content-section {
  width: 808px;
  margin: auto;
  padding: 60px 0;
}

.content-text {
  width: 100%;
}

.container-section {
  width: 100%;
}

.container-temas {
  display: flex;
  flex-wrap: wrap;
}

.share-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.share-text {
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.feature-section {
  width: 808px;
  margin: auto;
  padding: 60px 0;
}

.feature-section img {
  width: 100%;
  margin: 20px 0;
}

.vinculate-ahora-btn {
  background-color: var(--Primary-Blue-700);
  color: white;
  justify-content: center;
  width: 180px;
  height: auto;
  text-align: center;
  font-size: 14px;
  border-radius: 0.5rem;
  padding-top: 0.75rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  transition: transform .25s ease-out;
  transform: scale(0.9);  
}

.vinculate-ahora-btn a {
  color: white;
}

.fondo-inversion p {
  margin-top: 20px;
}

.section-cards-info-products {
  background-repeat: no-repeat;
  transform: translateY(-126px);
}

.cards-info-products {
  flex-direction: column;
  align-items: end;
  width: 1116px;
  gap: 8px;
  display: flex;
  padding-top: 200px;
}

.banner-vinculate {
  padding-top: 4% !important;
  align-items: center;
  padding-bottom: 80px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  max-width: 90%;
  width: 100% !important;
}

.banner-vinculate .container-vinculate {
  max-width: 100%;
  border-radius: 60px 0 100px 0;
  padding: 80px 100px 60px 100px;
  transform: translateY(-22px);
  background-color: var(--Primary-Blue-700);
}

.banner-vinculate .container-vinculate button {
  color: var(--Primary-DarkBlue-900);
  font-weight: bold;
}

.banner-vinculate .container-vinculate .container-pse-text {
  display: flex;
  flex-wrap: nowrap;
}

.banner-vinculate .container-vinculate .container-pse-text p {
  font-weight: unset;
}

.container-vinculate .container-portal {
  margin: 0;
}

.list-card:hover {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 20px;
}

.section-cards-info-products .list-card {
  width: 720px;
  max-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--Secondary-Neutral-0);
  border: 1px solid var(--Secondary-Neutral-50);
  border-radius: var(--radius-xss);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-bottom: 10px;
}

.section-cards-info-products .list-card .list-card-title {
  margin: auto;
  font-weight: bold;
  color: #1A356C;
}

.section-cards-info-products .list-card .list-card-value {
  margin: auto;
  font-weight: 500;
  color: var(--Secondary-Neutral-600);
}

.section-cards-info-products .list-card i {
  color: #5a80fa;
  font-size: 30px;
  margin-left: 15px;
  margin-right: 5px;
}

.section-cards-info-products .list-card img {
  margin-left: 10px;
}

.contenedor-title-fondos {
  width: 65%;
  margin: auto;
  text-align: center;
}

.card-fondo-inversion-colectiva {
  width: 100%;
  height: 124px;
  margin: 0;
  border-radius: var(--spacing-xs);
  border: 1px solid var(--Primary-DarkBlue-950);
  padding: var(--spacing-s);
  text-align: start;
  display: flex;
  justify-content: center;
}

.icons {
  font-family: Hammersmith One;
  font-weight: 400;
  font-size: 40px;
  line-height: 150%;
}

.tabla-redondeada {
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--Secondary-Neutral-0);
}

.thead {
  background-color: var(--Primary-DarkBlue-50) !important;
  color: var(--Primary-DarkBlue-950);
}

.color-gray {
  background-color: var(--Secondary-Neutral-50);
}

.color-gray-100 {
  background-color: var(--Secondary-Neutral-100);
}

.acordeonAvanzado i {
  color: #0e1d37;
  transition: transform 0.4s ease;
}

.acordeonAvanzado {
  padding: 35px 20px 20px 20px;
}

.acordeonAvanzado .buttonAcordeon[aria-expanded="true"] p,
.acordeonAvanzado .buttonAcordeon[aria-expanded="true"] i,
.acordeonAvanzado .buttonAcordeon[aria-expanded="true"] strong {
  color: #2c42d0 !important;
}

.acordeonAvanzado .buttonAcordeon[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.horarios {
  background: linear-gradient(rgba(246, 246, 246, 0), rgba(246, 246, 246, 1));
  padding: 5px 10px;
}

.contenedor-horarios {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.icon-size-48 {
  font-size: 25px;
  color: #ad0e15;
  display: flex;
  margin-right: 10px;
}

.borde-columna {
  border-left: 1px solid #ad0e15;
  padding-left: 2rem;
}

@media (max-width: 767px) { 
  .borde-columna {
    border-left: none;
  }
}

.contenedor-ficha-tecnica {
  background-color: var(--Primary-DarkBlue-950);
  border-radius: 16px;
  padding: 20px;
}

.contenedor-informe-mensual {
  border-radius: 16px;
  border: 1px solid var(--Primary-DarkBlue-950);
}

.contenedor-informe-mensual .card-body {
  text-align: left;
}

.bg-dark-custom {
  background-color: var(--Secondary-Neutral-950);
  color: var(--Secondary-Neutral-0);
}

.fs-48 {
  font-size: 48px;
}

.btn-pdf {
  background-color: transparent;
  border: 1px solid var(--Secondary-Neutral-0);
  border-radius: 16px;
  height: 53px;
}

.card-img-bottom {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.card-simuladores {
  width: 100%;
  display: flex;
  padding: 0;
  margin: 0;
}

.contenedor-vinculate {
  border: 1px solid var(--Primary-Blue-700);
  border-radius: 16px;
}

.img-vinculate {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  width: 100% !important;
  height: 282px !important;
  object-fit: cover;
}

.btn-vinculacion {
  border-radius: 16px;
  background-color: var(--Primary-Blue-700);
}

.img-principal-fics {
  width: 438px !important;
  height: 472px !important;
  border-radius: 16px;
  background-color: var(--Primary-Blue-50);
  object-fit: cover;
}

/* Producto Inmobiliario */
.container-punto-equilibrio {
  width: 1224px;
  margin: auto;
}

.img-punto-equilibrio {
  width: 559px;
  height: 503px;
  object-fit: cover;
  border-radius: var(--spacing-xs);
  margin-right: 24px;
}

.img-ventajas {
  width: 559px;
  height: 345px;
  object-fit: cover;
  border-radius: var(--spacing-xs);
}

/* Form Contactanos */
.img-hero-contactenos {
  width: 619px !important;
  height: 424px !important;
  object-fit: cover;
  border-radius: var(--spacing-xs);
}

.br {
  border-radius: var(--spacing-xs);
}

/* Cards Soluciones */

.container-card {
  width: 100% !important;
  max-width: 1116px;
  min-width: 375px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.container-card .container {
  justify-content: center;
}


.container-cards-zoom {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  max-width: 736px;
}


.custom-card {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xss);
  padding: 10px;
  height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: brightness(1.1);
  transition: transform .35s ease;
  overflow: hidden;
}

.extra-text {
  max-height: 70%;
  opacity: 0;
  padding: 6px 10px;
  border-radius: 6px;
  transition: opacity .3s ease;
}

.container-card-big {
  max-width: 354px;
}

@media (max-width: 767px) { 
  .container-cards-zoom {
    flex-wrap: wrap;
    gap: 8px;
  }

  .container-card .container-cards-zoom .custom-card-zoom,
  .container-card .container-cards-zoom .custom-card-zoom.active {
    flex: 0 0 calc(50% - 4px);
    max-width: calc(50% - 4px);
    margin-bottom: 8px;
  }

  .custom-card-zoom.active .custom-card{
    padding: 0;
  }
}

@media (max-width: 1099px) { 
  .container-card-big {
    max-width: 100%;
  }
  .custom-card {
    height: 100%;
    max-height: 540px;
  }
}

.card-six {
  flex: auto;
  max-width: 100%;
}

.card-six .custom-card {
  background-color: var(--Primary-Blue-950);
  padding: 40px 20px 10px 20px;
}

.card-six div p {
  display: -webkit-box;
  /* Necesario para line-clamp */
  -webkit-line-clamp: 5;
  /* Número de líneas que quieres mostrar */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-six img {
  max-width: 40px;
  max-height: 40px;
}

.card-six .card-title-top {
  background: none;
  color: var(--Secondary-Neutral-0);
  font-size: var(--font-size-xl);
}


.custom-card-zoom {
  flex: 1 1 20%;
  transition: flex 1.35s ease, transform 1.35s ease;
  padding: 0;
  min-width: 45px;
}

/* Tamaño expandido */
.custom-card-zoom.active {
  flex: 1 1 100%;
}

.custom-card-zoom.active .custom-card .card-title {
  background-color: #3c57ef;
}

.custom-card-zoom:hover {
  flex: 1 1 100%;
}

/* En móviles */
@media (max-width: 1003px) {
  .imagelogin {
    height: 250px;
    /* mucho más pequeña */
    border-radius: 8px;
  }

  .custom-caption {
    left: 5%;
    top: 50%;
  }

  .carousel-caption h3 {
    font-size: var(--font-size-md);
    text-align: start;
  }

  .carousel-caption p {
    font-size: var(--font-size-xs);
    text-align: start;
  }

  .col-data {
    min-height: 100%;
    /* ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    /* centra verticalmente */
    justify-content: center;
    /* centra horizontalmente */
  }

  .container-cards-zoom {
    max-width: 100%;
  }

  .container-card {
    min-width: 100%;
  }

  .content-cards {
    flex-wrap: wrap;
  }

  .contactinfo {
    min-height: 320px;
  }

  .contactinfo2 {
    min-height: 320px;
  }
}

/* SOLO tablet / pantallas medias (NO móvil) */
@media (min-width: 576px) and (max-width: 1003px) {
  .container-card .row>div {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 !important;
  }
}

/* En móviles */
@media (max-width: 575px) {

  .custom-caption {
    width: 90%;
  }
  .container-cards-zoom {
    width: 100%;
  }

  .container-card .row>div {
    width: 100%;
    padding: 0px;
  }

  .container-card-big {
    max-width: 100%;
    width: 100%;
  }
}

.custom-card-zoom.active .custom-card {
  position: relative;
  background-blend-mode: overlay;
  transition: background .3s ease, transform .3s ease;
  padding: 10px;
}

/* Cambiar fondo cuando la card es activa */
.custom-card-zoom.active .custom-card {
  background-image: none !important;
  background-color: #2C42D0;
  background-size: cover;
}

.custom-card-zoom.active .custom-card .btn-card-top {
  display: none;
}

/* Mostrar texto cuando es activa */
.custom-card-zoom.active .extra-text {
  opacity: 1;
}

.card-title {
  min-width: 154px;
  background-color: rgba(44, 66, 208, .3);
  backdrop-filter: blur(10px);
  padding: 0 2px;
}

.custom-card p {
  max-width: 280px;
  color: var(--Secondary-Neutral-0);
}

.custom-card .btn-card-top {
  align-self: flex-end;
}

.custom-card .card-title {
  font-size: var(--font-size-sm);
  color: var(--Secondary-Neutral-0);
  padding: 10px;
  border-radius: var(--radius-xss);
  text-align: center;
  margin-bottom: 10px;
  margin-top: 25px;
  width: 100%;
}

.custom-card .card-title:hover {
  text-decoration: none;
}

.custom-card .card-title a {
  color: white;
  text-decoration: none;
}

.custom-card .card-title-top {
  font-size: var(--font-size-xl);
  color: white;
  background: none;
  padding: 8px 0;
  margin: 0;
}

.custom-card .btn-card {
  width: 32px;
  height: 32px;
  gap: var(--spacing-xxs);
  border-radius: 0.5rem;
  border: none;
  background-color: #3c57ef;
  font-size: var(--font-size-xs);
  color: var(--Secondary-Neutral-0);
  cursor: pointer;
  padding: 7px 10px;
}

/* Form Radicar Solicitudes */
.contenedor-forms {
  width: 808px;
  margin: auto;
  height: auto;
}

.bs950 {
  width: 808px;
  height: 114px;
  border: 1px solid var(--Primary-DarkBlue-950);
  border-radius: var(--spacing-xxs);
}

/* Nosotros */
.list-group-item.active {
  background-color: transparent !important;
  border-color: transparent !important;
}

.list-group-item a {
  cursor: pointer;
}

.list-group-item.active a {
  color: var(--Primary-Blue-700) !important;
  font-weight: bold;
}

.list-group-item.active i {
  color: inherit;
}

.bs300 {
  border: 1px solid rgba(145, 212, 255, 1);
}

.img-gerencia {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.img-responsabilidad-1,
.img-responsabilidad-2,
.img-responsabilidad-3,
.img-responsabilidad-4,
.img-responsabilidad-5 {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.img-responsabilidad-1 img,
.img-responsabilidad-2 img,
.img-responsabilidad-3 img,
.img-responsabilidad-4 img,
.img-responsabilidad-5 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.lista-documentos {
  border-bottom: 1px solid var(--Secondary-Neutral-600) !important;
}

.content-item.hidden {
  display: none;
}

.content-item.active {
  display: block;
}

/* Alto Contraste */
body.alto-contraste {
  --hc-bg: #0a0a0a;
  --hc-panel: #0f1218;
  --hc-panel-2: #121722;
  --hc-text: #e8eaed;
  --hc-muted: #c7cbd1;
  --hc-accent: #69b3ff;
  --hc-accent-strong: #2d8cff;
  --hc-border: #2a2f3a;
  --hc-outline: #7db7ff;
  background: #191a1a !important;
  color: var(--hc-text) !important;
}

body.alto-contraste,
body.alto-contraste p,
body.alto-contraste span,
body.alto-contraste li {
  color: #FFF !important;
}

body.alto-contraste h1,
body.alto-contraste h2,
body.alto-contraste h3,
body.alto-contraste h4,
body.alto-contraste h5,
body.alto-contraste h6 {
  color: #FFF !important;
}

body.alto-contraste .containerTexto {
  background: #101621 !important;
}

body.alto-contraste .AvalCasa-Subscripcion .newsletter-wrap {
  background: #1c488c !important;
}

body.alto-contraste {
  --hc-bg: #0a0a0a;
  --hc-panel: #0f1218;
  --hc-panel-2: #121722;
  --hc-text: #e8eaed;
  --hc-muted: #c7cbd1;
  --hc-accent: #69b3ff;
  --hc-accent-strong: #2d8cff;
  --hc-border: #2a2f3a;
  --hc-outline: #7db7ff;
  background: #191a1a !important;
  color: var(--hc-text) !important;
}

body.alto-contraste .btn:hover,
body.alto-contraste button:hover {
  border-color: #FFF !important;
  transform: scale(1.050);
}

body.alto-contraste table {
  background: var(--hc-bg) !important;
  color: var(--hc-text) !important;
}

body.alto-contraste th,
body.alto-contraste td {
  border: 1px solid var(--hc-border) !important;
}

body.alto-contraste .bg-blue-dark,
body.alto-contraste .tab-btn,
body.alto-contraste .bg-custom-header-empresas,
body.alto-contraste .tab-btn-empresa,
body.alto-contraste .tab-btn-inver {
  background-color: #101621 !important;
}

body.alto-contraste .bg-blue-medium {
  background-color: #102331 !important;
}

body.alto-contraste .bg-level3 {
  background-color: #142c3e !important;
}

body.alto-contraste .footer-custom {
  background-color: #101621 !important;
}

body.alto-contraste .btn-custom6,
body.alto-contraste a,
body.alto-contraste .category-item i,
body.alto-contraste .btn-custom4,
body.alto-contraste .tabs-container .btn-bolsa,
body.alto-contraste .tabs-container .btn-noticia,
body.alto-contraste .read-more-btn,
body.alto-contraste .AvalCasa-Contactenos .tipo-persona-tab.active,
body.alto-contraste .AvalCasa-Contactenos .tipo-persona-tab {
  color: #FFF !important;
}

body.alto-contraste .font-5 {
  color: #FFF !important;
  background: transparent;
  border: none;
} 

body.alto-contraste .container-text-edit-input .btn-custom4 {
  background-color: var(--Primary-Blue-700) !important;
  border-color: var(--Primary-Blue-700) !important;
}


body.alto-contraste .tabs-container .btn-bolsa,
body.alto-contraste .btn-educacion-financiera {
  background-color: #191a1a !important;
  border: 1px solid #222;
}

body.alto-contraste .btn-custom4,
body.alto-contraste .container .container-pse .container-pse-text .btn-card,
body.alto-contraste .btn-custom3,
body.alto-contraste .tabs-container .btn-noticia,
body.alto-contraste .container-text-edit-input,
body.alto-contraste .AvalCasa-Contactenos .tipo-persona-tab.active,
body.alto-contraste .AvalCasa-Contactenos .tipo-persona-tab {
  background-color: #191a1a !important;
}

body.alto-contraste .container-text-edit-input {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste .nav-link,
body.alto-contraste .navbar a {
  color: var(--hc-text) !important;
}

body.alto-contraste .custom-card-zoom.active .custom-card {
  background-color: #2e3770 !important;
}

body.alto-contraste .card-six .custom-card {
  background-color: #171b2d !important;
}

body.alto-contraste .custom-card .btn-card {
  background-color: #1b2666 !important;
}

body.alto-contraste .custom-card-zoom.active .custom-card .card-title {
  background-color: #1b2666 !important;
}

body.alto-contraste .custom-card-zoom.active .custom-card .card-title {
  background-color: #1b2666 !important;
}

body.alto-contraste .custom-card .card-title {
  background-color: #2e37704d !important;
}

body.alto-contraste .cardhome,
body.alto-contraste .tabs-container .btn-noticia,
body.alto-contraste .read-more-btn {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste .read-more-btn,
body.alto-contraste .post-card {
  border-color: #FFF !important;
}

body.alto-contraste .dropdown-menu,
body.alto-contraste .mega-menu,
body.alto-contraste .mega-menu .dropdown-menu {
  background: #191a1a !important;
}

body.alto-contraste .dropdown-menu a:hover,
body.alto-contraste .mega-menu a:hover,
body.alto-contraste .mega-menu .dropdown-menu a:hover,
body.alto-contraste .dropdown-menu span:hover,
body.alto-contraste .mega-menu span:hover,
body.alto-contraste .mega-menu .dropdown-menu span:hover {
  color: #629ac8 !important;
}

body.alto-contraste .mega-menu-categories a:hover {
  color: #629ac8 !important;
}

body.alto-contraste .mega-menu-categories,
body.alto-contraste .subcategory-content {
  background: #1c1e1e !important;
}

body.alto-contraste .dropdown-item:hover,
body.alto-contraste .mega-menu a:hover,
body.alto-contraste .category-item:hover,
body.alto-contraste .category-item:hover i,
body.alto-contraste .category-item:hover span,
body.alto-contraste .subcategory-item:hover,
body.alto-contraste .category-item.active,
body.alto-contraste .category-item.active span,
body.alto-contraste .category-item.active i {
  color: #629ac8 !important;
  background: transparent !important;
}

body.alto-contraste .mega-menu .border-top,
body.alto-contraste .mega-menu .border-bottom {
  border-color: var(--hc-border) !important;
}

body.alto-contraste .badge,
body.alto-contraste .alert,
body.alto-contraste .toast {
  background: #111723 !important;
  color: var(--hc-text) !important;
  border: 1px solid var(--hc-border) !important;
}

body.alto-contraste :focus {
  outline: 2px solid #FFF !important;
  outline-offset: 2px !important;
}

body.alto-contraste .text-muted,
body.alto-contraste .muted,
body.alto-contraste .small {
  color: var(--hc-muted) !important;
}

body.alto-contraste .social-buttons {
  background: #191a1a !important;
}

body.alto-contraste .social-buttons:hover {
  transform: scale(1.05);
  border-color: rgb(255, 255, 255) !important;
}

body.alto-contraste .cardBeneficios.mb-4 {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste .list-card {
  background: #191a1a !important;
}

body.alto-contraste .horarios {
  background: none !important;
}

body.alto-contraste .target-category-products {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste .info-card {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste div#acordeon-avanzado,
body.alto-contraste strong.font-23 {
  color: white !important;
}

body.alto-contraste .acordeonAvanzado .buttonAcordeon[aria-expanded="true"] p,
body.alto-contraste .acordeonAvanzado .buttonAcordeon[aria-expanded="true"] i {
  color: white !important;
}

body.alto-contraste .acordeonAvanzado i {
  color: white !important;
}

body.alto-contraste button.d-flex.justify-content-between.align-items-center.w-100.p-0.border-0.bg-transparent.text-left,
body.alto-contraste .list-group-item.active a,
body.alto-contraste .list-group-item.active i,
body.alto-contraste .list-group-item i,
body.alto-contraste .AvalCasa-Vinculacion label.form-label,
body.alto-contraste .AvalCasa-Vinculacion .tab-nav button,
body.alto-contraste .AvalCasa-Vinculacion .terminos-block .text-primary,
body.alto-contraste #acordeon-avanzado strong,
body.alto-contraste .card-body strong,
body.alto-contraste .AvalCasa-Contactenos .form-check-label,
body.alto-contraste .tipo-persona-tab,
body.alto-contraste .tipo-persona-tab.active,
body.alto-contraste .AvalCasa-Contactenos label.form-label {
  color: white !important;
}

body.alto-contraste select.form-control {
  color: #495057 !important;
} 

body.alto-contraste div[style*="border: 1px solid var(--Primary-DarkBlue-400"][style*="border-radius: 12px"][style*="padding: 20px"]{
  background-color: var(--hc-bg) !important;
}

body.alto-contraste div[style*="border: 1px solid var(--Primary-DarkBlue-400"][style*="border-radius: 12px"][style*="padding: 20px"] p,
body.alto-contraste div[style*="border: 1px solid var(--Primary-DarkBlue-400"][style*="border-radius: 12px"][style*="padding: 20px"] a{
  color: #FFF !important;
} 

body.alto-contraste .AvalCasa-Vinculacion input.form-control,
body.alto-contraste .AvalCasa-Contactenos input.form-control,
body.alto-contraste .AvalCasa-Contactenos select.form-control,
body.alto-contraste .AvalCasa-Vinculacion select.form-control,
body.alto-contraste .AvalCasa-Contactenos textarea.form-control,
body.alto-contraste .AvalCasa-Vinculacion textarea.form-control {
  background-color: #1e1f1f;
}

body.alto-contraste .card.contenedor-informe-mensual,
body.alto-contraste .terminos-block,
body.alto-contraste .card.contenedor-informe-mensual body.alto-contraste .card.contenedor-informe-mensual,
body.alto-contraste .post-card-body,
body.alto-contraste .card.contenedor-informe-mensual body.alto-contraste .card.contenedor-informe-mensual,
body.alto-contraste .contenedor-informe-mensual .list-group-item  {
  background-color: var(--hc-bg) !important;
}

body.alto-contraste .contenedor-informe-mensual .list-group-item  {
  border-color: #007bff !important;
}

/*configuracion de los tabs*/

.tabs-container {
  width: 100%;
}
.tabs {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 16px;
}
.tab-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-item {
  flex: 1 1 0;
  text-align: center;
  padding: 20px 0 20px 0;
  cursor: pointer;
  font-size: 16px;
  color: #444;
  border-bottom: 2px solid #e0e0e0;
  transition: color 0.2s, border-bottom 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tab-item.active {
  color: #2c42d0;
  border-bottom: 2px solid #2c42d0;
  font-weight: 500;
}
.tab-content {
  padding: 16px 0 0 0;
}
.tabs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.widget-html {
  flex: 1 1 100%;
}
@media (max-width: 600px) {
  .tab-item {
    overflow: visible;
    padding: 20px 40px;
  }
  .widget-html {
    flex: 1 1 45%;
  }
}

/*configuracion de formularios*/
.AvalCasa-Vinculacion, .lineaetica-avalcasa, .AvalCasa-Contactenos {
  padding: 20px 60px 20px 0px !important;
}

@media (max-width: 855px) {
  .AvalCasa-Vinculacion .form-footer {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .AvalCasa-Vinculacion, .lineaetica-avalcasa, .AvalCasa-Contactenos {
    padding: 20px 20px !important;
  }
}

.AvalCasa-Vinculacion .terminos-block .form-check-label {
  width: auto !important;
  flex: none !important;
}

/*configuracion de banner productos*/
.sectionProduct .containerProduct {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background-color: #0e1d37;
}

.sectionProduct .img-banner {
  width: 40%;
  max-height: 500px;
}

.sectionProduct .productTexts {
  padding: 50px 53px 50px 15px;
  position: initial;
  width: 60%;
  text-align: start;
  color: #FFF;
}

.sectionProduct .productTexts .font-6,
.sectionProduct .productTexts .font-7,
.sectionProduct .productTexts .font-20 {
  color: #FFF;
}

.sectionProduct img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to right, black 50%, transparent);
}


@media (max-width: 776px) {
  .sectionProduct .containerProduct {
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .sectionProduct .img-banner {
    width: 100%;
    max-height: 500px;
  }

  .sectionProduct .productTexts {
    padding: 30px 20px;
    width: 100%;
  }

  .sectionProduct img {
    mask-image: linear-gradient(black 50%, transparent) !important;
  }
}

/*configuracion de banner principal*/
.sectiondata {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}



.sectiondata video {
  width: 100%;
  max-height: 650px;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.sectiondata img {
  width: 100%;
  max-height: 650px;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  object-position: top;
}

@media (max-width: 768px) { 
.sectiondata img {
  object-position: top;
  height: 100%;
}
.sectiondata video {
  object-position: top;
  height: 100%;
}
}

.content-video {
  position: relative;
  color: white;
  text-align: left;
  width: 800px;
  max-width: 90%;
}

.contenperson {
  height: 660px;
  background-color: #000;
}

.content-cards {
  max-width: 1120px;
  margin: auto;
  flex-wrap: nowrap;
  gap: 24px;
}

.content-cards-vertical {
  max-width: 358px;
  padding: 0;
  border-radius: var(--radius-xs);
  background-repeat: no-repeat;
}

.content-cards-horizontal {
  max-width: 734px;
  gap: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.contenvideo {
  overflow: hidden;
  border-radius: var(--radius-xs);
  position: relative;
  height: 100%;
  max-width: 358px;
  align-content: end;
}

.contenvideo:hover {
  background-color: rgba(132, 181, 255, 0.15);
  backdrop-filter: blur(4px);
}


.video-fixed {
  width: 100%;
  /* que ocupe todo el ancho del contenedor */
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.contenvideo .text-read {
  padding: 24px 32px;
  position: relative;
  color: white;
  text-align: left;
  width: 800px;
  max-width: 100%;

  .title {
    color: #217def;
    font-weight: bold;
    margin: 0;
    font-size: var(--font-size-md);
  }

  .title2 {
    font-size: var(--font-size-lg);
    margin: 0;
    padding: 10px 0;
    color: var(--Secondary-Neutral-0);
    font-weight: bold;
    line-height: 1.4;
  }

  .text {
    color: var(--Secondary-Neutral-0);
    font-size: var(--font-size-sm);
    margin: 0;
    padding-bottom: 24px;
  }

  a {
    color: var(--Secondary-Neutral-0);
  }
}

.titleread {
  color: #C4DCFF;
}

.text-read p {
  font-size: 14px;
}

.contentbanner {
  background-color: rgba(132, 181, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid var(--Primary-Blue-700);
  overflow: hidden;
  margin-bottom: 0 !important;
}

.contentbanner:hover {
  cursor: pointer;
  background-color: rgba(25, 103, 220, .15);
  backdrop-filter: blur(10px);
}

.contentbanner .row {
  margin: 0;
}

.container-text-product {
  width: 100%;
  align-self: center;
}

.container-contact {
  display: flex;
  gap: 60px;
  margin: 0 auto !important;
  padding: 80px 0 80px 0;
  flex-direction: column;
}

.container-text-contact {
  text-align: center;
}

.container-text-contact .font-7 {
  color: var(--Primary-DarkRed);
  margin: 0;
}

.container-text-contact .font-6 {
  font-size: var(--font-size-sm);
  font-weight: 100;
}

.container-text-contact .font-5 {
  color: var(--Primary-Blue-700);
  margin: 0;
  padding: 8px 0;
}

.container-text-contact hr {
  margin: 0 auto;
  width: 60px;
  border-width: 4px;
  border-radius: var(--radius-xss);
  background-color: var(--Primary-DarkRed);
  margin-bottom: .75rem;
}


.contactinfo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 546px;
}

.content-cards-horizontal .contentbanner .text-Product {
  max-width: 100%;
  padding: 32px 24px;
  flex: none;

  ul {
    margin: 0 !important;
  }

  .ul-row {
    margin: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .title {
    color: #217def;
    font-weight: bold;
    margin: 0;
  }

  .title2 {
    font-size: var(--font-size-lg);
    color: var(--Secondary-Neutral-0);
    font-weight: bold;
    margin: 0;
    padding: 10px 0;
  }

  .text {
    color: var(--Secondary-Neutral-0);
    font-size: var(--font-size-sm);
    margin: 0;
    padding-bottom: 24px;
  }

  a {
    color: var(--Secondary-Neutral-0);
  }
}

.text-Product strong {
  font-weight: 600 !important;
}

.text-Product .card-body {
  padding: 1.25rem 0rem 1.25rem 1.25rem;
}

@media (max-width: 768px) { 
  .text-Product .card-body .btn-custom {
    width: 100% !important;
  }
}

.contenvideo .video-fixed {
  width: 100%;
  /* que ocupe todo el ancho del contenedor */
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.contenvideo .text-read {
  padding-left: 30px;
  position: relative;
  color: white;
  text-align: left;
  width: 800px;
  max-width: 90%;
  margin-top: 200px;
}

.contentbanner .image {
  background-size: cover;
  /* 🔹 Hace que la imagen cubra todo el div */
  background-position: center;
  /* 🔹 Centra la imagen */
  background-repeat: no-repeat;
  /* 🔹 Evita que se repita */
  width: 300px;
  border-radius: 12px 0px 0px 12px;
}

.cardhome {
  border-radius: 0.5rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.AvalCasa-Subscripcion .newsletter-wrap {
  background: #2c42d0 !important;
}

.AvalCasa-Subscripcion .font-7 {
  color: white !important;
}

.AvalCasa-Subscripcion .font-5 {
  color: white !important;
}

.AvalCasa-Subscripcion .newsletter-subtitle {
  color: white !important;
}

.AvalCasa-Subscripcion .input-flex input.form-control {
  height: 45px;
  padding: 12px 16px;
  border-radius: 0.5rem !important;
  background: white !important;
}

.AvalCasa-Subscripcion .btn-custom-empresa,
#modalCategoriasSuscripcion .btn-custom-empresa {
  border-radius: 0.5rem !important;
  background: #971e32 !important;
  color: white !important;
}

.cardhome .image {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.cardhome-column .image-mobile img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.cardhome-column .image-mobile {
  display: none;
}

.contactinfo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-text-product .no-gutters {
  height: 100%;
}

.contact {
  background-color: #EDF5FF;

  h6 {
    color: #293CAA;
  }

  h5 {
    color: #18204E;
    font-weight: 700;
  }

  p {
    font-size: 12px;
  }

  input {
    border-radius: 12px;
  }
}

.contactb {
  background-color: #EDF5FF;

  h6 {
    color: #18204E;
    font-weight: 700;
  }

  h5 {
    color: #18204E;

  }

  p {
    font-size: 12px;
  }

  input {
    border-radius: 12px;
  }

  .col-divider {
    border-left: 1px solid #ccc;
  }
}

/* MEDIA QUERIES - Mobile First */

/* Pantallas extra grandes */
@media (min-width: 1200px) {
  .modal-transaccional {
    max-width: 1224px;
    height: 655px;
  }

  .modal-left img {
    width: 90%;
    height: 90%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pantallas grandes */
@media (min-width: 992px) and (max-width: 1199px) {
  .container .container-pse img {
    margin-top: -20px !important;
    height: 320px;
  }

  .modal-transaccional {
    max-width: 1000px;
    height: auto;
  }

  .modal-left img {
    width: 85%;
    height: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Submenú responsive - Solo para móvil */
@media (max-width: 991px) {

  body.alto-contraste .bg-level3 {
    background-color: #1c1e1e !important;
  }

  body.alto-contraste .font-29:hover,
  .nav-link:hover {
    color: #FFF !important;
  }

  body.alto-contraste #mob-vinculacion-li a {
    color: #FFF !important;
  }

  .navbar-nav .nav-link {
    color: #0e1d37 !important;
    margin: 0 5px;
    padding: 10px 15px;
    font-weight: 500;
  }

  .font-29:hover,
  .nav-link:hover {
    color: #2c42d0 !important;
    text-decoration: none;
    font-weight: bold;
  }

  .nav-link i {
    transition: transform 0.3s ease;
  }

  .nav-link[aria-expanded="true"] i {
    transform: rotate(0deg);
  }

  a.nav-link.dropdown-toggle>span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  a.nav-link.dropdown-toggle.mobile-flat-link {
    width: 100%;
    justify-content: space-between;
    display: flex !important;
  }

  a.nav-link.dropdown-toggle.mobile-flat-link i {
    margin-left: auto;
    flex: 0 0 auto;
  }

  a.nav-link.dropdown-toggle i {
    margin-left: 12px;
    flex: 0 0 auto;
  }

  .category-item.active i {
    transform: rotate(180deg);
  }

  .fa-caret-right:before,
  .fa-caret-down:before {
    content: "\f107";
  }

  a.nav-link.dropdown-toggle.active {
    color: #2c42d0 !important;
    text-decoration: none;
    font-weight: bold;
  }

  .navbar.navbar-expand-md {
    background-color: white !important;
  }

  #mob-vinculacion-li,
  #mob-autogestion-li {
    text-align-last: center;
  }

  #mob-vinculacion-li a {
    margin: 15px !important;
    width: 100% !important;
    color: #2c42d0 !important;
    border: 1px solid #2c42d0 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem !important;
  }

  #mob-autogestion-li #mob-autogestion-toggle {
    margin: 0px 15px !important;
    width: 100% !important;
    background-color: #2c42d0 !important;
    color: #FFF !important;
    border: 1px solid #2c42d0 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    align-items: center;
  }

  #mob-autogestion-li .category-item-subcategory {
    width: 100% !important;
    max-width: 100% !important;
    text-align-last: left;
    padding: 0px;
    font-weight: 500;
  }

  #mob-autogestion-li .col-md-12 {
    padding: 0px;
  }

  .content-cards-horizontal .contentbanner .text-Product {
    .ul-row {
      flex-direction: column;
    }
  }

  .mobile-menu-toggle {
    display: block;
    width: 53px;
    background-color: transparent;
    border-radius: var(--spacing-xs);
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 5px;
  }

  .buscadorMovil,
  .hamburguesaMovil {
    display: block !important;
  }

  .contenedorPc {
    display: none !important;
  }

  .contenedorMovil {
    display: flex !important;
  }

  .footer-column .mb-responsive {
    margin-bottom: 65px !important;
  }

  .navbar-nav .dropdown {
    position: static !important;
    display: flex !important;
    justify-content: space-between;
  }

  .navbar-nav .dropdown-toggle {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 15px 0px !important;
    border: none !important;
    background: none !important;
  }

  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f8f9fa !important;
  }

  .navbar-nav .dropdown.show .dropdown-menu {
    display: block !important;
  }

  .mega-menu {
    position: static !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .mega-menu .container-fluid {
    background-color: white !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .mega-menu .container-fluid .d-flex {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .mega-menu .row {
    margin: 0 !important;
    width: 100% !important;
    flex-direction: column !important;
  }

  .mega-menu .col-md-3 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 1 !important;
  }

  .mega-menu .col-md-9 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 2 !important;
  }

  .mega-menu-categories {
    background-color: white !important;
    color: #0e1d37 !important;
    min-height: auto !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: none !important;
  }

  .category-item {
    padding: 15px 20px !important;
    font-size: 14px !important;
    border-bottom: none !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  .category-item:last-child {
    border-bottom: none !important;
  }

  .category-item.active {
    color: var(--Primary-Blue-700) !important;
  }

  .category-item span {
    color: inherit !important;
  }

  .mega-menu-subcategories {
    padding: 0 !important;
    min-height: auto !important;
    background: white !important;
  }

  .subcategory-content {
    padding: 15px 20px !important;
  }

  .subcategory-content[style*="display: block"] {
    display: block !important;
  }

  .subcategory-content .d-flex {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .subcategory-content .col-md-3 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .subcategory-item {
    display: block !important;
    padding: 12px 0 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: #0e1d37 !important;
    width: 100% !important;
  }

  .subcategory-item:hover {
    text-decoration: underline !important;
  }

  .subcategory-item:last-child {
    border-bottom: none !important;
  }

  .mega-menu-simple {
    padding: 15px 20px !important;
    min-height: auto !important;
    background: white !important;
  }

  .mega-menu-simple .d-flex {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .mega-menu-simple .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mega-menu-simple .subcategory-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 14px !important;
    display: block !important;
    width: 100% !important;
  }

  .mega-menu-simple .subcategory-item:last-child {
    border-bottom: none !important;
  }

  .navbar-expand-md {
    display: none;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }

  .navbar-expand-md .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0px 24px !important;
  }

  .navbar-nav .nav-item {
    flex-direction: column;
    display: flex;
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-link {
    padding: 15px 20px !important;
    font-size: 15px !important;
    color: var(--Primary-DarkBlue-950) !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }

  .dropdown-toggle::after {
    float: right !important;
    margin-top: 8px !important;
  }

  /* Alto contraste mobile */
  body.alto-contraste .dropdown-menu,
  body.alto-contraste .mega-menu {
    background: var(--hc-panel) !important;
  }

  body.alto-contraste .category-item,
  body.alto-contraste .subcategory-item {
    color: var(--hc-text) !important;
    border-color: var(--hc-border) !important;
  }
}

/* Tablets y mobile para modales */
@media (min-width: 768px) and (max-width: 991px) {
  .modal-transaccional {
    width: 95%;
    margin: 10px;
    flex-direction: column;
  }

  .modal-left {
    min-height: 200px;
  }

  .modal-right {
    padding: 20px;
  }

  .banks-logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet general */
@media (max-width: 1024px) {
  .container-text-edit {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .container-text-edit-input {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .container-text-edit-input .row {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

/* Mobile general */
@media (max-width: 768px) {

  .banner-vinculate .container-vinculate {
    padding: 80px 24px 50px 24px !important;
    max-width: 100% !important;
    transform: none !important;
    border-radius: 20px 0 !important;
  }

  .banner-vinculate .container-vinculate .container-pse-text {
    flex-wrap: wrap !important;
    justify-content: flex-start;
  }

  .decorative-circle-vinculate {
    display: block !important;
    width: 164%;
    height: 113%;
    background-color: #ad0e15;
    border-radius: 50%;
    position: absolute;
    bottom: -96%;
    right: -58%;
    pointer-events: none;
  }

  .decorative-triangle {
    display: none;
  }

  .banner-vinculate .container-vinculate {
    height: 100% !important;
  }

  .banner-vinculate {
    padding-bottom: 40px !important;
  }

  .section-cards-info-products {
    transform: none !important;
    background-image: url(img/section-products-mobile.png) !important;
    background-position: 0 36%;
  }

  .section-cards-info-products .cards-info-products {
    padding: 0;
    place-content: center;
    padding-bottom: 20px !important;
  }

  .section-cards-info-products .list-card {
    justify-content: center;
    min-height: 180px;
    max-width: 156px;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px 0;
    text-align: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .list-card-left {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .section-cards-info-products .list-card .list-card-title {
    font-size: var(--font-size-xs);
    width: 80%;
  }

  .section-cards-info-products .list-card .list-card-value {
    font-size: var(--font-size-xs);
  }

  .cards-info-products {
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  .contenedor-principal-beneficios {
    flex-direction: column;
    margin: 0px 20px !important;
  }

  .contenedor-principal-beneficios .divider-accent {
    justify-self: center !important;
  }

  .contenedor-principal-beneficios .beneficios-izquierda {
    margin-top: 25px;
    max-width: 100%;
    place-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .contenedor-principal-beneficios .beneficios-derecha {
    max-width: 100%;
  }

  .contenedor-principal-beneficios .beneficios-derecha .beneficios-derecha-arriba {
    gap: 20px !important;
    flex-direction: column !important;
  }

  .contenedor-principal-beneficios .beneficios-derecha .especial-credito {
    width: 100%;
    margin: 0px 0px 20px 0px !important;
    text-align: center;
    padding: 15px !important;
  }

  .containerBanner .containerText {
    top: 66%;
    left: 0%;
  }

  .containerBanner .containerText p {
    max-width: 100%;
  }

  .containerBanner .bannerMovilImg {
    display: block !important;
  }

  .containerBanner .bannerPcImg {
    display: none !important;
  }

  .cardhome {
    height: auto !important;
  }

  .container-text-product {
    width: auto;
    padding: 20px 0px;
  }

  .container-portal {
    margin: 0px;
    text-align: left;
  }

  .content-cards {
    flex-direction: column;
  }

  .content-cards-vertical {
    max-width: 100%;
  }

  .container .container-pse .container-pse-text {
    padding-left: 0px;
    flex-direction: column;
  }

  .contentbanner .image {
    height: 279px;
  }

  /* Modales */
  .container-text-edit {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .custom-modal {
    width: 95%;
    margin: 10px;
    height: 95%;
  }

  .custom-modal-header,
  .custom-modal-body {
    padding: 20px;
  }

  .profile-options {
    grid-template-columns: 1fr;
  }

  .partners-section {
    gap: 15px;
  }

  .logo-section {
    flex-direction: column;
    gap: 10px;
  }

  .modal-transaccional {
    width: 100%;
    margin: 0;
    flex-direction: column;
    height: auto;
  }

  .modal-left img {
    width: 100%;
    height: auto;
  }

  .modal-right {
    padding: 16px;
  }

  .banks-logos {
    flex-wrap: wrap;
    gap: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-subtitle {
    font-size: 12px;
  }

  .service-btn {
    font-size: 11px;
    padding: 8px 12px;
  }

  /* Header */
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding-bottom: 15px;
  }

  header img {
    width: 160px;
    height: auto;
    margin-bottom: 0;
  }

  .d-none.d-md-flex {
    display: none !important;
  }

  .mobile-menu-toggle:focus {
    outline: none;
  }

  .navbar.navbar-expand-md.mobile-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--Secondary-Neutral-0);
    border-top: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .bg-custom-header,
  .bg-custom-header-empresas,
  .bg-custom-header-inver {
    height: auto;
    padding: 0;
    margin: 0 !important;
  }

  .text-white .small {
    display: none;
  }

  .navbar {
    margin-top: 0 !important;
    padding: 0 !important;
    height: auto;
    min-height: 50px;
  }

  .navbar .container {
    padding: 0 !important;
    height: 100%;
    max-width: 100%;
  }

  .navbar .container>div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
  }

  .tab-btn,
  .tab-btn-empresa,
  .tab-btn-inver {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    margin: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: wrap;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 0;
    line-height: 1.2;
  }

  .navbar-nav .nav-item {
    margin-bottom: 8px;
  }

  .nav-link,
  .nav-link-2 {
    font-size: 14px;
    padding: 6px 0;
  }

  .nav-link-2 {
    color: var(--Primary-Blue-700);
  }

  .mega-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none;
    min-height: auto;
    padding: 10px;
  }

  .mega-menu-categories,
  .mega-menu-subcategories {
    flex-direction: column;
    padding: 10px 0;
  }

  .subcategory-item {
    padding: 6px 0;
    font-size: 14px;
  }

  /* Footer */

  .footer-social-bottom {
    margin: auto;
    width: 40px;
    display: initial;
    border-radius: 0 0 20px 20px;
    background-color: #2C42D0;
    border: none;
  }

  .footer-social-bottom .fa-angle-down {
    color: var(--Secondary-Neutral-0);
  }

  .footerItems {
    flex-direction: column;
  }

  .footer-links {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 20px;
    align-items: stretch;
    width: 70%;
  }

  .footer-column {
    width: 100%;
    min-width: 350px;
    margin-top: 0;
    text-align: left;
    padding: 0;
  }

  .footer-list-title {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    color: #FFF;
    padding: 18px 0;
    border: none;
    background: none;
    width: 100%;
    font-weight: 700;
    margin-bottom: 0px !important;
    padding: 0px !important;
  }

  .footer-column ul {
    padding-left: 0;
    margin: 0;
  }

  .footer-column.open ul {
    display: block;
    margin-top: 8px;
  }

  .footer-links .row {
    flex-direction: column;
    align-content: center;
    padding: 0px 40px;
  }

  .footer-column .mb-responsive {
    margin-bottom: 0px !important;
    border-bottom: 1px solid #FFF;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
    margin-top: 0;
    text-align: left;
  }

  .footer-column ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-column ul li {
    margin-bottom: 6px;
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: left;
    gap: 30px;
    padding: 0 20px;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .footer-copyright {
    text-align: center;
  }

  .footer-logos {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
  }

  .footer-logo-item {
    text-align: left;
    font-size: 14px;
  }

  .footer-custom {
    width: 100%;
    background-size: 12px;
  }

  /* Home Personas */
  .container-banner {
    width: 90% !important;
    height: auto !important;
    padding: 10px !important;
    margin-top: 20px;
    min-height: 500px;
    text-align: center;
  }

  .custome-size {
    width: 100%;
    height: auto;
    margin: 20px 0;
  }

  .img-fluid {
    margin-top: 20px;
  }

  .slider-indicators {
    margin-top: 20px;
  }

  .banner .row>div {
    margin-bottom: 20px;
  }

  .container-custom {
    width: 100%;
    padding: 0 15px;
    height: auto;
  }

  .container-custom .container-text h4,
  .container-custom .container-text p {
    font-size: 20px;
  }

  section .container {
    width: 100%;
    padding: 0 15px !important;
  }

  .list-unstyled {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
  }

  .container-pse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    height: auto;
    width: 100%;
  }

  .container .container-pse .container-pse-text .d-flex {
    flex-direction: column;
    margin-top: 20px;
  }

  .container .container-pse .container-pse-text .container-portal1 {
    margin-top: 10px !important;
    margin-bottom: 30px !important;
    font-size: 0.875rem;
    text-align: left;
  }

  .container .container-pse .container-pse-text .btn-card {
    margin: 0px 0px 20px 0px !important;
  }

  .container .container-pse .container-pse-text p {
    font-size: 14px;
  }

  .container .container-pse .container-pse-text {
    margin-left: 0rem;
  }

  .article-fix {
    margin-top: 80px;
  }

  .social {
    display: none;
  }

  /* Blog */
  .section-blog {
    width: 100%;
  }

  .nav-tabs-custom {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
  }



  .btn-educacion-financiera {
    margin: 10px 0;
    padding: 5px;
  }


  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .col-lg-4.col-md-6.mb-4 {
    display: flex;
    justify-content: center;
  }

  .educacion-financiera-btn {
    position: absolute;
    top: 8% !important;
    left: 8% !important;
    min-width: 80px;
    min-height: 30px;
    font-size: clamp(0.7rem, 2vw, 1rem);
  }

  .post-card {
    width: 90%;
    margin: 20px 0;
    position: relative;
  }

  .post-card img {
    height: 200px;
  }

  .post-title {
    font-size: 1rem;
  }

  .post-excerpt {
    font-size: 0.85rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .educacion-financiera-btn {
    top: 10px !important;
    left: 10px !important;
  }

  .educacion-financiera-btn button {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  /* Blog Individual */
  .hero-title {
    font-size: 2rem;
  }

  .content-section {
    width: 90%;
  }

  .feature-section {
    width: 85%;
    padding: 20px 0;
  }

  .content-text {
    width: 90%;
    padding: 0 20px;
    margin-bottom: 10px;
  }

  .feature-section img {
    width: 100%;
    height: 290px;
    margin-bottom: 20px;
    padding: 0;
    border-radius: 16px;
  }

  .container-temas {
    justify-content: center;
  }

  .col-lg-8 .educacion-financiera-btn {
    position: absolute;
    top: 90% !important;
    left: 20% !important;
  }

  /* Productos FICS */
  .img-principal-fics {
    width: 90%;
  }

  .res {
    text-align: center;
    align-items: center;
  }

  .vinculate-ahora-btn {
    width: 80%;
  }

  .font-5 {
    font-size: 25px;
  }

  .contenedor-horarios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .horarios {
    width: 100%;
    transform: none !important;
    padding-top: 25px;
  }

  .horarios .d-flex {
    align-self: center;
  }

  .card-img-bottom {
    border-top-left-radius: var(--radius-xs);
    border-top-right-radius: var(--radius-xs);
    border-bottom-right-radius: 0;
  }

  /* Producto Inmobiliario */
  .container-punto-equilibrio {
    width: 90%;
    display: flex;
    margin: 0 20px;
  }

  .img-punto-equilibrio {
    width: 95%;
  }

  .img-ventajas {
    width: 95%;
  }

  .resp {
    font-size: var(--font-size-xxs);
    width: 95%;
    padding: 5px;
  }

  /* Forms */
  .responsive-width-90 {
    width: 90% !important;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-resp {
    width: 90% !important;
  }

  .contenedor-forms {
    width: 100%;
  }

  .bs950 {
    width: 100%;
    height: auto;
  }
}

/* Mobile pequeño */
@media (max-width: 575px) {
  .carousel-caption {
    bottom: 0;
    padding: 10px 30px;
  }

  .carousel-caption .btn {
    padding: 12px 20px;
  }

  .container-text-edit-input .btn-custom4 {
    width: 90%;
  }

  .contenvideo .text-read {
    margin: 100px 0px !important;
    height: 100%;
  }

  .cardhome-column {
    flex-direction: column;
  }

  .cardhome-column .image-mobile {
    display: block !important;
  }

  .cardhome-column .image {
    display: none !important;
  }

  .cardhome-column .card-body {
    padding-right: 1.25rem !important;
  }

  .category-item,
  .subcategory-item,
  .mega-menu-simple .subcategory-item {
    padding: 12px 15px !important;
    font-size: 13px !important;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 12px 15px !important;
  }

  .subcategory-content,
  .mega-menu-simple {
    padding: 15px !important;
  }

  .footer-links {
    width: 100%;
  }

  .footer-column {
    min-width: 200px;
  }
}

/* Desktop - Restablecer comportamiento normal */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }

  .navbar.navbar-expand-md {
    display: block !important;
  }
}