.user-img {
    width: 100%;
    height: 20px; /* o algún valor muy pequeño */
}

/* Ajustes de hover para las tarjetas de trámites */
.card-tramite {
    border-radius: 2.5rem;
    transition: all 0.3s ease;
}
.card-tramite:hover {
    transform: translateY(-5px);
}
.icon-box {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}
.card-tramite:hover .icon-box {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--bs-bg-gris4);
  color: var(--bs-color-gris11);
  border: 1px solid color-mix(in srgb, var(--bs-bg-gris8), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--bs-color-azul9);
  border-color: var(--bs-bg-ama12);
}

.features .nav-link.active {
  background: var(--bs-bg-ama3);
  color: var(--bs-color-azul11);
  border-color: var(--bs-bg-gris6);
}

.features .nav-link.active h4 {
  color: var(--bs-color-gris10);
}

@media (max-width: 768px) {
  .features .nav-link  h4 {
    font-size: 0.8rem;
  }
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--bs-color-color10);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--bs-bg-color10);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--bs-bg-gris2);
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
  padding: 60px 30px 60px 70px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services .service-item .icon {
  position: absolute;
  left: -5px;
  top: calc(50% - 30px);
}

.services .service-item .icon i {
  font-size: 64px;
  line-height: 1;
  transition: 0.5s;
}

.services .service-item a {
    text-decoration: none;
}

.services .service-item h3 {
    color:var(--bs-color-ama12);
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
    transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
  }

  .services .service-item:hover h3 {
    color: var(--bs-color-gris8);
  }
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
/*----------------------------------testimony-wrap-------------------------------*/
.testimony-wrap {
  display: block;
  position: relative;
  padding: 30px;
  border: 1px solid #f5f7f9;
  background: #fff;
  -webkit-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2); 
}
.testimony-wrap .user-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  margin-top: -80px; 
}
.testimony-wrap .user-img .quote {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--bs-color-gris2);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%; 


    font-size: 30px;
    padding-top: 15px;


}
.testimony-wrap .user-img .quote i {
  color: #fff; 
}


.testimony-wrap .depto {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 0;
  color: var(--bs-color-ama6);
}

.testimony-wrap .name {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 0;
  color: var(--bs-color-gris8);
}
.testimony-wrap .correo {
  font-size: 17px;
  color: var(--bs-color-azul4); 
}
.testimony-wrap .position {
  font-size: 17px;
  color: var(--bs-color-gris5); 
}
.testimony-wrap a {
  font-size: 16px;
  color: #8d9db9; 
}
.mb-6 {
    margin-bottom: 4.5rem !important;
}
/*----------------------------------testimony-wrap-------------------------------*/

.video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}


/* ==========================================
   GALERÍA RESPONSIVE
   ========================================== */

.galeria-img {
    width: 100%;
    max-width: 250px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.galeria-img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20) !important;
}


/* ==========================================
   CELULAR
   ========================================== */

@media (max-width: 575.98px) {

    .galeria-img {
        max-width: 100%;
        height: auto;
    }

}

/* ==========================================
   VISOR DE IMAGEN
   ========================================== */

.visor-contenido {
    background: rgba(0, 0, 0, 0.95);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor de la imagen */
.visor-imagen-container {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 30px 70px 30px;
}

/* Imagen ampliada */
.visor-imagen {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Botón cerrar */
.visor-cerrar {
    position: fixed;

    top: 20px;
    right: 25px;

    z-index: 9999;

    width: 25px;
    height: 25px;

    opacity: 1;
}

/* Título */
.visor-titulo {
    position: fixed;

    bottom: 20px;
    left: 0;
    right: 0;

    text-align: center;

    color: white;

    font-size: 18px;
    font-weight: 500;

    padding: 10px 20px;

    background: rgba(0,0,0,0.4);
}

/* =========================================================
   INSTALACIONES - DISEÑO RESPONSIVE
   ========================================================= */

.imagen-instalacion {
    width: 100%;
    max-width: 450px;
    height: 280px;
    object-fit: cover;
    display: block;
    margin: 0 auto;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.imagen-instalacion:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}


/* Separación entre secciones */
.seccion-instalacion {
    margin-top: 4rem;
}


/* Texto justificado */
.text-justify {
    text-align: justify;
    line-height: 1.7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .imagen-instalacion {
        max-width: 400px;
        height: 260px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 575.98px) {

    .seccion-instalacion {
        margin-top: 3rem;
    }

    .imagen-instalacion {
        max-width: 100%;
        height: auto;
    }

}